diff --git a/CHANGELOG.md b/CHANGELOG.md index da4fb4141..b0fa744bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,39 @@ # Change log +## Version 0.9.2 (2025/02/12) + +### Translations + +* [PR#711](https://github.com/SamR1/FitTrackee/pull/711) - Translations update (Chinese (Simplified Han script)) +* [PR#712](https://github.com/SamR1/FitTrackee/pull/712) - Translations update (Polish, Basque) + +Translation status: +- Basque: 73% +- Bulgarian: 64% +- Chinese (Simplified): 100% +- Czech: 47% +- Dutch: 64% +- English: 100% +- French: 100% +- Galician: 100% +- German: 76% +- Italian: 53% +- Norwegian Bokmål: 34% +- Polish: 100% +- Portuguese: 63% +- Russian: 40% +- Spanish: 64% + +### Misc + +* [2612cd9](https://github.com/SamR1/FitTrackee/commit/2612cd9e4aa747036b79ed4a8492d0f7fea60c80) - fix Dockerfile used for development + +Thanks to the contributors: +- @erral +- Poesty Li +- Wiktor Jędrzejczak + + ## Version 0.9.1 (2025/02/02) **Note**: The minimum version for Python is now 3.9.2. diff --git a/Dockerfile-dev b/Dockerfile-dev index 62d2226a4..50c25141a 100644 --- a/Dockerfile-dev +++ b/Dockerfile-dev @@ -17,6 +17,5 @@ RUN . $VIRTUAL_ENV/bin/activate && poetry install --no-interaction --quiet # run fittrackee server and workers COPY ./docker-entrypoint-dev.sh /docker-entrypoint.sh -COPY ./docker/set-admin.sh /usr/bin/set-admin -RUN chmod +x /usr/bin/set-admin && chmod +x /docker-entrypoint.sh +RUN chmod +x /docker-entrypoint.sh ENTRYPOINT [ "/docker-entrypoint.sh" ] \ No newline at end of file diff --git a/README.md b/README.md index 67ca9946d..ae1bb4a19 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ [![Vue Version](https://img.shields.io/badge/vue-3.5-brightgreen.svg)](https://v3.vuejs.org/) [![code formatter: prettier](https://img.shields.io/badge/code%20formatter-prettier-ff69b4.svg)](https://github.com/prettier/prettier) [![Typescript Version](https://img.shields.io/npm/types/typescript)](https://www.typescriptlang.org/) -[![PyPI version](https://img.shields.io/pypi/v/fittrackee.svg)](https://pypi.org/project/fittrackee/) [![docker: fittrackee/fittrackee](https://img.shields.io/badge/docker-fittrackee/fittrackee-2f7bee)](https://hub.docker.com/r/fittrackee/fittrackee) +[![PyPI version](https://img.shields.io/pypi/v/fittrackee?logo=pypi)](https://pypi.org/project/fittrackee/) [![docker image version](https://img.shields.io/docker/v/fittrackee/fittrackee?logo=docker)](https://hub.docker.com/r/fittrackee/fittrackee) [![pipeline status](https://github.com/SamR1/FitTrackee/actions/workflows/.tests-and-publish-python.yml/badge.svg)](https://github.com/SamR1/FitTrackee/actions/workflows/.tests-and-publish-python.yml) [![pipeline status](https://github.com/SamR1/FitTrackee/actions/workflows/.tests-javascript.yml/badge.svg)](https://github.com/SamR1/FitTrackee/actions/workflows/.tests-javascript.yml) [![translation status](https://hosted.weblate.org/widgets/fittrackee/-/svg-badge.svg)](https://hosted.weblate.org/engage/fittrackee/) diff --git a/VERSION b/VERSION index f374f6662..2003b639c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.9.1 +0.9.2 diff --git a/docker-compose.yml b/docker-compose.yml index cd6799327..975356dd8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -29,7 +29,7 @@ services: env_file: - .env # Image from Docker Hub - image: fittrackee/fittrackee:v0.9.1 + image: fittrackee/fittrackee:v0.9.2 # Uncomment following line to build image instead of using pre-built image # build: . volumes: @@ -63,7 +63,7 @@ services: # env_file: # - .env ## Image from Docker Hub -# image: fittrackee/fittrackee:v0.9.1 +# image: fittrackee/fittrackee:v0.9.2 ## Uncomment following line to build image instead of using pre-built image ## build: . # volumes: diff --git a/docs/en/.buildinfo b/docs/en/.buildinfo index 1268416f1..b71f51024 100644 --- a/docs/en/.buildinfo +++ b/docs/en/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: bc7cb75640c90ab9f002646546aec90d +config: 26f43ac582bc69e2ee07c71cc40ea512 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/en/_images/administration-menu.png b/docs/en/_images/administration-menu.png index a4581e3a8..7ddad05c9 100644 Binary files a/docs/en/_images/administration-menu.png and b/docs/en/_images/administration-menu.png differ diff --git a/docs/en/_images/dashboard-mobile-calendar.png b/docs/en/_images/dashboard-mobile-calendar.png index 3ea840b33..73cc67156 100644 Binary files a/docs/en/_images/dashboard-mobile-calendar.png and b/docs/en/_images/dashboard-mobile-calendar.png differ diff --git a/docs/en/_images/dashboard-mobile-latest-workouts.png b/docs/en/_images/dashboard-mobile-latest-workouts.png index 0ccabe087..f11408433 100644 Binary files a/docs/en/_images/dashboard-mobile-latest-workouts.png and b/docs/en/_images/dashboard-mobile-latest-workouts.png differ diff --git a/docs/en/_images/dashboard-mobile-records.png b/docs/en/_images/dashboard-mobile-records.png index 14f2a4ee5..30164a50f 100644 Binary files a/docs/en/_images/dashboard-mobile-records.png and b/docs/en/_images/dashboard-mobile-records.png differ diff --git a/docs/en/_images/dashboard-mobile-stats.png b/docs/en/_images/dashboard-mobile-stats.png index ec54c08a4..9a798999a 100644 Binary files a/docs/en/_images/dashboard-mobile-stats.png and b/docs/en/_images/dashboard-mobile-stats.png differ diff --git a/docs/en/_images/dashboard.png b/docs/en/_images/dashboard.png index 9018d7e5e..51daa5131 100644 Binary files a/docs/en/_images/dashboard.png and b/docs/en/_images/dashboard.png differ diff --git a/docs/en/_images/equipment-detail.png b/docs/en/_images/equipment-detail.png index bd36a35a1..bc8a3f1fb 100644 Binary files a/docs/en/_images/equipment-detail.png and b/docs/en/_images/equipment-detail.png differ diff --git a/docs/en/_images/equipments-list.png b/docs/en/_images/equipments-list.png index 0963505fc..2af6f99ec 100644 Binary files a/docs/en/_images/equipments-list.png and b/docs/en/_images/equipments-list.png differ diff --git a/docs/en/_images/notifications.png b/docs/en/_images/notifications.png index 01a3013ff..f3f651270 100644 Binary files a/docs/en/_images/notifications.png and b/docs/en/_images/notifications.png differ diff --git a/docs/en/_images/oauth2-app-authorization.png b/docs/en/_images/oauth2-app-authorization.png index 56a3e8c90..8c4574607 100644 Binary files a/docs/en/_images/oauth2-app-authorization.png and b/docs/en/_images/oauth2-app-authorization.png differ diff --git a/docs/en/_images/oauth2-client-creation.png b/docs/en/_images/oauth2-client-creation.png index 0d75081d0..1f59eee26 100644 Binary files a/docs/en/_images/oauth2-client-creation.png and b/docs/en/_images/oauth2-client-creation.png differ diff --git a/docs/en/_images/sports-administration.png b/docs/en/_images/sports-administration.png index bd64fd97e..bc83e0ed2 100644 Binary files a/docs/en/_images/sports-administration.png and b/docs/en/_images/sports-administration.png differ diff --git a/docs/en/_images/statistics-by-sport.png b/docs/en/_images/statistics-by-sport.png index d47d6b654..7198eabb1 100644 Binary files a/docs/en/_images/statistics-by-sport.png and b/docs/en/_images/statistics-by-sport.png differ diff --git a/docs/en/_images/statistics-by-time-period.png b/docs/en/_images/statistics-by-time-period.png index 3346c161e..a8e3645e8 100644 Binary files a/docs/en/_images/statistics-by-time-period.png and b/docs/en/_images/statistics-by-time-period.png differ diff --git a/docs/en/_images/users-directory.png b/docs/en/_images/users-directory.png index bb34c0a9e..dab8eac89 100644 Binary files a/docs/en/_images/users-directory.png and b/docs/en/_images/users-directory.png differ diff --git a/docs/en/_images/workout-detail.png b/docs/en/_images/workout-detail.png index c0f499fc4..9c4afca2d 100644 Binary files a/docs/en/_images/workout-detail.png and b/docs/en/_images/workout-detail.png differ diff --git a/docs/en/_images/workouts-list.png b/docs/en/_images/workouts-list.png index 7228898e5..1e56cd773 100644 Binary files a/docs/en/_images/workouts-list.png and b/docs/en/_images/workouts-list.png differ diff --git a/docs/en/_sources/changelog.md.txt b/docs/en/_sources/changelog.md.txt index da4fb4141..b0fa744bd 100644 --- a/docs/en/_sources/changelog.md.txt +++ b/docs/en/_sources/changelog.md.txt @@ -1,5 +1,39 @@ # Change log +## Version 0.9.2 (2025/02/12) + +### Translations + +* [PR#711](https://github.com/SamR1/FitTrackee/pull/711) - Translations update (Chinese (Simplified Han script)) +* [PR#712](https://github.com/SamR1/FitTrackee/pull/712) - Translations update (Polish, Basque) + +Translation status: +- Basque: 73% +- Bulgarian: 64% +- Chinese (Simplified): 100% +- Czech: 47% +- Dutch: 64% +- English: 100% +- French: 100% +- Galician: 100% +- German: 76% +- Italian: 53% +- Norwegian Bokmål: 34% +- Polish: 100% +- Portuguese: 63% +- Russian: 40% +- Spanish: 64% + +### Misc + +* [2612cd9](https://github.com/SamR1/FitTrackee/commit/2612cd9e4aa747036b79ed4a8492d0f7fea60c80) - fix Dockerfile used for development + +Thanks to the contributors: +- @erral +- Poesty Li +- Wiktor Jędrzejczak + + ## Version 0.9.1 (2025/02/02) **Note**: The minimum version for Python is now 3.9.2. diff --git a/docs/en/_sources/installation.rst.txt b/docs/en/_sources/installation.rst.txt index 526e67d73..948b6ac49 100644 --- a/docs/en/_sources/installation.rst.txt +++ b/docs/en/_sources/installation.rst.txt @@ -590,13 +590,13 @@ Production environment .. warning:: | Note that FitTrackee is under heavy development, some features may be unstable. -- Download the last release (for now, it is the release v0.9.1): +- Download the last release (for now, it is the release v0.9.2): .. code:: bash - $ wget https://github.com/SamR1/FitTrackee/archive/v0.9.1.tar.gz - $ tar -xzf v0.9.1.tar.gz - $ mv FitTrackee-0.9.1 FitTrackee + $ wget https://github.com/SamR1/FitTrackee/archive/v0.9.2.tar.gz + $ tar -xzf v0.9.2.tar.gz + $ mv FitTrackee-0.9.2 FitTrackee $ cd FitTrackee - Create **.env** from example and update it @@ -728,13 +728,13 @@ Prod environment - Change to the directory where FitTrackee directory is located -- Download the last release (for now, it is the release v0.9.1) and overwrite existing files: +- Download the last release (for now, it is the release v0.9.2) and overwrite existing files: .. code:: bash - $ wget https://github.com/SamR1/FitTrackee/archive/v0.9.1.tar.gz - $ tar -xzf v0.9.1.tar.gz - $ cp -R FitTrackee-0.9.1/* FitTrackee/ + $ wget https://github.com/SamR1/FitTrackee/archive/v0.9.2.tar.gz + $ tar -xzf v0.9.2.tar.gz + $ cp -R FitTrackee-0.9.2/* FitTrackee/ $ cd FitTrackee - Update **.env** if needed (see `Environment variables `__). @@ -935,7 +935,7 @@ Images are available on `DockerHub --set-admin true + $ docker compose exec fittrackee ftcli users update --set-role admin Development diff --git a/docs/en/_static/documentation_options.js b/docs/en/_static/documentation_options.js index 1df48e1a2..c5830ef94 100644 --- a/docs/en/_static/documentation_options.js +++ b/docs/en/_static/documentation_options.js @@ -1,5 +1,5 @@ const DOCUMENTATION_OPTIONS = { - VERSION: '0.9.1', + VERSION: '0.9.2', LANGUAGE: 'en', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/docs/en/api/auth.html b/docs/en/api/auth.html index 3f521eaee..1d57d8a0c 100644 --- a/docs/en/api/auth.html +++ b/docs/en/api/auth.html @@ -6,7 +6,7 @@ - Authentication and account - FitTrackee 0.9.1 documentation + Authentication and account - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
-
@@ -197,7 +197,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation
diff --git a/docs/en/api/comments.html b/docs/en/api/comments.html index d7145cfd6..e99513507 100644 --- a/docs/en/api/comments.html +++ b/docs/en/api/comments.html @@ -6,7 +6,7 @@ - Comments - FitTrackee 0.9.1 documentation + Comments - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
-
@@ -197,7 +197,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -985,7 +985,7 @@

Comments

- + diff --git a/docs/en/api/configuration.html b/docs/en/api/configuration.html index 1e3315dfc..343830b6f 100644 --- a/docs/en/api/configuration.html +++ b/docs/en/api/configuration.html @@ -6,7 +6,7 @@ - Configuration - FitTrackee 0.9.1 documentation + Configuration - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@ diff --git a/docs/en/api/equipment_types.html b/docs/en/api/equipment_types.html index b2228d07b..9d94a4914 100644 --- a/docs/en/api/equipment_types.html +++ b/docs/en/api/equipment_types.html @@ -6,7 +6,7 @@ - Equipment Types - FitTrackee 0.9.1 documentation + Equipment Types - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
-
@@ -197,7 +197,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -640,7 +640,7 @@

Equipment Types +

diff --git a/docs/en/api/equipments.html b/docs/en/api/equipments.html index 7b157fd08..6da2deb35 100644 --- a/docs/en/api/equipments.html +++ b/docs/en/api/equipments.html @@ -6,7 +6,7 @@ - Equipments - FitTrackee 0.9.1 documentation + Equipments - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
-
@@ -197,7 +197,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -876,7 +876,7 @@

Equipments +

diff --git a/docs/en/api/follow_requests.html b/docs/en/api/follow_requests.html index 02f069e97..74d4059a9 100644 --- a/docs/en/api/follow_requests.html +++ b/docs/en/api/follow_requests.html @@ -6,7 +6,7 @@ - Follow requests - FitTrackee 0.9.1 documentation + Follow requests - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
-
@@ -197,7 +197,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -547,7 +547,7 @@

Follow requests +

diff --git a/docs/en/api/index.html b/docs/en/api/index.html index 33c00705d..b3bd3ab64 100644 --- a/docs/en/api/index.html +++ b/docs/en/api/index.html @@ -6,7 +6,7 @@ - API documentation - FitTrackee 0.9.1 documentation + API documentation - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
-
@@ -197,7 +197,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -363,7 +363,7 @@

API documentation +

diff --git a/docs/en/api/notifications.html b/docs/en/api/notifications.html index 01026130c..680d34988 100644 --- a/docs/en/api/notifications.html +++ b/docs/en/api/notifications.html @@ -6,7 +6,7 @@ - Notifications - FitTrackee 0.9.1 documentation + Notifications - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
-
@@ -197,7 +197,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -681,7 +681,7 @@

Notifications +

diff --git a/docs/en/api/oauth2.html b/docs/en/api/oauth2.html index f7e8a9452..c204cafce 100644 --- a/docs/en/api/oauth2.html +++ b/docs/en/api/oauth2.html @@ -6,7 +6,7 @@ - OAuth2 - FitTrackee 0.9.1 documentation + OAuth2 - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
-
@@ -197,7 +197,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -894,7 +894,7 @@

OAuth2

- + diff --git a/docs/en/api/records.html b/docs/en/api/records.html index 47d4076ba..c2a687ab4 100644 --- a/docs/en/api/records.html +++ b/docs/en/api/records.html @@ -6,7 +6,7 @@ - Records - FitTrackee 0.9.1 documentation + Records - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
-
@@ -197,7 +197,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -462,7 +462,7 @@

Records

- + diff --git a/docs/en/api/reports.html b/docs/en/api/reports.html index 3863c46c4..1c09e7456 100644 --- a/docs/en/api/reports.html +++ b/docs/en/api/reports.html @@ -6,7 +6,7 @@ - Reports - FitTrackee 0.9.1 documentation + Reports - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
-
@@ -197,7 +197,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -1071,7 +1071,7 @@

Reports

- + diff --git a/docs/en/api/sports.html b/docs/en/api/sports.html index 4a5dc6aff..019e44b81 100644 --- a/docs/en/api/sports.html +++ b/docs/en/api/sports.html @@ -6,7 +6,7 @@ - Sports - FitTrackee 0.9.1 documentation + Sports - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
-
@@ -197,7 +197,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -682,7 +682,7 @@

Sports

- + diff --git a/docs/en/api/stats.html b/docs/en/api/stats.html index a165eab67..71f56fe7f 100644 --- a/docs/en/api/stats.html +++ b/docs/en/api/stats.html @@ -6,7 +6,7 @@ - Statistics - FitTrackee 0.9.1 documentation + Statistics - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
-
@@ -197,7 +197,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -725,7 +725,7 @@

Statistics +

diff --git a/docs/en/api/timeline.html b/docs/en/api/timeline.html index 9ae257d9e..f50d6e002 100644 --- a/docs/en/api/timeline.html +++ b/docs/en/api/timeline.html @@ -6,7 +6,7 @@ - Timeline - FitTrackee 0.9.1 documentation + Timeline - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
-
@@ -197,7 +197,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -499,7 +499,7 @@

Timeline

- + diff --git a/docs/en/api/users.html b/docs/en/api/users.html index 4eb85a18c..b70bade3a 100644 --- a/docs/en/api/users.html +++ b/docs/en/api/users.html @@ -6,7 +6,7 @@ - Users - FitTrackee 0.9.1 documentation + Users - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
-
@@ -197,7 +197,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -1704,7 +1704,7 @@

Users

- + diff --git a/docs/en/api/workouts.html b/docs/en/api/workouts.html index d2a1d54e9..51bac348b 100644 --- a/docs/en/api/workouts.html +++ b/docs/en/api/workouts.html @@ -6,7 +6,7 @@ - Workouts - FitTrackee 0.9.1 documentation + Workouts - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@ - + diff --git a/docs/en/changelog.html b/docs/en/changelog.html index 945b580ab..a72c7e71f 100644 --- a/docs/en/changelog.html +++ b/docs/en/changelog.html @@ -6,7 +6,7 @@ - Change log - FitTrackee 0.9.1 documentation + Change log - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
-
@@ -197,7 +197,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -288,6 +288,46 @@

Change log

+
+

Version 0.9.2 (2025/02/12)

+
+

Translations

+
    +
  • PR#711 - Translations update (Chinese (Simplified Han script))

  • +
  • PR#712 - Translations update (Polish, Basque)

  • +
+

Translation status:

+
    +
  • Basque: 73%

  • +
  • Bulgarian: 64%

  • +
  • Chinese (Simplified): 100%

  • +
  • Czech: 47%

  • +
  • Dutch: 64%

  • +
  • English: 100%

  • +
  • French: 100%

  • +
  • Galician: 100%

  • +
  • German: 76%

  • +
  • Italian: 53%

  • +
  • Norwegian Bokmål: 34%

  • +
  • Polish: 100%

  • +
  • Portuguese: 63%

  • +
  • Russian: 40%

  • +
  • Spanish: 64%

  • +
+
+
+

Misc

+
    +
  • 2612cd9 - fix Dockerfile used for development

  • +
+

Thanks to the contributors:

+
    +
  • @erral

  • +
  • Poesty Li

  • +
  • Wiktor Jędrzejczak

  • +
+
+

Version 0.9.1 (2025/02/02)

Note: The minimum version for Python is now 3.9.2.

@@ -304,8 +344,8 @@

Bugs FixedPR#707 - Display user workouts only on user profile

-
-

Translations

+
+

Translations

- + diff --git a/docs/en/cli.html b/docs/en/cli.html index 387c81013..723199cae 100644 --- a/docs/en/cli.html +++ b/docs/en/cli.html @@ -6,7 +6,7 @@ - Command line interface - FitTrackee 0.9.1 documentation + Command line interface - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
-
@@ -197,7 +197,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -610,7 +610,7 @@

ftcli

- + diff --git a/docs/en/features.html b/docs/en/features.html index 85f8a47c9..043a26dd4 100644 --- a/docs/en/features.html +++ b/docs/en/features.html @@ -6,7 +6,7 @@ - Features - FitTrackee 0.9.1 documentation + Features - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
-
@@ -197,7 +197,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -1216,7 +1216,7 @@

Administration

- + diff --git a/docs/en/genindex.html b/docs/en/genindex.html index 0f5177d61..ff6ea698e 100644 --- a/docs/en/genindex.html +++ b/docs/en/genindex.html @@ -4,7 +4,7 @@ - Index - FitTrackee 0.9.1 documentation + Index - FitTrackee 0.9.2 documentation @@ -167,7 +167,7 @@
-
@@ -195,7 +195,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -394,7 +394,7 @@

E

- + diff --git a/docs/en/http-routingtable.html b/docs/en/http-routingtable.html index fe51d8591..cc0151af6 100644 --- a/docs/en/http-routingtable.html +++ b/docs/en/http-routingtable.html @@ -4,7 +4,7 @@ - HTTP Routing Table - FitTrackee 0.9.1 documentation + HTTP Routing Table - FitTrackee 0.9.2 documentation @@ -167,7 +167,7 @@
-
@@ -195,7 +195,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -981,7 +981,7 @@

HTTP Routing Table

- + diff --git a/docs/en/index.html b/docs/en/index.html index adf0dc658..e38166302 100644 --- a/docs/en/index.html +++ b/docs/en/index.html @@ -6,7 +6,7 @@ - FitTrackee 0.9.1 documentation + FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
-
@@ -197,7 +197,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -370,7 +370,7 @@

Table of contents +

diff --git a/docs/en/installation.html b/docs/en/installation.html index 656263fa7..d00e70efe 100644 --- a/docs/en/installation.html +++ b/docs/en/installation.html @@ -6,7 +6,7 @@ - Installation - FitTrackee 0.9.1 documentation + Installation - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
-
@@ -197,7 +197,7 @@
- FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -1048,11 +1048,11 @@

Production environment

    -
  • Download the last release (for now, it is the release v0.9.1):

  • +
  • Download the last release (for now, it is the release v0.9.2):

-
$ wget https://github.com/SamR1/FitTrackee/archive/v0.9.1.tar.gz
-$ tar -xzf v0.9.1.tar.gz
-$ mv FitTrackee-0.9.1 FitTrackee
+
$ wget https://github.com/SamR1/FitTrackee/archive/v0.9.2.tar.gz
+$ tar -xzf v0.9.2.tar.gz
+$ mv FitTrackee-0.9.2 FitTrackee
 $ cd FitTrackee
 
@@ -1188,11 +1188,11 @@

Prod environment
  • Stop the application

  • Change to the directory where FitTrackee directory is located

  • -
  • Download the last release (for now, it is the release v0.9.1) and overwrite existing files:

  • +
  • Download the last release (for now, it is the release v0.9.2) and overwrite existing files:

  • -
    -
    @@ -197,7 +197,7 @@
    - FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -481,7 +481,7 @@

    Resources +

    diff --git a/docs/en/objects.inv b/docs/en/objects.inv index 04957bcae..6d264a947 100644 Binary files a/docs/en/objects.inv and b/docs/en/objects.inv differ diff --git a/docs/en/search.html b/docs/en/search.html index 321f7c377..aa5ca20e7 100644 --- a/docs/en/search.html +++ b/docs/en/search.html @@ -7,7 +7,7 @@ -Search - FitTrackee 0.9.1 +<title>Search - FitTrackee 0.9.2 documentation @@ -170,7 +170,7 @@

    -
    @@ -198,7 +198,7 @@
    - FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -328,7 +328,7 @@
    -
    + diff --git a/docs/en/searchindex.js b/docs/en/searchindex.js index ebfef28f8..f06bb9913 100644 --- a/docs/en/searchindex.js +++ b/docs/en/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles": {"API documentation": [[6, null]], "API rate limits": [[20, "api-rate-limits"]], "About": [[18, "about"]], "Account & preferences": [[18, "account-preferences"]], "Administration": [[18, "administration"], [18, "id8"]], "Administrator": [[23, null]], "Application": [[18, "application"]], "Authentication and account": [[0, null]], "Bugs Fixed": [[16, "bugs-fixed"], [16, "id2"], [16, "id6"], [16, "id8"], [16, "id13"], [16, "id16"], [16, "id18"], [16, "id20"], [16, "id28"], [16, "id31"], [16, "id34"], [16, "id39"], [16, "id45"], [16, "id50"], [16, "id54"], [16, "id57"], [16, "id59"], [16, "id63"], [16, "id67"], [16, "id71"], [16, "id74"], [16, "id77"], [16, "id80"], [16, "id81"], [16, "id84"], [16, "id86"], [16, "id88"], [16, "id91"], [16, "id94"], [16, "id102"], [16, "id105"], [16, "id108"], [16, "id111"], [16, "id123"], [16, "id128"], [16, "id130"], [16, "id134"], [16, "id137"], [16, "id140"], [16, "id142"], [16, "id145"], [16, "id148"], [16, "id150"], [16, "id153"], [16, "id156"], [16, "id159"], [16, "id164"], [16, "id166"], [16, "id168"], [16, "id170"], [16, "id173"], [16, "id175"], [16, "id181"], [16, "id184"], [16, "id186"], [16, "id188"], [16, "id195"], [16, "id200"], [16, "id202"], [16, "id204"], [16, "id207"], [16, "id209"], [16, "id211"], [16, "id215"], [16, "id225"], [16, "id228"], [16, "id230"], [16, "id233"], [16, "id240"]], "Change log": [[16, null]], "Command line interface": [[17, null]], "Comments": [[1, null], [18, "comments"]], "Configuration": [[2, null], [18, "configuration"]], "Dashboard": [[18, "dashboard"], [18, "id4"]], "Dashboard on Mobile": [[18, "dashboard-on-mobile"]], "Database": [[17, "database"]], "Deployment": [[20, "deployment"]], "Dev environment": [[20, "dev-environment"], [20, "id5"]], "Development": [[20, "development"]], "Docker": [[20, "docker"]], "Docker Compose": [[20, "docker-compose"]], "Documentation": [[16, "documentation"], [16, "id98"], [16, "id132"]], "Emails": [[20, "emails"]], "Endpoints:": [[6, null]], "Environment variables": [[20, "environment-variables"]], "Equipment Types": [[3, null], [18, "equipment-types"]], "Equipments": [[4, null], [18, "equipments"], [18, "id6"]], "Failed to upload or download files": [[23, "failed-to-upload-or-download-files"]], "Features": [[16, "features"], [16, "id152"], [16, "id162"], [16, "id172"], [18, null]], "Features and enhancements": [[16, "features-and-enhancements"], [16, "id1"], [16, "id5"], [16, "id7"], [16, "id12"], [16, "id15"], [16, "id19"], [16, "id24"], [16, "id27"], [16, "id33"], [16, "id38"], [16, "id42"], [16, "id49"], [16, "id53"], [16, "id62"], [16, "id66"], [16, "id70"], [16, "id73"], [16, "id90"], [16, "id93"], [16, "id101"], [16, "id104"], [16, "id110"], [16, "id115"], [16, "id117"], [16, "id119"], [16, "id122"], [16, "id133"], [16, "id139"]], "FitTrackee": [[19, null]], "FitTrackee fails to start": [[23, "fittrackee-fails-to-start"]], "Flow": [[21, "flow"]], "Follow requests": [[5, null]], "From PyPI": [[20, "from-pypi"], [20, "id3"]], "From sources": [[20, "from-sources"], [20, "id4"]], "Import tools": [[22, "import-tools"]], "Installation": [[20, null], [20, "id2"]], "Installation scripts": [[22, "installation-scripts"]], "Interactions": [[18, "interactions"]], "Issues Closed": [[16, "issues-closed"], [16, "id144"], [16, "id147"], [16, "id151"], [16, "id155"], [16, "id158"], [16, "id161"], [16, "id163"], [16, "id167"], [16, "id169"], [16, "id171"], [16, "id176"], [16, "id180"], [16, "id183"], [16, "id185"], [16, "id187"], [16, "id189"], [16, "id191"], [16, "id193"], [16, "id198"], [16, "id201"], [16, "id203"], [16, "id206"], [16, "id208"], [16, "id210"], [16, "id213"], [16, "id217"], [16, "id219"], [16, "id221"], [16, "id224"], [16, "id226"], [16, "id229"], [16, "id231"], [16, "id235"], [16, "id238"], [16, "id241"]], "Likes": [[18, "likes"]], "Main dependencies": [[20, "main-dependencies"]], "Map images are not displayed but map is shown in Workout detail": [[23, "map-images-are-not-displayed-but-map-is-shown-in-workout-detail"]], "Map tile server": [[20, "map-tile-server"]], "Misc": [[16, "misc"], [16, "id4"], [16, "id9"], [16, "id11"], [16, "id17"], [16, "id21"], [16, "id23"], [16, "id26"], [16, "id30"], [16, "id37"], [16, "id41"], [16, "id44"], [16, "id48"], [16, "id52"], [16, "id56"], [16, "id61"], [16, "id65"], [16, "id69"], [16, "id76"], [16, "id79"], [16, "id83"], [16, "id85"], [16, "id89"], [16, "id96"], [16, "id99"], [16, "id107"], [16, "id114"], [16, "id125"], [16, "id127"], [16, "id143"], [16, "id157"], [16, "id160"], [16, "id177"], [16, "id179"], [16, "id196"], [16, "id205"], [16, "id212"], [16, "id216"], [16, "id223"], [16, "id234"], [16, "id237"]], "Moderation": [[18, "moderation"]], "New Features": [[16, "new-features"], [16, "id190"], [16, "id192"], [16, "id194"], [16, "id199"], [16, "id214"], [16, "id218"], [16, "id220"], [16, "id222"], [16, "id227"], [16, "id232"], [16, "id236"], [16, "id239"], [16, "id242"]], "NixOS": [[20, "nixos"]], "Notifications": [[7, null], [18, "notifications"], [18, "id7"]], "OAuth 2.0": [[21, null]], "OAuth Apps": [[18, "oauth-apps"]], "OAuth2": [[8, null], [17, "oauth2"]], "Prerequisites": [[20, "prerequisites"]], "Privacy policy": [[18, "privacy-policy"]], "Prod environment": [[20, "prod-environment"]], "Production": [[20, "production"]], "Production environment": [[20, "production-environment"]], "Pull Requests": [[16, "pull-requests"], [16, "id146"], [16, "id149"], [16, "id165"], [16, "id174"], [16, "id178"], [16, "id182"], [16, "id197"]], "Records": [[9, null]], "Reports": [[10, null]], "Resources": [[21, "resources"]], "Scopes": [[21, "scopes"]], "Screenshots": [[18, "screenshots"]], "Security": [[16, "security"]], "Sports": [[11, null], [18, "sports"], [18, "id3"]], "Statistics": [[12, null], [18, "statistics"], [18, "id5"]], "Table of contents": [[19, "table-of-contents"]], "Third-party tools": [[22, null]], "Timeline": [[13, null]], "Translations": [[16, "translations"], [16, "id3"], [16, "id10"], [16, "id14"], [16, "id22"], [16, "id25"], [16, "id29"], [16, "id32"], [16, "id35"], [16, "id36"], [16, "id40"], [16, "id43"], [16, "id46"], [16, "id47"], [16, "id51"], [16, "id55"], [16, "id58"], [16, "id60"], [16, "id64"], [16, "id68"], [16, "id72"], [16, "id75"], [16, "id78"], [16, "id82"], [16, "id87"], [16, "id92"], [16, "id95"], [16, "id97"], [16, "id100"], [16, "id103"], [16, "id106"], [16, "id109"], [16, "id112"], [16, "id113"], [16, "id116"], [16, "id118"], [16, "id120"], [16, "id121"], [16, "id124"], [16, "id126"], [16, "id129"], [16, "id131"], [16, "id135"], [16, "id136"], [16, "id138"], [16, "id141"], [16, "id154"], [18, "translations"]], "Troubleshooting": [[24, null]], "Upgrade": [[20, "upgrade"]], "Users": [[14, null], [17, "users"], [18, "users"], [18, "id2"]], "Users directory": [[18, "users-directory"]], "Version 0.1.0 - First release \ud83c\udf89 (2018-07-04)": [[16, "version-0-1-0-first-release-2018-07-04"]], "Version 0.1.1 - Fix and improvements (2019/02/07)": [[16, "version-0-1-1-fix-and-improvements-2019-02-07"]], "Version 0.2.0 - Statistics (2019/07/07)": [[16, "version-0-2-0-statistics-2019-07-07"]], "Version 0.2.1 - Fix and improvements (2019/09/01)": [[16, "version-0-2-1-fix-and-improvements-2019-09-01"]], "Version 0.2.2 - Statistics fix (2019/09/23)": [[16, "version-0-2-2-statistics-fix-2019-09-23"]], "Version 0.2.3 - FitTrackee available in French (2019/12/29)": [[16, "version-0-2-3-fittrackee-available-in-french-2019-12-29"]], "Version 0.2.4 - Minor fix (2020/01/30)": [[16, "version-0-2-4-minor-fix-2020-01-30"]], "Version 0.2.5 - Fix and improvements (2020/01/31)": [[16, "version-0-2-5-fix-and-improvements-2020-01-31"]], "Version 0.3.0 - Administration (2020/07/15)": [[16, "version-0-3-0-administration-2020-07-15"]], "Version 0.4.0 - FitTrackee on PyPI (2020/09/19)": [[16, "version-0-4-0-fittrackee-on-pypi-2020-09-19"]], "Version 0.4.1 (2020/12/31)": [[16, "version-0-4-1-2020-12-31"]], "Version 0.4.2 (2021/01/03)": [[16, "version-0-4-2-2021-01-03"]], "Version 0.4.3 (2021/01/10)": [[16, "version-0-4-3-2021-01-10"]], "Version 0.4.4 (2021/01/31)": [[16, "version-0-4-4-2021-01-31"]], "Version 0.4.5 (2021/02/17)": [[16, "version-0-4-5-2021-02-17"]], "Version 0.4.6 (2021/02/21)": [[16, "version-0-4-6-2021-02-21"]], "Version 0.4.7 (2021/04/07)": [[16, "version-0-4-7-2021-04-07"]], "Version 0.4.8 (2021/07/03)": [[16, "version-0-4-8-2021-07-03"]], "Version 0.4.9 (2021/07/16)": [[16, "version-0-4-9-2021-07-16"]], "Version 0.5.0 (2021/11/14)": [[16, "version-0-5-0-2021-11-14"]], "Version 0.5.1 (2021/11/30)": [[16, "version-0-5-1-2021-11-30"]], "Version 0.5.2 (2021/12/19)": [[16, "version-0-5-2-2021-12-19"]], "Version 0.5.3 (2022/01/01)": [[16, "version-0-5-3-2022-01-01"]], "Version 0.5.4 (2022/01/01)": [[16, "version-0-5-4-2022-01-01"]], "Version 0.5.5 (2022/01/19)": [[16, "version-0-5-5-2022-01-19"]], "Version 0.5.6 (2022/02/05)": [[16, "version-0-5-6-2022-02-05"]], "Version 0.5.7 (2022/02/13)": [[16, "version-0-5-7-2022-02-13"]], "Version 0.6.0 (2022/03/27)": [[16, "version-0-6-0-2022-03-27"]], "Version 0.6.1 (2022/03/27)": [[16, "version-0-6-1-2022-03-27"]], "Version 0.6.10 (2022/07/13)": [[16, "version-0-6-10-2022-07-13"]], "Version 0.6.11 (2022/07/27)": [[16, "version-0-6-11-2022-07-27"]], "Version 0.6.12 (2022/09/14)": [[16, "version-0-6-12-2022-09-14"]], "Version 0.6.2 (2022/04/03)": [[16, "version-0-6-2-2022-04-03"]], "Version 0.6.3 (2022/04/09)": [[16, "version-0-6-3-2022-04-09"]], "Version 0.6.4 (2022/04/23)": [[16, "version-0-6-4-2022-04-23"]], "Version 0.6.5 (2022/04/24)": [[16, "version-0-6-5-2022-04-24"]], "Version 0.6.6 (2022/05/29)": [[16, "version-0-6-6-2022-05-29"]], "Version 0.6.7 (2022/06/11)": [[16, "version-0-6-7-2022-06-11"]], "Version 0.6.8 (2022/06/22)": [[16, "version-0-6-8-2022-06-22"]], "Version 0.6.9 (2022/07/03)": [[16, "version-0-6-9-2022-07-03"]], "Version 0.7.0 (2022/09/19)": [[16, "version-0-7-0-2022-09-19"]], "Version 0.7.1 (2022/09/21)": [[16, "version-0-7-1-2022-09-21"]], "Version 0.7.10 (2022/12/21)": [[16, "version-0-7-10-2022-12-21"]], "Version 0.7.11 (2022/12/31)": [[16, "version-0-7-11-2022-12-31"]], "Version 0.7.12 (2023/02/16)": [[16, "version-0-7-12-2023-02-16"]], "Version 0.7.13 (2023/03/05)": [[16, "version-0-7-13-2023-03-05"]], "Version 0.7.14 (2023/03/08)": [[16, "version-0-7-14-2023-03-08"]], "Version 0.7.15 (2023/04/12)": [[16, "version-0-7-15-2023-04-12"]], "Version 0.7.16 (2023/05/29)": [[16, "version-0-7-16-2023-05-29"]], "Version 0.7.17 (2023/06/03)": [[16, "version-0-7-17-2023-06-03"]], "Version 0.7.18 (2023/06/25)": [[16, "version-0-7-18-2023-06-25"]], "Version 0.7.19 (2023/07/15)": [[16, "version-0-7-19-2023-07-15"]], "Version 0.7.2 (2022/09/21)": [[16, "version-0-7-2-2022-09-21"]], "Version 0.7.20 (2023/07/22)": [[16, "version-0-7-20-2023-07-22"]], "Version 0.7.21 (2023/07/30)": [[16, "version-0-7-21-2023-07-30"]], "Version 0.7.22 (2023/08/23)": [[16, "version-0-7-22-2023-08-23"]], "Version 0.7.23 (2023/09/14)": [[16, "version-0-7-23-2023-09-14"]], "Version 0.7.24 (2023/10/04)": [[16, "version-0-7-24-2023-10-04"]], "Version 0.7.25 (2023/10/08)": [[16, "version-0-7-25-2023-10-08"]], "Version 0.7.26 (2023/11/19)": [[16, "version-0-7-26-2023-11-19"]], "Version 0.7.27 (2023/12/20)": [[16, "version-0-7-27-2023-12-20"]], "Version 0.7.28 (2023/12/23)": [[16, "version-0-7-28-2023-12-23"]], "Version 0.7.29 (2024/01/06)": [[16, "version-0-7-29-2024-01-06"]], "Version 0.7.3 (2022/11/01)": [[16, "version-0-7-3-2022-11-01"]], "Version 0.7.30 (2024/02/04)": [[16, "version-0-7-30-2024-02-04"]], "Version 0.7.31 (2024/02/10)": [[16, "version-0-7-31-2024-02-10"]], "Version 0.7.32 (2024/03/10)": [[16, "version-0-7-32-2024-03-10"]], "Version 0.7.4 (2022/11/05)": [[16, "version-0-7-4-2022-11-05"]], "Version 0.7.5 (2022/11/09)": [[16, "version-0-7-5-2022-11-09"]], "Version 0.7.6 (2022/11/09)": [[16, "version-0-7-6-2022-11-09"]], "Version 0.7.7 (2022/11/27)": [[16, "version-0-7-7-2022-11-27"]], "Version 0.7.8 (2022/11/30)": [[16, "version-0-7-8-2022-11-30"]], "Version 0.7.9 (2022/12/11)": [[16, "version-0-7-9-2022-12-11"]], "Version 0.8.0 (2024/04/21)": [[16, "version-0-8-0-2024-04-21"]], "Version 0.8.1 (2024/05/01)": [[16, "version-0-8-1-2024-05-01"]], "Version 0.8.10 (2024/10/09)": [[16, "version-0-8-10-2024-10-09"]], "Version 0.8.11 (2024/10/30)": [[16, "version-0-8-11-2024-10-30"]], "Version 0.8.12 (2024/11/17)": [[16, "version-0-8-12-2024-11-17"]], "Version 0.8.13 (2024/12/29)": [[16, "version-0-8-13-2024-12-29"]], "Version 0.8.2 (2024/05/08)": [[16, "version-0-8-2-2024-05-08"]], "Version 0.8.3 (2024/05/09)": [[16, "version-0-8-3-2024-05-09"]], "Version 0.8.4 (2024/05/22)": [[16, "version-0-8-4-2024-05-22"]], "Version 0.8.5 (2024/06/29)": [[16, "version-0-8-5-2024-06-29"]], "Version 0.8.6 (2024/08/03)": [[16, "version-0-8-6-2024-08-03"]], "Version 0.8.7 (2024/08/25)": [[16, "version-0-8-7-2024-08-25"]], "Version 0.8.8 (2024/09/01)": [[16, "version-0-8-8-2024-09-01"]], "Version 0.8.9 (2024/09/21)": [[16, "version-0-8-9-2024-09-21"]], "Version 0.9.0 (2025/01/18)": [[16, "version-0-9-0-2025-01-18"]], "Version 0.9.0b1 (2024/12/14)": [[16, "version-0-9-0b1-2024-12-14"]], "Version 0.9.0b2 (2024/12/14)": [[16, "version-0-9-0b2-2024-12-14"]], "Version 0.9.0b3 (2024/12/18)": [[16, "version-0-9-0b3-2024-12-18"]], "Version 0.9.0b4 (2024/12/23)": [[16, "version-0-9-0b4-2024-12-23"]], "Version 0.9.0b5 (2024/12/30)": [[16, "version-0-9-0b5-2024-12-30"]], "Version 0.9.0b6 (2025/01/05)": [[16, "version-0-9-0b6-2025-01-05"]], "Version 0.9.1 (2025/02/02)": [[16, "version-0-9-1-2025-02-02"]], "Weather data": [[20, "weather-data"]], "Workout detail": [[18, "workout-detail"]], "Workouts": [[15, null], [18, "workouts"], [18, "id1"]], "Workouts list": [[18, "workouts-list"]], "Yunohost": [[20, "yunohost"]], "ftcli db drop": [[17, "ftcli-db-drop"]], "ftcli db upgrade": [[17, "ftcli-db-upgrade"]], "ftcli oauth2 clean": [[17, "ftcli-oauth2-clean"]], "ftcli users clean_archives": [[17, "ftcli-users-clean-archives"]], "ftcli users clean_tokens": [[17, "ftcli-users-clean-tokens"]], "ftcli users create": [[17, "ftcli-users-create"]], "ftcli users export_archives": [[17, "ftcli-users-export-archives"]], "ftcli users update": [[17, "ftcli-users-update"]]}, "docnames": ["api/auth", "api/comments", "api/configuration", "api/equipment_types", "api/equipments", "api/follow_requests", "api/index", "api/notifications", "api/oauth2", "api/records", "api/reports", "api/sports", "api/stats", "api/timeline", "api/users", "api/workouts", "changelog", "cli", "features", "index", "installation", "oauth", "third_party_tools", "troubleshooting/administrator", "troubleshooting/index"], "envversion": {"sphinx": 62, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2}, "filenames": ["api/auth.rst", "api/comments.rst", "api/configuration.rst", "api/equipment_types.rst", "api/equipments.rst", "api/follow_requests.rst", "api/index.rst", "api/notifications.rst", "api/oauth2.rst", "api/records.rst", "api/reports.rst", "api/sports.rst", "api/stats.rst", "api/timeline.rst", "api/users.rst", "api/workouts.rst", "changelog.md", "cli.rst", "features.rst", "index.rst", "installation.rst", "oauth.rst", "third_party_tools.rst", "troubleshooting/administrator.rst", "troubleshooting/index.rst"], "indexentries": {"api_rate_limits": [[20, "envvar-API_RATE_LIMITS", false]], "app_log": [[20, "envvar-APP_LOG", false]], "app_port": [[20, "envvar-APP_PORT", false]], "app_secret_key": [[20, "envvar-APP_SECRET_KEY", false]], "app_settings": [[20, "envvar-APP_SETTINGS", false]], "app_workers": [[20, "envvar-APP_WORKERS", false]], "database_dir": [[20, "envvar-DATABASE_DIR", false]], "database_disable_pooling": [[20, "envvar-DATABASE_DISABLE_POOLING", false]], "database_url": [[20, "envvar-DATABASE_URL", false]], "default_staticmap": [[20, "envvar-DEFAULT_STATICMAP", false]], "email_url": [[20, "envvar-EMAIL_URL", false]], "environment variable": [[20, "envvar-API_RATE_LIMITS", false], [20, "envvar-APP_LOG", false], [20, "envvar-APP_PORT", false], [20, "envvar-APP_SECRET_KEY", false], [20, "envvar-APP_SETTINGS", false], [20, "envvar-APP_WORKERS", false], [20, "envvar-DATABASE_DIR", false], [20, "envvar-DATABASE_DISABLE_POOLING", false], [20, "envvar-DATABASE_URL", false], [20, "envvar-DEFAULT_STATICMAP", false], [20, "envvar-EMAIL_URL", false], [20, "envvar-FLASK_APP", false], [20, "envvar-HOST", false], [20, "envvar-LOG_DIR", false], [20, "envvar-MAP_ATTRIBUTION", false], [20, "envvar-PORT", false], [20, "envvar-POSTGRES_DB", false], [20, "envvar-POSTGRES_PASSWORD", false], [20, "envvar-POSTGRES_USER", false], [20, "envvar-REDIS_DIR", false], [20, "envvar-REDIS_URL", false], [20, "envvar-SENDER_EMAIL", false], [20, "envvar-STATICMAP_SUBDOMAINS", false], [20, "envvar-TILE_SERVER_URL", false], [20, "envvar-UI_URL", false], [20, "envvar-UPLOAD_DIR", false], [20, "envvar-UPLOAD_FOLDER", false], [20, "envvar-VITE_APP_API_URL", false], [20, "envvar-WEATHER_API_KEY", false], [20, "envvar-WEATHER_API_PROVIDER", false], [20, "envvar-WORKERS_PROCESSES", false]], "flask_app": [[20, "envvar-FLASK_APP", false]], "host": [[20, "envvar-HOST", false]], "log_dir": [[20, "envvar-LOG_DIR", false]], "map_attribution": [[20, "envvar-MAP_ATTRIBUTION", false]], "port": [[20, "envvar-PORT", false]], "postgres_db": [[20, "envvar-POSTGRES_DB", false]], "postgres_password": [[20, "envvar-POSTGRES_PASSWORD", false]], "postgres_user": [[20, "envvar-POSTGRES_USER", false]], "redis_dir": [[20, "envvar-REDIS_DIR", false]], "redis_url": [[20, "envvar-REDIS_URL", false]], "sender_email": [[20, "envvar-SENDER_EMAIL", false]], "staticmap_subdomains": [[20, "envvar-STATICMAP_SUBDOMAINS", false]], "tile_server_url": [[20, "envvar-TILE_SERVER_URL", false]], "ui_url": [[20, "envvar-UI_URL", false]], "upload_dir": [[20, "envvar-UPLOAD_DIR", false]], "upload_folder": [[20, "envvar-UPLOAD_FOLDER", false]], "vite_app_api_url": [[20, "envvar-VITE_APP_API_URL", false]], "weather_api_key": [[20, "envvar-WEATHER_API_KEY", false]], "weather_api_provider \ud83c\udd95": [[20, "envvar-WEATHER_API_PROVIDER", false]], "workers_processes": [[20, "envvar-WORKERS_PROCESSES", false]]}, "objects": {"": [[10, 0, 1, "patch--api-appeals-(string-appeal_id)", "/api/appeals/(string:appeal_id)"], [0, 1, 1, "post--api-auth-account-confirm", "/api/auth/account/confirm"], [0, 2, 1, "get--api-auth-account-export", "/api/auth/account/export"], [0, 2, 1, "get--api-auth-account-export-(string-file_name)", "/api/auth/account/export/(string:file_name)"], [0, 1, 1, "post--api-auth-account-export-request", "/api/auth/account/export/request"], [0, 1, 1, "post--api-auth-account-privacy-policy", "/api/auth/account/privacy-policy"], [0, 1, 1, "post--api-auth-account-resend-confirmation", "/api/auth/account/resend-confirmation"], [0, 2, 1, "get--api-auth-account-sanctions-(string-action_short_id)", "/api/auth/account/sanctions/(string:action_short_id)"], [0, 1, 1, "post--api-auth-account-sanctions-(string-action_short_id)-appeal", "/api/auth/account/sanctions/(string:action_short_id)/appeal"], [0, 2, 1, "get--api-auth-account-suspension", "/api/auth/account/suspension"], [0, 1, 1, "post--api-auth-account-suspension-appeal", "/api/auth/account/suspension/appeal"], [0, 2, 1, "get--api-auth-blocked-users", "/api/auth/blocked-users"], [0, 1, 1, "post--api-auth-email-update", "/api/auth/email/update"], [0, 1, 1, "post--api-auth-login", "/api/auth/login"], [0, 1, 1, "post--api-auth-logout", "/api/auth/logout"], [0, 1, 1, "post--api-auth-password-reset-request", "/api/auth/password/reset-request"], [0, 1, 1, "post--api-auth-password-update", "/api/auth/password/update"], [0, 3, 1, "delete--api-auth-picture", "/api/auth/picture"], [0, 1, 1, "post--api-auth-picture", "/api/auth/picture"], [0, 2, 1, "get--api-auth-profile", "/api/auth/profile"], [0, 1, 1, "post--api-auth-profile-edit", "/api/auth/profile/edit"], [0, 0, 1, "patch--api-auth-profile-edit-account", "/api/auth/profile/edit/account"], [0, 1, 1, "post--api-auth-profile-edit-notifications", "/api/auth/profile/edit/notifications"], [0, 1, 1, "post--api-auth-profile-edit-preferences", "/api/auth/profile/edit/preferences"], [0, 1, 1, "post--api-auth-profile-edit-sports", "/api/auth/profile/edit/sports"], [0, 3, 1, "delete--api-auth-profile-reset-sports-(sport_id)", "/api/auth/profile/reset/sports/(sport_id)"], [0, 1, 1, "post--api-auth-register", "/api/auth/register"], [1, 3, 1, "delete--api-comments-(string-comment_short_id)", "/api/comments/(string:comment_short_id)"], [1, 2, 1, "get--api-comments-(string-comment_short_id)", "/api/comments/(string:comment_short_id)"], [1, 0, 1, "patch--api-comments-(string-comment_short_id)", "/api/comments/(string:comment_short_id)"], [1, 1, 1, "post--api-comments-(string-comment_short_id)-like", "/api/comments/(string:comment_short_id)/like"], [1, 1, 1, "post--api-comments-(string-comment_short_id)-like-undo", "/api/comments/(string:comment_short_id)/like/undo"], [1, 2, 1, "get--api-comments-(string-comment_short_id)-likes", "/api/comments/(string:comment_short_id)/likes"], [1, 1, 1, "post--api-comments-(string-comment_short_id)-suspension-appeal", "/api/comments/(string:comment_short_id)/suspension/appeal"], [2, 2, 1, "get--api-config", "/api/config"], [2, 0, 1, "patch--api-config", "/api/config"], [3, 2, 1, "get--api-equipment-types", "/api/equipment-types"], [3, 2, 1, "get--api-equipment-types-(int-equipment_type_id)", "/api/equipment-types/(int:equipment_type_id)"], [3, 0, 1, "patch--api-equipment-types-(int-equipment_type_id)", "/api/equipment-types/(int:equipment_type_id)"], [4, 2, 1, "get--api-equipments", "/api/equipments"], [4, 1, 1, "post--api-equipments", "/api/equipments"], [4, 3, 1, "delete--api-equipments-(string-equipment_short_id)", "/api/equipments/(string:equipment_short_id)"], [4, 2, 1, "get--api-equipments-(string-equipment_short_id)", "/api/equipments/(string:equipment_short_id)"], [4, 0, 1, "patch--api-equipments-(string-equipment_short_id)", "/api/equipments/(string:equipment_short_id)"], [4, 1, 1, "post--api-equipments-(string-equipment_short_id)-refresh", "/api/equipments/(string:equipment_short_id)/refresh"], [5, 2, 1, "get--api-follow-requests", "/api/follow-requests"], [5, 1, 1, "post--api-follow-requests-(user_name)-accept", "/api/follow-requests/(user_name)/accept"], [5, 1, 1, "post--api-follow-requests-(user_name)-reject", "/api/follow-requests/(user_name)/reject"], [7, 2, 1, "get--api-notifications", "/api/notifications"], [7, 0, 1, "patch--api-notifications-(string-notification_id)", "/api/notifications/(string:notification_id)"], [7, 1, 1, "post--api-notifications-mark-all-as-read", "/api/notifications/mark-all-as-read"], [7, 2, 1, "get--api-notifications-types", "/api/notifications/types"], [7, 2, 1, "get--api-notifications-unread", "/api/notifications/unread"], [8, 2, 1, "get--api-oauth-apps", "/api/oauth/apps"], [8, 1, 1, "post--api-oauth-apps", "/api/oauth/apps"], [8, 3, 1, "delete--api-oauth-apps-(int-client_id)", "/api/oauth/apps/(int:client_id)"], [8, 2, 1, "get--api-oauth-apps-(int-client_id)-by_id", "/api/oauth/apps/(int:client_id)/by_id"], [8, 1, 1, "post--api-oauth-apps-(int-client_id)-revoke", "/api/oauth/apps/(int:client_id)/revoke"], [8, 2, 1, "get--api-oauth-apps-(string-client_client_id)", "/api/oauth/apps/(string:client_client_id)"], [8, 1, 1, "post--api-oauth-authorize", "/api/oauth/authorize"], [8, 1, 1, "post--api-oauth-revoke", "/api/oauth/revoke"], [8, 1, 1, "post--api-oauth-token", "/api/oauth/token"], [2, 2, 1, "get--api-ping", "/api/ping"], [9, 2, 1, "get--api-records", "/api/records"], [10, 2, 1, "get--api-reports", "/api/reports"], [10, 1, 1, "post--api-reports", "/api/reports"], [10, 2, 1, "get--api-reports-(int-report_id)", "/api/reports/(int:report_id)"], [10, 0, 1, "patch--api-reports-(int-report_id)", "/api/reports/(int:report_id)"], [10, 1, 1, "post--api-reports-(int-report_id)-actions", "/api/reports/(int:report_id)/actions"], [10, 2, 1, "get--api-reports-unresolved", "/api/reports/unresolved"], [11, 2, 1, "get--api-sports", "/api/sports"], [11, 2, 1, "get--api-sports-(int-sport_id)", "/api/sports/(int:sport_id)"], [11, 0, 1, "patch--api-sports-(int-sport_id)", "/api/sports/(int:sport_id)"], [12, 2, 1, "get--api-stats-(user_name)-by_sport", "/api/stats/(user_name)/by_sport"], [12, 2, 1, "get--api-stats-(user_name)-by_time", "/api/stats/(user_name)/by_time"], [12, 2, 1, "get--api-stats-all", "/api/stats/all"], [13, 2, 1, "get--api-timeline", "/api/timeline"], [14, 2, 1, "get--api-users", "/api/users"], [14, 3, 1, "delete--api-users-(user_name)", "/api/users/(user_name)"], [14, 2, 1, "get--api-users-(user_name)", "/api/users/(user_name)"], [14, 0, 1, "patch--api-users-(user_name)", "/api/users/(user_name)"], [14, 1, 1, "post--api-users-(user_name)-block", "/api/users/(user_name)/block"], [14, 1, 1, "post--api-users-(user_name)-follow", "/api/users/(user_name)/follow"], [14, 2, 1, "get--api-users-(user_name)-followers", "/api/users/(user_name)/followers"], [14, 2, 1, "get--api-users-(user_name)-following", "/api/users/(user_name)/following"], [14, 2, 1, "get--api-users-(user_name)-picture", "/api/users/(user_name)/picture"], [14, 2, 1, "get--api-users-(user_name)-sanctions", "/api/users/(user_name)/sanctions"], [14, 1, 1, "post--api-users-(user_name)-unblock", "/api/users/(user_name)/unblock"], [14, 1, 1, "post--api-users-(user_name)-unfollow", "/api/users/(user_name)/unfollow"], [14, 2, 1, "get--api-users-(user_name)-workouts", "/api/users/(user_name)/workouts"], [15, 2, 1, "get--api-workouts", "/api/workouts"], [15, 1, 1, "post--api-workouts", "/api/workouts"], [15, 3, 1, "delete--api-workouts-(string-workout_short_id)", "/api/workouts/(string:workout_short_id)"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)", "/api/workouts/(string:workout_short_id)"], [15, 0, 1, "patch--api-workouts-(string-workout_short_id)", "/api/workouts/(string:workout_short_id)"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-chart_data", "/api/workouts/(string:workout_short_id)/chart_data"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-chart_data-segment-(int-segment_id)", "/api/workouts/(string:workout_short_id)/chart_data/segment/(int:segment_id)"], [1, 2, 1, "get--api-workouts-(string-workout_short_id)-comments", "/api/workouts/(string:workout_short_id)/comments"], [1, 1, 1, "post--api-workouts-(string-workout_short_id)-comments", "/api/workouts/(string:workout_short_id)/comments"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-gpx", "/api/workouts/(string:workout_short_id)/gpx"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-gpx-download", "/api/workouts/(string:workout_short_id)/gpx/download"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-gpx-segment-(int-segment_id)", "/api/workouts/(string:workout_short_id)/gpx/segment/(int:segment_id)"], [15, 1, 1, "post--api-workouts-(string-workout_short_id)-like", "/api/workouts/(string:workout_short_id)/like"], [15, 1, 1, "post--api-workouts-(string-workout_short_id)-like-undo", "/api/workouts/(string:workout_short_id)/like/undo"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-likes", "/api/workouts/(string:workout_short_id)/likes"], [15, 1, 1, "post--api-workouts-(string-workout_short_id)-suspension-appeal", "/api/workouts/(string:workout_short_id)/suspension/appeal"], [15, 2, 1, "get--api-workouts-map-(map_id)", "/api/workouts/map/(map_id)"], [15, 1, 1, "post--api-workouts-no_gpx", "/api/workouts/no_gpx"], [20, 4, 1, "-", "API_RATE_LIMITS"], [20, 4, 1, "-", "APP_LOG"], [20, 4, 1, "-", "APP_PORT"], [20, 4, 1, "-", "APP_SECRET_KEY"], [20, 4, 1, "-", "APP_SETTINGS"], [20, 4, 1, "-", "APP_WORKERS"], [20, 4, 1, "-", "DATABASE_DIR"], [20, 4, 1, "-", "DATABASE_DISABLE_POOLING"], [20, 4, 1, "-", "DATABASE_URL"], [20, 4, 1, "-", "DEFAULT_STATICMAP"], [20, 4, 1, "-", "EMAIL_URL"], [20, 4, 1, "-", "FLASK_APP"], [20, 4, 1, "-", "HOST"], [20, 4, 1, "-", "LOG_DIR"], [20, 4, 1, "-", "MAP_ATTRIBUTION"], [20, 4, 1, "-", "PORT"], [20, 4, 1, "-", "POSTGRES_DB"], [20, 4, 1, "-", "POSTGRES_PASSWORD"], [20, 4, 1, "-", "POSTGRES_USER"], [20, 4, 1, "-", "REDIS_DIR"], [20, 4, 1, "-", "REDIS_URL"], [20, 4, 1, "-", "SENDER_EMAIL"], [20, 4, 1, "-", "STATICMAP_SUBDOMAINS"], [20, 4, 1, "-", "TILE_SERVER_URL"], [20, 4, 1, "-", "UI_URL"], [20, 4, 1, "-", "UPLOAD_DIR"], [20, 4, 1, "-", "UPLOAD_FOLDER"], [20, 4, 1, "-", "VITE_APP_API_URL"], [20, 4, 1, "-", "WEATHER_API_KEY"], [20, 4, 1, "envvar-WEATHER_API_PROVIDER", "WEATHER_API_PROVIDER \ud83c\udd95"], [20, 4, 1, "-", "WORKERS_PROCESSES"]], "/api/workouts/map_tile/(s)/(z)/(x)/(y)": [[15, 2, 1, "get--api-workouts-map_tile-(s)-(z)-(x)-(y).png", "png"]]}, "objnames": {"0": ["http", "patch", "HTTP patch"], "1": ["http", "post", "HTTP post"], "2": ["http", "get", "HTTP get"], "3": ["http", "delete", "HTTP delete"], "4": ["std", "envvar", "environment variable"]}, "objtypes": {"0": "http:patch", "1": "http:post", "2": "http:get", "3": "http:delete", "4": "std:envvar"}, "terms": {"": [4, 15, 16, 18, 20], "0": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20], "00": [0, 1, 4, 5, 9, 13, 14, 15], "000": 18, "000000": 0, "01": [0, 1, 9, 10, 12, 13, 14, 15], "02": [5, 14, 15], "03": [14, 15], "04": [0, 7, 10, 13, 14, 15], "06": [4, 7, 8, 12, 14], "0667062": 8, "06ba975": 16, "07": [0, 7, 9, 13, 14, 15], "075aeb9": 16, "08": [0, 4, 7, 9, 13, 14, 15], "09": [0, 1, 7, 10, 14, 15], "0mb": [0, 15], "1": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 20], "10": [0, 1, 2, 4, 5, 7, 9, 13, 14, 15, 18, 20], "100": [15, 16, 18], "1000": 12, "10000": [2, 15], "101": [12, 16], "104": [15, 16], "1048576": 2, "10485760": 2, "106": 16, "109": 16, "10mb": 18, "11": [0, 9, 14, 15, 18, 20], "112": 16, "113": 16, "115": 16, "116": 16, "12": [0, 9, 10, 14, 15, 20, 22], "121": 16, "123": 16, "1232004": 15, "12341": 12, "1234538": 15, "1239": 7, "125": 16, "126": 16, "1267": 12, "127": [16, 20], "129": 16, "12fb835fa26c": 7, "13": [0, 1, 9, 13, 14, 15, 17, 18, 20], "131": 16, "134": 16, "135": 16, "1375986": 16, "138": 16, "14": [0, 1, 8, 13, 14, 15], "140": 16, "145": 16, "146": 16, "149": 16, "15": [12, 15, 17, 18, 20], "150": 12, "151": 16, "152": 16, "155": 16, "156": [12, 16], "1563529507772": 15, "158": 15, "16": [1, 12, 14, 15, 18], "160": 16, "161": 16, "162": 16, "1658660147": 8, "167": 16, "169": 16, "17": [0, 5, 10, 13, 14, 15], "171": 16, "173": 16, "174240": 16, "175": 16, "177": 16, "178": [12, 16], "18": [0, 9, 10, 14, 15, 18, 20], "180": 16, "189071": 16, "19": [15, 18], "190": 16, "191": 16, "192": 16, "193": 16, "195": 16, "196": 16, "197": 16, "1m": 20, "1mb": [18, 20], "1st": 16, "2": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20], "20": [14, 15, 18], "200": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20], "201": [0, 1, 4, 10, 15, 16], "2016": 15, "2017": [1, 12, 14, 15], "2018": [12, 13, 14, 15], "2019": [0, 9, 12, 13, 14, 15], "2021": [5, 14], "2022": 8, "2023": [0, 4, 14, 20], "2024": [0, 1, 7, 10, 14, 15], "203": 12, "204": [0, 1, 4, 8, 14, 15], "208": [15, 16], "209": 16, "21": [4, 10], "210": 16, "212": 16, "213": 16, "22": 15, "223": 16, "224": 16, "225": 16, "23": [15, 20], "230": 16, "231": [15, 16], "232": 16, "234": 15, "236": 16, "237": 16, "239": 16, "24": [1, 15, 20], "241": 16, "242": 16, "244": 16, "246": 16, "247": 16, "25": [10, 15, 20], "250": 16, "252": 16, "255": 15, "257": 16, "258": 16, "259": 16, "26": [15, 20], "260": 16, "261": 16, "264": 16, "265": 16, "266": 16, "26and": 20, "27": [0, 8, 10, 14, 15, 18], "270": 16, "271": 16, "273": 16, "274": 16, "275": 16, "278": 16, "279": [15, 16], "28": 4, "280": [15, 16], "282": [12, 16], "287": 16, "289": 16, "29": [4, 10], "290": 16, "2930": 15, "294": 16, "296": 16, "297": 16, "298": 16, "299": 16, "2bcff2e": 16, "2e1ee2c": 16, "2e9f9d": 16, "2ordfncv6vprkfp3yrcyht": [1, 15], "2ukrviyshoakg8qsuknus4": 4, "2ule2hwhsnycs2vhbsikb9": 14, "3": [0, 1, 3, 11, 12, 13, 14, 15, 18, 20], "30": [0, 10, 12, 15, 20], "300": 20, "3000": 20, "301": [16, 20], "304": 16, "305": 16, "307": 16, "308": 16, "31": [0, 1, 14, 15, 18, 20], "310": 16, "314": 16, "315": 16, "318": 16, "319": 16, "32": 15, "320": 16, "323": 16, "328": 16, "329": 16, "33": [12, 16], "3320": 12, "333": 16, "338": 16, "34": [1, 16], "34614d5": 16, "35": [0, 7, 15, 16], "350": 16, "351": 16, "352": 16, "354": 16, "355": 16, "356": 16, "357": 16, "358": 16, "359": 16, "36": 16, "365": 16, "366": 16, "367": 16, "369": 16, "37": 16, "370": 16, "371": 16, "374": 16, "375": 16, "376": 16, "377": 16, "38": 10, "380": 16, "381": 16, "382": 16, "3821e37": 16, "384": 16, "386": 16, "388": 16, "39": 15, "390": 16, "391": 16, "393": 16, "394": 16, "395": 16, "397": 16, "398": 16, "399": 16, "3aread": 21, "3awrit": 21, "3b6fa25": 16, "3c8d9c2": 16, "3f": 20, "3rd": [15, 21], "4": [0, 3, 11, 12, 13, 14, 15, 17, 18, 20], "40": 16, "400": [0, 1, 2, 3, 4, 5, 8, 10, 11, 12, 14, 15, 16], "401": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "402": 16, "403": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "404": [0, 1, 3, 4, 5, 7, 8, 10, 11, 12, 14, 15, 16], "406": 16, "407": 16, "409": 16, "40and": 20, "41": [15, 16], "410": 16, "4109": 15, "411": 16, "413": [0, 15], "415": 16, "416": 16, "417": 16, "418": 16, "42": [15, 16], "421": 16, "422": 16, "426": 16, "427": [15, 16], "428": 16, "43": [0, 9, 13, 14, 15, 16], "431": 16, "433": 16, "435": 15, "436": 16, "438": 16, "44": [14, 15, 16], "441": 16, "443": 20, "444": 16, "449": 16, "44ff": 7, "45": [0, 1, 14, 15], "450": 16, "455": 16, "456": 16, "46": [12, 16], "464": 16, "465": 20, "468": 16, "469": 16, "47": [12, 15, 16], "471": 16, "472": 16, "473": 16, "474": 16, "475": 16, "476": 16, "477": 16, "478": [15, 16], "479": 16, "48": [5, 12, 14, 16], "481": 16, "482": 16, "484": 16, "488": 16, "489": 16, "49": [0, 10, 14], "490": 16, "494": 16, "495": 16, "496": 16, "499": [15, 16], "4c3fc34": 16, "5": [3, 8, 11, 12, 14, 15, 17, 18, 20], "50": [0, 4, 5, 12, 14, 16, 20], "500": [0, 1, 2, 3, 4, 5, 7, 10, 11, 13, 14, 15, 16], "5000": 20, "502": 16, "504": 16, "506": 16, "507": 16, "5078118": 15, "5079733": 15, "508": 16, "51": [13, 14, 15], "510": 16, "511": 16, "512": 16, "517587": 15, "51758b4": 16, "52": [1, 15, 16], "521": 16, "524": 16, "526": 16, "527": 16, "528": 16, "53": [8, 16], "530": 16, "531": 16, "532": 16, "533": 16, "534": 16, "536": 16, "537": 16, "538": 16, "54": 16, "540": 16, "542": 16, "543": 16, "5432": 20, "544": 16, "545": 16, "546": 16, "55": [14, 15], "550": 16, "551": 16, "555": 16, "556": 16, "557": 16, "558": 16, "56": [10, 16], "560627": 15, "563": 16, "564": 16, "565": 16, "566": 16, "57": [15, 16], "571": 16, "575": 16, "58": [0, 14, 16], "582": 16, "583": 16, "587": [16, 20], "588": 16, "59": [12, 14, 15, 16], "590": 16, "591": 16, "592": 16, "593": 16, "595": 16, "598": 16, "6": [0, 3, 4, 11, 14, 15, 17, 18, 20], "60": 16, "600": 16, "603": 16, "604": 16, "607": 16, "608": 16, "609": 16, "60e164d": 16, "61": 16, "610": 16, "612": 16, "613": 12, "614": 16, "616": 16, "617": 16, "618": 16, "62": 16, "620": 16, "621": [15, 16], "622": 16, "624": 16, "625": 16, "626": 16, "628": 16, "629": 16, "63": [15, 16], "631": 16, "633": 16, "634": 16, "635": 16, "636": 16, "637": 16, "639": [16, 17], "64": 16, "640": 16, "645": 16, "651": 16, "652": 16, "655": 16, "657": 16, "659": 16, "66": 16, "660": 16, "662": 16, "664": 16, "666": 16, "667": 16, "668": 16, "67": [0, 12, 14, 16], "671": 16, "673": 16, "674": 16, "675": 16, "677": 16, "678": 16, "680": 16, "682": 16, "683": 16, "685": 16, "688": 16, "690": 16, "691": 16, "692": 16, "695": 16, "696": 16, "697": 16, "6dxczvmrhkar72shuz9pwd": [0, 14], "6e215aa": 16, "6nvxvayoh9zkr8rmxhu54t": 14, "7": [15, 17, 18, 20, 21], "70": 16, "700": 16, "702": 16, "705": 16, "707": 16, "708": 16, "709": 16, "71": 16, "72": 16, "720": 0, "73": 16, "7380": 15, "74": 16, "75": 16, "76": 16, "7641": 12, "78": 12, "79": 16, "7pdujhcvhya4hv29jzqngg": 0, "8": [0, 15, 17, 18, 20, 21], "80": [16, 20], "8025": 20, "81": 16, "82": 16, "83": 16, "84": 16, "85": 16, "864000": 8, "87": 16, "877fa0f": 16, "88": 16, "89": 16, "895": [0, 14], "8aa4cff": 16, "9": [0, 2, 9, 14, 15, 17, 18, 20, 21], "90": 16, "91": 16, "92": 16, "924": 0, "93": 16, "93706": 15, "95": [12, 16], "97": [0, 9, 13, 14, 15, 16], "98": 16, "981933": 15, "99": [12, 16], "9960": 12, "A": [4, 14, 16, 17, 18, 20, 23], "AS": [0, 9, 13, 14, 15], "And": 16, "BY": 20, "For": [12, 15, 18, 20, 21], "If": [0, 4, 8, 12, 14, 15, 16, 17, 18, 20, 21], "In": [16, 18], "It": [0, 1, 14, 15, 16, 18, 19, 21], "NO": [0, 1, 4, 8, 14, 15], "NOT": [0, 3, 4, 8, 11, 15], "No": [0, 1, 4, 8, 14, 15, 16, 19], "Not": [0, 1, 3, 4, 5, 7, 8, 10, 11, 12, 14, 15], "OF": 20, "On": [18, 20], "One": 20, "The": [0, 4, 15, 16, 18, 20, 21, 23], "There": [18, 20], "To": [16, 20, 21], "WITH": 20, "With": [18, 20], "_": [0, 16], "__main__": 20, "_blank": 20, "a012": 7, "a458f5f": 16, "aaron": 21, "abil": 16, "abl": 16, "about": [2, 16, 20, 21], "absolut": [20, 23], "ac075ec36dc25dcc20c270d2005f0398": 15, "accept": [0, 5], "accepted_polici": 0, "accepted_privacy_polici": 0, "access": [0, 3, 4, 8, 11, 12, 14, 16, 18, 20, 21], "access_token": 8, "accord": [16, 18], "account": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20, 22], "account_cr": 0, "action": [10, 16, 18], "action_short_id": 0, "action_typ": [0, 10, 14], "activ": [0, 3, 4, 11, 14, 16, 17, 18, 19, 20], "ad": [0, 4, 15, 16, 17, 18, 20, 21], "adapt": [18, 20], "add": [1, 14, 15, 16, 17, 18, 19, 20], "addit": [14, 16, 18, 20], "address": [0, 18, 20], "admin": [2, 3, 5, 7, 9, 11, 12, 13, 14, 15, 16, 17, 18, 20], "admin_contact": 2, "administr": [0, 1, 2, 3, 4, 7, 11, 13, 14, 15, 21, 24], "aff4d68": 16, "affect": [10, 16, 18], "after": [0, 8, 14, 16, 18, 20, 21], "again": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "agplv3": 16, "agre": [0, 16, 18], "alert": 16, "all": [3, 4, 7, 8, 9, 11, 12, 14, 15, 16, 18, 20], "allow": [0, 2, 4, 15, 16, 17, 18, 19, 20, 21], "along": 15, "alphanumer": [0, 16], "alpin": 18, "alreadi": [0, 4, 5, 10, 16, 17], "also": [16, 17, 18, 19, 20], "altern": 16, "although": 18, "altitud": [16, 18], "alwai": 20, "amd64": 20, "among": 16, "an": [0, 4, 8, 11, 14, 15, 16, 18, 20, 21, 23], "analysi": [0, 15, 16, 18], "analysis_vis": [0, 15], "analyz": 18, "android": 19, "ani": [4, 15, 20], "anoth": [0, 4, 18, 20], "antialia": 16, "anymor": 16, "anyon": 18, "apach": 19, "api": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 21], "api_rate_limit": 20, "apikei": 20, "app": [0, 8, 16, 19, 20, 21], "app_log": 20, "app_port": 20, "app_secret_kei": 20, "app_set": 20, "app_work": 20, "appeal": [0, 1, 10, 14, 15, 18, 20], "appeal_id": 10, "appear": [0, 18], "appli": [16, 17, 18], "applic": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 19, 20, 21], "application_directori": 20, "approv": [0, 10, 14, 16, 18], "apr": 15, "ar": [0, 4, 8, 9, 12, 15, 16, 18, 19, 20, 21, 22, 24], "archiv": [0, 2, 16, 17, 18, 20], "archive_rgjsr3fhr5yp": 0, "archive_rgjsr3fht295ywnqr5yp": 0, "archlinux": 20, "area": 16, "arg": [17, 20], "argument": [4, 17], "arm64": 20, "arrai": [0, 4, 8, 15], "arrow": [16, 18], "asc": [5, 7, 10, 14, 15], "ascent": [0, 9, 13, 14, 15, 16, 18], "asset": 20, "assign": 18, "associ": [0, 4, 8, 15, 16, 18], "astridx": 16, "attribut": [16, 20], "auth": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 21], "auth_token": 0, "authent": [1, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 18, 21], "authlib": [8, 20, 21], "author": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 20, 21], "authorization_cod": [8, 21], "autoescap": 16, "automat": [0, 18], "avail": [0, 9, 17, 18, 20, 21, 22], "ave_spe": [13, 14, 15], "ave_speed_from": 15, "ave_speed_to": 15, "averag": [9, 12, 15, 16, 18], "average_asc": 12, "average_desc": 12, "average_dist": 12, "average_dur": 12, "average_spe": 12, "avoid": [16, 18], "awesom": 20, "axi": [15, 16, 18], "b": 20, "b1536fc": 16, "b224e17": 16, "b29ed7a": 16, "b748459": 16, "b862a77": 16, "back": 17, "background": 16, "backup": 20, "backward": 20, "bad": [0, 1, 2, 3, 4, 5, 8, 10, 11, 12, 14, 15], "base": 20, "basqu": [16, 18], "bcc568e": 16, "be26f35a": 7, "bearer": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "becom": 16, "been": [10, 16, 19, 20], "befor": [16, 18, 20], "begin": 20, "behind": 21, "being": 18, "below": [16, 20], "beta": 16, "better": [16, 21], "between": [4, 16, 18], "bike": [3, 4, 11, 15, 16, 18], "bin": 20, "bio": [0, 5, 14], "biographi": 0, "birth": [0, 16], "birth_dat": [0, 5, 14], "bjornclauw": 16, "black": 16, "blacklist": [0, 17], "block": [0, 10, 14, 16, 18], "blocked_us": 0, "boat": 18, "bodi": [16, 20, 21], "bokm\u00e5l": [16, 18], "boolean": [0, 2, 3, 4, 7, 8, 10, 11, 14, 17], "boosterl": 16, "bound": [13, 14, 15], "branch": 18, "brief": 4, "browser": [0, 16, 18], "build": [16, 20], "bulgarian": [16, 18], "button": 16, "by_id": 8, "by_sport": 12, "by_tim": 12, "byakurau": 16, "byte": 0, "c": [15, 20], "c88a515": 16, "calcul": [0, 12, 16, 18], "calendar": [16, 18], "callback": [8, 21], "can": [0, 1, 3, 4, 8, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 23], "cannot": [4, 16, 18], "card": 16, "cart": 20, "case": [4, 15, 18, 20], "cb9d02f": 16, "cc": 20, "cc3fe1c": 16, "cc4287e": 16, "cd": 20, "challeng": [8, 21], "chang": [0, 4, 17, 18, 19, 20, 21], "changelog": 20, "charact": [0, 4, 15, 16, 20], "chart": [15, 16, 18, 20], "chart_data": 15, "check": [2, 11, 16, 20, 23], "check_workout": 11, "checkbox": 16, "chines": [16, 18], "choos": [16, 18], "chosen": 20, "ci": [16, 20], "cleanup": 16, "clear": 20, "cli": [14, 16, 17, 18, 20], "click": 16, "clickabl": 16, "client": [0, 8, 14, 16, 18, 20, 21], "client_client_id": 8, "client_descript": 8, "client_id": [8, 21], "client_max_body_s": [20, 23], "client_nam": 8, "client_secret": 8, "client_uri": 8, "clone": 20, "code": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 21], "code_challeng": [8, 21], "code_challenge_method": [8, 21], "code_verifi": 8, "color": [0, 11, 16, 18], "com": [0, 2, 8, 10, 14, 16, 20, 21], "come": 18, "comma": [16, 20], "command": [16, 18, 19, 20], "comment": [0, 6, 10, 15, 16, 21], "comment_id": 10, "comment_lik": 0, "comment_short_id": 1, "comment_suspens": 10, "comment_unsuspens": 10, "complet": [0, 16, 18], "comradekingu": 16, "config": [2, 16, 20, 23], "configur": [6, 16, 20, 21], "confirm": [0, 8, 16, 18, 20], "confusedalex": 16, "contact": [0, 1, 2, 3, 4, 7, 11, 13, 14, 15, 18], "contain": [16, 18, 20], "content": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18], "contribut": 16, "contributor": [2, 16, 20, 22], "control": [16, 18, 20], "coordin": 20, "copi": [2, 20], "copyright": [2, 20], "core": 16, "correctli": 16, "correspond": [0, 20], "could": 16, "countri": 18, "cp": 20, "creat": [0, 1, 4, 8, 10, 15, 16, 18, 20, 21], "create_app": 20, "created_at": [0, 1, 5, 7, 10, 14, 15], "creation": [0, 16, 18], "creation_d": [4, 13, 14, 15], "creativecommon": 20, "credenti": [0, 20], "criteria": [10, 14, 15], "critic": 23, "cross": [8, 18, 20, 21], "current": [0, 4, 14, 16], "custom": [16, 18, 20], "cycl": [11, 15, 16, 18], "czech": [16, 18], "d": [0, 12, 15, 20], "d743abf": 16, "dai": [16, 17, 18, 20], "dan": 15, "danielsiersleben": 16, "dark": [0, 16, 18], "darkski": [16, 20], "dashboard": 16, "data": [0, 1, 2, 3, 4, 5, 8, 9, 11, 12, 13, 14, 15, 16, 18, 19, 21], "databas": [16, 18, 20, 23], "database_dir": 20, "database_disable_pool": 20, "database_url": [16, 20, 23], "date": [0, 12, 15, 16, 18], "date_format": 0, "date_str": 0, "datetim": 16, "davidhenrythoreau": 16, "db": 20, "dd": 0, "de": [0, 3, 14, 20], "deactiv": [14, 18], "debian": [20, 22], "dec": [0, 1, 5, 7, 10, 14, 15], "default": [0, 1, 4, 5, 7, 8, 10, 12, 13, 14, 15, 16, 17, 18, 20], "default_equipment_id": 0, "default_for_sport_id": 4, "default_staticmap": [16, 20], "defin": [16, 18], "definit": 16, "delet": [0, 1, 4, 8, 14, 15, 16, 17, 18], "depend": [16, 18], "deploy": 16, "deprec": [16, 17], "desc": [5, 7, 10, 14, 15, 18], "descent": [13, 14, 15, 16, 18], "describ": [10, 20], "descript": [4, 8, 13, 14, 15, 16, 17, 18, 20], "detail": [14, 16, 20, 24], "detect": 16, "dev": 16, "develop": [16, 17, 18, 19], "diagnost": 20, "dialect": 23, "differ": [14, 16, 18], "direct": [16, 18], "directli": 20, "directori": [0, 16, 20], "disabl": [0, 16, 17, 18, 20], "discontinu": 20, "discours": 18, "displai": [0, 15, 16, 17, 18, 19, 20, 21, 24], "display_asc": 0, "distanc": [0, 9, 13, 14, 15, 16, 18], "distance_from": 15, "distance_to": 15, "dkm": 16, "do": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20], "docker": 16, "dockerhub": 20, "document": [19, 20, 21, 23], "doe": [0, 4, 5, 12, 14, 15, 16, 18], "don": [0, 16], "dotenv": 16, "dotlambda": 16, "doubl": 15, "down": [16, 20], "downgrad": 16, "download": [0, 15, 16, 18, 20, 24], "dperruso": 16, "dramatiq": [16, 17, 20], "drop": 16, "dropdown": [16, 18], "due": 16, "durat": [9, 13, 14, 15, 16, 18], "duration_from": 15, "duration_to": 15, "dure": [0, 1, 4, 10, 15], "dutch": [16, 18], "e": [0, 20], "e2": 16, "ea0ac99": 16, "each": 18, "easi": 16, "edc677": 16, "edit": [0, 16, 18], "electr": 18, "elev": [0, 15, 16, 18, 20], "els": 20, "email": [0, 2, 10, 14, 16, 17, 18, 23], "email_to_confirm": 0, "email_url": [20, 23], "empti": [15, 16, 17, 20], "en": [0, 17], "enabl": [0, 2, 14, 18, 20], "encod": [16, 20], "encount": 20, "encrypt": 18, "end": [12, 15], "endpoint": [0, 2, 3, 4, 8, 11, 14, 16, 20, 21], "engin": [16, 20, 23], "english": [0, 16, 17, 18], "enter": [16, 18], "entiti": [0, 15], "entri": [16, 18, 20], "entrypoint": 16, "enumer": 20, "env": [16, 20], "environ": [16, 17, 23], "equal": 2, "equip": [0, 6, 13, 14, 15, 16, 21], "equipment_id": [0, 15], "equipment_short_id": 4, "equipment_typ": [3, 4], "equipment_type_id": [3, 4], "equipment_type_label": 4, "erral": 16, "error": [0, 1, 2, 3, 4, 5, 7, 8, 10, 11, 13, 14, 15, 16, 18, 20, 23], "escap": 15, "estim": 16, "eu": 16, "europ": 0, "evalu": 16, "even": [16, 18], "event": 18, "ewm": 16, "exampl": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 19, 20, 21], "exc": 23, "exce": [0, 4, 15, 16], "exceed": 16, "except": [14, 18, 20, 23], "exchang": 21, "exclud": 18, "exec": 20, "execstart": 20, "execut": [16, 20], "exhaust": 19, "exist": [0, 4, 5, 7, 10, 12, 14, 15, 16, 18, 19, 20], "exit": [17, 20], "expect": [10, 20], "expir": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "expires_at": 8, "expires_in": 8, "explain": [0, 10], "export": [0, 16, 17, 18, 19, 20], "extens": [0, 15, 16, 20], "extrem": 18, "f2aec30": 16, "f96dcef": 16, "fa33f4d996844a5c73ecd1ae24456ab8": 15, "fail": [16, 24], "fall": 17, "fallback": 0, "fals": [0, 1, 2, 3, 5, 7, 8, 10, 11, 13, 14, 15, 20], "farthest": [9, 16, 18], "fb10602": 16, "fd": [0, 9, 13, 14, 15], "featur": [19, 20], "fetch": [18, 21], "field": [14, 16], "file": [0, 2, 15, 16, 17, 18, 19, 20, 22, 24], "file_nam": 0, "file_s": 0, "filenam": 0, "filter": [10, 15, 16, 18], "find": 16, "finish": 16, "first": [0, 4, 8, 18, 21], "first_nam": [0, 5, 14], "fit": [20, 22], "fitotrack": 19, "fittracke": [4, 8, 17, 18, 20, 21, 22, 24], "fittrackee_cli": 20, "fittrackee_host": 21, "fittrackee_instal": 22, "fittrackee_work": [16, 20], "fittrackee_ynh": 20, "fix": 20, "flake8": 16, "flask": [16, 20], "flask_app": 20, "flaticon": 20, "float": [0, 15], "fmstrat": 16, "folder": 20, "follow": [0, 1, 6, 7, 9, 10, 14, 15, 16, 18, 20, 21, 22, 23], "follow_request": [0, 5, 7], "follow_request_approv": 0, "followers_onli": [0, 1, 4, 14, 15], "fond": 20, "footer": 16, "forbidden": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "forc": [4, 18], "forgeri": [8, 21], "fork": 20, "form": [0, 8, 15, 16], "format": [0, 12, 15, 16, 18], "forward": [20, 21], "found": [0, 1, 3, 4, 5, 7, 8, 10, 11, 12, 14, 15, 16], "fr": [0, 20], "frame": 12, "franc": 20, "freepik": 20, "french": 18, "fri": 15, "from": [4, 5, 7, 8, 12, 15, 16, 18, 19, 21, 22], "ft": 16, "ftcli": 20, "full": [16, 18], "fullchain": 20, "fullscreen": 16, "furo": 16, "galician": [16, 18], "gallegonovato": 16, "gard": 15, "garmin": 22, "gener": [8, 16, 17, 18, 20, 21], "german": [16, 18, 20], "get": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 21], "gif": 0, "git": 20, "github": [16, 20], "give": 20, "given": [0, 8, 12, 18], "gl": 0, "gmt": [0, 1, 4, 5, 7, 8, 9, 10, 13, 14, 15], "gnu": 16, "gorgobacka": 16, "gp": [16, 18], "gpl": 19, "gpx": [0, 8, 15, 16, 18, 19, 20, 22], "gpx_limit_import": 2, "gpxpy": [0, 16, 18, 20], "grai": 16, "grammar": 16, "grant": [8, 21], "grant_typ": 8, "graph": [16, 18], "great": 1, "greater": [2, 16], "guid": 20, "gunicorn": [20, 23], "gz": 20, "gzip": 0, "h": [15, 18], "ha": [0, 1, 4, 9, 10, 11, 13, 14, 15, 16, 18, 19, 20], "han": [16, 18], "handl": [0, 16, 18, 20, 23], "happen": 18, "has_equip": 3, "has_next": [0, 5, 7, 8, 10, 14], "has_prev": [0, 5, 7, 8, 10, 14], "has_workout": 11, "have": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18], "he": 14, "header": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 21], "health": 2, "heavi": [19, 20], "help": [17, 20], "hexadecim": 0, "hgzyfxgvwkcepdq3vyk67q": 15, "hi": [0, 4, 14, 16, 18], "hidden": [14, 16, 18], "hide": [16, 18], "hide_profile_in_users_directori": 0, "higher": 20, "highest": [0, 9, 18], "hike": [11, 16, 18], "histor": 20, "home": 20, "host": [16, 20], "hour": 20, "hourli": 20, "how": 20, "href": [2, 20], "html": 16, "http": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 21], "http2": 20, "hub": 16, "hv9kwvdtbhhyfvml7phovq": 10, "hvybqybra7wwxpastwr4v2": [0, 9, 13, 14, 15], "i": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 24], "i18n": 16, "icon": [16, 20], "id": [0, 1, 3, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 21], "imag": [0, 14, 15, 16, 18, 20, 24], "imperi": [0, 16, 18], "imperial_unit": 0, "implement": [16, 21], "import": [8, 16, 18, 20], "in_progress": 0, "inact": [0, 4, 14, 15, 18, 20], "includ": 16, "incompat": 20, "incomplet": 17, "inconsist": 16, "incorrect": [4, 16, 18], "increas": 23, "index": 15, "indic": 18, "individu": 18, "info": [0, 16, 18], "inform": [0, 2, 16, 18, 19, 20], "init": 16, "initi": [16, 20], "initialis": 16, "input": 16, "insensit": [15, 20], "insid": 20, "instal": [16, 19], "instanc": [2, 8, 16, 18, 20, 21], "instead": [16, 18], "instruct": [0, 16, 18, 20], "int": [0, 3, 4, 8, 10, 11, 15], "integ": [0, 1, 2, 3, 4, 5, 7, 8, 10, 11, 12, 13, 14, 15], "interact": [16, 21], "interceptor": 16, "interfac": [0, 16, 18, 19, 20], "intern": [0, 1, 2, 3, 4, 5, 7, 10, 11, 13, 14, 15], "introduc": 16, "invalid": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20], "invalidemailurlschem": 23, "ip": 20, "is_act": [0, 3, 4, 10, 11, 14], "is_active_for_us": 11, "is_email_sending_en": 2, "is_followed_bi": [0, 7, 10, 14], "is_registration_en": 2, "is_reported_user_warn": 10, "iso": 17, "isort": 16, "issu": [8, 18, 19, 20], "issued_at": 8, "italian": [16, 18], "item": 4, "its": [18, 20], "j": [15, 16, 20], "jan": [13, 14, 15], "jat255": 16, "javascript": [16, 20], "jderuit": 16, "jinja": 16, "jmlich": 16, "job": 16, "john_do": 14, "johndo": 14, "jpeg": 14, "jpg": 0, "json": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18], "jul": [0, 9, 13, 14, 15], "juli": 8, "jwt": 20, "j\u0119drzejczak": 16, "kayak": 18, "kayak_boat": 3, "kcj6hdgqqpkaakqmfqj8jv": 14, "kd5wyhwltvozw6o3au5m4j": 15, "keep": [16, 18, 19, 20], "kei": [16, 18, 20], "keyboard": 16, "kjxavsturjvoah2wvcegef": [13, 14, 15], "km": [15, 18], "koen": 16, "komoot": 20, "label": [3, 4, 11, 16, 18], "lang": [0, 16, 17], "languag": [0, 16, 17, 18], "larg": [0, 15, 18, 20], "larger": [20, 23], "last": [0, 14, 16, 18, 20], "last_nam": [0, 5, 14], "lastli": 16, "latitud": 15, "launch": 16, "lavoi": 16, "layer": [16, 20], "layout": 16, "ld": [0, 9, 13, 14, 15], "le": 15, "leaflet": [15, 20], "least": [7, 10, 13, 15, 20], "legal": 20, "legitim": 16, "length": 15, "less": [4, 16], "let": 16, "letter": 17, "level": [1, 4, 15, 16, 18], "li": 16, "librari": [8, 16, 20, 21], "licenc": 20, "licens": [16, 19, 20], "lift": [18, 20], "light": 18, "like": [0, 1, 14, 15, 16, 20], "likes_count": [1, 14, 15], "limit": [4, 16, 18], "line": [18, 19, 20], "link": [16, 20], "lint": 20, "linux": 20, "list": [8, 16, 19, 20], "listen": 20, "ll": 20, "load": [16, 23], "loader": 16, "local": [0, 16, 19, 20], "localhost": [16, 20], "locat": [0, 5, 14, 20], "lock": 18, "log": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 23], "log_dir": 20, "logfil": 20, "login": [0, 16], "logo": 20, "logout": [0, 16], "longer": [4, 16, 18, 20, 23], "longest": [9, 16, 18], "longitud": 15, "lower": 16, "lukasitali": 16, "m": [0, 9, 12, 13, 14, 15], "made": 20, "mai": [16, 18, 19, 20], "mail": 20, "mailhog": 20, "mainten": 20, "major": 16, "make": [16, 20], "makefil": 20, "malform": 0, "manag": [16, 17, 18, 20], "mandatori": [4, 8, 10, 12, 15, 16, 17, 20, 21], "manual": 18, "manually_approves_follow": 0, "map": [0, 13, 14, 15, 16, 18, 19, 24], "map_attribut": [2, 20], "map_id": 15, "map_til": 15, "map_vis": [0, 14, 15], "mar": [0, 4, 14], "mara21": 16, "march": [16, 20], "mariusz": 16, "mariuz": 16, "mark": [7, 16, 18], "markdown": [16, 18], "marked_as_read": 7, "marker": 16, "match": [0, 15, 16, 18], "max": [2, 5, 14, 15, 16, 17, 18], "max_alt": [13, 14, 15], "max_single_file_s": 2, "max_spe": [13, 14, 15], "max_speed_from": 15, "max_speed_to": 15, "max_us": 2, "max_zip_file_s": 2, "maxim": 15, "maximum": [9, 15, 16, 17, 18], "md": 16, "measur": 16, "mention": [0, 1, 7, 18, 20], "menu": 16, "messag": [0, 2, 5, 8, 14, 15, 16, 17, 18, 20], "method": [8, 20, 21], "metric": 18, "mi": 16, "microsecond": 16, "migrat": [16, 17, 20], "min": 16, "min_alt": [13, 14, 15], "mind": 18, "minim": [15, 20, 21], "minimum": [2, 3, 10, 11, 12, 14, 16, 18], "minut": 20, "miss": [0, 16], "mm": 0, "mmm": 0, "mmy3qpl3vcfukjgffbncjv": 0, "mobil": [16, 19], "modal": 16, "mode": [0, 16], "model": 16, "moder": [10, 12, 14, 16, 17], "modifi": [0, 16, 17, 18, 20], "modification_d": [1, 13, 14, 15], "modul": [16, 20], "moment": 18, "mon": [13, 14, 15], "mondai": [0, 12, 18], "mondstern": 16, "month": [12, 16, 18], "monthli": [16, 18], "more": [16, 17, 18, 19, 20], "morn": 15, "most": 21, "mountain": [11, 16, 18], "mous": 16, "move": [13, 14, 15, 16], "movement": 16, "multi": 20, "multipart": [0, 8, 15], "multipl": [16, 18], "must": [0, 2, 4, 8, 11, 14, 15, 16, 18, 20, 21, 23], "mv": 20, "my": 4, "mynixo": 20, "mzydicyyfktg3gga2x8afu": 1, "n": 0, "name": [0, 5, 8, 14, 16, 18, 20], "nano": 20, "navig": 16, "nb": 0, "nb_sport": [0, 5, 14], "nb_workout": [0, 1, 5, 7, 10, 14, 15], "nbsp": 20, "necessari": [18, 20], "nederland": 16, "need": [15, 16, 18, 20, 21], "net": 20, "netinstal": 22, "network": 20, "new": [0, 4, 14, 17, 18, 20, 21], "new_email": 14, "new_password": 0, "newli": [0, 17, 20], "next": [16, 18], "next_workout": [13, 14, 15], "nginx": [16, 18, 20, 21, 23], "nice": 1, "nixpkg": 20, "nl": 0, "no_gpx": 15, "node": 20, "nofollow": 20, "non": [3, 11, 19], "none": 15, "noopen": 20, "noreferr": 20, "norwegian": [16, 18], "nosuchmoduleerror": 23, "notat": 20, "note": [0, 10, 13, 14, 15, 16, 18, 20], "notif": [0, 6, 16, 20, 21], "notification_id": 7, "notification_prefer": 0, "notification_typ": 7, "nov": [1, 15], "now": [0, 12, 15, 16, 17, 18, 20], "null": [0, 1, 2, 4, 5, 7, 10, 11, 13, 14, 15, 16], "number": [2, 5, 14, 15, 16, 17, 18, 20], "nuv9cy8vqonrqkhtz5pqaq2zw7msh0mornpjr14amswd6f6i": 8, "o": 20, "o22a27s2abpuoxjbxv3ujdox": 8, "oauth": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 19, 20], "oauth2": [6, 21], "oauthlib": 21, "object": [0, 1, 2, 3, 4, 7, 10, 11, 14, 15], "object_id": 10, "object_typ": 10, "occur": 18, "office365": 20, "offset": 16, "ok": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "old": 20, "oliverpifferi": 16, "omit": 20, "onc": [0, 1, 15], "ondrejzivni": 16, "one": [0, 4, 7, 10, 13, 15, 18], "ongo": 0, "onli": [0, 1, 4, 8, 12, 14, 15, 16, 17, 18, 20, 21], "open": [16, 18, 19, 20], "openstreetmap": [2, 16, 20], "opentrack": 19, "oper": [18, 20], "option": [4, 7, 8, 16, 17, 20, 21], "order": [5, 7, 10, 14, 15, 16, 18, 21], "order_bi": [10, 14, 15], "org": [2, 20], "origin": 18, "osm": 20, "osmfr": 20, "other": [0, 4, 14, 16, 18, 20], "otherwis": [15, 18, 20], "ou": 16, "out": 0, "outdoor": [16, 18, 19, 20], "over": 16, "overlap": 16, "overrid": 18, "overridden": 18, "overwrit": 20, "own": [4, 10, 14, 19], "owner": [4, 14, 16, 17, 18, 20], "packag": [16, 20], "paf38": 16, "page": [0, 1, 5, 7, 8, 10, 13, 14, 15, 16, 18], "pagin": [0, 1, 5, 7, 8, 10, 13, 14, 15], "par": [16, 20], "par_pag": 14, "paraglid": [16, 18], "parallel": 16, "paramet": [0, 1, 3, 4, 5, 7, 8, 10, 11, 12, 13, 14, 15, 16, 18, 20, 21], "parecki": 21, "pari": 0, "pars": [16, 20], "part": [0, 15, 16], "parti": [8, 15, 18, 19, 21], "partial": 16, "particular": 18, "pass": 20, "password": [0, 14, 16, 17, 18, 20], "passwordwith": 20, "patch": [0, 1, 2, 3, 4, 7, 10, 11, 14, 15], "path": [20, 23], "paus": [13, 14, 15, 16], "payload": [0, 1, 2, 3, 8, 10, 11, 14, 15], "pem": 20, "pend": 7, "per": [5, 14, 15, 16, 20], "per_pag": [5, 14, 15], "perform": 18, "perhap": 4, "period": [12, 18, 20], "permiss": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "pg_dump": 20, "pictur": [0, 1, 5, 7, 10, 14, 15, 16], "piec": [4, 18], "pil": 16, "ping": 2, "pip": 20, "pipenv": 16, "pkce": [8, 21], "platform": 20, "pleas": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 20], "plot": 0, "plugin": 23, "pluja": 16, "png": [0, 15, 20], "poesti": 16, "poetri": [16, 20], "point": [16, 20], "polici": [0, 2, 16], "polish": [16, 18], "pong": 2, "pool": 20, "port": 20, "portugues": [16, 18], "posit": [16, 18], "possibl": [16, 18, 19, 20], "post": [0, 1, 4, 5, 7, 8, 10, 14, 15, 21], "postgr": [16, 23], "postgres_db": 20, "postgres_password": 20, "postgres_us": 20, "postgresql": [16, 20, 23], "postgresql10": 16, "pr": 16, "pre": 16, "prefer": [0, 14, 15, 16, 17], "prepar": 16, "present": [16, 18], "prevent": [8, 20, 21], "previous": 16, "previous_workout": [13, 14, 15], "prior": 18, "privaci": [0, 2, 16], "privacy_polici": 2, "privacy_policy_d": 2, "privat": [0, 1, 4, 14, 15, 16, 18], "privileg": 20, "privkei": 20, "problem": 16, "process": [0, 5, 10, 16, 17, 20], "product": 16, "productionconfig": 20, "profil": [0, 8, 10, 16, 18, 21], "project": 20, "proto": [20, 21], "provid": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 23], "proxi": [20, 21], "proxy_add_x_forwarded_for": 20, "proxy_pass": 20, "proxy_redirect": 20, "proxy_set_head": [20, 21], "psjeexbjz2jjnqctcpxvvf": 15, "public": [0, 1, 4, 15, 18], "publish": 16, "pull": 20, "purpos": [16, 20], "pwd": 20, "py": 20, "python": [16, 20, 21], "q": 14, "qrj7by6h2iyjsv8sersfgv": 4, "queri": [0, 1, 4, 5, 7, 8, 10, 11, 12, 13, 14, 15], "queue": 20, "quot": 15, "qwerty287": 16, "r": 20, "random": 17, "randomli": 20, "rate": 16, "reach": 18, "reactiv": [10, 18], "read": [0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 21], "read_statu": 7, "readi": 20, "readm": 16, "real": 20, "reason": [0, 10, 14], "rebuild": 16, "recalcul": 18, "receiv": [5, 7, 18], "recent": 18, "recommend": [8, 20, 21], "record": [0, 5, 6, 13, 14, 15, 16, 18], "record_typ": [0, 9, 13, 14, 15], "redi": [16, 17, 20], "redirect": [8, 16, 21], "redirect_uri": 8, "redis_dir": 20, "redis_url": 20, "reduc": 16, "refacto": 16, "refactor": 16, "refresh": [4, 8, 16], "refresh_token": 8, "regardless": [14, 18], "regist": [0, 2, 16, 18, 20], "registr": [0, 2, 16, 17, 18, 20, 21], "registri": 20, "reject": [5, 10, 18, 20], "rel": 20, "relat": [17, 18, 20], "relationship": 14, "releas": [18, 20], "relev": 16, "remain": [16, 18], "remote_addr": 20, "remov": [1, 4, 14, 15, 16, 17, 18, 20], "renam": 16, "replac": [15, 16, 20], "repo": 20, "report": [6, 14, 16, 18, 21], "report_act": 10, "report_id": [10, 14], "reported_bi": 10, "reported_com": 10, "reported_us": 10, "reported_workout": 10, "repositori": 20, "request": [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 20, 21], "request_uri": 20, "requir": [0, 4, 16, 20, 21], "requisit": 16, "resend": 0, "resent": 0, "reset": [0, 14, 16, 17, 18, 20], "reset_password": 14, "resolut": 16, "resolv": [10, 18], "resolved_at": 10, "resolved_bi": 10, "respons": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "response_typ": [8, 21], "rest": 21, "restart": 20, "restartsec": 20, "restrict": 18, "result": 16, "return": [0, 1, 7, 8, 9, 10, 12, 13, 14, 15, 16, 18, 20], "return_equip": 15, "review": [16, 18], "revok": [0, 8], "rework": 16, "ride": 16, "right": [0, 14, 16, 17, 18, 20, 21], "roehv64thcg28wcewzhrnvlusoduvw8nvnhkcml57": 8, "role": [0, 1, 2, 3, 7, 10, 11, 12, 14, 15, 16, 17, 18, 20], "rout": [16, 20], "row": 18, "ruff": 16, "rule": 18, "run": [11, 16, 17, 18, 20, 21], "runner": 19, "russian": [16, 18], "s256": [8, 21], "sa": 20, "safe": 16, "sam": [0, 1, 5, 9, 10, 13, 14, 15], "same": [4, 16, 18, 20], "samr1": 20, "sanction": [0, 14, 18], "sanit": 16, "sat": 14, "save": [1, 4, 10, 16, 18], "schema": 20, "scheme": [20, 21], "scope": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "screen": [16, 18], "script": [16, 18], "search": 16, "second": [4, 15], "secret": [8, 20, 21], "section": 16, "secur": 21, "see": [4, 16, 18, 19, 20, 21, 23], "seem": 16, "segment": [13, 14, 15, 16, 18], "segment_id": 15, "select": [0, 15, 18], "semant": 20, "send": [0, 14, 16, 18, 20], "sender": 20, "sender_email": 20, "sent": [14, 16, 18, 20, 21], "separ": [18, 20, 21], "serv": [16, 20], "server": [0, 1, 2, 3, 4, 5, 7, 10, 11, 13, 14, 15, 16, 18, 19], "server_nam": 20, "servic": [16, 20], "session": [18, 21], "set": [4, 14, 16, 17, 18, 20, 21, 23], "sever": [16, 19, 20], "sh": 22, "shell": 20, "shoe": [3, 4, 18], "short": [1, 4, 7, 15], "should": [16, 18, 20], "show": [16, 17, 20], "shown": [16, 21, 24], "shura0": 16, "shut": [16, 20], "side": 16, "signatur": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "sikmir": 16, "simontb": 16, "simpl": 20, "simplest": 20, "simplifi": [16, 18, 21], "sinc": [16, 20, 21], "singl": [2, 14, 16, 18, 20], "site": [8, 21], "size": [0, 2, 15, 16, 18, 20], "ski": [3, 18], "skylan0916": 16, "slothj": 16, "slow": 16, "small": 16, "smtp": [16, 20], "snowsho": [3, 16, 18], "so": [20, 21], "social": 16, "some": [4, 5, 7, 10, 13, 14, 15, 16, 18, 19, 20, 21], "sorri": 0, "sort": [5, 7, 10, 14, 15, 18], "sou": 20, "sourc": 18, "space": 21, "spanish": [16, 18], "spawn": 20, "special": [16, 20], "specif": [18, 20], "specifi": 16, "speed": [0, 9, 15, 16, 18, 20], "spinner": 16, "sport": [0, 2, 4, 6, 12, 15, 16, 20], "sport_id": [0, 4, 9, 11, 12, 13, 14, 15], "sport_label": 4, "sports_list": [0, 5, 14], "sql": 20, "sqlalchemi": [16, 20, 23], "ssl": 20, "ssl_certif": 20, "ssl_certificate_kei": 20, "stabl": 16, "standard": [16, 20], "standarderror": 20, "standardoutput": 20, "start": [0, 12, 15, 16, 18, 20, 24], "start_elevation_at_zero": 0, "startlimitintervalsec": 20, "starttl": 20, "startup": 20, "stat": [12, 16], "state": [8, 21], "static": [16, 18, 20], "staticmap": 20, "staticmap_subdomain": [16, 20], "statist": [2, 6], "stats_workouts_limit": 2, "statu": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "step": 20, "sticki": 16, "still": [16, 18, 19, 20], "stop": [0, 16, 18, 20], "stopped_speed_threshold": [0, 11], "store": [18, 19, 21], "strategi": 20, "strava": 22, "street": [18, 19], "strength": 16, "string": [0, 1, 2, 4, 5, 7, 8, 10, 11, 12, 14, 15, 20, 21], "strong": 20, "style": 16, "subdomain": [15, 16, 20], "subject": 20, "success": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "successfulli": 0, "suggest": 18, "sun": [0, 1, 9, 10, 13, 14, 15], "sundai": [12, 15, 18], "suppli": 4, "support": [0, 8, 16, 17, 18, 20, 21, 23], "suspend": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18], "suspended_at": [0, 1, 7, 10, 14, 15], "suspens": [0, 1, 14, 15, 18, 20], "swim": [16, 18], "swimrun": [16, 18], "switch": 16, "synchron": 22, "syntax": [16, 18], "syslog": 20, "syslogidentifi": 20, "system": [18, 20], "systemd": 20, "t": [0, 16, 23], "t2zeeuxvuy3pla8meeufyk": 1, "tab": 21, "tabl": 16, "tag": 16, "taken": [0, 16, 18], "tar": 20, "target": 20, "task": 20, "team": 18, "templat": 16, "term": [16, 20], "test": [16, 20], "text": [0, 1, 10, 14, 15, 18], "text_html": 1, "text_vis": 1, "textarea": 16, "than": [2, 4, 14, 16, 17], "thank": [16, 20, 22], "thei": [15, 18, 20, 21], "them": [16, 18, 19], "theme": [16, 18], "thi": [0, 3, 4, 8, 11, 14, 15, 16, 17, 18, 19, 20], "third": [18, 19, 21], "those": 4, "thovi98": 16, "threshold": [0, 16, 18], "thu": [5, 8, 14], "thunderforest": [16, 20], "tile": [15, 16, 18], "tile_server_url": 20, "time": [0, 12, 15, 16, 18], "timelin": [6, 16, 18], "timeout": [20, 23], "timezon": [0, 15, 16, 18], "titl": [13, 14, 15, 16, 18], "tl": [16, 20], "token": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 21], "token_typ": 8, "too": [0, 15], "tool": [16, 18, 19, 20], "tooltip": [16, 18], "total": [0, 4, 5, 7, 8, 10, 12, 14, 16, 18], "total_asc": [0, 12], "total_dist": [0, 4, 5, 12, 14], "total_dur": [0, 4, 5, 12, 14], "total_mov": 4, "total_workout": 12, "track": [16, 19], "tracke": 20, "trail": [16, 18], "trainer": [3, 18], "transport": [11, 16, 18], "traxi": 16, "trekk": [16, 18], "troubleshoot": 19, "true": [0, 1, 2, 3, 4, 7, 8, 10, 11, 14, 15, 16, 20], "truncat": 15, "try": [0, 1, 3, 4, 7, 11, 13, 14, 15], "tue": [4, 15], "two": 17, "type": [0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20], "typescript": 20, "typo": 16, "u": 20, "uberspac": 20, "ubuntu": 20, "ui": [0, 16], "ui_url": 20, "unauthent": [16, 18], "unauthor": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "unblock": 14, "unchang": 18, "uncom": 20, "under": [19, 20], "underscor": 0, "undo": [1, 14, 15], "unencrypt": 20, "unfilt": 0, "unfollow": [14, 18], "uniqu": [8, 21], "unit": [0, 16, 20], "unless": 4, "unlik": 18, "unread": [7, 18], "unresolv": [10, 18], "unstabl": [19, 20], "unwant": [16, 18], "up": [16, 18, 19, 20], "updat": [0, 1, 2, 3, 4, 7, 10, 11, 14, 15, 16, 18, 20], "updated_at": [0, 10, 14], "upgrad": 16, "upload": [2, 16, 17, 18, 20, 22, 24], "upload_dir": 20, "upload_fold": [20, 23], "uploads_dir_s": 12, "uri": 16, "url": [0, 8, 16, 18, 20, 21, 23], "urtzai": 16, "us": [0, 1, 4, 5, 7, 8, 10, 13, 14, 15, 16, 17, 18, 19, 20, 21], "usag": [17, 20], "use_dark_mod": 0, "use_raw_gpx_spe": 0, "user": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 20, 21], "user_id": [0, 4], "user_nam": [5, 12, 14], "user_suspens": [0, 10], "user_unsuspens": 10, "user_warn": 10, "usernam": [0, 1, 5, 7, 10, 12, 14, 15, 16, 17, 18, 20], "utcnow": 16, "util": 20, "uuid": [15, 16], "v0": [16, 20], "v2": 20, "v3": 19, "valid": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20, 23], "valu": [0, 4, 8, 9, 10, 13, 14, 15, 16, 18, 20, 21, 23], "variabl": [16, 23], "variou": 16, "venv": 20, "verifi": [8, 21], "version": [2, 17, 18, 20, 21], "via": [14, 18, 20], "view": [16, 18, 20], "violat": 18, "virtual": [16, 18], "virtualenv": [16, 20], "visibl": [0, 1, 4, 13, 14, 15, 16, 18], "visual": [18, 20], "visualcross": 16, "vite_app_api_url": 20, "volum": 20, "voodoopt": 16, "vtt": 15, "vue": [16, 20], "vue3": 20, "vue_app_api_url": 20, "vuex": 20, "w": 16, "wa": [0, 4, 10, 16, 18, 20], "wai": [18, 20], "walk": [11, 16, 18], "want": 20, "wantedbi": 20, "warn": [15, 16, 18, 20], "water": [16, 18], "weather": [16, 18], "weather_api": 20, "weather_api_kei": 20, "weather_api_provid": [16, 20], "weather_end": [13, 14, 15], "weather_provid": 2, "weather_start": [13, 14, 15], "web": [0, 19, 20, 21], "weblat": [16, 18], "websit": 8, "wed": [0, 7, 10, 14, 15], "week": [0, 12, 16, 18], "weekend": 16, "weekm": [0, 12], "well": 16, "were": 16, "wget": 20, "when": [0, 1, 2, 14, 15, 16, 17, 18, 20], "where": 20, "whether": 4, "which": [0, 18], "while": 18, "white": 16, "who": [1, 15, 16, 18], "whose": [18, 21], "why": 10, "wiktor": 16, "wind": [16, 18], "window": 20, "with_analysi": 15, "with_follow": 14, "with_gpx": [13, 14, 15], "with_hidden_us": 14, "with_inact": 14, "with_suspend": 14, "without": [0, 4, 5, 7, 8, 10, 12, 13, 14, 15, 16, 18, 19], "wjgtwtqfpnprhyak5ex9pw": 1, "work": 20, "worker": [16, 17, 20, 23], "workers_process": 20, "workflow": 16, "workingdirectori": 20, "workout": [0, 1, 2, 4, 6, 8, 9, 10, 11, 12, 13, 14, 16, 19, 21, 22, 24], "workout_com": 0, "workout_d": [0, 9, 13, 14, 15], "workout_id": [0, 1, 9, 10, 13, 14, 15], "workout_lik": 0, "workout_short_id": [1, 15], "workout_suspens": [10, 14], "workout_unsuspens": 10, "workout_vis": [14, 15], "workouts_count": [4, 14], "workouts_vis": [0, 14], "write": [0, 1, 2, 3, 4, 5, 7, 8, 10, 11, 14, 15, 18, 21], "written": 20, "www": [2, 20], "x": [0, 15, 16, 20, 21], "xmgz": 16, "xml": 15, "xxxx": 20, "xzf": 20, "y": [0, 12, 15, 20], "yarn": 20, "year": [12, 18], "yet": [16, 19], "yml": 20, "you": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20], "your": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20], "yyyi": 0, "z": [15, 20], "z2ze5qzrnmvmndejpphask": 10, "zero": [0, 16, 18], "zh": 16, "zip": [0, 2, 15, 16, 18], "zone": [0, 16], "zoom": 15}, "titles": ["Authentication and account", "Comments", "Configuration", "Equipment Types", "Equipments", "Follow requests", "API documentation", "Notifications", "OAuth2", "Records", "Reports", "Sports", "Statistics", "Timeline", "Users", "Workouts", "Change log", "Command line interface", "Features", "FitTrackee", "Installation", "OAuth 2.0", "Third-party tools", "Administrator", "Troubleshooting"], "titleterms": {"0": [16, 21], "01": 16, "02": 16, "03": 16, "04": 16, "05": 16, "06": 16, "07": 16, "08": 16, "09": 16, "0b1": 16, "0b2": 16, "0b3": 16, "0b4": 16, "0b5": 16, "0b6": 16, "1": 16, "10": 16, "11": 16, "12": 16, "13": 16, "14": 16, "15": 16, "16": 16, "17": 16, "18": 16, "19": 16, "2": [16, 21], "20": 16, "2018": 16, "2019": 16, "2020": 16, "2021": 16, "2022": 16, "2023": 16, "2024": 16, "2025": 16, "21": 16, "22": 16, "23": 16, "24": 16, "25": 16, "26": 16, "27": 16, "28": 16, "29": 16, "3": 16, "30": 16, "31": 16, "32": 16, "4": 16, "5": 16, "6": 16, "7": 16, "8": 16, "9": 16, "about": 18, "account": [0, 18], "administr": [16, 18, 23], "api": [6, 20], "app": 18, "applic": 18, "ar": 23, "authent": 0, "avail": 16, "bug": 16, "chang": 16, "clean": 17, "clean_arch": 17, "clean_token": 17, "close": 16, "command": 17, "comment": [1, 18], "compos": 20, "configur": [2, 18], "content": 19, "creat": 17, "dashboard": 18, "data": 20, "databas": 17, "db": 17, "depend": 20, "deploy": 20, "detail": [18, 23], "dev": 20, "develop": 20, "directori": 18, "displai": 23, "docker": 20, "document": [6, 16], "download": 23, "drop": 17, "email": 20, "endpoint": 6, "enhanc": 16, "environ": 20, "equip": [3, 4, 18], "export_arch": 17, "fail": 23, "featur": [16, 18], "file": 23, "first": 16, "fittracke": [16, 19, 23], "fix": 16, "flow": 21, "follow": 5, "french": 16, "from": 20, "ftcli": 17, "i": 23, "imag": 23, "import": 22, "improv": 16, "instal": [20, 22], "interact": 18, "interfac": 17, "issu": 16, "like": 18, "limit": 20, "line": 17, "list": 18, "log": 16, "main": 20, "map": [20, 23], "minor": 16, "misc": 16, "mobil": 18, "moder": 18, "new": 16, "nixo": 20, "notif": [7, 18], "oauth": [18, 21], "oauth2": [8, 17], "parti": 22, "polici": 18, "prefer": 18, "prerequisit": 20, "privaci": 18, "prod": 20, "product": 20, "pull": 16, "pypi": [16, 20], "rate": 20, "record": 9, "releas": 16, "report": 10, "request": [5, 16], "resourc": 21, "scope": 21, "screenshot": 18, "script": 22, "secur": 16, "server": 20, "shown": 23, "sourc": 20, "sport": [11, 18], "start": 23, "statist": [12, 16, 18], "tabl": 19, "third": 22, "tile": 20, "timelin": 13, "tool": 22, "translat": [16, 18], "troubleshoot": 24, "type": [3, 18], "updat": 17, "upgrad": [17, 20], "upload": 23, "user": [14, 17, 18], "variabl": 20, "version": 16, "weather": 20, "workout": [15, 18, 23], "yunohost": 20}}) \ No newline at end of file +Search.setIndex({"alltitles": {"API documentation": [[6, null]], "API rate limits": [[20, "api-rate-limits"]], "About": [[18, "about"]], "Account & preferences": [[18, "account-preferences"]], "Administration": [[18, "administration"], [18, "id8"]], "Administrator": [[23, null]], "Application": [[18, "application"]], "Authentication and account": [[0, null]], "Bugs Fixed": [[16, "bugs-fixed"], [16, "id4"], [16, "id8"], [16, "id10"], [16, "id15"], [16, "id18"], [16, "id20"], [16, "id22"], [16, "id30"], [16, "id33"], [16, "id36"], [16, "id41"], [16, "id47"], [16, "id52"], [16, "id56"], [16, "id59"], [16, "id61"], [16, "id65"], [16, "id69"], [16, "id73"], [16, "id76"], [16, "id79"], [16, "id82"], [16, "id83"], [16, "id86"], [16, "id88"], [16, "id90"], [16, "id93"], [16, "id96"], [16, "id104"], [16, "id107"], [16, "id110"], [16, "id113"], [16, "id125"], [16, "id130"], [16, "id132"], [16, "id136"], [16, "id139"], [16, "id142"], [16, "id144"], [16, "id147"], [16, "id150"], [16, "id152"], [16, "id155"], [16, "id158"], [16, "id161"], [16, "id166"], [16, "id168"], [16, "id170"], [16, "id172"], [16, "id175"], [16, "id177"], [16, "id183"], [16, "id186"], [16, "id188"], [16, "id190"], [16, "id197"], [16, "id202"], [16, "id204"], [16, "id206"], [16, "id209"], [16, "id211"], [16, "id213"], [16, "id217"], [16, "id227"], [16, "id230"], [16, "id232"], [16, "id235"], [16, "id242"]], "Change log": [[16, null]], "Command line interface": [[17, null]], "Comments": [[1, null], [18, "comments"]], "Configuration": [[2, null], [18, "configuration"]], "Dashboard": [[18, "dashboard"], [18, "id4"]], "Dashboard on Mobile": [[18, "dashboard-on-mobile"]], "Database": [[17, "database"]], "Deployment": [[20, "deployment"]], "Dev environment": [[20, "dev-environment"], [20, "id5"]], "Development": [[20, "development"]], "Docker": [[20, "docker"]], "Docker Compose": [[20, "docker-compose"]], "Documentation": [[16, "documentation"], [16, "id100"], [16, "id134"]], "Emails": [[20, "emails"]], "Endpoints:": [[6, null]], "Environment variables": [[20, "environment-variables"]], "Equipment Types": [[3, null], [18, "equipment-types"]], "Equipments": [[4, null], [18, "equipments"], [18, "id6"]], "Failed to upload or download files": [[23, "failed-to-upload-or-download-files"]], "Features": [[16, "features"], [16, "id154"], [16, "id164"], [16, "id174"], [18, null]], "Features and enhancements": [[16, "features-and-enhancements"], [16, "id3"], [16, "id7"], [16, "id9"], [16, "id14"], [16, "id17"], [16, "id21"], [16, "id26"], [16, "id29"], [16, "id35"], [16, "id40"], [16, "id44"], [16, "id51"], [16, "id55"], [16, "id64"], [16, "id68"], [16, "id72"], [16, "id75"], [16, "id92"], [16, "id95"], [16, "id103"], [16, "id106"], [16, "id112"], [16, "id117"], [16, "id119"], [16, "id121"], [16, "id124"], [16, "id135"], [16, "id141"]], "FitTrackee": [[19, null]], "FitTrackee fails to start": [[23, "fittrackee-fails-to-start"]], "Flow": [[21, "flow"]], "Follow requests": [[5, null]], "From PyPI": [[20, "from-pypi"], [20, "id3"]], "From sources": [[20, "from-sources"], [20, "id4"]], "Import tools": [[22, "import-tools"]], "Installation": [[20, null], [20, "id2"]], "Installation scripts": [[22, "installation-scripts"]], "Interactions": [[18, "interactions"]], "Issues Closed": [[16, "issues-closed"], [16, "id146"], [16, "id149"], [16, "id153"], [16, "id157"], [16, "id160"], [16, "id163"], [16, "id165"], [16, "id169"], [16, "id171"], [16, "id173"], [16, "id178"], [16, "id182"], [16, "id185"], [16, "id187"], [16, "id189"], [16, "id191"], [16, "id193"], [16, "id195"], [16, "id200"], [16, "id203"], [16, "id205"], [16, "id208"], [16, "id210"], [16, "id212"], [16, "id215"], [16, "id219"], [16, "id221"], [16, "id223"], [16, "id226"], [16, "id228"], [16, "id231"], [16, "id233"], [16, "id237"], [16, "id240"], [16, "id243"]], "Likes": [[18, "likes"]], "Main dependencies": [[20, "main-dependencies"]], "Map images are not displayed but map is shown in Workout detail": [[23, "map-images-are-not-displayed-but-map-is-shown-in-workout-detail"]], "Map tile server": [[20, "map-tile-server"]], "Misc": [[16, "misc"], [16, "id2"], [16, "id6"], [16, "id11"], [16, "id13"], [16, "id19"], [16, "id23"], [16, "id25"], [16, "id28"], [16, "id32"], [16, "id39"], [16, "id43"], [16, "id46"], [16, "id50"], [16, "id54"], [16, "id58"], [16, "id63"], [16, "id67"], [16, "id71"], [16, "id78"], [16, "id81"], [16, "id85"], [16, "id87"], [16, "id91"], [16, "id98"], [16, "id101"], [16, "id109"], [16, "id116"], [16, "id127"], [16, "id129"], [16, "id145"], [16, "id159"], [16, "id162"], [16, "id179"], [16, "id181"], [16, "id198"], [16, "id207"], [16, "id214"], [16, "id218"], [16, "id225"], [16, "id236"], [16, "id239"]], "Moderation": [[18, "moderation"]], "New Features": [[16, "new-features"], [16, "id192"], [16, "id194"], [16, "id196"], [16, "id201"], [16, "id216"], [16, "id220"], [16, "id222"], [16, "id224"], [16, "id229"], [16, "id234"], [16, "id238"], [16, "id241"], [16, "id244"]], "NixOS": [[20, "nixos"]], "Notifications": [[7, null], [18, "notifications"], [18, "id7"]], "OAuth 2.0": [[21, null]], "OAuth Apps": [[18, "oauth-apps"]], "OAuth2": [[8, null], [17, "oauth2"]], "Prerequisites": [[20, "prerequisites"]], "Privacy policy": [[18, "privacy-policy"]], "Prod environment": [[20, "prod-environment"]], "Production": [[20, "production"]], "Production environment": [[20, "production-environment"]], "Pull Requests": [[16, "pull-requests"], [16, "id148"], [16, "id151"], [16, "id167"], [16, "id176"], [16, "id180"], [16, "id184"], [16, "id199"]], "Records": [[9, null]], "Reports": [[10, null]], "Resources": [[21, "resources"]], "Scopes": [[21, "scopes"]], "Screenshots": [[18, "screenshots"]], "Security": [[16, "security"]], "Sports": [[11, null], [18, "sports"], [18, "id3"]], "Statistics": [[12, null], [18, "statistics"], [18, "id5"]], "Table of contents": [[19, "table-of-contents"]], "Third-party tools": [[22, null]], "Timeline": [[13, null]], "Translations": [[16, "translations"], [16, "id1"], [16, "id5"], [16, "id12"], [16, "id16"], [16, "id24"], [16, "id27"], [16, "id31"], [16, "id34"], [16, "id37"], [16, "id38"], [16, "id42"], [16, "id45"], [16, "id48"], [16, "id49"], [16, "id53"], [16, "id57"], [16, "id60"], [16, "id62"], [16, "id66"], [16, "id70"], [16, "id74"], [16, "id77"], [16, "id80"], [16, "id84"], [16, "id89"], [16, "id94"], [16, "id97"], [16, "id99"], [16, "id102"], [16, "id105"], [16, "id108"], [16, "id111"], [16, "id114"], [16, "id115"], [16, "id118"], [16, "id120"], [16, "id122"], [16, "id123"], [16, "id126"], [16, "id128"], [16, "id131"], [16, "id133"], [16, "id137"], [16, "id138"], [16, "id140"], [16, "id143"], [16, "id156"], [18, "translations"]], "Troubleshooting": [[24, null]], "Upgrade": [[20, "upgrade"]], "Users": [[14, null], [17, "users"], [18, "users"], [18, "id2"]], "Users directory": [[18, "users-directory"]], "Version 0.1.0 - First release \ud83c\udf89 (2018-07-04)": [[16, "version-0-1-0-first-release-2018-07-04"]], "Version 0.1.1 - Fix and improvements (2019/02/07)": [[16, "version-0-1-1-fix-and-improvements-2019-02-07"]], "Version 0.2.0 - Statistics (2019/07/07)": [[16, "version-0-2-0-statistics-2019-07-07"]], "Version 0.2.1 - Fix and improvements (2019/09/01)": [[16, "version-0-2-1-fix-and-improvements-2019-09-01"]], "Version 0.2.2 - Statistics fix (2019/09/23)": [[16, "version-0-2-2-statistics-fix-2019-09-23"]], "Version 0.2.3 - FitTrackee available in French (2019/12/29)": [[16, "version-0-2-3-fittrackee-available-in-french-2019-12-29"]], "Version 0.2.4 - Minor fix (2020/01/30)": [[16, "version-0-2-4-minor-fix-2020-01-30"]], "Version 0.2.5 - Fix and improvements (2020/01/31)": [[16, "version-0-2-5-fix-and-improvements-2020-01-31"]], "Version 0.3.0 - Administration (2020/07/15)": [[16, "version-0-3-0-administration-2020-07-15"]], "Version 0.4.0 - FitTrackee on PyPI (2020/09/19)": [[16, "version-0-4-0-fittrackee-on-pypi-2020-09-19"]], "Version 0.4.1 (2020/12/31)": [[16, "version-0-4-1-2020-12-31"]], "Version 0.4.2 (2021/01/03)": [[16, "version-0-4-2-2021-01-03"]], "Version 0.4.3 (2021/01/10)": [[16, "version-0-4-3-2021-01-10"]], "Version 0.4.4 (2021/01/31)": [[16, "version-0-4-4-2021-01-31"]], "Version 0.4.5 (2021/02/17)": [[16, "version-0-4-5-2021-02-17"]], "Version 0.4.6 (2021/02/21)": [[16, "version-0-4-6-2021-02-21"]], "Version 0.4.7 (2021/04/07)": [[16, "version-0-4-7-2021-04-07"]], "Version 0.4.8 (2021/07/03)": [[16, "version-0-4-8-2021-07-03"]], "Version 0.4.9 (2021/07/16)": [[16, "version-0-4-9-2021-07-16"]], "Version 0.5.0 (2021/11/14)": [[16, "version-0-5-0-2021-11-14"]], "Version 0.5.1 (2021/11/30)": [[16, "version-0-5-1-2021-11-30"]], "Version 0.5.2 (2021/12/19)": [[16, "version-0-5-2-2021-12-19"]], "Version 0.5.3 (2022/01/01)": [[16, "version-0-5-3-2022-01-01"]], "Version 0.5.4 (2022/01/01)": [[16, "version-0-5-4-2022-01-01"]], "Version 0.5.5 (2022/01/19)": [[16, "version-0-5-5-2022-01-19"]], "Version 0.5.6 (2022/02/05)": [[16, "version-0-5-6-2022-02-05"]], "Version 0.5.7 (2022/02/13)": [[16, "version-0-5-7-2022-02-13"]], "Version 0.6.0 (2022/03/27)": [[16, "version-0-6-0-2022-03-27"]], "Version 0.6.1 (2022/03/27)": [[16, "version-0-6-1-2022-03-27"]], "Version 0.6.10 (2022/07/13)": [[16, "version-0-6-10-2022-07-13"]], "Version 0.6.11 (2022/07/27)": [[16, "version-0-6-11-2022-07-27"]], "Version 0.6.12 (2022/09/14)": [[16, "version-0-6-12-2022-09-14"]], "Version 0.6.2 (2022/04/03)": [[16, "version-0-6-2-2022-04-03"]], "Version 0.6.3 (2022/04/09)": [[16, "version-0-6-3-2022-04-09"]], "Version 0.6.4 (2022/04/23)": [[16, "version-0-6-4-2022-04-23"]], "Version 0.6.5 (2022/04/24)": [[16, "version-0-6-5-2022-04-24"]], "Version 0.6.6 (2022/05/29)": [[16, "version-0-6-6-2022-05-29"]], "Version 0.6.7 (2022/06/11)": [[16, "version-0-6-7-2022-06-11"]], "Version 0.6.8 (2022/06/22)": [[16, "version-0-6-8-2022-06-22"]], "Version 0.6.9 (2022/07/03)": [[16, "version-0-6-9-2022-07-03"]], "Version 0.7.0 (2022/09/19)": [[16, "version-0-7-0-2022-09-19"]], "Version 0.7.1 (2022/09/21)": [[16, "version-0-7-1-2022-09-21"]], "Version 0.7.10 (2022/12/21)": [[16, "version-0-7-10-2022-12-21"]], "Version 0.7.11 (2022/12/31)": [[16, "version-0-7-11-2022-12-31"]], "Version 0.7.12 (2023/02/16)": [[16, "version-0-7-12-2023-02-16"]], "Version 0.7.13 (2023/03/05)": [[16, "version-0-7-13-2023-03-05"]], "Version 0.7.14 (2023/03/08)": [[16, "version-0-7-14-2023-03-08"]], "Version 0.7.15 (2023/04/12)": [[16, "version-0-7-15-2023-04-12"]], "Version 0.7.16 (2023/05/29)": [[16, "version-0-7-16-2023-05-29"]], "Version 0.7.17 (2023/06/03)": [[16, "version-0-7-17-2023-06-03"]], "Version 0.7.18 (2023/06/25)": [[16, "version-0-7-18-2023-06-25"]], "Version 0.7.19 (2023/07/15)": [[16, "version-0-7-19-2023-07-15"]], "Version 0.7.2 (2022/09/21)": [[16, "version-0-7-2-2022-09-21"]], "Version 0.7.20 (2023/07/22)": [[16, "version-0-7-20-2023-07-22"]], "Version 0.7.21 (2023/07/30)": [[16, "version-0-7-21-2023-07-30"]], "Version 0.7.22 (2023/08/23)": [[16, "version-0-7-22-2023-08-23"]], "Version 0.7.23 (2023/09/14)": [[16, "version-0-7-23-2023-09-14"]], "Version 0.7.24 (2023/10/04)": [[16, "version-0-7-24-2023-10-04"]], "Version 0.7.25 (2023/10/08)": [[16, "version-0-7-25-2023-10-08"]], "Version 0.7.26 (2023/11/19)": [[16, "version-0-7-26-2023-11-19"]], "Version 0.7.27 (2023/12/20)": [[16, "version-0-7-27-2023-12-20"]], "Version 0.7.28 (2023/12/23)": [[16, "version-0-7-28-2023-12-23"]], "Version 0.7.29 (2024/01/06)": [[16, "version-0-7-29-2024-01-06"]], "Version 0.7.3 (2022/11/01)": [[16, "version-0-7-3-2022-11-01"]], "Version 0.7.30 (2024/02/04)": [[16, "version-0-7-30-2024-02-04"]], "Version 0.7.31 (2024/02/10)": [[16, "version-0-7-31-2024-02-10"]], "Version 0.7.32 (2024/03/10)": [[16, "version-0-7-32-2024-03-10"]], "Version 0.7.4 (2022/11/05)": [[16, "version-0-7-4-2022-11-05"]], "Version 0.7.5 (2022/11/09)": [[16, "version-0-7-5-2022-11-09"]], "Version 0.7.6 (2022/11/09)": [[16, "version-0-7-6-2022-11-09"]], "Version 0.7.7 (2022/11/27)": [[16, "version-0-7-7-2022-11-27"]], "Version 0.7.8 (2022/11/30)": [[16, "version-0-7-8-2022-11-30"]], "Version 0.7.9 (2022/12/11)": [[16, "version-0-7-9-2022-12-11"]], "Version 0.8.0 (2024/04/21)": [[16, "version-0-8-0-2024-04-21"]], "Version 0.8.1 (2024/05/01)": [[16, "version-0-8-1-2024-05-01"]], "Version 0.8.10 (2024/10/09)": [[16, "version-0-8-10-2024-10-09"]], "Version 0.8.11 (2024/10/30)": [[16, "version-0-8-11-2024-10-30"]], "Version 0.8.12 (2024/11/17)": [[16, "version-0-8-12-2024-11-17"]], "Version 0.8.13 (2024/12/29)": [[16, "version-0-8-13-2024-12-29"]], "Version 0.8.2 (2024/05/08)": [[16, "version-0-8-2-2024-05-08"]], "Version 0.8.3 (2024/05/09)": [[16, "version-0-8-3-2024-05-09"]], "Version 0.8.4 (2024/05/22)": [[16, "version-0-8-4-2024-05-22"]], "Version 0.8.5 (2024/06/29)": [[16, "version-0-8-5-2024-06-29"]], "Version 0.8.6 (2024/08/03)": [[16, "version-0-8-6-2024-08-03"]], "Version 0.8.7 (2024/08/25)": [[16, "version-0-8-7-2024-08-25"]], "Version 0.8.8 (2024/09/01)": [[16, "version-0-8-8-2024-09-01"]], "Version 0.8.9 (2024/09/21)": [[16, "version-0-8-9-2024-09-21"]], "Version 0.9.0 (2025/01/18)": [[16, "version-0-9-0-2025-01-18"]], "Version 0.9.0b1 (2024/12/14)": [[16, "version-0-9-0b1-2024-12-14"]], "Version 0.9.0b2 (2024/12/14)": [[16, "version-0-9-0b2-2024-12-14"]], "Version 0.9.0b3 (2024/12/18)": [[16, "version-0-9-0b3-2024-12-18"]], "Version 0.9.0b4 (2024/12/23)": [[16, "version-0-9-0b4-2024-12-23"]], "Version 0.9.0b5 (2024/12/30)": [[16, "version-0-9-0b5-2024-12-30"]], "Version 0.9.0b6 (2025/01/05)": [[16, "version-0-9-0b6-2025-01-05"]], "Version 0.9.1 (2025/02/02)": [[16, "version-0-9-1-2025-02-02"]], "Version 0.9.2 (2025/02/12)": [[16, "version-0-9-2-2025-02-12"]], "Weather data": [[20, "weather-data"]], "Workout detail": [[18, "workout-detail"]], "Workouts": [[15, null], [18, "workouts"], [18, "id1"]], "Workouts list": [[18, "workouts-list"]], "Yunohost": [[20, "yunohost"]], "ftcli db drop": [[17, "ftcli-db-drop"]], "ftcli db upgrade": [[17, "ftcli-db-upgrade"]], "ftcli oauth2 clean": [[17, "ftcli-oauth2-clean"]], "ftcli users clean_archives": [[17, "ftcli-users-clean-archives"]], "ftcli users clean_tokens": [[17, "ftcli-users-clean-tokens"]], "ftcli users create": [[17, "ftcli-users-create"]], "ftcli users export_archives": [[17, "ftcli-users-export-archives"]], "ftcli users update": [[17, "ftcli-users-update"]]}, "docnames": ["api/auth", "api/comments", "api/configuration", "api/equipment_types", "api/equipments", "api/follow_requests", "api/index", "api/notifications", "api/oauth2", "api/records", "api/reports", "api/sports", "api/stats", "api/timeline", "api/users", "api/workouts", "changelog", "cli", "features", "index", "installation", "oauth", "third_party_tools", "troubleshooting/administrator", "troubleshooting/index"], "envversion": {"sphinx": 62, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2}, "filenames": ["api/auth.rst", "api/comments.rst", "api/configuration.rst", "api/equipment_types.rst", "api/equipments.rst", "api/follow_requests.rst", "api/index.rst", "api/notifications.rst", "api/oauth2.rst", "api/records.rst", "api/reports.rst", "api/sports.rst", "api/stats.rst", "api/timeline.rst", "api/users.rst", "api/workouts.rst", "changelog.md", "cli.rst", "features.rst", "index.rst", "installation.rst", "oauth.rst", "third_party_tools.rst", "troubleshooting/administrator.rst", "troubleshooting/index.rst"], "indexentries": {"api_rate_limits": [[20, "envvar-API_RATE_LIMITS", false]], "app_log": [[20, "envvar-APP_LOG", false]], "app_port": [[20, "envvar-APP_PORT", false]], "app_secret_key": [[20, "envvar-APP_SECRET_KEY", false]], "app_settings": [[20, "envvar-APP_SETTINGS", false]], "app_workers": [[20, "envvar-APP_WORKERS", false]], "database_dir": [[20, "envvar-DATABASE_DIR", false]], "database_disable_pooling": [[20, "envvar-DATABASE_DISABLE_POOLING", false]], "database_url": [[20, "envvar-DATABASE_URL", false]], "default_staticmap": [[20, "envvar-DEFAULT_STATICMAP", false]], "email_url": [[20, "envvar-EMAIL_URL", false]], "environment variable": [[20, "envvar-API_RATE_LIMITS", false], [20, "envvar-APP_LOG", false], [20, "envvar-APP_PORT", false], [20, "envvar-APP_SECRET_KEY", false], [20, "envvar-APP_SETTINGS", false], [20, "envvar-APP_WORKERS", false], [20, "envvar-DATABASE_DIR", false], [20, "envvar-DATABASE_DISABLE_POOLING", false], [20, "envvar-DATABASE_URL", false], [20, "envvar-DEFAULT_STATICMAP", false], [20, "envvar-EMAIL_URL", false], [20, "envvar-FLASK_APP", false], [20, "envvar-HOST", false], [20, "envvar-LOG_DIR", false], [20, "envvar-MAP_ATTRIBUTION", false], [20, "envvar-PORT", false], [20, "envvar-POSTGRES_DB", false], [20, "envvar-POSTGRES_PASSWORD", false], [20, "envvar-POSTGRES_USER", false], [20, "envvar-REDIS_DIR", false], [20, "envvar-REDIS_URL", false], [20, "envvar-SENDER_EMAIL", false], [20, "envvar-STATICMAP_SUBDOMAINS", false], [20, "envvar-TILE_SERVER_URL", false], [20, "envvar-UI_URL", false], [20, "envvar-UPLOAD_DIR", false], [20, "envvar-UPLOAD_FOLDER", false], [20, "envvar-VITE_APP_API_URL", false], [20, "envvar-WEATHER_API_KEY", false], [20, "envvar-WEATHER_API_PROVIDER", false], [20, "envvar-WORKERS_PROCESSES", false]], "flask_app": [[20, "envvar-FLASK_APP", false]], "host": [[20, "envvar-HOST", false]], "log_dir": [[20, "envvar-LOG_DIR", false]], "map_attribution": [[20, "envvar-MAP_ATTRIBUTION", false]], "port": [[20, "envvar-PORT", false]], "postgres_db": [[20, "envvar-POSTGRES_DB", false]], "postgres_password": [[20, "envvar-POSTGRES_PASSWORD", false]], "postgres_user": [[20, "envvar-POSTGRES_USER", false]], "redis_dir": [[20, "envvar-REDIS_DIR", false]], "redis_url": [[20, "envvar-REDIS_URL", false]], "sender_email": [[20, "envvar-SENDER_EMAIL", false]], "staticmap_subdomains": [[20, "envvar-STATICMAP_SUBDOMAINS", false]], "tile_server_url": [[20, "envvar-TILE_SERVER_URL", false]], "ui_url": [[20, "envvar-UI_URL", false]], "upload_dir": [[20, "envvar-UPLOAD_DIR", false]], "upload_folder": [[20, "envvar-UPLOAD_FOLDER", false]], "vite_app_api_url": [[20, "envvar-VITE_APP_API_URL", false]], "weather_api_key": [[20, "envvar-WEATHER_API_KEY", false]], "weather_api_provider \ud83c\udd95": [[20, "envvar-WEATHER_API_PROVIDER", false]], "workers_processes": [[20, "envvar-WORKERS_PROCESSES", false]]}, "objects": {"": [[10, 0, 1, "patch--api-appeals-(string-appeal_id)", "/api/appeals/(string:appeal_id)"], [0, 1, 1, "post--api-auth-account-confirm", "/api/auth/account/confirm"], [0, 2, 1, "get--api-auth-account-export", "/api/auth/account/export"], [0, 2, 1, "get--api-auth-account-export-(string-file_name)", "/api/auth/account/export/(string:file_name)"], [0, 1, 1, "post--api-auth-account-export-request", "/api/auth/account/export/request"], [0, 1, 1, "post--api-auth-account-privacy-policy", "/api/auth/account/privacy-policy"], [0, 1, 1, "post--api-auth-account-resend-confirmation", "/api/auth/account/resend-confirmation"], [0, 2, 1, "get--api-auth-account-sanctions-(string-action_short_id)", "/api/auth/account/sanctions/(string:action_short_id)"], [0, 1, 1, "post--api-auth-account-sanctions-(string-action_short_id)-appeal", "/api/auth/account/sanctions/(string:action_short_id)/appeal"], [0, 2, 1, "get--api-auth-account-suspension", "/api/auth/account/suspension"], [0, 1, 1, "post--api-auth-account-suspension-appeal", "/api/auth/account/suspension/appeal"], [0, 2, 1, "get--api-auth-blocked-users", "/api/auth/blocked-users"], [0, 1, 1, "post--api-auth-email-update", "/api/auth/email/update"], [0, 1, 1, "post--api-auth-login", "/api/auth/login"], [0, 1, 1, "post--api-auth-logout", "/api/auth/logout"], [0, 1, 1, "post--api-auth-password-reset-request", "/api/auth/password/reset-request"], [0, 1, 1, "post--api-auth-password-update", "/api/auth/password/update"], [0, 3, 1, "delete--api-auth-picture", "/api/auth/picture"], [0, 1, 1, "post--api-auth-picture", "/api/auth/picture"], [0, 2, 1, "get--api-auth-profile", "/api/auth/profile"], [0, 1, 1, "post--api-auth-profile-edit", "/api/auth/profile/edit"], [0, 0, 1, "patch--api-auth-profile-edit-account", "/api/auth/profile/edit/account"], [0, 1, 1, "post--api-auth-profile-edit-notifications", "/api/auth/profile/edit/notifications"], [0, 1, 1, "post--api-auth-profile-edit-preferences", "/api/auth/profile/edit/preferences"], [0, 1, 1, "post--api-auth-profile-edit-sports", "/api/auth/profile/edit/sports"], [0, 3, 1, "delete--api-auth-profile-reset-sports-(sport_id)", "/api/auth/profile/reset/sports/(sport_id)"], [0, 1, 1, "post--api-auth-register", "/api/auth/register"], [1, 3, 1, "delete--api-comments-(string-comment_short_id)", "/api/comments/(string:comment_short_id)"], [1, 2, 1, "get--api-comments-(string-comment_short_id)", "/api/comments/(string:comment_short_id)"], [1, 0, 1, "patch--api-comments-(string-comment_short_id)", "/api/comments/(string:comment_short_id)"], [1, 1, 1, "post--api-comments-(string-comment_short_id)-like", "/api/comments/(string:comment_short_id)/like"], [1, 1, 1, "post--api-comments-(string-comment_short_id)-like-undo", "/api/comments/(string:comment_short_id)/like/undo"], [1, 2, 1, "get--api-comments-(string-comment_short_id)-likes", "/api/comments/(string:comment_short_id)/likes"], [1, 1, 1, "post--api-comments-(string-comment_short_id)-suspension-appeal", "/api/comments/(string:comment_short_id)/suspension/appeal"], [2, 2, 1, "get--api-config", "/api/config"], [2, 0, 1, "patch--api-config", "/api/config"], [3, 2, 1, "get--api-equipment-types", "/api/equipment-types"], [3, 2, 1, "get--api-equipment-types-(int-equipment_type_id)", "/api/equipment-types/(int:equipment_type_id)"], [3, 0, 1, "patch--api-equipment-types-(int-equipment_type_id)", "/api/equipment-types/(int:equipment_type_id)"], [4, 2, 1, "get--api-equipments", "/api/equipments"], [4, 1, 1, "post--api-equipments", "/api/equipments"], [4, 3, 1, "delete--api-equipments-(string-equipment_short_id)", "/api/equipments/(string:equipment_short_id)"], [4, 2, 1, "get--api-equipments-(string-equipment_short_id)", "/api/equipments/(string:equipment_short_id)"], [4, 0, 1, "patch--api-equipments-(string-equipment_short_id)", "/api/equipments/(string:equipment_short_id)"], [4, 1, 1, "post--api-equipments-(string-equipment_short_id)-refresh", "/api/equipments/(string:equipment_short_id)/refresh"], [5, 2, 1, "get--api-follow-requests", "/api/follow-requests"], [5, 1, 1, "post--api-follow-requests-(user_name)-accept", "/api/follow-requests/(user_name)/accept"], [5, 1, 1, "post--api-follow-requests-(user_name)-reject", "/api/follow-requests/(user_name)/reject"], [7, 2, 1, "get--api-notifications", "/api/notifications"], [7, 0, 1, "patch--api-notifications-(string-notification_id)", "/api/notifications/(string:notification_id)"], [7, 1, 1, "post--api-notifications-mark-all-as-read", "/api/notifications/mark-all-as-read"], [7, 2, 1, "get--api-notifications-types", "/api/notifications/types"], [7, 2, 1, "get--api-notifications-unread", "/api/notifications/unread"], [8, 2, 1, "get--api-oauth-apps", "/api/oauth/apps"], [8, 1, 1, "post--api-oauth-apps", "/api/oauth/apps"], [8, 3, 1, "delete--api-oauth-apps-(int-client_id)", "/api/oauth/apps/(int:client_id)"], [8, 2, 1, "get--api-oauth-apps-(int-client_id)-by_id", "/api/oauth/apps/(int:client_id)/by_id"], [8, 1, 1, "post--api-oauth-apps-(int-client_id)-revoke", "/api/oauth/apps/(int:client_id)/revoke"], [8, 2, 1, "get--api-oauth-apps-(string-client_client_id)", "/api/oauth/apps/(string:client_client_id)"], [8, 1, 1, "post--api-oauth-authorize", "/api/oauth/authorize"], [8, 1, 1, "post--api-oauth-revoke", "/api/oauth/revoke"], [8, 1, 1, "post--api-oauth-token", "/api/oauth/token"], [2, 2, 1, "get--api-ping", "/api/ping"], [9, 2, 1, "get--api-records", "/api/records"], [10, 2, 1, "get--api-reports", "/api/reports"], [10, 1, 1, "post--api-reports", "/api/reports"], [10, 2, 1, "get--api-reports-(int-report_id)", "/api/reports/(int:report_id)"], [10, 0, 1, "patch--api-reports-(int-report_id)", "/api/reports/(int:report_id)"], [10, 1, 1, "post--api-reports-(int-report_id)-actions", "/api/reports/(int:report_id)/actions"], [10, 2, 1, "get--api-reports-unresolved", "/api/reports/unresolved"], [11, 2, 1, "get--api-sports", "/api/sports"], [11, 2, 1, "get--api-sports-(int-sport_id)", "/api/sports/(int:sport_id)"], [11, 0, 1, "patch--api-sports-(int-sport_id)", "/api/sports/(int:sport_id)"], [12, 2, 1, "get--api-stats-(user_name)-by_sport", "/api/stats/(user_name)/by_sport"], [12, 2, 1, "get--api-stats-(user_name)-by_time", "/api/stats/(user_name)/by_time"], [12, 2, 1, "get--api-stats-all", "/api/stats/all"], [13, 2, 1, "get--api-timeline", "/api/timeline"], [14, 2, 1, "get--api-users", "/api/users"], [14, 3, 1, "delete--api-users-(user_name)", "/api/users/(user_name)"], [14, 2, 1, "get--api-users-(user_name)", "/api/users/(user_name)"], [14, 0, 1, "patch--api-users-(user_name)", "/api/users/(user_name)"], [14, 1, 1, "post--api-users-(user_name)-block", "/api/users/(user_name)/block"], [14, 1, 1, "post--api-users-(user_name)-follow", "/api/users/(user_name)/follow"], [14, 2, 1, "get--api-users-(user_name)-followers", "/api/users/(user_name)/followers"], [14, 2, 1, "get--api-users-(user_name)-following", "/api/users/(user_name)/following"], [14, 2, 1, "get--api-users-(user_name)-picture", "/api/users/(user_name)/picture"], [14, 2, 1, "get--api-users-(user_name)-sanctions", "/api/users/(user_name)/sanctions"], [14, 1, 1, "post--api-users-(user_name)-unblock", "/api/users/(user_name)/unblock"], [14, 1, 1, "post--api-users-(user_name)-unfollow", "/api/users/(user_name)/unfollow"], [14, 2, 1, "get--api-users-(user_name)-workouts", "/api/users/(user_name)/workouts"], [15, 2, 1, "get--api-workouts", "/api/workouts"], [15, 1, 1, "post--api-workouts", "/api/workouts"], [15, 3, 1, "delete--api-workouts-(string-workout_short_id)", "/api/workouts/(string:workout_short_id)"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)", "/api/workouts/(string:workout_short_id)"], [15, 0, 1, "patch--api-workouts-(string-workout_short_id)", "/api/workouts/(string:workout_short_id)"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-chart_data", "/api/workouts/(string:workout_short_id)/chart_data"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-chart_data-segment-(int-segment_id)", "/api/workouts/(string:workout_short_id)/chart_data/segment/(int:segment_id)"], [1, 2, 1, "get--api-workouts-(string-workout_short_id)-comments", "/api/workouts/(string:workout_short_id)/comments"], [1, 1, 1, "post--api-workouts-(string-workout_short_id)-comments", "/api/workouts/(string:workout_short_id)/comments"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-gpx", "/api/workouts/(string:workout_short_id)/gpx"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-gpx-download", "/api/workouts/(string:workout_short_id)/gpx/download"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-gpx-segment-(int-segment_id)", "/api/workouts/(string:workout_short_id)/gpx/segment/(int:segment_id)"], [15, 1, 1, "post--api-workouts-(string-workout_short_id)-like", "/api/workouts/(string:workout_short_id)/like"], [15, 1, 1, "post--api-workouts-(string-workout_short_id)-like-undo", "/api/workouts/(string:workout_short_id)/like/undo"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-likes", "/api/workouts/(string:workout_short_id)/likes"], [15, 1, 1, "post--api-workouts-(string-workout_short_id)-suspension-appeal", "/api/workouts/(string:workout_short_id)/suspension/appeal"], [15, 2, 1, "get--api-workouts-map-(map_id)", "/api/workouts/map/(map_id)"], [15, 1, 1, "post--api-workouts-no_gpx", "/api/workouts/no_gpx"], [20, 4, 1, "-", "API_RATE_LIMITS"], [20, 4, 1, "-", "APP_LOG"], [20, 4, 1, "-", "APP_PORT"], [20, 4, 1, "-", "APP_SECRET_KEY"], [20, 4, 1, "-", "APP_SETTINGS"], [20, 4, 1, "-", "APP_WORKERS"], [20, 4, 1, "-", "DATABASE_DIR"], [20, 4, 1, "-", "DATABASE_DISABLE_POOLING"], [20, 4, 1, "-", "DATABASE_URL"], [20, 4, 1, "-", "DEFAULT_STATICMAP"], [20, 4, 1, "-", "EMAIL_URL"], [20, 4, 1, "-", "FLASK_APP"], [20, 4, 1, "-", "HOST"], [20, 4, 1, "-", "LOG_DIR"], [20, 4, 1, "-", "MAP_ATTRIBUTION"], [20, 4, 1, "-", "PORT"], [20, 4, 1, "-", "POSTGRES_DB"], [20, 4, 1, "-", "POSTGRES_PASSWORD"], [20, 4, 1, "-", "POSTGRES_USER"], [20, 4, 1, "-", "REDIS_DIR"], [20, 4, 1, "-", "REDIS_URL"], [20, 4, 1, "-", "SENDER_EMAIL"], [20, 4, 1, "-", "STATICMAP_SUBDOMAINS"], [20, 4, 1, "-", "TILE_SERVER_URL"], [20, 4, 1, "-", "UI_URL"], [20, 4, 1, "-", "UPLOAD_DIR"], [20, 4, 1, "-", "UPLOAD_FOLDER"], [20, 4, 1, "-", "VITE_APP_API_URL"], [20, 4, 1, "-", "WEATHER_API_KEY"], [20, 4, 1, "envvar-WEATHER_API_PROVIDER", "WEATHER_API_PROVIDER \ud83c\udd95"], [20, 4, 1, "-", "WORKERS_PROCESSES"]], "/api/workouts/map_tile/(s)/(z)/(x)/(y)": [[15, 2, 1, "get--api-workouts-map_tile-(s)-(z)-(x)-(y).png", "png"]]}, "objnames": {"0": ["http", "patch", "HTTP patch"], "1": ["http", "post", "HTTP post"], "2": ["http", "get", "HTTP get"], "3": ["http", "delete", "HTTP delete"], "4": ["std", "envvar", "environment variable"]}, "objtypes": {"0": "http:patch", "1": "http:post", "2": "http:get", "3": "http:delete", "4": "std:envvar"}, "terms": {"": [4, 15, 16, 18, 20], "0": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20], "00": [0, 1, 4, 5, 9, 13, 14, 15], "000": 18, "000000": 0, "01": [0, 1, 9, 10, 12, 13, 14, 15], "02": [5, 14, 15], "03": [14, 15], "04": [0, 7, 10, 13, 14, 15], "06": [4, 7, 8, 12, 14], "0667062": 8, "06ba975": 16, "07": [0, 7, 9, 13, 14, 15], "075aeb9": 16, "08": [0, 4, 7, 9, 13, 14, 15], "09": [0, 1, 7, 10, 14, 15], "0mb": [0, 15], "1": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 20], "10": [0, 1, 2, 4, 5, 7, 9, 13, 14, 15, 18, 20], "100": [15, 16, 18], "1000": 12, "10000": [2, 15], "101": [12, 16], "104": [15, 16], "1048576": 2, "10485760": 2, "106": 16, "109": 16, "10mb": 18, "11": [0, 9, 14, 15, 18, 20], "112": 16, "113": 16, "115": 16, "116": 16, "12": [0, 9, 10, 14, 15, 20, 22], "121": 16, "123": 16, "1232004": 15, "12341": 12, "1234538": 15, "1239": 7, "125": 16, "126": 16, "1267": 12, "127": [16, 20], "129": 16, "12fb835fa26c": 7, "13": [0, 1, 9, 13, 14, 15, 17, 18, 20], "131": 16, "134": 16, "135": 16, "1375986": 16, "138": 16, "14": [0, 1, 8, 13, 14, 15], "140": 16, "145": 16, "146": 16, "149": 16, "15": [12, 15, 17, 18, 20], "150": 12, "151": 16, "152": 16, "155": 16, "156": [12, 16], "1563529507772": 15, "158": 15, "16": [1, 12, 14, 15, 18], "160": 16, "161": 16, "162": 16, "1658660147": 8, "167": 16, "169": 16, "17": [0, 5, 10, 13, 14, 15], "171": 16, "173": 16, "174240": 16, "175": 16, "177": 16, "178": [12, 16], "18": [0, 9, 10, 14, 15, 18, 20], "180": 16, "189071": 16, "19": [15, 18], "190": 16, "191": 16, "192": 16, "193": 16, "195": 16, "196": 16, "197": 16, "1m": 20, "1mb": [18, 20], "1st": 16, "2": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20], "20": [14, 15, 18], "200": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20], "201": [0, 1, 4, 10, 15, 16], "2016": 15, "2017": [1, 12, 14, 15], "2018": [12, 13, 14, 15], "2019": [0, 9, 12, 13, 14, 15], "2021": [5, 14], "2022": 8, "2023": [0, 4, 14, 20], "2024": [0, 1, 7, 10, 14, 15], "203": 12, "204": [0, 1, 4, 8, 14, 15], "208": [15, 16], "209": 16, "21": [4, 10], "210": 16, "212": 16, "213": 16, "22": 15, "223": 16, "224": 16, "225": 16, "23": [15, 20], "230": 16, "231": [15, 16], "232": 16, "234": 15, "236": 16, "237": 16, "239": 16, "24": [1, 15, 20], "241": 16, "242": 16, "244": 16, "246": 16, "247": 16, "25": [10, 15, 20], "250": 16, "252": 16, "255": 15, "257": 16, "258": 16, "259": 16, "26": [15, 20], "260": 16, "261": 16, "2612cd9": 16, "264": 16, "265": 16, "266": 16, "26and": 20, "27": [0, 8, 10, 14, 15, 18], "270": 16, "271": 16, "273": 16, "274": 16, "275": 16, "278": 16, "279": [15, 16], "28": 4, "280": [15, 16], "282": [12, 16], "287": 16, "289": 16, "29": [4, 10], "290": 16, "2930": 15, "294": 16, "296": 16, "297": 16, "298": 16, "299": 16, "2bcff2e": 16, "2e1ee2c": 16, "2e9f9d": 16, "2ordfncv6vprkfp3yrcyht": [1, 15], "2ukrviyshoakg8qsuknus4": 4, "2ule2hwhsnycs2vhbsikb9": 14, "3": [0, 1, 3, 11, 12, 13, 14, 15, 18, 20], "30": [0, 10, 12, 15, 20], "300": 20, "3000": 20, "301": [16, 20], "304": 16, "305": 16, "307": 16, "308": 16, "31": [0, 1, 14, 15, 18, 20], "310": 16, "314": 16, "315": 16, "318": 16, "319": 16, "32": 15, "320": 16, "323": 16, "328": 16, "329": 16, "33": [12, 16], "3320": 12, "333": 16, "338": 16, "34": [1, 16], "34614d5": 16, "35": [0, 7, 15, 16], "350": 16, "351": 16, "352": 16, "354": 16, "355": 16, "356": 16, "357": 16, "358": 16, "359": 16, "36": 16, "365": 16, "366": 16, "367": 16, "369": 16, "37": 16, "370": 16, "371": 16, "374": 16, "375": 16, "376": 16, "377": 16, "38": 10, "380": 16, "381": 16, "382": 16, "3821e37": 16, "384": 16, "386": 16, "388": 16, "39": 15, "390": 16, "391": 16, "393": 16, "394": 16, "395": 16, "397": 16, "398": 16, "399": 16, "3aread": 21, "3awrit": 21, "3b6fa25": 16, "3c8d9c2": 16, "3f": 20, "3rd": [15, 21], "4": [0, 3, 11, 12, 13, 14, 15, 17, 18, 20], "40": 16, "400": [0, 1, 2, 3, 4, 5, 8, 10, 11, 12, 14, 15, 16], "401": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "402": 16, "403": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "404": [0, 1, 3, 4, 5, 7, 8, 10, 11, 12, 14, 15, 16], "406": 16, "407": 16, "409": 16, "40and": 20, "41": [15, 16], "410": 16, "4109": 15, "411": 16, "413": [0, 15], "415": 16, "416": 16, "417": 16, "418": 16, "42": [15, 16], "421": 16, "422": 16, "426": 16, "427": [15, 16], "428": 16, "43": [0, 9, 13, 14, 15, 16], "431": 16, "433": 16, "435": 15, "436": 16, "438": 16, "44": [14, 15, 16], "441": 16, "443": 20, "444": 16, "449": 16, "44ff": 7, "45": [0, 1, 14, 15], "450": 16, "455": 16, "456": 16, "46": [12, 16], "464": 16, "465": 20, "468": 16, "469": 16, "47": [12, 15, 16], "471": 16, "472": 16, "473": 16, "474": 16, "475": 16, "476": 16, "477": 16, "478": [15, 16], "479": 16, "48": [5, 12, 14, 16], "481": 16, "482": 16, "484": 16, "488": 16, "489": 16, "49": [0, 10, 14], "490": 16, "494": 16, "495": 16, "496": 16, "499": [15, 16], "4c3fc34": 16, "5": [3, 8, 11, 12, 14, 15, 17, 18, 20], "50": [0, 4, 5, 12, 14, 16, 20], "500": [0, 1, 2, 3, 4, 5, 7, 10, 11, 13, 14, 15, 16], "5000": 20, "502": 16, "504": 16, "506": 16, "507": 16, "5078118": 15, "5079733": 15, "508": 16, "51": [13, 14, 15], "510": 16, "511": 16, "512": 16, "517587": 15, "51758b4": 16, "52": [1, 15, 16], "521": 16, "524": 16, "526": 16, "527": 16, "528": 16, "53": [8, 16], "530": 16, "531": 16, "532": 16, "533": 16, "534": 16, "536": 16, "537": 16, "538": 16, "54": 16, "540": 16, "542": 16, "543": 16, "5432": 20, "544": 16, "545": 16, "546": 16, "55": [14, 15], "550": 16, "551": 16, "555": 16, "556": 16, "557": 16, "558": 16, "56": [10, 16], "560627": 15, "563": 16, "564": 16, "565": 16, "566": 16, "57": [15, 16], "571": 16, "575": 16, "58": [0, 14, 16], "582": 16, "583": 16, "587": [16, 20], "588": 16, "59": [12, 14, 15, 16], "590": 16, "591": 16, "592": 16, "593": 16, "595": 16, "598": 16, "6": [0, 3, 4, 11, 14, 15, 17, 18, 20], "60": 16, "600": 16, "603": 16, "604": 16, "607": 16, "608": 16, "609": 16, "60e164d": 16, "61": 16, "610": 16, "612": 16, "613": 12, "614": 16, "616": 16, "617": 16, "618": 16, "62": 16, "620": 16, "621": [15, 16], "622": 16, "624": 16, "625": 16, "626": 16, "628": 16, "629": 16, "63": [15, 16], "631": 16, "633": 16, "634": 16, "635": 16, "636": 16, "637": 16, "639": [16, 17], "64": 16, "640": 16, "645": 16, "651": 16, "652": 16, "655": 16, "657": 16, "659": 16, "66": 16, "660": 16, "662": 16, "664": 16, "666": 16, "667": 16, "668": 16, "67": [0, 12, 14, 16], "671": 16, "673": 16, "674": 16, "675": 16, "677": 16, "678": 16, "680": 16, "682": 16, "683": 16, "685": 16, "688": 16, "690": 16, "691": 16, "692": 16, "695": 16, "696": 16, "697": 16, "6dxczvmrhkar72shuz9pwd": [0, 14], "6e215aa": 16, "6nvxvayoh9zkr8rmxhu54t": 14, "7": [15, 17, 18, 20, 21], "70": 16, "700": 16, "702": 16, "705": 16, "707": 16, "708": 16, "709": 16, "71": 16, "711": 16, "712": 16, "72": 16, "720": 0, "73": 16, "7380": 15, "74": 16, "75": 16, "76": 16, "7641": 12, "78": 12, "79": 16, "7pdujhcvhya4hv29jzqngg": 0, "8": [0, 15, 17, 18, 20, 21], "80": [16, 20], "8025": 20, "81": 16, "82": 16, "83": 16, "84": 16, "85": 16, "864000": 8, "87": 16, "877fa0f": 16, "88": 16, "89": 16, "895": [0, 14], "8aa4cff": 16, "9": [0, 2, 9, 14, 15, 17, 18, 20, 21], "90": 16, "91": 16, "92": 16, "924": 0, "93": 16, "93706": 15, "95": [12, 16], "97": [0, 9, 13, 14, 15, 16], "98": 16, "981933": 15, "99": [12, 16], "9960": 12, "A": [4, 14, 16, 17, 18, 20, 23], "AS": [0, 9, 13, 14, 15], "And": 16, "BY": 20, "For": [12, 15, 18, 20, 21], "If": [0, 4, 8, 12, 14, 15, 16, 17, 18, 20, 21], "In": [16, 18], "It": [0, 1, 14, 15, 16, 18, 19, 21], "NO": [0, 1, 4, 8, 14, 15], "NOT": [0, 3, 4, 8, 11, 15], "No": [0, 1, 4, 8, 14, 15, 16, 19], "Not": [0, 1, 3, 4, 5, 7, 8, 10, 11, 12, 14, 15], "OF": 20, "On": [18, 20], "One": 20, "The": [0, 4, 15, 16, 18, 20, 21, 23], "There": [18, 20], "To": [16, 20, 21], "WITH": 20, "With": [18, 20], "_": [0, 16], "__main__": 20, "_blank": 20, "a012": 7, "a458f5f": 16, "aaron": 21, "abil": 16, "abl": 16, "about": [2, 16, 20, 21], "absolut": [20, 23], "ac075ec36dc25dcc20c270d2005f0398": 15, "accept": [0, 5], "accepted_polici": 0, "accepted_privacy_polici": 0, "access": [0, 3, 4, 8, 11, 12, 14, 16, 18, 20, 21], "access_token": 8, "accord": [16, 18], "account": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 20, 22], "account_cr": 0, "action": [10, 16, 18], "action_short_id": 0, "action_typ": [0, 10, 14], "activ": [0, 3, 4, 11, 14, 16, 17, 18, 19, 20], "ad": [0, 4, 15, 16, 17, 18, 20, 21], "adapt": [18, 20], "add": [1, 14, 15, 16, 17, 18, 19, 20], "addit": [14, 16, 18, 20], "address": [0, 18, 20], "admin": [2, 3, 5, 7, 9, 11, 12, 13, 14, 15, 16, 17, 18, 20], "admin_contact": 2, "administr": [0, 1, 2, 3, 4, 7, 11, 13, 14, 15, 21, 24], "aff4d68": 16, "affect": [10, 16, 18], "after": [0, 8, 14, 16, 18, 20, 21], "again": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "agplv3": 16, "agre": [0, 16, 18], "alert": 16, "all": [3, 4, 7, 8, 9, 11, 12, 14, 15, 16, 18, 20], "allow": [0, 2, 4, 15, 16, 17, 18, 19, 20, 21], "along": 15, "alphanumer": [0, 16], "alpin": 18, "alreadi": [0, 4, 5, 10, 16, 17], "also": [16, 17, 18, 19, 20], "altern": 16, "although": 18, "altitud": [16, 18], "alwai": 20, "amd64": 20, "among": 16, "an": [0, 4, 8, 11, 14, 15, 16, 18, 20, 21, 23], "analysi": [0, 15, 16, 18], "analysis_vis": [0, 15], "analyz": 18, "android": 19, "ani": [4, 15, 20], "anoth": [0, 4, 18, 20], "antialia": 16, "anymor": 16, "anyon": 18, "apach": 19, "api": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 21], "api_rate_limit": 20, "apikei": 20, "app": [0, 8, 16, 19, 20, 21], "app_log": 20, "app_port": 20, "app_secret_kei": 20, "app_set": 20, "app_work": 20, "appeal": [0, 1, 10, 14, 15, 18, 20], "appeal_id": 10, "appear": [0, 18], "appli": [16, 17, 18], "applic": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 19, 20, 21], "application_directori": 20, "approv": [0, 10, 14, 16, 18], "apr": 15, "ar": [0, 4, 8, 9, 12, 15, 16, 18, 19, 20, 21, 22, 24], "archiv": [0, 2, 16, 17, 18, 20], "archive_rgjsr3fhr5yp": 0, "archive_rgjsr3fht295ywnqr5yp": 0, "archlinux": 20, "area": 16, "arg": [17, 20], "argument": [4, 17], "arm64": 20, "arrai": [0, 4, 8, 15], "arrow": [16, 18], "asc": [5, 7, 10, 14, 15], "ascent": [0, 9, 13, 14, 15, 16, 18], "asset": 20, "assign": 18, "associ": [0, 4, 8, 15, 16, 18], "astridx": 16, "attribut": [16, 20], "auth": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 21], "auth_token": 0, "authent": [1, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 18, 21], "authlib": [8, 20, 21], "author": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 20, 21], "authorization_cod": [8, 21], "autoescap": 16, "automat": [0, 18], "avail": [0, 9, 17, 18, 20, 21, 22], "ave_spe": [13, 14, 15], "ave_speed_from": 15, "ave_speed_to": 15, "averag": [9, 12, 15, 16, 18], "average_asc": 12, "average_desc": 12, "average_dist": 12, "average_dur": 12, "average_spe": 12, "avoid": [16, 18], "awesom": 20, "axi": [15, 16, 18], "b": 20, "b1536fc": 16, "b224e17": 16, "b29ed7a": 16, "b748459": 16, "b862a77": 16, "back": 17, "background": 16, "backup": 20, "backward": 20, "bad": [0, 1, 2, 3, 4, 5, 8, 10, 11, 12, 14, 15], "base": 20, "basqu": [16, 18], "bcc568e": 16, "be26f35a": 7, "bearer": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "becom": 16, "been": [10, 16, 19, 20], "befor": [16, 18, 20], "begin": 20, "behind": 21, "being": 18, "below": [16, 20], "beta": 16, "better": [16, 21], "between": [4, 16, 18], "bike": [3, 4, 11, 15, 16, 18], "bin": 20, "bio": [0, 5, 14], "biographi": 0, "birth": [0, 16], "birth_dat": [0, 5, 14], "bjornclauw": 16, "black": 16, "blacklist": [0, 17], "block": [0, 10, 14, 16, 18], "blocked_us": 0, "boat": 18, "bodi": [16, 20, 21], "bokm\u00e5l": [16, 18], "boolean": [0, 2, 3, 4, 7, 8, 10, 11, 14, 17], "boosterl": 16, "bound": [13, 14, 15], "branch": 18, "brief": 4, "browser": [0, 16, 18], "build": [16, 20], "bulgarian": [16, 18], "button": 16, "by_id": 8, "by_sport": 12, "by_tim": 12, "byakurau": 16, "byte": 0, "c": [15, 20], "c88a515": 16, "calcul": [0, 12, 16, 18], "calendar": [16, 18], "callback": [8, 21], "can": [0, 1, 3, 4, 8, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 23], "cannot": [4, 16, 18], "card": 16, "cart": 20, "case": [4, 15, 18, 20], "cb9d02f": 16, "cc": 20, "cc3fe1c": 16, "cc4287e": 16, "cd": 20, "challeng": [8, 21], "chang": [0, 4, 17, 18, 19, 20, 21], "changelog": 20, "charact": [0, 4, 15, 16, 20], "chart": [15, 16, 18, 20], "chart_data": 15, "check": [2, 11, 16, 20, 23], "check_workout": 11, "checkbox": 16, "chines": [16, 18], "choos": [16, 18], "chosen": 20, "ci": [16, 20], "cleanup": 16, "clear": 20, "cli": [14, 16, 17, 18, 20], "click": 16, "clickabl": 16, "client": [0, 8, 14, 16, 18, 20, 21], "client_client_id": 8, "client_descript": 8, "client_id": [8, 21], "client_max_body_s": [20, 23], "client_nam": 8, "client_secret": 8, "client_uri": 8, "clone": 20, "code": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 21], "code_challeng": [8, 21], "code_challenge_method": [8, 21], "code_verifi": 8, "color": [0, 11, 16, 18], "com": [0, 2, 8, 10, 14, 16, 20, 21], "come": 18, "comma": [16, 20], "command": [16, 18, 19, 20], "comment": [0, 6, 10, 15, 16, 21], "comment_id": 10, "comment_lik": 0, "comment_short_id": 1, "comment_suspens": 10, "comment_unsuspens": 10, "complet": [0, 16, 18], "comradekingu": 16, "config": [2, 16, 20, 23], "configur": [6, 16, 20, 21], "confirm": [0, 8, 16, 18, 20], "confusedalex": 16, "contact": [0, 1, 2, 3, 4, 7, 11, 13, 14, 15, 18], "contain": [16, 18, 20], "content": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18], "contribut": 16, "contributor": [2, 16, 20, 22], "control": [16, 18, 20], "coordin": 20, "copi": [2, 20], "copyright": [2, 20], "core": 16, "correctli": 16, "correspond": [0, 20], "could": 16, "countri": 18, "cp": 20, "creat": [0, 1, 4, 8, 10, 15, 16, 18, 20, 21], "create_app": 20, "created_at": [0, 1, 5, 7, 10, 14, 15], "creation": [0, 16, 18], "creation_d": [4, 13, 14, 15], "creativecommon": 20, "credenti": [0, 20], "criteria": [10, 14, 15], "critic": 23, "cross": [8, 18, 20, 21], "current": [0, 4, 14, 16], "custom": [16, 18, 20], "cycl": [11, 15, 16, 18], "czech": [16, 18], "d": [0, 12, 15, 20], "d743abf": 16, "dai": [16, 17, 18, 20], "dan": 15, "danielsiersleben": 16, "dark": [0, 16, 18], "darkski": [16, 20], "dashboard": 16, "data": [0, 1, 2, 3, 4, 5, 8, 9, 11, 12, 13, 14, 15, 16, 18, 19, 21], "databas": [16, 18, 20, 23], "database_dir": 20, "database_disable_pool": 20, "database_url": [16, 20, 23], "date": [0, 12, 15, 16, 18], "date_format": 0, "date_str": 0, "datetim": 16, "davidhenrythoreau": 16, "db": 20, "dd": 0, "de": [0, 3, 14, 20], "deactiv": [14, 18], "debian": [20, 22], "dec": [0, 1, 5, 7, 10, 14, 15], "default": [0, 1, 4, 5, 7, 8, 10, 12, 13, 14, 15, 16, 17, 18, 20], "default_equipment_id": 0, "default_for_sport_id": 4, "default_staticmap": [16, 20], "defin": [16, 18], "definit": 16, "delet": [0, 1, 4, 8, 14, 15, 16, 17, 18], "depend": [16, 18], "deploy": 16, "deprec": [16, 17], "desc": [5, 7, 10, 14, 15, 18], "descent": [13, 14, 15, 16, 18], "describ": [10, 20], "descript": [4, 8, 13, 14, 15, 16, 17, 18, 20], "detail": [14, 16, 20, 24], "detect": 16, "dev": 16, "develop": [16, 17, 18, 19], "diagnost": 20, "dialect": 23, "differ": [14, 16, 18], "direct": [16, 18], "directli": 20, "directori": [0, 16, 20], "disabl": [0, 16, 17, 18, 20], "discontinu": 20, "discours": 18, "displai": [0, 15, 16, 17, 18, 19, 20, 21, 24], "display_asc": 0, "distanc": [0, 9, 13, 14, 15, 16, 18], "distance_from": 15, "distance_to": 15, "dkm": 16, "do": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20], "docker": 16, "dockerfil": 16, "dockerhub": 20, "document": [19, 20, 21, 23], "doe": [0, 4, 5, 12, 14, 15, 16, 18], "don": [0, 16], "dotenv": 16, "dotlambda": 16, "doubl": 15, "down": [16, 20], "downgrad": 16, "download": [0, 15, 16, 18, 20, 24], "dperruso": 16, "dramatiq": [16, 17, 20], "drop": 16, "dropdown": [16, 18], "due": 16, "durat": [9, 13, 14, 15, 16, 18], "duration_from": 15, "duration_to": 15, "dure": [0, 1, 4, 10, 15], "dutch": [16, 18], "e": [0, 20], "e2": 16, "ea0ac99": 16, "each": 18, "easi": 16, "edc677": 16, "edit": [0, 16, 18], "electr": 18, "elev": [0, 15, 16, 18, 20], "els": 20, "email": [0, 2, 10, 14, 16, 17, 18, 23], "email_to_confirm": 0, "email_url": [20, 23], "empti": [15, 16, 17, 20], "en": [0, 17], "enabl": [0, 2, 14, 18, 20], "encod": [16, 20], "encount": 20, "encrypt": 18, "end": [12, 15], "endpoint": [0, 2, 3, 4, 8, 11, 14, 16, 20, 21], "engin": [16, 20, 23], "english": [0, 16, 17, 18], "enter": [16, 18], "entiti": [0, 15], "entri": [16, 18, 20], "entrypoint": 16, "enumer": 20, "env": [16, 20], "environ": [16, 17, 23], "equal": 2, "equip": [0, 6, 13, 14, 15, 16, 21], "equipment_id": [0, 15], "equipment_short_id": 4, "equipment_typ": [3, 4], "equipment_type_id": [3, 4], "equipment_type_label": 4, "erral": 16, "error": [0, 1, 2, 3, 4, 5, 7, 8, 10, 11, 13, 14, 15, 16, 18, 20, 23], "escap": 15, "estim": 16, "eu": 16, "europ": 0, "evalu": 16, "even": [16, 18], "event": 18, "ewm": 16, "exampl": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 19, 20, 21], "exc": 23, "exce": [0, 4, 15, 16], "exceed": 16, "except": [14, 18, 20, 23], "exchang": 21, "exclud": 18, "exec": 20, "execstart": 20, "execut": [16, 20], "exhaust": 19, "exist": [0, 4, 5, 7, 10, 12, 14, 15, 16, 18, 19, 20], "exit": [17, 20], "expect": [10, 20], "expir": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17], "expires_at": 8, "expires_in": 8, "explain": [0, 10], "export": [0, 16, 17, 18, 19, 20], "extens": [0, 15, 16, 20], "extrem": 18, "f2aec30": 16, "f96dcef": 16, "fa33f4d996844a5c73ecd1ae24456ab8": 15, "fail": [16, 24], "fall": 17, "fallback": 0, "fals": [0, 1, 2, 3, 5, 7, 8, 10, 11, 13, 14, 15, 20], "farthest": [9, 16, 18], "fb10602": 16, "fd": [0, 9, 13, 14, 15], "featur": [19, 20], "fetch": [18, 21], "field": [14, 16], "file": [0, 2, 15, 16, 17, 18, 19, 20, 22, 24], "file_nam": 0, "file_s": 0, "filenam": 0, "filter": [10, 15, 16, 18], "find": 16, "finish": 16, "first": [0, 4, 8, 18, 21], "first_nam": [0, 5, 14], "fit": [20, 22], "fitotrack": 19, "fittracke": [4, 8, 17, 18, 20, 21, 22, 24], "fittrackee_cli": 20, "fittrackee_host": 21, "fittrackee_instal": 22, "fittrackee_work": [16, 20], "fittrackee_ynh": 20, "fix": 20, "flake8": 16, "flask": [16, 20], "flask_app": 20, "flaticon": 20, "float": [0, 15], "fmstrat": 16, "folder": 20, "follow": [0, 1, 6, 7, 9, 10, 14, 15, 16, 18, 20, 21, 22, 23], "follow_request": [0, 5, 7], "follow_request_approv": 0, "followers_onli": [0, 1, 4, 14, 15], "fond": 20, "footer": 16, "forbidden": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "forc": [4, 18], "forgeri": [8, 21], "fork": 20, "form": [0, 8, 15, 16], "format": [0, 12, 15, 16, 18], "forward": [20, 21], "found": [0, 1, 3, 4, 5, 7, 8, 10, 11, 12, 14, 15, 16], "fr": [0, 20], "frame": 12, "franc": 20, "freepik": 20, "french": 18, "fri": 15, "from": [4, 5, 7, 8, 12, 15, 16, 18, 19, 21, 22], "ft": 16, "ftcli": 20, "full": [16, 18], "fullchain": 20, "fullscreen": 16, "furo": 16, "galician": [16, 18], "gallegonovato": 16, "gard": 15, "garmin": 22, "gener": [8, 16, 17, 18, 20, 21], "german": [16, 18, 20], "get": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 21], "gif": 0, "git": 20, "github": [16, 20], "give": 20, "given": [0, 8, 12, 18], "gl": 0, "gmt": [0, 1, 4, 5, 7, 8, 9, 10, 13, 14, 15], "gnu": 16, "gorgobacka": 16, "gp": [16, 18], "gpl": 19, "gpx": [0, 8, 15, 16, 18, 19, 20, 22], "gpx_limit_import": 2, "gpxpy": [0, 16, 18, 20], "grai": 16, "grammar": 16, "grant": [8, 21], "grant_typ": 8, "graph": [16, 18], "great": 1, "greater": [2, 16], "guid": 20, "gunicorn": [20, 23], "gz": 20, "gzip": 0, "h": [15, 18], "ha": [0, 1, 4, 9, 10, 11, 13, 14, 15, 16, 18, 19, 20], "han": [16, 18], "handl": [0, 16, 18, 20, 23], "happen": 18, "has_equip": 3, "has_next": [0, 5, 7, 8, 10, 14], "has_prev": [0, 5, 7, 8, 10, 14], "has_workout": 11, "have": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18], "he": 14, "header": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 21], "health": 2, "heavi": [19, 20], "help": [17, 20], "hexadecim": 0, "hgzyfxgvwkcepdq3vyk67q": 15, "hi": [0, 4, 14, 16, 18], "hidden": [14, 16, 18], "hide": [16, 18], "hide_profile_in_users_directori": 0, "higher": 20, "highest": [0, 9, 18], "hike": [11, 16, 18], "histor": 20, "home": 20, "host": [16, 20], "hour": 20, "hourli": 20, "how": 20, "href": [2, 20], "html": 16, "http": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 21], "http2": 20, "hub": 16, "hv9kwvdtbhhyfvml7phovq": 10, "hvybqybra7wwxpastwr4v2": [0, 9, 13, 14, 15], "i": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 24], "i18n": 16, "icon": [16, 20], "id": [0, 1, 3, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 21], "imag": [0, 14, 15, 16, 18, 20, 24], "imperi": [0, 16, 18], "imperial_unit": 0, "implement": [16, 21], "import": [8, 16, 18, 20], "in_progress": 0, "inact": [0, 4, 14, 15, 18, 20], "includ": 16, "incompat": 20, "incomplet": 17, "inconsist": 16, "incorrect": [4, 16, 18], "increas": 23, "index": 15, "indic": 18, "individu": 18, "info": [0, 16, 18], "inform": [0, 2, 16, 18, 19, 20], "init": 16, "initi": [16, 20], "initialis": 16, "input": 16, "insensit": [15, 20], "insid": 20, "instal": [16, 19], "instanc": [2, 8, 16, 18, 20, 21], "instead": [16, 18], "instruct": [0, 16, 18, 20], "int": [0, 3, 4, 8, 10, 11, 15], "integ": [0, 1, 2, 3, 4, 5, 7, 8, 10, 11, 12, 13, 14, 15], "interact": [16, 21], "interceptor": 16, "interfac": [0, 16, 18, 19, 20], "intern": [0, 1, 2, 3, 4, 5, 7, 10, 11, 13, 14, 15], "introduc": 16, "invalid": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20], "invalidemailurlschem": 23, "ip": 20, "is_act": [0, 3, 4, 10, 11, 14], "is_active_for_us": 11, "is_email_sending_en": 2, "is_followed_bi": [0, 7, 10, 14], "is_registration_en": 2, "is_reported_user_warn": 10, "iso": 17, "isort": 16, "issu": [8, 18, 19, 20], "issued_at": 8, "italian": [16, 18], "item": 4, "its": [18, 20], "j": [15, 16, 20], "jan": [13, 14, 15], "jat255": 16, "javascript": [16, 20], "jderuit": 16, "jinja": 16, "jmlich": 16, "job": 16, "john_do": 14, "johndo": 14, "jpeg": 14, "jpg": 0, "json": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18], "jul": [0, 9, 13, 14, 15], "juli": 8, "jwt": 20, "j\u0119drzejczak": 16, "kayak": 18, "kayak_boat": 3, "kcj6hdgqqpkaakqmfqj8jv": 14, "kd5wyhwltvozw6o3au5m4j": 15, "keep": [16, 18, 19, 20], "kei": [16, 18, 20], "keyboard": 16, "kjxavsturjvoah2wvcegef": [13, 14, 15], "km": [15, 18], "koen": 16, "komoot": 20, "label": [3, 4, 11, 16, 18], "lang": [0, 16, 17], "languag": [0, 16, 17, 18], "larg": [0, 15, 18, 20], "larger": [20, 23], "last": [0, 14, 16, 18, 20], "last_nam": [0, 5, 14], "lastli": 16, "latitud": 15, "launch": 16, "lavoi": 16, "layer": [16, 20], "layout": 16, "ld": [0, 9, 13, 14, 15], "le": 15, "leaflet": [15, 20], "least": [7, 10, 13, 15, 20], "legal": 20, "legitim": 16, "length": 15, "less": [4, 16], "let": 16, "letter": 17, "level": [1, 4, 15, 16, 18], "li": 16, "librari": [8, 16, 20, 21], "licenc": 20, "licens": [16, 19, 20], "lift": [18, 20], "light": 18, "like": [0, 1, 14, 15, 16, 20], "likes_count": [1, 14, 15], "limit": [4, 16, 18], "line": [18, 19, 20], "link": [16, 20], "lint": 20, "linux": 20, "list": [8, 16, 19, 20], "listen": 20, "ll": 20, "load": [16, 23], "loader": 16, "local": [0, 16, 19, 20], "localhost": [16, 20], "locat": [0, 5, 14, 20], "lock": 18, "log": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 23], "log_dir": 20, "logfil": 20, "login": [0, 16], "logo": 20, "logout": [0, 16], "longer": [4, 16, 18, 20, 23], "longest": [9, 16, 18], "longitud": 15, "lower": 16, "lukasitali": 16, "m": [0, 9, 12, 13, 14, 15], "made": 20, "mai": [16, 18, 19, 20], "mail": 20, "mailhog": 20, "mainten": 20, "major": 16, "make": [16, 20], "makefil": 20, "malform": 0, "manag": [16, 17, 18, 20], "mandatori": [4, 8, 10, 12, 15, 16, 17, 20, 21], "manual": 18, "manually_approves_follow": 0, "map": [0, 13, 14, 15, 16, 18, 19, 24], "map_attribut": [2, 20], "map_id": 15, "map_til": 15, "map_vis": [0, 14, 15], "mar": [0, 4, 14], "mara21": 16, "march": [16, 20], "mariusz": 16, "mariuz": 16, "mark": [7, 16, 18], "markdown": [16, 18], "marked_as_read": 7, "marker": 16, "match": [0, 15, 16, 18], "max": [2, 5, 14, 15, 16, 17, 18], "max_alt": [13, 14, 15], "max_single_file_s": 2, "max_spe": [13, 14, 15], "max_speed_from": 15, "max_speed_to": 15, "max_us": 2, "max_zip_file_s": 2, "maxim": 15, "maximum": [9, 15, 16, 17, 18], "md": 16, "measur": 16, "mention": [0, 1, 7, 18, 20], "menu": 16, "messag": [0, 2, 5, 8, 14, 15, 16, 17, 18, 20], "method": [8, 20, 21], "metric": 18, "mi": 16, "microsecond": 16, "migrat": [16, 17, 20], "min": 16, "min_alt": [13, 14, 15], "mind": 18, "minim": [15, 20, 21], "minimum": [2, 3, 10, 11, 12, 14, 16, 18], "minut": 20, "miss": [0, 16], "mm": 0, "mmm": 0, "mmy3qpl3vcfukjgffbncjv": 0, "mobil": [16, 19], "modal": 16, "mode": [0, 16], "model": 16, "moder": [10, 12, 14, 16, 17], "modifi": [0, 16, 17, 18, 20], "modification_d": [1, 13, 14, 15], "modul": [16, 20], "moment": 18, "mon": [13, 14, 15], "mondai": [0, 12, 18], "mondstern": 16, "month": [12, 16, 18], "monthli": [16, 18], "more": [16, 17, 18, 19, 20], "morn": 15, "most": 21, "mountain": [11, 16, 18], "mous": 16, "move": [13, 14, 15, 16], "movement": 16, "multi": 20, "multipart": [0, 8, 15], "multipl": [16, 18], "must": [0, 2, 4, 8, 11, 14, 15, 16, 18, 20, 21, 23], "mv": 20, "my": 4, "mynixo": 20, "mzydicyyfktg3gga2x8afu": 1, "n": 0, "name": [0, 5, 8, 14, 16, 18, 20], "nano": 20, "navig": 16, "nb": 0, "nb_sport": [0, 5, 14], "nb_workout": [0, 1, 5, 7, 10, 14, 15], "nbsp": 20, "necessari": [18, 20], "nederland": 16, "need": [15, 16, 18, 20, 21], "net": 20, "netinstal": 22, "network": 20, "new": [0, 4, 14, 17, 18, 20, 21], "new_email": 14, "new_password": 0, "newli": [0, 17, 20], "next": [16, 18], "next_workout": [13, 14, 15], "nginx": [16, 18, 20, 21, 23], "nice": 1, "nixpkg": 20, "nl": 0, "no_gpx": 15, "node": 20, "nofollow": 20, "non": [3, 11, 19], "none": 15, "noopen": 20, "noreferr": 20, "norwegian": [16, 18], "nosuchmoduleerror": 23, "notat": 20, "note": [0, 10, 13, 14, 15, 16, 18, 20], "notif": [0, 6, 16, 20, 21], "notification_id": 7, "notification_prefer": 0, "notification_typ": 7, "nov": [1, 15], "now": [0, 12, 15, 16, 17, 18, 20], "null": [0, 1, 2, 4, 5, 7, 10, 11, 13, 14, 15, 16], "number": [2, 5, 14, 15, 16, 17, 18, 20], "nuv9cy8vqonrqkhtz5pqaq2zw7msh0mornpjr14amswd6f6i": 8, "o": 20, "o22a27s2abpuoxjbxv3ujdox": 8, "oauth": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 19, 20], "oauth2": [6, 21], "oauthlib": 21, "object": [0, 1, 2, 3, 4, 7, 10, 11, 14, 15], "object_id": 10, "object_typ": 10, "occur": 18, "office365": 20, "offset": 16, "ok": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "old": 20, "oliverpifferi": 16, "omit": 20, "onc": [0, 1, 15], "ondrejzivni": 16, "one": [0, 4, 7, 10, 13, 15, 18], "ongo": 0, "onli": [0, 1, 4, 8, 12, 14, 15, 16, 17, 18, 20, 21], "open": [16, 18, 19, 20], "openstreetmap": [2, 16, 20], "opentrack": 19, "oper": [18, 20], "option": [4, 7, 8, 16, 17, 20, 21], "order": [5, 7, 10, 14, 15, 16, 18, 21], "order_bi": [10, 14, 15], "org": [2, 20], "origin": 18, "osm": 20, "osmfr": 20, "other": [0, 4, 14, 16, 18, 20], "otherwis": [15, 18, 20], "ou": 16, "out": 0, "outdoor": [16, 18, 19, 20], "over": 16, "overlap": 16, "overrid": 18, "overridden": 18, "overwrit": 20, "own": [4, 10, 14, 19], "owner": [4, 14, 16, 17, 18, 20], "packag": [16, 20], "paf38": 16, "page": [0, 1, 5, 7, 8, 10, 13, 14, 15, 16, 18], "pagin": [0, 1, 5, 7, 8, 10, 13, 14, 15], "par": [16, 20], "par_pag": 14, "paraglid": [16, 18], "parallel": 16, "paramet": [0, 1, 3, 4, 5, 7, 8, 10, 11, 12, 13, 14, 15, 16, 18, 20, 21], "parecki": 21, "pari": 0, "pars": [16, 20], "part": [0, 15, 16], "parti": [8, 15, 18, 19, 21], "partial": 16, "particular": 18, "pass": 20, "password": [0, 14, 16, 17, 18, 20], "passwordwith": 20, "patch": [0, 1, 2, 3, 4, 7, 10, 11, 14, 15], "path": [20, 23], "paus": [13, 14, 15, 16], "payload": [0, 1, 2, 3, 8, 10, 11, 14, 15], "pem": 20, "pend": 7, "per": [5, 14, 15, 16, 20], "per_pag": [5, 14, 15], "perform": 18, "perhap": 4, "period": [12, 18, 20], "permiss": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "pg_dump": 20, "pictur": [0, 1, 5, 7, 10, 14, 15, 16], "piec": [4, 18], "pil": 16, "ping": 2, "pip": 20, "pipenv": 16, "pkce": [8, 21], "platform": 20, "pleas": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 20], "plot": 0, "plugin": 23, "pluja": 16, "png": [0, 15, 20], "poesti": 16, "poetri": [16, 20], "point": [16, 20], "polici": [0, 2, 16], "polish": [16, 18], "pong": 2, "pool": 20, "port": 20, "portugues": [16, 18], "posit": [16, 18], "possibl": [16, 18, 19, 20], "post": [0, 1, 4, 5, 7, 8, 10, 14, 15, 21], "postgr": [16, 23], "postgres_db": 20, "postgres_password": 20, "postgres_us": 20, "postgresql": [16, 20, 23], "postgresql10": 16, "pr": 16, "pre": 16, "prefer": [0, 14, 15, 16, 17], "prepar": 16, "present": [16, 18], "prevent": [8, 20, 21], "previous": 16, "previous_workout": [13, 14, 15], "prior": 18, "privaci": [0, 2, 16], "privacy_polici": 2, "privacy_policy_d": 2, "privat": [0, 1, 4, 14, 15, 16, 18], "privileg": 20, "privkei": 20, "problem": 16, "process": [0, 5, 10, 16, 17, 20], "product": 16, "productionconfig": 20, "profil": [0, 8, 10, 16, 18, 21], "project": 20, "proto": [20, 21], "provid": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 23], "proxi": [20, 21], "proxy_add_x_forwarded_for": 20, "proxy_pass": 20, "proxy_redirect": 20, "proxy_set_head": [20, 21], "psjeexbjz2jjnqctcpxvvf": 15, "public": [0, 1, 4, 15, 18], "publish": 16, "pull": 20, "purpos": [16, 20], "pwd": 20, "py": 20, "python": [16, 20, 21], "q": 14, "qrj7by6h2iyjsv8sersfgv": 4, "queri": [0, 1, 4, 5, 7, 8, 10, 11, 12, 13, 14, 15], "queue": 20, "quot": 15, "qwerty287": 16, "r": 20, "random": 17, "randomli": 20, "rate": 16, "reach": 18, "reactiv": [10, 18], "read": [0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 21], "read_statu": 7, "readi": 20, "readm": 16, "real": 20, "reason": [0, 10, 14], "rebuild": 16, "recalcul": 18, "receiv": [5, 7, 18], "recent": 18, "recommend": [8, 20, 21], "record": [0, 5, 6, 13, 14, 15, 16, 18], "record_typ": [0, 9, 13, 14, 15], "redi": [16, 17, 20], "redirect": [8, 16, 21], "redirect_uri": 8, "redis_dir": 20, "redis_url": 20, "reduc": 16, "refacto": 16, "refactor": 16, "refresh": [4, 8, 16], "refresh_token": 8, "regardless": [14, 18], "regist": [0, 2, 16, 18, 20], "registr": [0, 2, 16, 17, 18, 20, 21], "registri": 20, "reject": [5, 10, 18, 20], "rel": 20, "relat": [17, 18, 20], "relationship": 14, "releas": [18, 20], "relev": 16, "remain": [16, 18], "remote_addr": 20, "remov": [1, 4, 14, 15, 16, 17, 18, 20], "renam": 16, "replac": [15, 16, 20], "repo": 20, "report": [6, 14, 16, 18, 21], "report_act": 10, "report_id": [10, 14], "reported_bi": 10, "reported_com": 10, "reported_us": 10, "reported_workout": 10, "repositori": 20, "request": [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 20, 21], "request_uri": 20, "requir": [0, 4, 16, 20, 21], "requisit": 16, "resend": 0, "resent": 0, "reset": [0, 14, 16, 17, 18, 20], "reset_password": 14, "resolut": 16, "resolv": [10, 18], "resolved_at": 10, "resolved_bi": 10, "respons": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "response_typ": [8, 21], "rest": 21, "restart": 20, "restartsec": 20, "restrict": 18, "result": 16, "return": [0, 1, 7, 8, 9, 10, 12, 13, 14, 15, 16, 18, 20], "return_equip": 15, "review": [16, 18], "revok": [0, 8], "rework": 16, "ride": 16, "right": [0, 14, 16, 17, 18, 20, 21], "roehv64thcg28wcewzhrnvlusoduvw8nvnhkcml57": 8, "role": [0, 1, 2, 3, 7, 10, 11, 12, 14, 15, 16, 17, 18, 20], "rout": [16, 20], "row": 18, "ruff": 16, "rule": 18, "run": [11, 16, 17, 18, 20, 21], "runner": 19, "russian": [16, 18], "s256": [8, 21], "sa": 20, "safe": 16, "sam": [0, 1, 5, 9, 10, 13, 14, 15], "same": [4, 16, 18, 20], "samr1": 20, "sanction": [0, 14, 18], "sanit": 16, "sat": 14, "save": [1, 4, 10, 16, 18], "schema": 20, "scheme": [20, 21], "scope": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "screen": [16, 18], "script": [16, 18], "search": 16, "second": [4, 15], "secret": [8, 20, 21], "section": 16, "secur": 21, "see": [4, 16, 18, 19, 20, 21, 23], "seem": 16, "segment": [13, 14, 15, 16, 18], "segment_id": 15, "select": [0, 15, 18], "semant": 20, "send": [0, 14, 16, 18, 20], "sender": 20, "sender_email": 20, "sent": [14, 16, 18, 20, 21], "separ": [18, 20, 21], "serv": [16, 20], "server": [0, 1, 2, 3, 4, 5, 7, 10, 11, 13, 14, 15, 16, 18, 19], "server_nam": 20, "servic": [16, 20], "session": [18, 21], "set": [4, 14, 16, 17, 18, 20, 21, 23], "sever": [16, 19, 20], "sh": 22, "shell": 20, "shoe": [3, 4, 18], "short": [1, 4, 7, 15], "should": [16, 18, 20], "show": [16, 17, 20], "shown": [16, 21, 24], "shura0": 16, "shut": [16, 20], "side": 16, "signatur": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "sikmir": 16, "simontb": 16, "simpl": 20, "simplest": 20, "simplifi": [16, 18, 21], "sinc": [16, 20, 21], "singl": [2, 14, 16, 18, 20], "site": [8, 21], "size": [0, 2, 15, 16, 18, 20], "ski": [3, 18], "skylan0916": 16, "slothj": 16, "slow": 16, "small": 16, "smtp": [16, 20], "snowsho": [3, 16, 18], "so": [20, 21], "social": 16, "some": [4, 5, 7, 10, 13, 14, 15, 16, 18, 19, 20, 21], "sorri": 0, "sort": [5, 7, 10, 14, 15, 18], "sou": 20, "sourc": 18, "space": 21, "spanish": [16, 18], "spawn": 20, "special": [16, 20], "specif": [18, 20], "specifi": 16, "speed": [0, 9, 15, 16, 18, 20], "spinner": 16, "sport": [0, 2, 4, 6, 12, 15, 16, 20], "sport_id": [0, 4, 9, 11, 12, 13, 14, 15], "sport_label": 4, "sports_list": [0, 5, 14], "sql": 20, "sqlalchemi": [16, 20, 23], "ssl": 20, "ssl_certif": 20, "ssl_certificate_kei": 20, "stabl": 16, "standard": [16, 20], "standarderror": 20, "standardoutput": 20, "start": [0, 12, 15, 16, 18, 20, 24], "start_elevation_at_zero": 0, "startlimitintervalsec": 20, "starttl": 20, "startup": 20, "stat": [12, 16], "state": [8, 21], "static": [16, 18, 20], "staticmap": 20, "staticmap_subdomain": [16, 20], "statist": [2, 6], "stats_workouts_limit": 2, "statu": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "step": 20, "sticki": 16, "still": [16, 18, 19, 20], "stop": [0, 16, 18, 20], "stopped_speed_threshold": [0, 11], "store": [18, 19, 21], "strategi": 20, "strava": 22, "street": [18, 19], "strength": 16, "string": [0, 1, 2, 4, 5, 7, 8, 10, 11, 12, 14, 15, 20, 21], "strong": 20, "style": 16, "subdomain": [15, 16, 20], "subject": 20, "success": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "successfulli": 0, "suggest": 18, "sun": [0, 1, 9, 10, 13, 14, 15], "sundai": [12, 15, 18], "suppli": 4, "support": [0, 8, 16, 17, 18, 20, 21, 23], "suspend": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18], "suspended_at": [0, 1, 7, 10, 14, 15], "suspens": [0, 1, 14, 15, 18, 20], "swim": [16, 18], "swimrun": [16, 18], "switch": 16, "synchron": 22, "syntax": [16, 18], "syslog": 20, "syslogidentifi": 20, "system": [18, 20], "systemd": 20, "t": [0, 16, 23], "t2zeeuxvuy3pla8meeufyk": 1, "tab": 21, "tabl": 16, "tag": 16, "taken": [0, 16, 18], "tar": 20, "target": 20, "task": 20, "team": 18, "templat": 16, "term": [16, 20], "test": [16, 20], "text": [0, 1, 10, 14, 15, 18], "text_html": 1, "text_vis": 1, "textarea": 16, "than": [2, 4, 14, 16, 17], "thank": [16, 20, 22], "thei": [15, 18, 20, 21], "them": [16, 18, 19], "theme": [16, 18], "thi": [0, 3, 4, 8, 11, 14, 15, 16, 17, 18, 19, 20], "third": [18, 19, 21], "those": 4, "thovi98": 16, "threshold": [0, 16, 18], "thu": [5, 8, 14], "thunderforest": [16, 20], "tile": [15, 16, 18], "tile_server_url": 20, "time": [0, 12, 15, 16, 18], "timelin": [6, 16, 18], "timeout": [20, 23], "timezon": [0, 15, 16, 18], "titl": [13, 14, 15, 16, 18], "tl": [16, 20], "token": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 21], "token_typ": 8, "too": [0, 15], "tool": [16, 18, 19, 20], "tooltip": [16, 18], "total": [0, 4, 5, 7, 8, 10, 12, 14, 16, 18], "total_asc": [0, 12], "total_dist": [0, 4, 5, 12, 14], "total_dur": [0, 4, 5, 12, 14], "total_mov": 4, "total_workout": 12, "track": [16, 19], "tracke": 20, "trail": [16, 18], "trainer": [3, 18], "transport": [11, 16, 18], "traxi": 16, "trekk": [16, 18], "troubleshoot": 19, "true": [0, 1, 2, 3, 4, 7, 8, 10, 11, 14, 15, 16, 20], "truncat": 15, "try": [0, 1, 3, 4, 7, 11, 13, 14, 15], "tue": [4, 15], "two": 17, "type": [0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20], "typescript": 20, "typo": 16, "u": 20, "uberspac": 20, "ubuntu": 20, "ui": [0, 16], "ui_url": 20, "unauthent": [16, 18], "unauthor": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "unblock": 14, "unchang": 18, "uncom": 20, "under": [19, 20], "underscor": 0, "undo": [1, 14, 15], "unencrypt": 20, "unfilt": 0, "unfollow": [14, 18], "uniqu": [8, 21], "unit": [0, 16, 20], "unless": 4, "unlik": 18, "unread": [7, 18], "unresolv": [10, 18], "unstabl": [19, 20], "unwant": [16, 18], "up": [16, 18, 19, 20], "updat": [0, 1, 2, 3, 4, 7, 10, 11, 14, 15, 16, 18, 20], "updated_at": [0, 10, 14], "upgrad": 16, "upload": [2, 16, 17, 18, 20, 22, 24], "upload_dir": 20, "upload_fold": [20, 23], "uploads_dir_s": 12, "uri": 16, "url": [0, 8, 16, 18, 20, 21, 23], "urtzai": 16, "us": [0, 1, 4, 5, 7, 8, 10, 13, 14, 15, 16, 17, 18, 19, 20, 21], "usag": [17, 20], "use_dark_mod": 0, "use_raw_gpx_spe": 0, "user": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 20, 21], "user_id": [0, 4], "user_nam": [5, 12, 14], "user_suspens": [0, 10], "user_unsuspens": 10, "user_warn": 10, "usernam": [0, 1, 5, 7, 10, 12, 14, 15, 16, 17, 18, 20], "utcnow": 16, "util": 20, "uuid": [15, 16], "v0": [16, 20], "v2": 20, "v3": 19, "valid": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20, 23], "valu": [0, 4, 8, 9, 10, 13, 14, 15, 16, 18, 20, 21, 23], "variabl": [16, 23], "variou": 16, "venv": 20, "verifi": [8, 21], "version": [2, 17, 18, 20, 21], "via": [14, 18, 20], "view": [16, 18, 20], "violat": 18, "virtual": [16, 18], "virtualenv": [16, 20], "visibl": [0, 1, 4, 13, 14, 15, 16, 18], "visual": [18, 20], "visualcross": 16, "vite_app_api_url": 20, "volum": 20, "voodoopt": 16, "vtt": 15, "vue": [16, 20], "vue3": 20, "vue_app_api_url": 20, "vuex": 20, "w": 16, "wa": [0, 4, 10, 16, 18, 20], "wai": [18, 20], "walk": [11, 16, 18], "want": 20, "wantedbi": 20, "warn": [15, 16, 18, 20], "water": [16, 18], "weather": [16, 18], "weather_api": 20, "weather_api_kei": 20, "weather_api_provid": [16, 20], "weather_end": [13, 14, 15], "weather_provid": 2, "weather_start": [13, 14, 15], "web": [0, 19, 20, 21], "weblat": [16, 18], "websit": 8, "wed": [0, 7, 10, 14, 15], "week": [0, 12, 16, 18], "weekend": 16, "weekm": [0, 12], "well": 16, "were": 16, "wget": 20, "when": [0, 1, 2, 14, 15, 16, 17, 18, 20], "where": 20, "whether": 4, "which": [0, 18], "while": 18, "white": 16, "who": [1, 15, 16, 18], "whose": [18, 21], "why": 10, "wiktor": 16, "wind": [16, 18], "window": 20, "with_analysi": 15, "with_follow": 14, "with_gpx": [13, 14, 15], "with_hidden_us": 14, "with_inact": 14, "with_suspend": 14, "without": [0, 4, 5, 7, 8, 10, 12, 13, 14, 15, 16, 18, 19], "wjgtwtqfpnprhyak5ex9pw": 1, "work": 20, "worker": [16, 17, 20, 23], "workers_process": 20, "workflow": 16, "workingdirectori": 20, "workout": [0, 1, 2, 4, 6, 8, 9, 10, 11, 12, 13, 14, 16, 19, 21, 22, 24], "workout_com": 0, "workout_d": [0, 9, 13, 14, 15], "workout_id": [0, 1, 9, 10, 13, 14, 15], "workout_lik": 0, "workout_short_id": [1, 15], "workout_suspens": [10, 14], "workout_unsuspens": 10, "workout_vis": [14, 15], "workouts_count": [4, 14], "workouts_vis": [0, 14], "write": [0, 1, 2, 3, 4, 5, 7, 8, 10, 11, 14, 15, 18, 21], "written": 20, "www": [2, 20], "x": [0, 15, 16, 20, 21], "xmgz": 16, "xml": 15, "xxxx": 20, "xzf": 20, "y": [0, 12, 15, 20], "yarn": 20, "year": [12, 18], "yet": [16, 19], "yml": 20, "you": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20], "your": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20], "yyyi": 0, "z": [15, 20], "z2ze5qzrnmvmndejpphask": 10, "zero": [0, 16, 18], "zh": 16, "zip": [0, 2, 15, 16, 18], "zone": [0, 16], "zoom": 15}, "titles": ["Authentication and account", "Comments", "Configuration", "Equipment Types", "Equipments", "Follow requests", "API documentation", "Notifications", "OAuth2", "Records", "Reports", "Sports", "Statistics", "Timeline", "Users", "Workouts", "Change log", "Command line interface", "Features", "FitTrackee", "Installation", "OAuth 2.0", "Third-party tools", "Administrator", "Troubleshooting"], "titleterms": {"0": [16, 21], "01": 16, "02": 16, "03": 16, "04": 16, "05": 16, "06": 16, "07": 16, "08": 16, "09": 16, "0b1": 16, "0b2": 16, "0b3": 16, "0b4": 16, "0b5": 16, "0b6": 16, "1": 16, "10": 16, "11": 16, "12": 16, "13": 16, "14": 16, "15": 16, "16": 16, "17": 16, "18": 16, "19": 16, "2": [16, 21], "20": 16, "2018": 16, "2019": 16, "2020": 16, "2021": 16, "2022": 16, "2023": 16, "2024": 16, "2025": 16, "21": 16, "22": 16, "23": 16, "24": 16, "25": 16, "26": 16, "27": 16, "28": 16, "29": 16, "3": 16, "30": 16, "31": 16, "32": 16, "4": 16, "5": 16, "6": 16, "7": 16, "8": 16, "9": 16, "about": 18, "account": [0, 18], "administr": [16, 18, 23], "api": [6, 20], "app": 18, "applic": 18, "ar": 23, "authent": 0, "avail": 16, "bug": 16, "chang": 16, "clean": 17, "clean_arch": 17, "clean_token": 17, "close": 16, "command": 17, "comment": [1, 18], "compos": 20, "configur": [2, 18], "content": 19, "creat": 17, "dashboard": 18, "data": 20, "databas": 17, "db": 17, "depend": 20, "deploy": 20, "detail": [18, 23], "dev": 20, "develop": 20, "directori": 18, "displai": 23, "docker": 20, "document": [6, 16], "download": 23, "drop": 17, "email": 20, "endpoint": 6, "enhanc": 16, "environ": 20, "equip": [3, 4, 18], "export_arch": 17, "fail": 23, "featur": [16, 18], "file": 23, "first": 16, "fittracke": [16, 19, 23], "fix": 16, "flow": 21, "follow": 5, "french": 16, "from": 20, "ftcli": 17, "i": 23, "imag": 23, "import": 22, "improv": 16, "instal": [20, 22], "interact": 18, "interfac": 17, "issu": 16, "like": 18, "limit": 20, "line": 17, "list": 18, "log": 16, "main": 20, "map": [20, 23], "minor": 16, "misc": 16, "mobil": 18, "moder": 18, "new": 16, "nixo": 20, "notif": [7, 18], "oauth": [18, 21], "oauth2": [8, 17], "parti": 22, "polici": 18, "prefer": 18, "prerequisit": 20, "privaci": 18, "prod": 20, "product": 20, "pull": 16, "pypi": [16, 20], "rate": 20, "record": 9, "releas": 16, "report": 10, "request": [5, 16], "resourc": 21, "scope": 21, "screenshot": 18, "script": 22, "secur": 16, "server": 20, "shown": 23, "sourc": 20, "sport": [11, 18], "start": 23, "statist": [12, 16, 18], "tabl": 19, "third": 22, "tile": 20, "timelin": 13, "tool": 22, "translat": [16, 18], "troubleshoot": 24, "type": [3, 18], "updat": 17, "upgrad": [17, 20], "upload": 23, "user": [14, 17, 18], "variabl": 20, "version": 16, "weather": 20, "workout": [15, 18, 23], "yunohost": 20}}) \ No newline at end of file diff --git a/docs/en/third_party_tools.html b/docs/en/third_party_tools.html index a4790af0e..53ff3ff56 100644 --- a/docs/en/third_party_tools.html +++ b/docs/en/third_party_tools.html @@ -6,7 +6,7 @@ - Third-party tools - FitTrackee 0.9.1 documentation + Third-party tools - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -378,7 +378,7 @@

    Installation scripts

    - + diff --git a/docs/en/troubleshooting/administrator.html b/docs/en/troubleshooting/administrator.html index ea97bac4a..4336114f7 100644 --- a/docs/en/troubleshooting/administrator.html +++ b/docs/en/troubleshooting/administrator.html @@ -6,7 +6,7 @@ - Administrator - FitTrackee 0.9.1 documentation + Administrator - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -394,7 +394,7 @@

    Failed to upload or download files +

    diff --git a/docs/en/troubleshooting/index.html b/docs/en/troubleshooting/index.html index d64522ce7..bd1e67e23 100644 --- a/docs/en/troubleshooting/index.html +++ b/docs/en/troubleshooting/index.html @@ -6,7 +6,7 @@ - Troubleshooting - FitTrackee 0.9.1 documentation + Troubleshooting - FitTrackee 0.9.2 documentation @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - FitTrackee 0.9.1 + FitTrackee 0.9.2 documentation @@ -353,7 +353,7 @@

    Troubleshooting +

    diff --git a/docs/fr/.buildinfo b/docs/fr/.buildinfo index 5d1c8de3d..749c58b4b 100644 --- a/docs/fr/.buildinfo +++ b/docs/fr/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 1e38860086bde560fb9fb3ba39731208 +config: 59f2ca730519f4547c3fa2227846f704 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/fr/_images/administration-menu.png b/docs/fr/_images/administration-menu.png index a4581e3a8..7ddad05c9 100644 Binary files a/docs/fr/_images/administration-menu.png and b/docs/fr/_images/administration-menu.png differ diff --git a/docs/fr/_images/dashboard-mobile-calendar.png b/docs/fr/_images/dashboard-mobile-calendar.png index 3ea840b33..73cc67156 100644 Binary files a/docs/fr/_images/dashboard-mobile-calendar.png and b/docs/fr/_images/dashboard-mobile-calendar.png differ diff --git a/docs/fr/_images/dashboard-mobile-latest-workouts.png b/docs/fr/_images/dashboard-mobile-latest-workouts.png index 0ccabe087..f11408433 100644 Binary files a/docs/fr/_images/dashboard-mobile-latest-workouts.png and b/docs/fr/_images/dashboard-mobile-latest-workouts.png differ diff --git a/docs/fr/_images/dashboard-mobile-records.png b/docs/fr/_images/dashboard-mobile-records.png index 14f2a4ee5..30164a50f 100644 Binary files a/docs/fr/_images/dashboard-mobile-records.png and b/docs/fr/_images/dashboard-mobile-records.png differ diff --git a/docs/fr/_images/dashboard-mobile-stats.png b/docs/fr/_images/dashboard-mobile-stats.png index ec54c08a4..9a798999a 100644 Binary files a/docs/fr/_images/dashboard-mobile-stats.png and b/docs/fr/_images/dashboard-mobile-stats.png differ diff --git a/docs/fr/_images/dashboard.png b/docs/fr/_images/dashboard.png index 9018d7e5e..51daa5131 100644 Binary files a/docs/fr/_images/dashboard.png and b/docs/fr/_images/dashboard.png differ diff --git a/docs/fr/_images/equipment-detail.png b/docs/fr/_images/equipment-detail.png index bd36a35a1..bc8a3f1fb 100644 Binary files a/docs/fr/_images/equipment-detail.png and b/docs/fr/_images/equipment-detail.png differ diff --git a/docs/fr/_images/equipments-list.png b/docs/fr/_images/equipments-list.png index 0963505fc..2af6f99ec 100644 Binary files a/docs/fr/_images/equipments-list.png and b/docs/fr/_images/equipments-list.png differ diff --git a/docs/fr/_images/notifications.png b/docs/fr/_images/notifications.png index 01a3013ff..f3f651270 100644 Binary files a/docs/fr/_images/notifications.png and b/docs/fr/_images/notifications.png differ diff --git a/docs/fr/_images/oauth2-app-authorization.png b/docs/fr/_images/oauth2-app-authorization.png index 56a3e8c90..8c4574607 100644 Binary files a/docs/fr/_images/oauth2-app-authorization.png and b/docs/fr/_images/oauth2-app-authorization.png differ diff --git a/docs/fr/_images/oauth2-client-creation.png b/docs/fr/_images/oauth2-client-creation.png index 0d75081d0..1f59eee26 100644 Binary files a/docs/fr/_images/oauth2-client-creation.png and b/docs/fr/_images/oauth2-client-creation.png differ diff --git a/docs/fr/_images/sports-administration.png b/docs/fr/_images/sports-administration.png index bd64fd97e..bc83e0ed2 100644 Binary files a/docs/fr/_images/sports-administration.png and b/docs/fr/_images/sports-administration.png differ diff --git a/docs/fr/_images/statistics-by-sport.png b/docs/fr/_images/statistics-by-sport.png index d47d6b654..7198eabb1 100644 Binary files a/docs/fr/_images/statistics-by-sport.png and b/docs/fr/_images/statistics-by-sport.png differ diff --git a/docs/fr/_images/statistics-by-time-period.png b/docs/fr/_images/statistics-by-time-period.png index 3346c161e..a8e3645e8 100644 Binary files a/docs/fr/_images/statistics-by-time-period.png and b/docs/fr/_images/statistics-by-time-period.png differ diff --git a/docs/fr/_images/users-directory.png b/docs/fr/_images/users-directory.png index bb34c0a9e..dab8eac89 100644 Binary files a/docs/fr/_images/users-directory.png and b/docs/fr/_images/users-directory.png differ diff --git a/docs/fr/_images/workout-detail.png b/docs/fr/_images/workout-detail.png index c0f499fc4..9c4afca2d 100644 Binary files a/docs/fr/_images/workout-detail.png and b/docs/fr/_images/workout-detail.png differ diff --git a/docs/fr/_images/workouts-list.png b/docs/fr/_images/workouts-list.png index 7228898e5..1e56cd773 100644 Binary files a/docs/fr/_images/workouts-list.png and b/docs/fr/_images/workouts-list.png differ diff --git a/docs/fr/_sources/changelog.md.txt b/docs/fr/_sources/changelog.md.txt index da4fb4141..b0fa744bd 100644 --- a/docs/fr/_sources/changelog.md.txt +++ b/docs/fr/_sources/changelog.md.txt @@ -1,5 +1,39 @@ # Change log +## Version 0.9.2 (2025/02/12) + +### Translations + +* [PR#711](https://github.com/SamR1/FitTrackee/pull/711) - Translations update (Chinese (Simplified Han script)) +* [PR#712](https://github.com/SamR1/FitTrackee/pull/712) - Translations update (Polish, Basque) + +Translation status: +- Basque: 73% +- Bulgarian: 64% +- Chinese (Simplified): 100% +- Czech: 47% +- Dutch: 64% +- English: 100% +- French: 100% +- Galician: 100% +- German: 76% +- Italian: 53% +- Norwegian Bokmål: 34% +- Polish: 100% +- Portuguese: 63% +- Russian: 40% +- Spanish: 64% + +### Misc + +* [2612cd9](https://github.com/SamR1/FitTrackee/commit/2612cd9e4aa747036b79ed4a8492d0f7fea60c80) - fix Dockerfile used for development + +Thanks to the contributors: +- @erral +- Poesty Li +- Wiktor Jędrzejczak + + ## Version 0.9.1 (2025/02/02) **Note**: The minimum version for Python is now 3.9.2. diff --git a/docs/fr/_sources/installation.rst.txt b/docs/fr/_sources/installation.rst.txt index 526e67d73..948b6ac49 100644 --- a/docs/fr/_sources/installation.rst.txt +++ b/docs/fr/_sources/installation.rst.txt @@ -590,13 +590,13 @@ Production environment .. warning:: | Note that FitTrackee is under heavy development, some features may be unstable. -- Download the last release (for now, it is the release v0.9.1): +- Download the last release (for now, it is the release v0.9.2): .. code:: bash - $ wget https://github.com/SamR1/FitTrackee/archive/v0.9.1.tar.gz - $ tar -xzf v0.9.1.tar.gz - $ mv FitTrackee-0.9.1 FitTrackee + $ wget https://github.com/SamR1/FitTrackee/archive/v0.9.2.tar.gz + $ tar -xzf v0.9.2.tar.gz + $ mv FitTrackee-0.9.2 FitTrackee $ cd FitTrackee - Create **.env** from example and update it @@ -728,13 +728,13 @@ Prod environment - Change to the directory where FitTrackee directory is located -- Download the last release (for now, it is the release v0.9.1) and overwrite existing files: +- Download the last release (for now, it is the release v0.9.2) and overwrite existing files: .. code:: bash - $ wget https://github.com/SamR1/FitTrackee/archive/v0.9.1.tar.gz - $ tar -xzf v0.9.1.tar.gz - $ cp -R FitTrackee-0.9.1/* FitTrackee/ + $ wget https://github.com/SamR1/FitTrackee/archive/v0.9.2.tar.gz + $ tar -xzf v0.9.2.tar.gz + $ cp -R FitTrackee-0.9.2/* FitTrackee/ $ cd FitTrackee - Update **.env** if needed (see `Environment variables `__). @@ -935,7 +935,7 @@ Images are available on `DockerHub --set-admin true + $ docker compose exec fittrackee ftcli users update --set-role admin Development diff --git a/docs/fr/_static/documentation_options.js b/docs/fr/_static/documentation_options.js index 234c811af..15fdbb56d 100644 --- a/docs/fr/_static/documentation_options.js +++ b/docs/fr/_static/documentation_options.js @@ -1,5 +1,5 @@ const DOCUMENTATION_OPTIONS = { - VERSION: '0.9.1', + VERSION: '0.9.2', LANGUAGE: 'fr', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/docs/fr/api/auth.html b/docs/fr/api/auth.html index 807ef70c3..b3fc3996f 100644 --- a/docs/fr/api/auth.html +++ b/docs/fr/api/auth.html @@ -6,7 +6,7 @@ - Authentification et compte - Documentation FitTrackee 0.9.1 + Authentification et compte - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -2232,7 +2232,7 @@

    Authentification et compte +

    diff --git a/docs/fr/api/comments.html b/docs/fr/api/comments.html index ceca126d8..1d94ad52f 100644 --- a/docs/fr/api/comments.html +++ b/docs/fr/api/comments.html @@ -6,7 +6,7 @@ - Commentaires - Documentation FitTrackee 0.9.1 + Commentaires - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -980,7 +980,7 @@

    Commentaires +

    diff --git a/docs/fr/api/configuration.html b/docs/fr/api/configuration.html index ada749c2e..652182a06 100644 --- a/docs/fr/api/configuration.html +++ b/docs/fr/api/configuration.html @@ -6,7 +6,7 @@ - Configuration - Documentation FitTrackee 0.9.1 + Configuration - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@ diff --git a/docs/fr/api/equipment_types.html b/docs/fr/api/equipment_types.html index aabc4823a..4f1e3ca8a 100644 --- a/docs/fr/api/equipment_types.html +++ b/docs/fr/api/equipment_types.html @@ -6,7 +6,7 @@ - Types d’équipement - Documentation FitTrackee 0.9.1 + Types d’équipement - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -640,7 +640,7 @@

    Types d’équipement +

    diff --git a/docs/fr/api/equipments.html b/docs/fr/api/equipments.html index 57189d7f3..584db4d98 100644 --- a/docs/fr/api/equipments.html +++ b/docs/fr/api/equipments.html @@ -6,7 +6,7 @@ - Équipements - Documentation FitTrackee 0.9.1 + Équipements - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -853,7 +853,7 @@

    Équipements +

    diff --git a/docs/fr/api/follow_requests.html b/docs/fr/api/follow_requests.html index 92c85acc3..0ef194cd3 100644 --- a/docs/fr/api/follow_requests.html +++ b/docs/fr/api/follow_requests.html @@ -6,7 +6,7 @@ - Demandes de suivi - Documentation FitTrackee 0.9.1 + Demandes de suivi - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -546,7 +546,7 @@

    Demandes de suivi +

    diff --git a/docs/fr/api/index.html b/docs/fr/api/index.html index eae5627a3..1ba71cdfa 100644 --- a/docs/fr/api/index.html +++ b/docs/fr/api/index.html @@ -6,7 +6,7 @@ - Documentation de l’API - Documentation FitTrackee 0.9.1 + Documentation de l’API - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -363,7 +363,7 @@

    Documentation de l’API

    - + diff --git a/docs/fr/api/notifications.html b/docs/fr/api/notifications.html index 878a38bca..35851f82d 100644 --- a/docs/fr/api/notifications.html +++ b/docs/fr/api/notifications.html @@ -6,7 +6,7 @@ - Notifications - Documentation FitTrackee 0.9.1 + Notifications - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -681,7 +681,7 @@

    Notifications +

    diff --git a/docs/fr/api/oauth2.html b/docs/fr/api/oauth2.html index 350ef1f89..eca8dfcd5 100644 --- a/docs/fr/api/oauth2.html +++ b/docs/fr/api/oauth2.html @@ -6,7 +6,7 @@ - OAuth2 - Documentation FitTrackee 0.9.1 + OAuth2 - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -874,7 +874,7 @@

    OAuth2

    - + diff --git a/docs/fr/api/records.html b/docs/fr/api/records.html index 7230f0907..50707be70 100644 --- a/docs/fr/api/records.html +++ b/docs/fr/api/records.html @@ -6,7 +6,7 @@ - Records - Documentation FitTrackee 0.9.1 + Records - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -462,7 +462,7 @@

    Records +

    diff --git a/docs/fr/api/reports.html b/docs/fr/api/reports.html index 5c0574e5e..a49315258 100644 --- a/docs/fr/api/reports.html +++ b/docs/fr/api/reports.html @@ -6,7 +6,7 @@ - Signalements - Documentation FitTrackee 0.9.1 + Signalements - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -1064,7 +1064,7 @@

    Signalements +

    diff --git a/docs/fr/api/sports.html b/docs/fr/api/sports.html index 778fa4578..00e06dd93 100644 --- a/docs/fr/api/sports.html +++ b/docs/fr/api/sports.html @@ -6,7 +6,7 @@ - Sports - Documentation FitTrackee 0.9.1 + Sports - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -682,7 +682,7 @@

    Sports

    - + diff --git a/docs/fr/api/stats.html b/docs/fr/api/stats.html index 96ce2cac9..ecaf49ccd 100644 --- a/docs/fr/api/stats.html +++ b/docs/fr/api/stats.html @@ -6,7 +6,7 @@ - Statistiques - Documentation FitTrackee 0.9.1 + Statistiques - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -710,7 +710,7 @@

    Statistiques +

    diff --git a/docs/fr/api/timeline.html b/docs/fr/api/timeline.html index b0ca543b0..a9706fa1d 100644 --- a/docs/fr/api/timeline.html +++ b/docs/fr/api/timeline.html @@ -6,7 +6,7 @@ - Flux de séances - Documentation FitTrackee 0.9.1 + Flux de séances - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -499,7 +499,7 @@

    Flux de séances +

    diff --git a/docs/fr/api/users.html b/docs/fr/api/users.html index 30b0b6452..0dee9ca63 100644 --- a/docs/fr/api/users.html +++ b/docs/fr/api/users.html @@ -6,7 +6,7 @@ - Utilisateurs - Documentation FitTrackee 0.9.1 + Utilisateurs - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -1682,7 +1682,7 @@

    Utilisateurs +

    diff --git a/docs/fr/api/workouts.html b/docs/fr/api/workouts.html index 2289033bf..c1fea1a09 100644 --- a/docs/fr/api/workouts.html +++ b/docs/fr/api/workouts.html @@ -6,7 +6,7 @@ - Séances - Documentation FitTrackee 0.9.1 + Séances - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -1266,14 +1266,12 @@

    Séances
    Objet JSON de requête:

    diff --git a/docs/fr/changelog.html b/docs/fr/changelog.html index 48818f48e..f0eec9097 100644 --- a/docs/fr/changelog.html +++ b/docs/fr/changelog.html @@ -6,7 +6,7 @@ - Historique des modifications - Documentation FitTrackee 0.9.1 + Historique des modifications - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -288,6 +288,46 @@

    Historique des modifications

    +
    +

    Version 0.9.2 (12/02/2025)

    +
    +

    Traductions

    +
      +
    • PR#711 - Translations update (Chinese (Simplified Han script))

    • +
    • PR#712 - Translations update (Polish, Basque)

    • +
    +

    Avancement de la traduction :

    +
      +
    • Basque : 73%

    • +
    • Bulgare : 64%

    • +
    • Chinois (Simplifié) : 100%

    • +
    • Tchèque : 47%

    • +
    • Néerlandais : 64%

    • +
    • Anglais : 100%

    • +
    • Français : 100%

    • +
    • Galicien : 100%

    • +
    • Allemand : 76%

    • +
    • Italien : 53%

    • +
    • Norvégien Bokmål : 34%

    • +
    • Polonais : 100%

    • +
    • Portugais : 63%

    • +
    • Russe : 40%

    • +
    • Espagnol : 64%

    • +
    +
    +
    +

    Divers

    +
      +
    • 2612cd9 - fix Dockerfile used for development

    • +
    +

    Merci aux contributeurs :

    +
      +
    • @erral

    • +
    • Poesty Li

    • +
    • Wiktor Jędrzejczak

    • +
    +
    +

    Version 0.9.1 (02/02/2025)

    Note : La version minimale pour Python est maintenant la version 3.9.2.

    @@ -304,8 +344,8 @@

    Bugs corrigésPR#707 - Display user workouts only on user profile

    -
    -

    Traductions

    +
    +

    Traductions

    diff --git a/docs/fr/cli.html b/docs/fr/cli.html index 981a592a4..f85ad74cc 100644 --- a/docs/fr/cli.html +++ b/docs/fr/cli.html @@ -6,7 +6,7 @@ - Interface de ligne de commande - Documentation FitTrackee 0.9.1 + Interface de ligne de commande - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -609,7 +609,7 @@

    ftcli

    - + diff --git a/docs/fr/features.html b/docs/fr/features.html index 16a2f40a4..b13c8fdce 100644 --- a/docs/fr/features.html +++ b/docs/fr/features.html @@ -6,7 +6,7 @@ - Fonctionnalités - Documentation FitTrackee 0.9.1 + Fonctionnalités - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -1215,7 +1215,7 @@

    Administration +

    diff --git a/docs/fr/genindex.html b/docs/fr/genindex.html index 1a40fb24c..2b36f5bd9 100644 --- a/docs/fr/genindex.html +++ b/docs/fr/genindex.html @@ -4,7 +4,7 @@ - Index - Documentation FitTrackee 0.9.1 + Index - Documentation FitTrackee 0.9.2 @@ -167,7 +167,7 @@
    -
    @@ -195,7 +195,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -394,7 +394,7 @@

    V

    - + diff --git a/docs/fr/http-routingtable.html b/docs/fr/http-routingtable.html index b7ef16975..0e5e29957 100644 --- a/docs/fr/http-routingtable.html +++ b/docs/fr/http-routingtable.html @@ -4,7 +4,7 @@ - Table de routage HTTP - Documentation FitTrackee 0.9.1 + Table de routage HTTP - Documentation FitTrackee 0.9.2 @@ -167,7 +167,7 @@
    -
    @@ -195,7 +195,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -981,7 +981,7 @@

    Table de routage HTTP

    - + diff --git a/docs/fr/index.html b/docs/fr/index.html index 601a61cd2..84fe76745 100644 --- a/docs/fr/index.html +++ b/docs/fr/index.html @@ -6,7 +6,7 @@ - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -367,7 +367,7 @@

    Table des matières +

    diff --git a/docs/fr/installation.html b/docs/fr/installation.html index f6f5fbe72..edaa854b8 100644 --- a/docs/fr/installation.html +++ b/docs/fr/installation.html @@ -6,7 +6,7 @@ - Installation - Documentation FitTrackee 0.9.1 + Installation - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -1038,11 +1038,11 @@

    Environnements de production -
  • Télécharger la dernière version (à ce jour, la version v0.9.1) :

  • +
  • Télécharger la dernière version (à ce jour, la version v0.9.2) :

  • -
    $ wget https://github.com/SamR1/FitTrackee/archive/v0.9.1.tar.gz
    -$ tar -xzf v0.9.1.tar.gz
    -$ mv FitTrackee-0.9.1 FitTrackee
    +
    $ wget https://github.com/SamR1/FitTrackee/archive/v0.9.2.tar.gz
    +$ tar -xzf v0.9.2.tar.gz
    +$ mv FitTrackee-0.9.2 FitTrackee
     $ cd FitTrackee
     
    @@ -1176,11 +1176,11 @@

    Environnement de production
  • Arrêter l’application

  • Changer pour le répertoire dans lequel FitTrackee est localisé

  • -
  • Télécharger la dernière version (à ce jour, la version v0.9.1) et écraser les fichiers existants :

  • +
  • Télécharger la dernière version (à ce jour, la version v0.9.2) et écraser les fichiers existants :

  • -
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -472,7 +472,7 @@

    Ressources +

    diff --git a/docs/fr/objects.inv b/docs/fr/objects.inv index b0d3d7891..b66c5e280 100644 Binary files a/docs/fr/objects.inv and b/docs/fr/objects.inv differ diff --git a/docs/fr/search.html b/docs/fr/search.html index 7dead3965..5024815a9 100644 --- a/docs/fr/search.html +++ b/docs/fr/search.html @@ -7,7 +7,7 @@ -Recherche - Documentation FitTrackee 0.9.1 +<title>Recherche - Documentation FitTrackee 0.9.2 @@ -170,7 +170,7 @@

    -
    @@ -198,7 +198,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -328,7 +328,7 @@
    -
    +

    diff --git a/docs/fr/searchindex.js b/docs/fr/searchindex.js index b3059a907..a7c44d2a0 100644 --- a/docs/fr/searchindex.js +++ b/docs/fr/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles": {"A partir de PyPI": [[20, "from-pypi"], [20, "id3"]], "A partir des sources": [[20, "from-sources"], [20, "id4"]], "A propos": [[18, "about"]], "Administrateur": [[23, null]], "Administration": [[18, "administration"], [18, "id8"]], "Application": [[18, "application"]], "Applications OAuth": [[18, "oauth-apps"]], "Authentification et compte": [[0, null]], "Base de donn\u00e9es": [[17, "database"]], "Bugs corrig\u00e9s": [[16, "bugs-fixed"], [16, "id2"], [16, "id6"], [16, "id8"], [16, "id13"], [16, "id16"], [16, "id18"], [16, "id20"], [16, "id28"], [16, "id31"], [16, "id34"], [16, "id39"], [16, "id45"], [16, "id50"], [16, "id54"], [16, "id57"], [16, "id59"], [16, "id63"], [16, "id67"], [16, "id71"], [16, "id74"], [16, "id77"], [16, "id80"], [16, "id81"], [16, "id84"], [16, "id86"], [16, "id88"], [16, "id91"], [16, "id94"], [16, "id102"], [16, "id105"], [16, "id108"], [16, "id111"], [16, "id123"], [16, "id128"], [16, "id130"], [16, "id134"], [16, "id137"], [16, "id140"], [16, "id142"], [16, "id145"], [16, "id148"], [16, "id150"], [16, "id153"], [16, "id156"], [16, "id159"], [16, "id164"], [16, "id166"], [16, "id168"], [16, "id170"], [16, "id173"], [16, "id175"], [16, "id181"], [16, "id184"], [16, "id186"], [16, "id188"], [16, "id195"], [16, "id200"], [16, "id202"], [16, "id204"], [16, "id207"], [16, "id209"], [16, "id211"], [16, "id215"], [16, "id225"], [16, "id228"], [16, "id230"], [16, "id233"], [16, "id240"]], "Captures d\u2019\u00e9cran": [[18, "screenshots"]], "Commentaires": [[1, null], [18, "comments"]], "Compte et pr\u00e9f\u00e9rences": [[18, "account-preferences"]], "Configuration": [[2, null], [18, "configuration"]], "Courriels": [[20, "emails"]], "Demandes de suivi": [[5, null]], "Divers": [[16, "misc"], [16, "id4"], [16, "id9"], [16, "id11"], [16, "id17"], [16, "id21"], [16, "id23"], [16, "id26"], [16, "id30"], [16, "id37"], [16, "id41"], [16, "id44"], [16, "id48"], [16, "id52"], [16, "id56"], [16, "id61"], [16, "id65"], [16, "id69"], [16, "id76"], [16, "id79"], [16, "id83"], [16, "id85"], [16, "id89"], [16, "id96"], [16, "id99"], [16, "id107"], [16, "id114"], [16, "id125"], [16, "id127"], [16, "id143"], [16, "id157"], [16, "id160"], [16, "id177"], [16, "id179"], [16, "id196"], [16, "id205"], [16, "id212"], [16, "id216"], [16, "id223"], [16, "id234"], [16, "id237"]], "Docker": [[20, "docker"]], "Docker Compose": [[20, "docker-compose"]], "Documentation": [[16, "documentation"], [16, "id98"], [16, "id132"]], "Documentation de l\u2019API": [[6, null]], "Donn\u00e9es m\u00e9t\u00e9o": [[20, "weather-data"]], "D\u00e9pannage": [[24, null]], "D\u00e9pendances principales": [[20, "main-dependencies"]], "D\u00e9ploiement": [[20, "deployment"]], "D\u00e9veloppement": [[20, "development"]], "Environnement de production": [[20, "prod-environment"]], "Environnements de d\u00e9veloppement": [[20, "dev-environment"], [20, "id5"]], "Environnements de production": [[20, "production-environment"]], "FitTrackee": [[19, null]], "FitTrackee ne d\u00e9marre pas": [[23, "fittrackee-fails-to-start"]], "Flux": [[21, "flow"]], "Flux de s\u00e9ances": [[13, null]], "Fonctionnalit\u00e9s": [[16, "features"], [16, "id152"], [16, "id162"], [16, "id172"], [18, null]], "Fonctionnalit\u00e9s et am\u00e9liorations": [[16, "features-and-enhancements"], [16, "id1"], [16, "id5"], [16, "id7"], [16, "id12"], [16, "id15"], [16, "id19"], [16, "id24"], [16, "id27"], [16, "id33"], [16, "id38"], [16, "id42"], [16, "id49"], [16, "id53"], [16, "id62"], [16, "id66"], [16, "id70"], [16, "id73"], [16, "id90"], [16, "id93"], [16, "id101"], [16, "id104"], [16, "id110"], [16, "id115"], [16, "id117"], [16, "id119"], [16, "id122"], [16, "id133"], [16, "id139"]], "Historique des modifications": [[16, null]], "Installation": [[20, null], [20, "id2"]], "Interactions": [[18, "interactions"]], "Interface de ligne de commande": [[17, null]], "Les images de la carte ne sont pas affich\u00e9es mais la carte est affich\u00e9e dans le d\u00e9tail de la s\u00e9ance": [[23, "map-images-are-not-displayed-but-map-is-shown-in-workout-detail"]], "Limitation d\u2019acc\u00e8s \u00e0 l\u2019API": [[20, "api-rate-limits"]], "Liste des s\u00e9ances": [[18, "workouts-list"]], "Mise \u00e0 jour": [[20, "upgrade"]], "Mod\u00e9ration": [[18, "moderation"]], "NixOS": [[20, "nixos"]], "Notifications": [[7, null], [18, "notifications"], [18, "id7"]], "Nouvelles fonctionnalit\u00e9s": [[16, "new-features"], [16, "id190"], [16, "id192"], [16, "id194"], [16, "id199"], [16, "id214"], [16, "id218"], [16, "id220"], [16, "id222"], [16, "id227"], [16, "id232"], [16, "id236"], [16, "id239"], [16, "id242"]], "OAuth 2.0": [[21, null]], "OAuth2": [[8, null], [17, "oauth2"]], "Outils d\u2019importation": [[22, "import-tools"]], "Outils tiers": [[22, null]], "Page de d\u00e9tail d\u2019une s\u00e9ance": [[18, "workout-detail"]], "Points d'acc\u00e8s :": [[6, null]], "Politique de confidentialit\u00e9": [[18, "privacy-policy"]], "Production": [[20, "production"]], "Pr\u00e9requis": [[20, "prerequisites"]], "Pull Requests": [[16, "pull-requests"], [16, "id146"], [16, "id149"], [16, "id165"], [16, "id174"], [16, "id178"], [16, "id182"], [16, "id197"]], "Records": [[9, null]], "Ressources": [[21, "resources"]], "R\u00e9pertoire des utilisateurs": [[18, "users-directory"]], "Scopes": [[21, "scopes"]], "Scripts d\u2019installation": [[22, "installation-scripts"]], "Serveur de tuiles": [[20, "map-tile-server"]], "Signalements": [[10, null]], "Sports": [[11, null], [18, "sports"], [18, "id3"]], "Statistiques": [[12, null], [18, "statistics"], [18, "id5"]], "S\u00e9ances": [[15, null], [18, "workouts"], [18, "id1"]], "S\u00e9curit\u00e9": [[16, "security"]], "Table des mati\u00e8res": [[19, "table-of-contents"]], "Tableau de bord": [[18, "dashboard"], [18, "id4"]], "Tableau de bord sur mobile": [[18, "dashboard-on-mobile"]], "Tickets Ferm\u00e9s": [[16, "issues-closed"], [16, "id144"], [16, "id147"], [16, "id151"], [16, "id155"], [16, "id158"], [16, "id161"], [16, "id163"], [16, "id167"], [16, "id169"], [16, "id171"], [16, "id176"], [16, "id180"], [16, "id183"], [16, "id185"], [16, "id187"], [16, "id189"], [16, "id191"], [16, "id193"], [16, "id198"], [16, "id201"], [16, "id203"], [16, "id206"], [16, "id208"], [16, "id210"], [16, "id213"], [16, "id217"], [16, "id219"], [16, "id221"], [16, "id224"], [16, "id226"], [16, "id229"], [16, "id231"], [16, "id235"], [16, "id238"], [16, "id241"]], "Traductions": [[16, "translations"], [16, "id3"], [16, "id10"], [16, "id14"], [16, "id22"], [16, "id25"], [16, "id29"], [16, "id32"], [16, "id35"], [16, "id36"], [16, "id40"], [16, "id43"], [16, "id46"], [16, "id47"], [16, "id51"], [16, "id55"], [16, "id58"], [16, "id60"], [16, "id64"], [16, "id68"], [16, "id72"], [16, "id75"], [16, "id78"], [16, "id82"], [16, "id87"], [16, "id92"], [16, "id95"], [16, "id97"], [16, "id100"], [16, "id103"], [16, "id106"], [16, "id109"], [16, "id112"], [16, "id113"], [16, "id116"], [16, "id118"], [16, "id120"], [16, "id121"], [16, "id124"], [16, "id126"], [16, "id129"], [16, "id131"], [16, "id135"], [16, "id136"], [16, "id138"], [16, "id141"], [16, "id154"], [18, "translations"]], "Types d\u2019\u00e9quipement": [[3, null], [18, "equipment-types"]], "Utilisateurs": [[14, null], [17, "users"], [18, "users"], [18, "id2"]], "Variables d\u2019environnement": [[20, "environment-variables"]], "Version 0.1.0 - Premi\u00e8re version \ud83c\udf89 (04/07/2018)": [[16, "version-0-1-0-first-release-2018-07-04"]], "Version 0.1.1 - Corrections et am\u00e9liorations (07/02/2019)": [[16, "version-0-1-1-fix-and-improvements-2019-02-07"]], "Version 0.2.0 - Statistiques (07/07/2019)": [[16, "version-0-2-0-statistics-2019-07-07"]], "Version 0.2.1 - Correction et am\u00e9liorations (01/09/2019)": [[16, "version-0-2-1-fix-and-improvements-2019-09-01"]], "Version 0.2.2 - Corrections des statistiques (23/09/2019)": [[16, "version-0-2-2-statistics-fix-2019-09-23"]], "Version 0.2.3 - FitTrackee disponible en Fran\u00e7ais (29/12/2019)": [[16, "version-0-2-3-fittrackee-available-in-french-2019-12-29"]], "Version 0.2.4 - Corrections mineures (30/01/2020)": [[16, "version-0-2-4-minor-fix-2020-01-30"]], "Version 0.2.5 - Corrections et am\u00e9liorations (31/01/2020)": [[16, "version-0-2-5-fix-and-improvements-2020-01-31"]], "Version 0.3.0 - Administration (15/07/2020)": [[16, "version-0-3-0-administration-2020-07-15"]], "Version 0.4.0 - FitTrackee sur PyPI (19/09/2020)": [[16, "version-0-4-0-fittrackee-on-pypi-2020-09-19"]], "Version 0.4.1 (31/12/2020)": [[16, "version-0-4-1-2020-12-31"]], "Version 0.4.2 (03/01/2021)": [[16, "version-0-4-2-2021-01-03"]], "Version 0.4.3 (10/01/2021)": [[16, "version-0-4-3-2021-01-10"]], "Version 0.4.4 (31/01/2021)": [[16, "version-0-4-4-2021-01-31"]], "Version 0.4.5 (17/02/2021)": [[16, "version-0-4-5-2021-02-17"]], "Version 0.4.6 (21/02/2021)": [[16, "version-0-4-6-2021-02-21"]], "Version 0.4.7 (07/04/2021)": [[16, "version-0-4-7-2021-04-07"]], "Version 0.4.8 (03/07/2021)": [[16, "version-0-4-8-2021-07-03"]], "Version 0.4.9 (16/07/2021)": [[16, "version-0-4-9-2021-07-16"]], "Version 0.5.0 (14/11/2021)": [[16, "version-0-5-0-2021-11-14"]], "Version 0.5.1 (30/11/2021)": [[16, "version-0-5-1-2021-11-30"]], "Version 0.5.2 (19/12/2021)": [[16, "version-0-5-2-2021-12-19"]], "Version 0.5.3 (01/01/2022)": [[16, "version-0-5-3-2022-01-01"]], "Version 0.5.4 (01/01/2022)": [[16, "version-0-5-4-2022-01-01"]], "Version 0.5.5 (19/01/2022)": [[16, "version-0-5-5-2022-01-19"]], "Version 0.5.6 (05/02/2022)": [[16, "version-0-5-6-2022-02-05"]], "Version 0.5.7 (13/02/2022)": [[16, "version-0-5-7-2022-02-13"]], "Version 0.6.0 (27/03/2022)": [[16, "version-0-6-0-2022-03-27"]], "Version 0.6.1 (27/03/2022)": [[16, "version-0-6-1-2022-03-27"]], "Version 0.6.10 (13/07/2022)": [[16, "version-0-6-10-2022-07-13"]], "Version 0.6.11 (27/02/2022)": [[16, "version-0-6-11-2022-07-27"]], "Version 0.6.12 (14/09/2022)": [[16, "version-0-6-12-2022-09-14"]], "Version 0.6.2 (03/04/2022)": [[16, "version-0-6-2-2022-04-03"]], "Version 0.6.3 (09/04/2022)": [[16, "version-0-6-3-2022-04-09"]], "Version 0.6.4 (23/04/2022)": [[16, "version-0-6-4-2022-04-23"]], "Version 0.6.5 (24/04/2022)": [[16, "version-0-6-5-2022-04-24"]], "Version 0.6.6 (29/05/2022)": [[16, "version-0-6-6-2022-05-29"]], "Version 0.6.7 (11/06/2022)": [[16, "version-0-6-7-2022-06-11"]], "Version 0.6.8 (22/06/2022)": [[16, "version-0-6-8-2022-06-22"]], "Version 0.6.9 (03/07/2022)": [[16, "version-0-6-9-2022-07-03"]], "Version 0.7.0 (19/09/2022)": [[16, "version-0-7-0-2022-09-19"]], "Version 0.7.1 (21/09/2022)": [[16, "version-0-7-1-2022-09-21"]], "Version 0.7.10 (21/12/2022)": [[16, "version-0-7-10-2022-12-21"]], "Version 0.7.11 (31/12/2022)": [[16, "version-0-7-11-2022-12-31"]], "Version 0.7.12 (16/02/2023)": [[16, "version-0-7-12-2023-02-16"]], "Version 0.7.13 (05/03/2023)": [[16, "version-0-7-13-2023-03-05"]], "Version 0.7.14 (08/03/2023)": [[16, "version-0-7-14-2023-03-08"]], "Version 0.7.15 (12/04/2023)": [[16, "version-0-7-15-2023-04-12"]], "Version 0.7.16 (29/05/2023)": [[16, "version-0-7-16-2023-05-29"]], "Version 0.7.17 (03/06/2023)": [[16, "version-0-7-17-2023-06-03"]], "Version 0.7.18 (25/06/2023)": [[16, "version-0-7-18-2023-06-25"]], "Version 0.7.19 (15/07/2023)": [[16, "version-0-7-19-2023-07-15"]], "Version 0.7.2 (21/09/2022)": [[16, "version-0-7-2-2022-09-21"]], "Version 0.7.20 (22/07/2023)": [[16, "version-0-7-20-2023-07-22"]], "Version 0.7.21 (30/07/2023)": [[16, "version-0-7-21-2023-07-30"]], "Version 0.7.22 (23/08/2023)": [[16, "version-0-7-22-2023-08-23"]], "Version 0.7.23 (14/09/2023)": [[16, "version-0-7-23-2023-09-14"]], "Version 0.7.24 (04/10/2023)": [[16, "version-0-7-24-2023-10-04"]], "Version 0.7.25 (08/10/2023)": [[16, "version-0-7-25-2023-10-08"]], "Version 0.7.26 (19/11/2023)": [[16, "version-0-7-26-2023-11-19"]], "Version 0.7.27 (20/12/2023)": [[16, "version-0-7-27-2023-12-20"]], "Version 0.7.28 (23/12/2023)": [[16, "version-0-7-28-2023-12-23"]], "Version 0.7.29 (04/01/2024)": [[16, "version-0-7-29-2024-01-06"]], "Version 0.7.3 (01/11/2022)": [[16, "version-0-7-3-2022-11-01"]], "Version 0.7.30 (04/02/2024)": [[16, "version-0-7-30-2024-02-04"]], "Version 0.7.31 (10/02/2024)": [[16, "version-0-7-31-2024-02-10"]], "Version 0.7.32 (10/03/2024)": [[16, "version-0-7-32-2024-03-10"]], "Version 0.7.4 (05/11/2022)": [[16, "version-0-7-4-2022-11-05"]], "Version 0.7.5 (09/11/2022)": [[16, "version-0-7-5-2022-11-09"]], "Version 0.7.6 (09/11/2022)": [[16, "version-0-7-6-2022-11-09"]], "Version 0.7.7 (27/11/2022)": [[16, "version-0-7-7-2022-11-27"]], "Version 0.7.8 (30/11/2022)": [[16, "version-0-7-8-2022-11-30"]], "Version 0.7.9 (11/12/2022)": [[16, "version-0-7-9-2022-12-11"]], "Version 0.8.0 (21/04/2024)": [[16, "version-0-8-0-2024-04-21"]], "Version 0.8.1 (01/05/2024)": [[16, "version-0-8-1-2024-05-01"]], "Version 0.8.10 (09/10/2024)": [[16, "version-0-8-10-2024-10-09"]], "Version 0.8.11 (30/10/2024)": [[16, "version-0-8-11-2024-10-30"]], "Version 0.8.12 (17/11/2024)": [[16, "version-0-8-12-2024-11-17"]], "Version 0.8.13 (29/12/2024)": [[16, "version-0-8-13-2024-12-29"]], "Version 0.8.2 (08/05/2024)": [[16, "version-0-8-2-2024-05-08"]], "Version 0.8.3 (09/05/2024)": [[16, "version-0-8-3-2024-05-09"]], "Version 0.8.4 (22/05/2024)": [[16, "version-0-8-4-2024-05-22"]], "Version 0.8.5 (29/06/2024)": [[16, "version-0-8-5-2024-06-29"]], "Version 0.8.6 (03/08/2024)": [[16, "version-0-8-6-2024-08-03"]], "Version 0.8.7 (25/08/2024)": [[16, "version-0-8-7-2024-08-25"]], "Version 0.8.8 (01/09/2024)": [[16, "version-0-8-8-2024-09-01"]], "Version 0.8.9 (21/09/2024)": [[16, "version-0-8-9-2024-09-21"]], "Version 0.9.0 (18/01/2025)": [[16, "version-0-9-0-2025-01-18"]], "Version 0.9.0b1 (14/12/2024)": [[16, "version-0-9-0b1-2024-12-14"]], "Version 0.9.0b2 (14/12/2024)": [[16, "version-0-9-0b2-2024-12-14"]], "Version 0.9.0b3 (18/12/2024)": [[16, "version-0-9-0b3-2024-12-18"]], "Version 0.9.0b4 (23/12/2024)": [[16, "version-0-9-0b4-2024-12-23"]], "Version 0.9.0b5 (30/12/2024)": [[16, "version-0-9-0b5-2024-12-30"]], "Version 0.9.0b6 (05/01/2025)": [[16, "version-0-9-0b6-2025-01-05"]], "Version 0.9.1 (02/02/2025)": [[16, "version-0-9-1-2025-02-02"]], "Yunohost": [[20, "yunohost"]], "ftcli db drop": [[17, "ftcli-db-drop"]], "ftcli db upgrade": [[17, "ftcli-db-upgrade"]], "ftcli oauth2 clean": [[17, "ftcli-oauth2-clean"]], "ftcli users clean_archives": [[17, "ftcli-users-clean-archives"]], "ftcli users clean_tokens": [[17, "ftcli-users-clean-tokens"]], "ftcli users create": [[17, "ftcli-users-create"]], "ftcli users export_archives": [[17, "ftcli-users-export-archives"]], "ftcli users update": [[17, "ftcli-users-update"]], "\u00ab\u00a0Likes\u00a0\u00bb": [[18, "likes"]], "\u00c9chec du chargement ou du t\u00e9l\u00e9chargement de fichiers": [[23, "failed-to-upload-or-download-files"]], "\u00c9quipements": [[4, null], [18, "equipments"], [18, "id6"]]}, "docnames": ["api/auth", "api/comments", "api/configuration", "api/equipment_types", "api/equipments", "api/follow_requests", "api/index", "api/notifications", "api/oauth2", "api/records", "api/reports", "api/sports", "api/stats", "api/timeline", "api/users", "api/workouts", "changelog", "cli", "features", "index", "installation", "oauth", "third_party_tools", "troubleshooting/administrator", "troubleshooting/index"], "envversion": {"sphinx": 62, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2}, "filenames": ["api/auth.rst", "api/comments.rst", "api/configuration.rst", "api/equipment_types.rst", "api/equipments.rst", "api/follow_requests.rst", "api/index.rst", "api/notifications.rst", "api/oauth2.rst", "api/records.rst", "api/reports.rst", "api/sports.rst", "api/stats.rst", "api/timeline.rst", "api/users.rst", "api/workouts.rst", "changelog.md", "cli.rst", "features.rst", "index.rst", "installation.rst", "oauth.rst", "third_party_tools.rst", "troubleshooting/administrator.rst", "troubleshooting/index.rst"], "indexentries": {"api_rate_limits": [[20, "envvar-API_RATE_LIMITS", false]], "app_log": [[20, "envvar-APP_LOG", false]], "app_port": [[20, "envvar-APP_PORT", false]], "app_secret_key": [[20, "envvar-APP_SECRET_KEY", false]], "app_settings": [[20, "envvar-APP_SETTINGS", false]], "app_workers": [[20, "envvar-APP_WORKERS", false]], "database_dir": [[20, "envvar-DATABASE_DIR", false]], "database_disable_pooling": [[20, "envvar-DATABASE_DISABLE_POOLING", false]], "database_url": [[20, "envvar-DATABASE_URL", false]], "default_staticmap": [[20, "envvar-DEFAULT_STATICMAP", false]], "email_url": [[20, "envvar-EMAIL_URL", false]], "flask_app": [[20, "envvar-FLASK_APP", false]], "host": [[20, "envvar-HOST", false]], "log_dir": [[20, "envvar-LOG_DIR", false]], "map_attribution": [[20, "envvar-MAP_ATTRIBUTION", false]], "port": [[20, "envvar-PORT", false]], "postgres_db": [[20, "envvar-POSTGRES_DB", false]], "postgres_password": [[20, "envvar-POSTGRES_PASSWORD", false]], "postgres_user": [[20, "envvar-POSTGRES_USER", false]], "redis_dir": [[20, "envvar-REDIS_DIR", false]], "redis_url": [[20, "envvar-REDIS_URL", false]], "sender_email": [[20, "envvar-SENDER_EMAIL", false]], "staticmap_subdomains": [[20, "envvar-STATICMAP_SUBDOMAINS", false]], "tile_server_url": [[20, "envvar-TILE_SERVER_URL", false]], "ui_url": [[20, "envvar-UI_URL", false]], "upload_dir": [[20, "envvar-UPLOAD_DIR", false]], "upload_folder": [[20, "envvar-UPLOAD_FOLDER", false]], "variable d'environnement": [[20, "envvar-API_RATE_LIMITS", false], [20, "envvar-APP_LOG", false], [20, "envvar-APP_PORT", false], [20, "envvar-APP_SECRET_KEY", false], [20, "envvar-APP_SETTINGS", false], [20, "envvar-APP_WORKERS", false], [20, "envvar-DATABASE_DIR", false], [20, "envvar-DATABASE_DISABLE_POOLING", false], [20, "envvar-DATABASE_URL", false], [20, "envvar-DEFAULT_STATICMAP", false], [20, "envvar-EMAIL_URL", false], [20, "envvar-FLASK_APP", false], [20, "envvar-HOST", false], [20, "envvar-LOG_DIR", false], [20, "envvar-MAP_ATTRIBUTION", false], [20, "envvar-PORT", false], [20, "envvar-POSTGRES_DB", false], [20, "envvar-POSTGRES_PASSWORD", false], [20, "envvar-POSTGRES_USER", false], [20, "envvar-REDIS_DIR", false], [20, "envvar-REDIS_URL", false], [20, "envvar-SENDER_EMAIL", false], [20, "envvar-STATICMAP_SUBDOMAINS", false], [20, "envvar-TILE_SERVER_URL", false], [20, "envvar-UI_URL", false], [20, "envvar-UPLOAD_DIR", false], [20, "envvar-UPLOAD_FOLDER", false], [20, "envvar-VITE_APP_API_URL", false], [20, "envvar-WEATHER_API_KEY", false], [20, "envvar-WEATHER_API_PROVIDER", false], [20, "envvar-WORKERS_PROCESSES", false]], "vite_app_api_url": [[20, "envvar-VITE_APP_API_URL", false]], "weather_api_key": [[20, "envvar-WEATHER_API_KEY", false]], "weather_api_provider \ud83c\udd95": [[20, "envvar-WEATHER_API_PROVIDER", false]], "workers_processes": [[20, "envvar-WORKERS_PROCESSES", false]]}, "objects": {"": [[10, 0, 1, "patch--api-appeals-(string-appeal_id)", "/api/appeals/(string:appeal_id)"], [0, 1, 1, "post--api-auth-account-confirm", "/api/auth/account/confirm"], [0, 2, 1, "get--api-auth-account-export", "/api/auth/account/export"], [0, 2, 1, "get--api-auth-account-export-(string-file_name)", "/api/auth/account/export/(string:file_name)"], [0, 1, 1, "post--api-auth-account-export-request", "/api/auth/account/export/request"], [0, 1, 1, "post--api-auth-account-privacy-policy", "/api/auth/account/privacy-policy"], [0, 1, 1, "post--api-auth-account-resend-confirmation", "/api/auth/account/resend-confirmation"], [0, 2, 1, "get--api-auth-account-sanctions-(string-action_short_id)", "/api/auth/account/sanctions/(string:action_short_id)"], [0, 1, 1, "post--api-auth-account-sanctions-(string-action_short_id)-appeal", "/api/auth/account/sanctions/(string:action_short_id)/appeal"], [0, 2, 1, "get--api-auth-account-suspension", "/api/auth/account/suspension"], [0, 1, 1, "post--api-auth-account-suspension-appeal", "/api/auth/account/suspension/appeal"], [0, 2, 1, "get--api-auth-blocked-users", "/api/auth/blocked-users"], [0, 1, 1, "post--api-auth-email-update", "/api/auth/email/update"], [0, 1, 1, "post--api-auth-login", "/api/auth/login"], [0, 1, 1, "post--api-auth-logout", "/api/auth/logout"], [0, 1, 1, "post--api-auth-password-reset-request", "/api/auth/password/reset-request"], [0, 1, 1, "post--api-auth-password-update", "/api/auth/password/update"], [0, 3, 1, "delete--api-auth-picture", "/api/auth/picture"], [0, 1, 1, "post--api-auth-picture", "/api/auth/picture"], [0, 2, 1, "get--api-auth-profile", "/api/auth/profile"], [0, 1, 1, "post--api-auth-profile-edit", "/api/auth/profile/edit"], [0, 0, 1, "patch--api-auth-profile-edit-account", "/api/auth/profile/edit/account"], [0, 1, 1, "post--api-auth-profile-edit-notifications", "/api/auth/profile/edit/notifications"], [0, 1, 1, "post--api-auth-profile-edit-preferences", "/api/auth/profile/edit/preferences"], [0, 1, 1, "post--api-auth-profile-edit-sports", "/api/auth/profile/edit/sports"], [0, 3, 1, "delete--api-auth-profile-reset-sports-(sport_id)", "/api/auth/profile/reset/sports/(sport_id)"], [0, 1, 1, "post--api-auth-register", "/api/auth/register"], [1, 3, 1, "delete--api-comments-(string-comment_short_id)", "/api/comments/(string:comment_short_id)"], [1, 2, 1, "get--api-comments-(string-comment_short_id)", "/api/comments/(string:comment_short_id)"], [1, 0, 1, "patch--api-comments-(string-comment_short_id)", "/api/comments/(string:comment_short_id)"], [1, 1, 1, "post--api-comments-(string-comment_short_id)-like", "/api/comments/(string:comment_short_id)/like"], [1, 1, 1, "post--api-comments-(string-comment_short_id)-like-undo", "/api/comments/(string:comment_short_id)/like/undo"], [1, 2, 1, "get--api-comments-(string-comment_short_id)-likes", "/api/comments/(string:comment_short_id)/likes"], [1, 1, 1, "post--api-comments-(string-comment_short_id)-suspension-appeal", "/api/comments/(string:comment_short_id)/suspension/appeal"], [2, 2, 1, "get--api-config", "/api/config"], [2, 0, 1, "patch--api-config", "/api/config"], [3, 2, 1, "get--api-equipment-types", "/api/equipment-types"], [3, 2, 1, "get--api-equipment-types-(int-equipment_type_id)", "/api/equipment-types/(int:equipment_type_id)"], [3, 0, 1, "patch--api-equipment-types-(int-equipment_type_id)", "/api/equipment-types/(int:equipment_type_id)"], [4, 2, 1, "get--api-equipments", "/api/equipments"], [4, 1, 1, "post--api-equipments", "/api/equipments"], [4, 3, 1, "delete--api-equipments-(string-equipment_short_id)", "/api/equipments/(string:equipment_short_id)"], [4, 2, 1, "get--api-equipments-(string-equipment_short_id)", "/api/equipments/(string:equipment_short_id)"], [4, 0, 1, "patch--api-equipments-(string-equipment_short_id)", "/api/equipments/(string:equipment_short_id)"], [4, 1, 1, "post--api-equipments-(string-equipment_short_id)-refresh", "/api/equipments/(string:equipment_short_id)/refresh"], [5, 2, 1, "get--api-follow-requests", "/api/follow-requests"], [5, 1, 1, "post--api-follow-requests-(user_name)-accept", "/api/follow-requests/(user_name)/accept"], [5, 1, 1, "post--api-follow-requests-(user_name)-reject", "/api/follow-requests/(user_name)/reject"], [7, 2, 1, "get--api-notifications", "/api/notifications"], [7, 0, 1, "patch--api-notifications-(string-notification_id)", "/api/notifications/(string:notification_id)"], [7, 1, 1, "post--api-notifications-mark-all-as-read", "/api/notifications/mark-all-as-read"], [7, 2, 1, "get--api-notifications-types", "/api/notifications/types"], [7, 2, 1, "get--api-notifications-unread", "/api/notifications/unread"], [8, 2, 1, "get--api-oauth-apps", "/api/oauth/apps"], [8, 1, 1, "post--api-oauth-apps", "/api/oauth/apps"], [8, 3, 1, "delete--api-oauth-apps-(int-client_id)", "/api/oauth/apps/(int:client_id)"], [8, 2, 1, "get--api-oauth-apps-(int-client_id)-by_id", "/api/oauth/apps/(int:client_id)/by_id"], [8, 1, 1, "post--api-oauth-apps-(int-client_id)-revoke", "/api/oauth/apps/(int:client_id)/revoke"], [8, 2, 1, "get--api-oauth-apps-(string-client_client_id)", "/api/oauth/apps/(string:client_client_id)"], [8, 1, 1, "post--api-oauth-authorize", "/api/oauth/authorize"], [8, 1, 1, "post--api-oauth-revoke", "/api/oauth/revoke"], [8, 1, 1, "post--api-oauth-token", "/api/oauth/token"], [2, 2, 1, "get--api-ping", "/api/ping"], [9, 2, 1, "get--api-records", "/api/records"], [10, 2, 1, "get--api-reports", "/api/reports"], [10, 1, 1, "post--api-reports", "/api/reports"], [10, 2, 1, "get--api-reports-(int-report_id)", "/api/reports/(int:report_id)"], [10, 0, 1, "patch--api-reports-(int-report_id)", "/api/reports/(int:report_id)"], [10, 1, 1, "post--api-reports-(int-report_id)-actions", "/api/reports/(int:report_id)/actions"], [10, 2, 1, "get--api-reports-unresolved", "/api/reports/unresolved"], [11, 2, 1, "get--api-sports", "/api/sports"], [11, 2, 1, "get--api-sports-(int-sport_id)", "/api/sports/(int:sport_id)"], [11, 0, 1, "patch--api-sports-(int-sport_id)", "/api/sports/(int:sport_id)"], [12, 2, 1, "get--api-stats-(user_name)-by_sport", "/api/stats/(user_name)/by_sport"], [12, 2, 1, "get--api-stats-(user_name)-by_time", "/api/stats/(user_name)/by_time"], [12, 2, 1, "get--api-stats-all", "/api/stats/all"], [13, 2, 1, "get--api-timeline", "/api/timeline"], [14, 2, 1, "get--api-users", "/api/users"], [14, 3, 1, "delete--api-users-(user_name)", "/api/users/(user_name)"], [14, 2, 1, "get--api-users-(user_name)", "/api/users/(user_name)"], [14, 0, 1, "patch--api-users-(user_name)", "/api/users/(user_name)"], [14, 1, 1, "post--api-users-(user_name)-block", "/api/users/(user_name)/block"], [14, 1, 1, "post--api-users-(user_name)-follow", "/api/users/(user_name)/follow"], [14, 2, 1, "get--api-users-(user_name)-followers", "/api/users/(user_name)/followers"], [14, 2, 1, "get--api-users-(user_name)-following", "/api/users/(user_name)/following"], [14, 2, 1, "get--api-users-(user_name)-picture", "/api/users/(user_name)/picture"], [14, 2, 1, "get--api-users-(user_name)-sanctions", "/api/users/(user_name)/sanctions"], [14, 1, 1, "post--api-users-(user_name)-unblock", "/api/users/(user_name)/unblock"], [14, 1, 1, "post--api-users-(user_name)-unfollow", "/api/users/(user_name)/unfollow"], [14, 2, 1, "get--api-users-(user_name)-workouts", "/api/users/(user_name)/workouts"], [15, 2, 1, "get--api-workouts", "/api/workouts"], [15, 1, 1, "post--api-workouts", "/api/workouts"], [15, 3, 1, "delete--api-workouts-(string-workout_short_id)", "/api/workouts/(string:workout_short_id)"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)", "/api/workouts/(string:workout_short_id)"], [15, 0, 1, "patch--api-workouts-(string-workout_short_id)", "/api/workouts/(string:workout_short_id)"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-chart_data", "/api/workouts/(string:workout_short_id)/chart_data"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-chart_data-segment-(int-segment_id)", "/api/workouts/(string:workout_short_id)/chart_data/segment/(int:segment_id)"], [1, 2, 1, "get--api-workouts-(string-workout_short_id)-comments", "/api/workouts/(string:workout_short_id)/comments"], [1, 1, 1, "post--api-workouts-(string-workout_short_id)-comments", "/api/workouts/(string:workout_short_id)/comments"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-gpx", "/api/workouts/(string:workout_short_id)/gpx"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-gpx-download", "/api/workouts/(string:workout_short_id)/gpx/download"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-gpx-segment-(int-segment_id)", "/api/workouts/(string:workout_short_id)/gpx/segment/(int:segment_id)"], [15, 1, 1, "post--api-workouts-(string-workout_short_id)-like", "/api/workouts/(string:workout_short_id)/like"], [15, 1, 1, "post--api-workouts-(string-workout_short_id)-like-undo", "/api/workouts/(string:workout_short_id)/like/undo"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-likes", "/api/workouts/(string:workout_short_id)/likes"], [15, 1, 1, "post--api-workouts-(string-workout_short_id)-suspension-appeal", "/api/workouts/(string:workout_short_id)/suspension/appeal"], [15, 2, 1, "get--api-workouts-map-(map_id)", "/api/workouts/map/(map_id)"], [15, 1, 1, "post--api-workouts-no_gpx", "/api/workouts/no_gpx"], [20, 4, 1, "-", "API_RATE_LIMITS"], [20, 4, 1, "-", "APP_LOG"], [20, 4, 1, "-", "APP_PORT"], [20, 4, 1, "-", "APP_SECRET_KEY"], [20, 4, 1, "-", "APP_SETTINGS"], [20, 4, 1, "-", "APP_WORKERS"], [20, 4, 1, "-", "DATABASE_DIR"], [20, 4, 1, "-", "DATABASE_DISABLE_POOLING"], [20, 4, 1, "-", "DATABASE_URL"], [20, 4, 1, "-", "DEFAULT_STATICMAP"], [20, 4, 1, "-", "EMAIL_URL"], [20, 4, 1, "-", "FLASK_APP"], [20, 4, 1, "-", "HOST"], [20, 4, 1, "-", "LOG_DIR"], [20, 4, 1, "-", "MAP_ATTRIBUTION"], [20, 4, 1, "-", "PORT"], [20, 4, 1, "-", "POSTGRES_DB"], [20, 4, 1, "-", "POSTGRES_PASSWORD"], [20, 4, 1, "-", "POSTGRES_USER"], [20, 4, 1, "-", "REDIS_DIR"], [20, 4, 1, "-", "REDIS_URL"], [20, 4, 1, "-", "SENDER_EMAIL"], [20, 4, 1, "-", "STATICMAP_SUBDOMAINS"], [20, 4, 1, "-", "TILE_SERVER_URL"], [20, 4, 1, "-", "UI_URL"], [20, 4, 1, "-", "UPLOAD_DIR"], [20, 4, 1, "-", "UPLOAD_FOLDER"], [20, 4, 1, "-", "VITE_APP_API_URL"], [20, 4, 1, "-", "WEATHER_API_KEY"], [20, 4, 1, "envvar-WEATHER_API_PROVIDER", "WEATHER_API_PROVIDER \ud83c\udd95"], [20, 4, 1, "-", "WORKERS_PROCESSES"]], "/api/workouts/map_tile/(s)/(z)/(x)/(y)": [[15, 2, 1, "get--api-workouts-map_tile-(s)-(z)-(x)-(y).png", "png"]]}, "objnames": {"0": ["http", "patch", "HTTP patch"], "1": ["http", "post", "HTTP post"], "2": ["http", "get", "HTTP get"], "3": ["http", "delete", "HTTP delete"], "4": ["std", "envvar", "variable d'environnement"]}, "objtypes": {"0": "http:patch", "1": "http:post", "2": "http:get", "3": "http:delete", "4": "std:envvar"}, "terms": {"0": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20], "00": [0, 1, 4, 5, 9, 13, 14, 15], "000": 18, "000000": 0, "01": [0, 1, 9, 10, 12, 13, 14, 15], "02": [5, 14, 15], "03": [14, 15], "04": [0, 7, 10, 13, 14, 15], "06": [4, 7, 8, 12, 14], "0667062": 8, "06ba975": 16, "07": [0, 7, 9, 13, 14, 15], "075aeb9": 16, "08": [0, 4, 7, 9, 13, 14, 15], "09": [0, 1, 7, 10, 14, 15], "0mb": [0, 15], "1": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 20], "10": [0, 1, 2, 4, 5, 7, 9, 13, 14, 15, 18, 20], "100": [15, 16, 18], "1000": 12, "10000": [2, 15], "101": [12, 16], "104": [15, 16], "1048576": 2, "10485760": 2, "106": 16, "109": 16, "11": [0, 9, 14, 15, 18, 20], "112": 16, "113": 16, "115": 16, "116": 16, "12": [0, 9, 10, 14, 15, 20, 22], "121": 16, "123": 16, "1232004": 15, "12341": 12, "1234538": 15, "1239": 7, "125": 16, "126": 16, "1267": 12, "127": [16, 20], "129": 16, "12fb835fa26c": 7, "13": [0, 1, 9, 13, 14, 15, 17, 18, 20], "131": 16, "134": 16, "135": 16, "1375986": 16, "138": 16, "14": [0, 1, 8, 13, 14, 15], "140": 16, "145": 16, "146": 16, "149": 16, "15": [12, 15, 17, 18, 20], "150": 12, "151": 16, "152": 16, "155": 16, "156": [12, 16], "1563529507772": 15, "158": 15, "16": [1, 12, 14, 15, 18], "160": 16, "161": 16, "162": 16, "1658660147": 8, "167": 16, "169": 16, "17": [0, 5, 10, 13, 14, 15], "171": 16, "173": 16, "174240": 16, "175": 16, "177": 16, "178": [12, 16], "18": [0, 9, 10, 14, 15, 18, 20], "180": 16, "189071": 16, "19": [15, 18], "190": 16, "191": 16, "192": 16, "193": 16, "195": 16, "196": 16, "197": 16, "1m": 20, "1mb": 20, "1st": 16, "2": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20], "20": [14, 15, 18], "200": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20], "201": [0, 1, 4, 10, 15, 16], "2016": 15, "2017": [1, 12, 14, 15], "2018": [12, 13, 14, 15], "2019": [0, 9, 12, 13, 14, 15], "2021": [5, 14], "2022": 8, "2023": [0, 4, 14, 20], "2024": [0, 1, 7, 10, 14, 15], "203": 12, "204": [0, 1, 4, 8, 14, 15], "208": [15, 16], "209": 16, "21": [4, 10], "210": 16, "212": 16, "213": 16, "22": 15, "223": 16, "224": 16, "225": 16, "23": [15, 20], "230": 16, "231": [15, 16], "232": 16, "234": 15, "236": 16, "237": 16, "239": 16, "24": [1, 15, 20], "241": 16, "242": 16, "244": 16, "246": 16, "247": 16, "25": [10, 15, 20], "250": 16, "252": 16, "255": 15, "257": 16, "258": 16, "259": 16, "26": [15, 20], "260": 16, "261": 16, "264": 16, "265": 16, "266": 16, "26and": 20, "27": [0, 8, 10, 14, 15, 18], "270": 16, "271": 16, "273": 16, "274": 16, "275": 16, "278": 16, "279": [15, 16], "28": 4, "280": [15, 16], "282": [12, 16], "287": 16, "289": 16, "29": [4, 10], "290": 16, "2930": 15, "294": 16, "296": 16, "297": 16, "298": 16, "299": 16, "2bcff2e": 16, "2e1ee2c": 16, "2e9f9d": 16, "2ordfncv6vprkfp3yrcyht": [1, 15], "2ukrviyshoakg8qsuknus4": 4, "2ule2hwhsnycs2vhbsikb9": 14, "3": [0, 1, 3, 11, 12, 13, 14, 15, 18, 20], "30": [0, 10, 12, 15, 20], "300": 20, "3000": 20, "301": [16, 20], "304": 16, "305": 16, "307": 16, "308": 16, "31": [0, 1, 14, 15, 18, 20], "310": 16, "314": 16, "315": 16, "318": 16, "319": 16, "32": 15, "320": 16, "323": 16, "328": 16, "329": 16, "33": [12, 16], "3320": 12, "333": 16, "338": 16, "34": [1, 16], "34614d5": 16, "35": [0, 7, 15, 16], "350": 16, "351": 16, "352": 16, "354": 16, "355": 16, "356": 16, "357": 16, "358": 16, "359": 16, "36": 16, "365": 16, "366": 16, "367": 16, "369": 16, "37": 16, "370": 16, "371": 16, "374": 16, "375": 16, "376": 16, "377": 16, "38": 10, "380": 16, "381": 16, "382": 16, "3821e37": 16, "384": 16, "386": 16, "388": 16, "39": 15, "390": 16, "391": 16, "393": 16, "394": 16, "395": 16, "397": 16, "398": 16, "399": 16, "3aread": 21, "3awrit": 21, "3b6fa25": 16, "3c8d9c2": 16, "3f": 20, "4": [0, 3, 11, 12, 13, 14, 15, 17, 18, 20], "40": 16, "400": [0, 1, 2, 3, 4, 5, 8, 10, 11, 12, 14, 15, 16], "401": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "402": 16, "403": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "404": [0, 1, 3, 4, 5, 7, 8, 10, 11, 12, 14, 15, 16], "406": 16, "407": 16, "409": 16, "40and": 20, "41": [15, 16], "410": 16, "4109": 15, "411": 16, "413": [0, 15], "415": 16, "416": 16, "417": 16, "418": 16, "42": [15, 16], "421": 16, "422": 16, "426": 16, "427": [15, 16], "428": 16, "43": [0, 9, 13, 14, 15, 16], "431": 16, "433": 16, "435": 15, "436": 16, "438": 16, "44": [14, 15, 16], "441": 16, "443": 20, "444": 16, "449": 16, "44ff": 7, "45": [0, 1, 14, 15], "450": 16, "455": 16, "456": 16, "46": [12, 16], "464": 16, "465": 20, "468": 16, "469": 16, "47": [12, 15, 16], "471": 16, "472": 16, "473": 16, "474": 16, "475": 16, "476": 16, "477": 16, "478": [15, 16], "479": 16, "48": [5, 12, 14, 16], "481": 16, "482": 16, "484": 16, "488": 16, "489": 16, "49": [0, 10, 14], "490": 16, "494": 16, "495": 16, "496": 16, "499": [15, 16], "4c3fc34": 16, "5": [3, 8, 11, 12, 14, 15, 17, 18, 20], "50": [0, 4, 5, 12, 14, 16, 20], "500": [0, 1, 2, 3, 4, 5, 7, 10, 11, 13, 14, 15, 16], "5000": 20, "502": 16, "504": 16, "506": 16, "507": 16, "5078118": 15, "5079733": 15, "508": 16, "51": [13, 14, 15], "510": 16, "511": 16, "512": 16, "517587": 15, "51758b4": 16, "52": [1, 15, 16], "521": 16, "524": 16, "526": 16, "527": 16, "528": 16, "53": [8, 16], "530": 16, "531": 16, "532": 16, "533": 16, "534": 16, "536": 16, "537": 16, "538": 16, "54": 16, "540": 16, "542": 16, "543": 16, "5432": 20, "544": 16, "545": 16, "546": 16, "55": [14, 15], "550": 16, "551": 16, "555": 16, "556": 16, "557": 16, "558": 16, "56": [10, 16], "560627": 15, "563": 16, "564": 16, "565": 16, "566": 16, "57": [15, 16], "571": 16, "575": 16, "58": [0, 14, 16], "582": 16, "583": 16, "587": [16, 20], "588": 16, "59": [12, 14, 15, 16], "590": 16, "591": 16, "592": 16, "593": 16, "595": 16, "598": 16, "6": [0, 3, 4, 11, 14, 15, 17, 18, 20], "60": 16, "600": 16, "603": 16, "604": 16, "607": 16, "608": 16, "609": 16, "60e164d": 16, "61": 16, "610": 16, "612": 16, "613": 12, "614": 16, "616": 16, "617": 16, "618": 16, "62": 16, "620": 16, "621": [15, 16], "622": 16, "624": 16, "625": 16, "626": 16, "628": 16, "629": 16, "63": [15, 16], "631": 16, "633": 16, "634": 16, "635": 16, "636": 16, "637": 16, "639": [16, 17], "64": 16, "640": 16, "645": 16, "651": 16, "652": 16, "655": 16, "657": 16, "659": 16, "66": 16, "660": 16, "662": 16, "664": 16, "666": 16, "667": 16, "668": 16, "67": [0, 12, 14, 16], "671": 16, "673": 16, "674": 16, "675": 16, "677": 16, "678": 16, "680": 16, "682": 16, "683": 16, "685": 16, "688": 16, "690": 16, "691": 16, "692": 16, "695": 16, "696": 16, "697": 16, "6dxczvmrhkar72shuz9pwd": [0, 14], "6e215a": 16, "6nvxvayoh9zkr8rmxhu54t": 14, "7": [15, 17, 18, 20, 21], "70": 16, "700": 16, "702": 16, "705": 16, "707": 16, "708": 16, "709": 16, "71": 16, "72": 16, "720": 0, "73": 16, "7380": 15, "74": 16, "75": 16, "76": 16, "7641": 12, "78": 12, "79": 16, "7pdujhcvhya4hv29jzqngg": 0, "8": [0, 15, 17, 18, 20, 21], "80": [16, 20], "8025": 20, "81": 16, "82": 16, "83": 16, "84": 16, "85": 16, "864000": 8, "87": 16, "877fa0f": 16, "88": 16, "89": 16, "895": [0, 14], "8aa4cff": 16, "9": [0, 2, 9, 14, 15, 17, 18, 20, 21], "90": 16, "91": 16, "92": 16, "924": 0, "93": 16, "93706": 15, "95": [12, 16], "97": [0, 9, 13, 14, 15, 16], "98": 16, "981933": 15, "99": [12, 16], "9960": 12, "AS": [0, 9, 13, 14, 15], "Avec": 18, "Ce": [8, 16], "Cette": [16, 19, 20], "D": 20, "Des": [18, 20], "Du": 16, "EU": 16, "Elle": 18, "Elles": 20, "En": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19], "Et": 16, "Il": [0, 15, 16, 18, 19, 20, 21], "Ils": 21, "J": 16, "L": [0, 11, 16, 18, 20, 21], "La": [0, 15, 16, 17, 18, 20, 21, 23], "Le": [0, 4, 14, 16, 18, 20], "Les": [0, 9, 14, 15, 18, 19, 20, 21, 24], "M": 15, "MS": [0, 9, 13, 14, 15], "Mon": [13, 14, 15], "N": 16, "Ne": 14, "Par": [20, 21], "Pas": 16, "Pour": [15, 16, 18, 20, 21], "S": 18, "SA": 20, "Ses": 18, "Sur": 20, "Tue": [4, 15], "Un": [0, 3, 4, 8, 11, 14, 16, 18, 20], "Une": [16, 17, 18, 20, 23], "Y": [0, 12, 15], "_": [0, 16], "__main__": 20, "_blank": 20, "_like_": 0, "_workers_": 20, "a": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 19], "a012": 7, "a458f5f": 16, "aaron": 21, "ability": 16, "abon": [0, 18, 21], "about": [2, 16, 20], "absolu": [20, 23], "ac075ec36dc25dcc20c270d2005f0398": 15, "acced": [0, 3, 4, 8, 11, 12, 14, 18, 20, 21], "accept": [0, 5, 10, 16, 18], "accepted": 5, "accepted_policy": 0, "accepted_privacy_policy": 0, "acces": [0, 2, 3, 4, 8, 11, 14, 21], "access": [0, 16, 18], "access_token": 8, "accessibility": 16, "accessibl": [8, 16, 18, 20, 21], "accord": 21, "account": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "account_cre": 0, "actif": [0, 4, 17, 18], "action": [10, 16, 18], "action_short_id": 0, "action_typ": [0, 10, 14], "activ": [0, 2, 3, 11, 14, 16, 17, 18, 19, 20], "activat": [14, 17], "activit": 16, "activity": 16, "actuel": [0, 4], "adapt": [18, 20], "add": [16, 17], "added": [0, 4, 15, 16], "adding": 16, "additional": 16, "additionnel": 20, "admin": [2, 3, 5, 7, 9, 11, 12, 13, 14, 15, 17, 20], "admin_contact": 2, "administr": [0, 2, 3, 11, 14, 17, 20, 21, 24], "administrator": [0, 1, 3, 4, 7, 11, 13, 14, 15], "adress": [0, 2, 14, 17, 18, 20], "aff4d68": 16, "affect": [16, 18], "affich": [0, 15, 16, 17, 18, 19, 20, 21, 24], "affichag": 18, "affichent": 18, "afin": [16, 18, 21], "after": [16, 20], "again": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "agit": [15, 16], "agplv3": 16, "agre": 0, "aid": 19, "ains": [16, 18, 20], "air": [18, 19], "ajout": [0, 1, 14, 15, 16, 17, 18, 19, 20, 21, 22], "alert": 16, "all": [7, 12, 20], "allemand": [16, 18, 20], "allow": [16, 20], "allowed": [0, 15], "alor": 20, "alphanumer": 16, "alphanumeric": 0, "alpin": 18, "already": [0, 4, 5, 10, 16], "also": 16, "altern": 16, "altitud": [0, 16, 18], "alway": 20, "al\u00e9atoir": [17, 20], "amd64": 20, "an": [0, 8, 15, 16], "analys": [0, 15, 16, 18, 20], "analysis_visibility": [0, 15], "ancien": 20, "and": [0, 4, 16, 17, 20], "android": 19, "anglais": [0, 16, 17, 18, 20], "ann\u00e9": [12, 18], "anoth": 4, "antiali": 16, "anymor": 16, "apach": 19, "api": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 21], "api_rate_limit": 20, "apikey": 20, "app": [8, 16, 20, 21], "app_log": 20, "app_port": 20, "app_secret_key": 20, "app_setting": 20, "app_worker": 20, "appar": [0, 18], "appara\u00eetr": 18, "appeal": [0, 1, 10, 14, 15], "appeal_id": 10, "appel": [0, 1, 10, 15, 18, 20], "application_directory": 20, "appliqu": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, 20, 21], "apport": 16, "approb": 18, "approuv": 0, "approved": [0, 10, 14, 16], "apr": 15, "apres": [0, 8, 14, 16, 18, 20, 21], "archiv": [0, 2, 16, 17, 18, 20], "archive_rgjsr3fhr5yp": 0, "archive_rgjsr3fht295ywnqr5yp": 0, "archlinux": 20, "are": 16, "arg": [17, 20], "argument": [4, 17], "arm64": 20, "array": [0, 4, 8, 15], "arrow": 16, "arr\u00eat": [0, 14, 16, 18, 20], "asc": [5, 7, 10, 14, 15], "ascent": [13, 14, 15, 16], "asset": 20, "assign": 18, "associ": [0, 4, 8, 11, 15, 16, 17, 18], "associated": [4, 16], "assur": 21, "astridx": 16, "at": [16, 20], "atteint": 18, "attendu": 20, "attent": [15, 16, 20, 23], "attribu": 20, "attribut": 16, "aucun": [0, 4, 7, 10, 13, 14, 15, 18, 19, 20], "augment": 23, "aur": 16, "auteur": [1, 15, 18], "auth": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "auth_token": 0, "authentif": [1, 6, 14, 20, 21], "authentifi": [0, 1, 5, 7, 8, 9, 11, 12, 13, 14, 15, 18], "authlib": [8, 20, 21], "authoriz": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 21], "authorization_cod": [8, 21], "autoespcap": 16, "automat": [0, 18], "autoris": [0, 2, 8, 15, 20, 21], "autr": [0, 16, 18, 20], "avail": 16, "avanc": [16, 18], "avant": [16, 18, 20], "ave_speed": [13, 14, 15], "ave_speed_from": 15, "ave_speed_to": 15, "averag": [12, 16], "average_ascent": 12, "average_descent": 12, "average_dist": 12, "average_dur": 12, "average_speed": 12, "avert": [18, 20], "aviron": 18, "avoir": [11, 20], "awesom": 20, "axe": [15, 18], "axis": 16, "b": 20, "b1536fc": 16, "b224e17": 16, "b29ed7": 16, "b748459": 16, "b862a77": 16, "background": 16, "bad": [0, 1, 2, 3, 4, 5, 8, 10, 11, 12, 14, 15], "bas": [16, 18, 20, 23], "basqu": [16, 18], "bcc568e": 16, "be": [0, 2, 4, 14, 15, 16, 20], "be26f35": 7, "bear": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "been": 10, "below": 20, "besoin": 20, "bet": 16, "between": 16, "bibliothequ": 21, "bien": 18, "bik": [3, 4], "biking": [11, 15], "bin": 20, "bio": [0, 5, 14], "biograph": 0, "birth": 16, "birth_dat": [0, 5, 14], "bjornclauw": 16, "black": 16, "blacklist": 0, "blocag": 18, "block": [14, 16], "blocked": [0, 10, 14], "blocked_user": 0, "bloqu": [0, 14, 18], "boat": 18, "body": [16, 20], "bokm\u00e5l": [16, 18], "boolean": [0, 2, 3, 4, 7, 8, 10, 11, 14, 17], "boosterl": 16, "bound": [13, 14, 15], "bouton": 18, "branch": 18, "bref": 4, "brows": 16, "build": [16, 20], "bulgar": [16, 18], "bulgarian": 16, "button": 16, "by": [16, 20], "by_id": 8, "by_sport": 12, "by_tim": 12, "byakurau": 16, "b\u00eat": 16, "c88a515": 16, "cach": 18, "calcul": [0, 12, 16, 18], "calendar": 16, "calendri": [16, 18], "callback": [8, 21], "can": [0, 1, 10, 14, 15, 16, 18, 20, 23], "cannot": [4, 16], "caracter": [0, 4, 8, 15, 16, 20, 21], "card": 16, "cart": [0, 15, 16, 18, 19, 20, 24], "cas": [4, 8, 15, 18, 20], "cass": 20, "cb9d02f": 16, "cc": 20, "cc3fe1c": 16, "cc4287e": 16, "cd": 20, "cec": 16, "cel": [4, 16, 18, 20], "celui": [16, 20], "certain": [16, 17, 19, 20], "cf": [18, 19, 20], "chain": 20, "challeng": [8, 21], "champ": 16, "chang": [0, 4, 16, 18, 20], "changed": 16, "changing": 16, "chaqu": 18, "charact": 0, "character": [0, 4, 16], "charg": [0, 8, 16, 17, 18, 20, 21, 24], "chart": [15, 16, 20], "chart_dat": 15, "chaussur": 18, "cha\u00een": [8, 21], "check": 20, "check_workout": 11, "checkbox": 16, "checked": 16, "checking": 20, "chemin": [20, 23], "chiffr": [18, 20], "chines": 16, "chinois": [16, 18], "chois": [18, 20], "choos": 16, "ci": 16, "clair": 18, "cleanup": 16, "clear": 20, "cli": [14, 16, 17, 18, 20], "click": 16, "clickabl": 16, "clicking": 16, "client": [8, 14, 16, 18, 20, 21], "client_client_id": 8, "client_descript": 8, "client_id": [8, 21], "client_max_body_siz": [20, 23], "client_nam": 8, "client_secret": 8, "client_ur": 8, "clon": 20, "closing": 16, "cl\u00e9": [16, 18, 20], "co": 16, "cod": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 21], "code_challeng": [8, 21], "code_challenge_method": [8, 21], "code_verifi": 8, "coll": 20, "color": [0, 11, 16], "com": [0, 2, 8, 10, 14, 16, 20, 21], "comm": [7, 16, 18, 20], "command": [16, 18, 19, 20], "commenc": [0, 12, 16, 18, 20, 23], "commencent": 0, "commend": 16, "comment": [0, 1, 10, 15, 16, 18], "comment_id": 10, "comment_lik": 0, "comment_short_id": 1, "comment_suspens": 10, "comment_unsuspens": 10, "commentair": [0, 6, 10, 21], "compatibl": 20, "complet": [16, 18], "completed": 0, "compl\u00e9mentair": 16, "comport": 18, "comprend": 16, "compt": [6, 14, 15, 16, 17, 20, 22], "comradekingu": 16, "concern": 10, "condit": 20, "confidential": [0, 2, 16], "config": [2, 16, 20], "configur": [6, 16, 17, 20, 21, 23], "configured": 16, "confirm": [0, 8, 16, 18, 20], "confusedalex": 16, "connaiss": [16, 18], "connect": [0, 18], "connexion": [0, 20], "conserv": [19, 20], "consult": 18, "contact": [0, 1, 2, 3, 4, 7, 11, 13, 14, 15, 18], "contain": [16, 20], "containing": 16, "conten": [16, 18, 20], "conteneur": 20, "content": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "contenu": [1, 10, 18], "contenus": 18, "contient": [16, 18, 20], "continu": 20, "contr": 21, "contrair": [15, 18], "contributeur": [16, 20, 22], "contributing": 16, "contributor": [2, 20], "control": [16, 20], "contr\u00f4l": 2, "copi": 20, "copy": [2, 20], "copyright": [2, 20], "cor": 16, "corp": 21, "correctly": 16, "correspond": [0, 15, 20], "correspondr": 18, "could": 16, "couleur": [0, 18], "cour": [16, 17, 18, 19, 20], "courriel": [0, 14, 16, 18, 23], "cours": [16, 18], "court": [1, 4, 7, 15], "cp": 20, "creat": [16, 20], "create_app": 20, "created": [0, 1, 4, 8, 10, 15], "created_at": [0, 1, 5, 7, 10, 14, 15], "creation": 16, "creation_dat": [4, 13, 14, 15], "creativecommon": 20, "credential": 0, "criter": [10, 14], "criteri": 15, "critical": 23, "cross": [8, 21], "crossing": [18, 20], "cr\u00e9": [0, 1, 4, 8, 10, 15, 16, 17, 18, 20, 21], "cr\u00e9ation": [0, 16, 18], "csrf": [8, 21], "current": [0, 14, 16], "custom": 20, "cycling": [11, 15, 16], "czech": 16, "d743abf": 16, "dan": [0, 2, 4, 15, 16, 17, 18, 19, 20, 21, 24], "danielsiersleben": 16, "dark": 16, "darksky": [16, 20], "dashboard": 16, "dat": [0, 1, 2, 3, 4, 5, 8, 9, 11, 12, 13, 14, 15, 16, 18], "databas": [16, 17, 20], "database_d": 20, "database_disable_pooling": 20, "database_url": [20, 23], "date_format": 0, "date_string": 0, "datetim": 16, "davidhenrythoreau": 16, "day": [16, 17, 20], "db": 20, "dd": 0, "debian": [20, 22], "dec": [0, 1, 5, 7, 10, 14, 15], "default": [12, 15, 16, 20], "default_equipment_id": 0, "default_for_sport_id": 4, "default_staticmap": [16, 20], "definit": 16, "del": 23, "delet": [0, 1, 4, 8, 14, 15, 16], "deleted": 16, "deleting": 16, "demand": [0, 6, 10, 14, 16, 17, 18, 20, 21], "depending": 16, "deployment": 16, "deprecated": [16, 17], "depuis": [17, 20], "derni": [14, 16, 18, 20], "derri": 21, "desc": [5, 7, 10, 14, 15, 18], "descent": [13, 14, 15, 16], "descript": [4, 8, 13, 14, 15, 16, 17, 18, 20], "dessous": 16, "detail": [16, 20], "detailed": 16, "detect": 16, "deux": 17, "dev": 20, "development": 16, "df": 20, "diagnostic": 20, "dialect": 23, "differ": 18, "different": [14, 16], "diff\u00e9rent": [16, 18], "dimanch": [12, 18], "direct": [16, 18, 20], "directory": [16, 20], "disabl": 16, "disabled": 0, "discours": 18, "display": 16, "display_ascent": 0, "displayed": 16, "displaying": 16, "disponibl": [0, 9, 17, 18, 20, 21, 22], "dispos": [0, 18], "distanc": [0, 9, 13, 14, 15, 16, 18], "distance_from": 15, "distance_to": 15, "dkm": 16, "do": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "dock": 16, "dockerhub": 20, "docu": 16, "document": [19, 20, 21, 23], "doit": [0, 4, 8, 11, 15, 16, 18, 20, 21, 23], "doiv": 18, "doivent": [15, 20, 21], "domain": [15, 20], "don": [0, 8, 12, 14, 15, 16, 18, 19, 21, 23], "dont": [14, 18, 21], "dor\u00e9nav": 16, "dotenv": 16, "dotlambd": 16, "doubl": 15, "down": 16, "download": [0, 15, 16], "dperruso": 16, "dramatiq": [16, 17, 20], "droit": [0, 11, 14, 16, 17, 18, 20, 21], "drop": 16, "dropdown": 16, "dur": [9, 15, 16, 18], "durat": [13, 14, 15, 16], "duration_from": 15, "duration_to": 15, "during": [0, 1, 4, 10, 15], "dutch": 16, "d\u00e9": [3, 14], "d\u00e9bloqu": 14, "d\u00e9but": [12, 15], "d\u00e9connexion": 0, "d\u00e9criv": 10, "d\u00e9crivent": 20, "d\u00e9fault": [18, 20], "d\u00e9faut": [0, 1, 4, 5, 7, 8, 10, 13, 14, 15, 16, 17, 18, 20], "d\u00e9fin": [4, 16, 18, 21, 23], "d\u00e9j\u00e0": [15, 17], "d\u00e9livr": 8, "d\u00e9marr": [16, 20, 24], "d\u00e9marrag": 20, "d\u00e9nivel": [0, 9, 15, 18], "d\u00e9pannag": 19, "d\u00e9part": 18, "d\u00e9pend": 16, "d\u00e9plac": 16, "d\u00e9pr\u00e9ci": 17, "d\u00e9p\u00f4t": 20, "d\u00e9roul": 18, "d\u00e9sactiv": [0, 14, 16, 17, 18, 20], "d\u00e9sorm": 16, "d\u00e9tail": 24, "d\u00e9velopp": [16, 17, 18, 19], "e": 0, "e2e": 16, "ea0ac99": 16, "eau": 18, "edc677": 16, "edit": [0, 16], "editing": 16, "effectu": [16, 18], "elev": [15, 16], "elles": 15, "email": [0, 2, 10, 14, 16, 17, 23], "email_to_confirm": 0, "email_url": [20, 23], "empty": 16, "emp\u00each": 21, "encod": 20, "encoded": 16, "encor": [16, 19], "endpoint": 16, "enfin": 16, "enfreint": 18, "english": 16, "enlev": 4, "enregistr": [0, 17, 18, 21], "ensembl": 20, "ensuit": 21, "enter": 16, "enti": 8, "entity": [0, 15], "entrant": 18, "entra\u00een": [12, 15, 18], "entre": [4, 8, 18, 21], "entry": 16, "entr\u00e9": [14, 16, 18, 20, 21], "enumerat": 20, "env": [16, 20], "environ": [16, 17, 23], "environment": [16, 20, 23], "envoi": [0, 14, 16, 18, 20, 21], "equal": 2, "equipment": [0, 3, 4, 13, 14, 15, 16, 21], "equipment_id": [0, 15], "equipment_short_id": 4, "equipment_typ": [3, 4], "equipment_type_id": [3, 4], "equipment_type_label": 4, "erral": 16, "erreur": [0, 8, 16, 18, 23], "error": [0, 1, 2, 3, 4, 5, 7, 10, 11, 13, 14, 15, 16, 20], "errored": 0, "espac": 21, "espagnol": [16, 18], "esprit": 18, "estim": 16, "europ": 0, "ewm": 16, "exampl": [0, 2, 8, 10, 14, 16, 20, 21], "exc": 23, "exceed": [0, 4, 15, 16], "exceeding": 16, "except": [18, 23], "exclu": 18, "exclur": 18, "exec": 20, "execstart": 20, "exempl": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 21], "exhaust": 19, "exist": [0, 4, 5, 12, 14, 15, 16, 18, 19, 20], "existent": [7, 10, 14], "exit": [17, 20], "expected": 10, "expir": 17, "expired": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "expires_at": 8, "expires_in": 8, "expliqu": [0, 10], "expliquent": 10, "exploit": [18, 20], "export": [0, 16, 17, 18, 19, 20], "exp\u00e9diteur": 20, "extens": [0, 15, 16, 20], "extr\u00eam": 18, "ex\u00e9cu": [16, 17], "ex\u00e9cut": [16, 20], "f2aec30": 16, "f96dcef": 16, "fa33f4d996844a5c73ecd1ae24456ab8": 15, "facilit": 16, "facult": [4, 21], "fail": 16, "fair": [0, 1, 15, 18, 20], "fait": [15, 16, 20], "fals": [0, 1, 2, 3, 5, 7, 8, 10, 11, 13, 14, 15, 20], "falsif": [8, 21], "famill": 0, "farthest": 16, "fa\u00e7on": 20, "fb10602": 16, "fd": [0, 9, 13, 14, 15], "featur": 16, "fichi": [0, 2, 15, 16, 17, 18, 19, 20, 22, 24], "field": 16, "fil": [0, 2, 15, 16, 20], "file_nam": 0, "file_siz": 0, "filt": 16, "filter": 16, "filtering": 16, "filtr": [0, 10, 15, 16, 18], "fin": [12, 15, 16, 20], "finish": 16, "first": [4, 16], "first_nam": [0, 5, 14], "fit": [20, 22], "fitotrack": 19, "fittracke": [4, 8, 17, 18, 20, 21, 22, 24], "fittrackee_client": 20, "fittrackee_host": 21, "fittrackee_install": 22, "fittrackee_worker": 20, "fittrackee_ynh": 20, "fix": [16, 20], "flake8": 16, "flask": [16, 20], "flask_app": 20, "flaticon": 20, "flech": 18, "float": [0, 15], "flow": 21, "flux": [6, 18], "fmstrat": 16, "follow": [0, 5, 7, 10, 14, 16, 21], "follow_request": [0, 5, 7], "follow_request_approved": 0, "follower": [0, 1, 5, 7, 10, 14, 15, 16], "followers_only": [0, 1, 4, 14, 15], "following": [0, 1, 5, 7, 10, 14, 15, 16], "fonction": [18, 20, 21], "fonctionnal": [19, 20], "fond": 20, "foot": 16, "for": [0, 2, 4, 14, 15, 16, 20], "forbidden": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "forc": 4, "forgery": [8, 21], "fork": 20, "form": [0, 8, 15, 16], "format": [0, 12, 15, 16, 18, 19], "fort": 20, "forwarded": [20, 21], "found": [0, 1, 3, 4, 5, 7, 8, 10, 11, 12, 14, 15, 16], "fourn": [0, 4, 8, 12, 15, 17, 18, 20, 21, 23], "fournisseur": [16, 20], "fr": [0, 20], "franc": [18, 20], "freepik": 20, "french": 16, "fri": 15, "from": [4, 5, 7, 12, 15, 16, 20], "ft": 16, "ftcli": 20, "full": 16, "fullchain": 20, "fullscreen": 16, "furo": 16, "fuseau": [0, 15, 18], "galician": 16, "galicien": [16, 18], "gallegonovato": 16, "gard": [15, 18, 20], "garmin": 22, "generat": 16, "ger": [10, 16, 17, 18, 20, 23], "german": 16, "gestion": [16, 20], "get": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "getting": 2, "gif": 0, "git": 20, "github": [16, 20], "gl": 0, "gmt": [0, 1, 4, 5, 7, 8, 9, 10, 13, 14, 15], "gnu": 16, "gorgoback": 16, "gp": [16, 18], "gpl": 19, "gpx": [0, 8, 15, 16, 18, 19, 20, 22], "gpx_limit_import": 2, "gpxpy": [0, 16, 18, 20], "grammar": 16, "grand": [16, 18], "grant_typ": 8, "graph": 16, "graphiqu": [0, 16, 18, 20], "gray": 16, "great": [1, 2, 16], "gr\u00e2c": [20, 22], "guid": 20, "guillemet": 15, "gunicorn": [20, 23], "gz": 20, "gzip": 0, "g\u00e9ner": [8, 17, 18, 20, 21], "h": [15, 18], "ha": [0, 9, 13, 14, 15], "han": 16, "handl": 16, "has": [1, 4, 10, 14, 15, 16, 18], "has_equipment": 3, "has_next": [0, 5, 7, 8, 10, 14], "has_prev": [0, 5, 7, 8, 10, 14], "has_workout": 11, "hav": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "help": [17, 20], "heur": [16, 18, 20], "hexadecimal": 0, "hexad\u00e9cimal": 0, "hgzyfxgvwkcepdq3vyk67q": 15, "hid": 16, "hidden": 16, "hide_profile_in_users_directory": 0, "hiding": 16, "hiking": 11, "his": 16, "histor": [19, 20], "hom": 20, "horair": [0, 15, 18], "host": 20, "hosted": 16, "hour": 20, "how": 20, "href": [2, 20], "html": 16, "http": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 21], "http2": 20, "hub": 16, "hv9kwvdtbhhyfvml7phovq": 10, "hvybqybra7wwxpastwr4v2": [0, 9, 13, 14, 15], "h\u00e9berg": 20, "h\u00f4t": 20, "i18n": 16, "icon": 16, "ic\u00f4n": 20, "id": [0, 1, 3, 4, 7, 8, 9, 10, 11, 13, 14, 15, 16], "identif": 20, "identifi": [0, 1, 7, 8, 10, 11, 12, 15, 21], "if": [0, 16, 18, 20], "imag": [0, 14, 15, 16, 18, 20, 24], "impact": 18, "imperial": 16, "imperial_unit": 0, "implementing": 16, "import": [4, 8, 16, 18, 20], "importing": 16, "improv": 16, "improved": 16, "imp\u00e9rial": [0, 18], "in": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 20], "in_progress": 0, "inact": [0, 4, 14, 15, 18, 20], "inchang": 18, "inclus": 16, "incomplet": 17, "inconsistent": 16, "incorrect": [4, 16, 18], "index": 15, "indiqu": 18, "ind\u00e9sir": 18, "infobull": 18, "inform": [0, 2, 14, 16, 18, 19, 20], "inf\u00e9rieur": 16, "init": 16, "initial": [16, 20], "initialis": [16, 20], "input": 16, "inscript": [0, 2, 16, 18, 20], "inscrir": [2, 16, 18, 20], "insensibl": 20, "instabl": [19, 20], "install": [16, 19], "instanc": [2, 16, 18, 20], "instant": 18, "instead": 16, "instruct": [0, 16, 18, 20], "int": [0, 3, 4, 8, 10, 11, 15], "integ": [0, 1, 2, 3, 4, 5, 7, 8, 10, 11, 12, 13, 14, 15], "integer": 4, "integr": 20, "interag": [16, 18, 21], "interceptor": 16, "interfac": [0, 16, 18, 19, 20], "internal": [0, 1, 2, 3, 4, 5, 7, 10, 11, 13, 14, 15], "interrompu": 20, "into": 16, "introduit": 16, "invalid": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20], "invalidat": 16, "invalidemailurlschem": 23, "ip": 20, "is": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "is_act": [0, 3, 4, 10, 11, 14], "is_active_for_us": 11, "is_email_sending_enabled": 2, "is_followed_by": [0, 7, 10, 14], "is_registration_enabled": 2, "is_reported_user_warned": 10, "iso": 17, "isort": 16, "issu": [16, 18], "issued_at": 8, "it": [0, 4], "italian": 16, "italien": [16, 18], "jan": [13, 14, 15], "jat255": 16, "javascript": [16, 20], "jderuit": 16, "jeton": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 20, 21], "jinj": 16, "jmlich": 16, "job": 16, "john_do": 14, "johndo": 14, "jour": [0, 1, 2, 4, 7, 11, 14, 15, 16, 17, 18], "journal": [20, 23], "jpeg": 14, "jpg": 0, "js": [15, 20], "json": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18], "jul": [0, 9, 13, 14, 15], "july": 8, "jusqu": 18, "jwt": 20, "j\u0119drzejczak": 16, "kayak": 18, "kayak_boat": 3, "kcj6hdgqqpkaakqmfqj8jv": 14, "kd5wyhwltvozw6o3au5m4j": 15, "keep": 16, "key": 20, "keyboard": 16, "kjxavsturjvoah2wvcegef": [13, 14, 15], "km": [15, 18], "koen": 16, "komoot": 20, "label": [3, 4, 11, 16, 18], "laiss": 20, "lanc": [16, 20], "lang": [0, 16, 17], "langu": [0, 16, 17, 18], "languag": [0, 16, 17], "laquel": 18, "larg": [0, 15, 20], "last": 16, "last_nam": [0, 5, 14], "latitud": 15, "lavoi": 16, "layout": 16, "ld": [0, 9, 13, 14, 15], "leaflet": [15, 20], "lectur": [7, 21], "legal": 20, "legitimat": 16, "lequel": [0, 20], "less": 16, "lettr": 17, "lev": [18, 20], "level": 16, "li": [10, 16, 18], "libr": 18, "librair": [8, 20], "library": 16, "licenc": 20, "licens": [16, 19, 20], "lien": [16, 20], "lieu": 18, "lign": [16, 18, 19, 20], "lik": [1, 15, 16], "liked": [1, 14, 15], "likes_count": [1, 14, 15], "lim": [16, 20], "limit": [4, 16, 18], "lin": [17, 20], "link": 16, "lint": 20, "linux": 20, "lir": 16, "list": [1, 8, 15, 16, 17, 19, 20], "listen": 20, "ll": 20, "load": [16, 23], "loading": 16, "local": [0, 16, 19, 20], "localhost": [16, 20], "localis": [0, 20], "localiz": 16, "locat": [0, 5, 14, 20], "log": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 23], "log_d": 20, "logfil": 20, "logged": 0, "login": [0, 16], "logo": 20, "logout": [0, 16], "long": 16, "longitud": 15, "longu": [4, 9, 16, 18], "longueur": 15, "lor": [0, 17, 18], "lorsqu": [0, 16, 17, 20], "lu": [7, 18], "lukasitaly": 16, "lund": [0, 12, 18], "mailhog": 20, "mainten": [16, 20], "majeur": 16, "majuscul": 15, "mak": [16, 20], "makefil": 20, "malformed": 0, "manag": [16, 17], "mani": [18, 20], "manqu": 16, "manually_approves_follower": 0, "manuel": 18, "map": [13, 14, 15, 16, 18, 19], "map_attribu": [2, 20], "map_id": 15, "map_til": 15, "map_visibility": [0, 14, 15], "mar": [0, 4, 14, 16, 20], "mara21": 16, "march": [16, 18], "mariusz": 16, "mariuz": 16, "mark": [7, 16], "markdown": [16, 18], "marked_as_read": 7, "marker": 16, "marqu": [7, 18], "masqu": [14, 18], "match": 0, "matching": 16, "mati": 18, "max": [2, 5, 14, 15, 16, 17], "max_alt": [13, 14, 15], "max_single_file_siz": 2, "max_speed": [13, 14, 15], "max_speed_from": 15, "max_speed_to": 15, "max_user": 2, "max_zip_file_siz": 2, "maximal": [2, 9, 15, 16, 17, 18], "maximum": [2, 18], "may": 16, "md": 16, "measur": 16, "meilleur": 21, "mensuel": [16, 18], "mention": [0, 1, 7, 18, 20], "menu": [16, 18], "merc": 16, "messag": [0, 2, 5, 8, 14, 15, 16, 17, 18, 20, 21], "mesur": 16, "met": 15, "mettr": [1, 2, 7, 14, 15, 16, 17, 18, 20], "mi": 16, "microsecond": 16, "migrat": [16, 17, 20], "min": 16, "min_alt": [13, 14, 15], "minimal": [15, 16, 18, 20, 21], "minimum": [0, 2, 3, 10, 11, 12, 14], "minor": 16, "minuscul": 15, "minut": 20, "mis": [0, 4, 11, 14, 15, 16, 18, 21], "missing": [0, 16], "mm": 0, "mmm": 0, "mmy3qpl3vcfukjgffbncjv": 0, "mo": 18, "mobil": [16, 19], "mod": 16, "modal": 16, "model": 16, "moder": [10, 12, 14, 16], "moderator": [10, 14, 16, 17], "modif": [0, 18, 19], "modifi": [0, 3, 4, 10, 11, 17, 18, 20, 21], "modification_dat": [1, 13, 14, 15], "modify": 16, "modul": [16, 20], "moin": [4, 7, 10, 13, 15], "mois": [12, 16, 18], "moment": [0, 15, 16, 18], "mond": 18, "mondstern": 16, "mono": 16, "month": [12, 16], "monthly": 16, "mor": 16, "morning": 15, "mot": [0, 14, 17, 18, 20], "mountain": 11, "mountaineering": 16, "mous": 16, "mov": 16, "moving": [13, 14, 15, 16], "moyen": [9, 12, 15, 16, 18, 20], "mult": 20, "multipart": [0, 8, 15], "multipl": 16, "must": [0, 2, 4, 14, 15, 16], "mv": 20, "my": 4, "mynixos": 20, "mzydicyyfktg3gga2x8afu": 1, "m\u00e9thod": [8, 20, 21], "m\u00e9triqu": 18, "m\u00e9t\u00e9o": [16, 18], "m\u00eam": [16, 18, 20], "nag": 18, "naissanc": 0, "nam": [8, 16, 18], "nano": 20, "navig": [0, 16, 18, 20], "nb": 0, "nb_sport": [0, 5, 14], "nb_workout": [0, 1, 5, 7, 10, 14, 15], "nbsp": 20, "nederland": 16, "need": 20, "net": 20, "netinstall": 22, "nettoi": 16, "network": 20, "new": [0, 4, 14, 16], "new_email": 14, "new_password": 0, "next": 16, "next_workout": [13, 14, 15], "nginx": [16, 18, 20, 21, 23], "ni": 18, "nic": 1, "niveau": [1, 4, 16, 18], "nixpkg": 20, "nl": 0, "no": [0, 1, 4, 8, 14, 15, 16], "no_gpx": 15, "nod": 20, "nofollow": 20, "noir": 17, "nom": [0, 5, 8, 10, 12, 14, 16, 17, 18, 20], "nombr": [2, 5, 14, 15, 17, 18, 20], "nomenclatur": 16, "non": [0, 3, 4, 7, 8, 10, 11, 12, 15, 16, 18, 19, 20], "noopen": 20, "noreferr": 20, "norv\u00e9gien": [16, 18], "norwegian": 16, "nosuchmoduleerror": 23, "not": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 20], "notat": 20, "notif": [0, 6, 16, 20, 21], "notification_id": 7, "notification_preferent": 0, "notification_typ": 7, "nouveau": [0, 16, 17, 18, 20, 21], "nouveaut": 18, "nouvel": [0, 4, 14, 17, 18, 20], "nov": [1, 15], "now": 17, "null": [0, 1, 2, 4, 5, 7, 10, 11, 13, 14, 15, 16], "numb": [2, 16, 20], "nuv9cy8vqonrqkhtz5pqaq2zw7msh0mornpjr14amswd6f6": 8, "n\u00e9cessair": [15, 18, 20], "n\u00e9cessit": [16, 20, 21], "n\u00e9cessitent": [20, 21], "n\u00e9erland": [16, 18], "n\u00e9gat": [15, 18], "o22a27s2abpuoxjbxv3ujdox": 8, "oauth": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 19, 20], "oauth2": [6, 21], "oauthlib": 21, "object_id": 10, "object_typ": 10, "objet": [0, 1, 2, 3, 4, 7, 10, 11, 14, 15], "obligatoir": [4, 8, 10, 12, 15, 16, 17, 20, 21], "obten": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 21], "octet": 0, "of": [0, 2, 4, 15, 16, 20, 21], "office365": 20, "offset": 16, "ok": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "oliverpiffer": 16, "omis": 20, "once": [0, 1, 15], "ondrejzivny": 16, "one": [0, 15], "onglet": 21, "ongoing": 0, "only": [0, 1, 15, 16, 18], "open": [16, 18, 19], "openstreetmap": [2, 16, 20], "opentrack": 19, "option": [16, 17, 20], "optionnel": [4, 7, 8, 20], "or": [0, 1, 2, 3, 4, 7, 11, 13, 14, 15, 16], "order": [5, 7, 10, 14, 15, 16], "order_by": [10, 14, 15], "ordre": [5, 7, 10, 14, 15], "org": [2, 20], "origin": 18, "osm": 20, "osmfr": 20, "other": [0, 4, 14, 16], "out": 0, "outdoor": [16, 20], "outil": [18, 19, 20], "ouvr": 20, "over": 16, "overlap": 16, "own": 10, "owner": [14, 16, 17, 20], "o\u00f9": [4, 18, 20], "packag": [16, 20], "packaged": 16, "paf38": 16, "pag": [0, 1, 5, 7, 8, 10, 13, 14, 15, 16], "pagin": [0, 1, 5, 7, 8, 10, 13, 14, 15], "paquet": [16, 20], "par_pag": 14, "paragliding": 16, "paralleliz": 16, "paramet": [4, 20], "parameter": [4, 16], "parametr": [0, 1, 3, 4, 5, 7, 8, 10, 11, 12, 13, 14, 15, 16, 18, 21], "parapent": 18, "pareck": 21, "paris": 0, "parm": [16, 20], "pars": 16, "part": [0, 15, 16, 18, 19, 21, 22], "particuli": 18, "partiel": 16, "pass": [0, 14, 17, 18, 20], "password": [0, 16, 17, 20], "passwordwith": 20, "patch": [0, 1, 2, 3, 4, 7, 10, 11, 14, 15], "paus": [13, 14, 15, 16], "payload": [0, 1, 2, 3, 8, 10, 11, 14, 15], "pem": 20, "pending": 7, "per": [16, 20], "per_pag": [5, 14, 15], "perform": 18, "period": 12, "perm": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "permet": [4, 16, 17, 18, 19, 21], "permettent": 18, "permettr": 21, "personnalis": [16, 18], "personnel": 18, "petit": 16, "peut": [0, 1, 3, 4, 8, 11, 12, 14, 15, 16, 17, 18, 20, 21], "peuvent": [0, 16, 18, 19, 20], "pg_dump": 20, "pictur": [0, 1, 5, 7, 10, 14, 15, 16], "piec": 4, "pied": [16, 18], "pil": 16, "ping": 2, "pip": 20, "pipenv": 16, "pkce": [8, 21], "plateform": 20, "pleas": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "plein": [18, 19], "plugin": 23, "pluj": 16, "plupart": 21, "plus": [4, 9, 16, 17, 18, 19, 20, 23], "plusieur": [16, 18, 19, 20], "png": [0, 15, 20], "poesty": 16, "poetry": [16, 20], "point": [0, 2, 3, 4, 8, 11, 14, 16, 18, 20, 21], "policy": [0, 16], "polish": 16, "polit": [0, 2, 16], "polon": [16, 18], "pong": 2, "pooling": 20, "port": 20, "portug": [16, 18], "portugues": 16, "posit": [15, 16, 18], "possibl": [16, 18, 19, 20], "post": [0, 1, 4, 5, 7, 8, 10, 14, 15, 21], "postgr": [16, 23], "postgres_db": 20, "postgres_password": 20, "postgres_us": 20, "postgresql": [16, 20, 23], "postgresql10": 16, "pourquoi": 10, "pourr": [16, 20], "pouv": 16, "pr": 16, "preferent": [0, 16], "premi": 18, "prendr": [16, 18], "prepar": 16, "present": 16, "prevent": 20, "previous_workout": [13, 14, 15], "pris": [0, 8, 16, 17, 18, 20, 21], "priv": [16, 18], "privacy": [0, 16], "privacy_policy": 2, "privacy_policy_dat": 2, "privat": [0, 1, 4, 14, 15], "privileg": 20, "privkey": 20, "problem": [16, 18, 20], "proced": 20, "process": [16, 20], "processed": 0, "processus": 20, "prochain": [16, 18], "product": 16, "productionconfig": 20, "produir": 18, "profil": [0, 8, 10, 14, 16, 18, 21], "project": 20, "projet": 20, "propos": 16, "propr": [4, 14, 19], "propri\u00e9tair": [4, 16, 18, 20], "proto": [20, 21], "proven": 18, "provid": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "provided": [0, 1, 2, 4, 14, 15, 16], "provider": 16, "proxy": [20, 21], "proxy_add_x_forwarded_for": 20, "proxy_pass": 20, "proxy_redirect": 20, "proxy_set_head": [20, 21], "pr\u00e9c\u00e9dent": 16, "pr\u00e9f\u00e9rent": [0, 4, 14, 15, 17], "pr\u00e9nom": 0, "pr\u00e9requ": 16, "pr\u00e9sent": 18, "pr\u00e9vers": 16, "pr\u00eat": 20, "psjeexbjz2jjnqctcpxvvf": 15, "publi": [18, 20], "public": [0, 1, 4, 15, 18], "publiqu": 1, "publish": 16, "puiss": 21, "puissent": [16, 18], "pull": 20, "pwd": 20, "py": 20, "python": [16, 20, 21], "p\u00e9riod": [12, 18, 20], "q": 14, "qrj7by6h2iyjsv8sersfgv": 4, "quand": [14, 16], "quant": 16, "quelqu": [4, 5, 7, 10, 13, 14, 15, 16, 18, 21], "queu": 20, "qwerty287": 16, "r": 20, "rafra\u00eech": 8, "raison": [0, 10], "randon": [16, 18], "rapport": 16, "rapporteur": 10, "raquet": 18, "rat": [16, 20], "reactivated": 10, "read": [0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 21], "read_status": 7, "readm": 16, "real": 20, "reason": [0, 10, 14], "rebuild": 16, "recalcul": [4, 18], "recevoir": 18, "recherch": 16, "recommand": [8, 20, 21], "record": [0, 5, 6, 13, 14, 15, 16, 18], "record_typ": [0, 9, 13, 14, 15], "red": [16, 17, 20], "redirect": [8, 16, 21], "redirect_ur": 8, "redirig": [8, 21], "redis_d": 20, "redis_url": 20, "red\u00e9marr": 20, "refacto": 16, "refactoris": 16, "refresh": 4, "refresh_token": 8, "refreshed": 16, "regist": 0, "registr": [0, 16], "registry": 20, "regl": 18, "reject": 5, "rejected": 5, "rejet": [5, 10, 18, 20], "rel": 20, "relat": [14, 18], "relev": 16, "remaining": 16, "remarqu": 20, "remote_addr": 20, "remov": 16, "remplac": [15, 16, 18, 20], "rencontr": 20, "renomm": 16, "renvoi": [0, 7, 8, 10, 13, 14, 15, 18], "replac": 16, "report": [10, 21], "report_act": 10, "report_id": [10, 14], "reported_by": 10, "reported_comment": 10, "reported_us": 10, "reported_workout": 10, "requ": [0, 20, 21], "request": [0, 1, 2, 3, 4, 5, 8, 10, 11, 12, 14, 15, 20, 21], "request_ur": 20, "requested": 0, "required": 0, "requiring": 16, "requis": 4, "requ\u00eat": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 21], "resend": 0, "resent": 0, "reset": [0, 16, 17], "reset_password": 14, "resetting": 16, "resolu": 16, "resolved": 10, "resolved_at": 10, "resolved_by": 10, "respons": 16, "response_typ": [8, 21], "rest": [16, 18, 21], "restart": 20, "restartsec": 20, "restent": 18, "restreint": 18, "result": 16, "retir": 18, "retourn": [1, 9, 12], "return": [16, 20], "return_equipment": 15, "revok": 8, "revoked": 0, "reworked": 16, "re\u00e7u": [5, 7, 18], "rid": 16, "right": [14, 16, 18], "roehv64thcg28wcewzhrnvlusoduvw8nvnhkcml57": 8, "rol": [0, 1, 7, 10, 14, 15, 16, 17, 20], "rout": [16, 20], "ruff": 16, "run": 20, "runn": 19, "running": 11, "russ": [16, 18], "russian": 16, "r\u00e9activ": 18, "r\u00e9cent": 18, "r\u00e9cuper": [15, 18, 20, 21], "r\u00e9dact": 18, "r\u00e9duit": 16, "r\u00e9initialis": [0, 14, 17, 18, 20], "r\u00e9pertoir": [0, 20], "r\u00e9pons": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "r\u00e9solu": 18, "r\u00e9solus": 10, "r\u00e9tro": 20, "r\u00e9trograd": 16, "r\u00e9uss": 0, "r\u00e9voqu": 8, "r\u00f4l": [2, 3, 10, 11, 12, 14, 17, 18, 20], "s256": [8, 21], "sam": [0, 1, 4, 5, 9, 10, 13, 14, 15, 16], "samr1": 20, "san": [0, 1, 5, 7, 8, 10, 12, 13, 14, 15, 16, 18, 19, 20], "sanction": [0, 14, 18], "sat": 14, "sauf": [14, 20], "sauvegard": 20, "sav": [1, 4, 10, 16], "schem": [20, 21], "scop": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "screen": 16, "script": 16, "search": 16, "second": [4, 15], "secret": [8, 20, 21], "section": 16, "security": 16, "see": [16, 20], "seem": 16, "segment": [13, 14, 15, 16, 18], "segment_id": 15, "selected": [0, 15], "selon": [0, 16, 18, 20], "semain": [0, 12, 18], "send": 16, "sender_email": 20, "sending": 16, "sent": 14, "ser": [0, 4, 15, 16, 17, 18, 20], "serv": [0, 1, 2, 3, 4, 5, 7, 10, 11, 13, 14, 15, 16, 20], "server_nam": 20, "serveur": [15, 16, 18, 19, 23], "servic": [16, 20], "session": 21, "set": [16, 17, 20], "setting": 20, "seuil": [0, 18], "seul": [0, 1, 4, 8, 12, 14, 15, 16, 18, 20, 21], "sh": 22, "shel": 20, "sho": [3, 4], "should": 16, "show": [16, 17, 20], "shown": 16, "shura0": 16, "si": [0, 1, 4, 5, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 23], "sien": 14, "signal": [6, 14, 16, 18, 21], "signatur": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "sikm": 16, "simontb": 16, "simpl": 20, "simplifi": [16, 18], "simplified": [16, 21], "simplify": 16, "sinon": [18, 20], "sit": [8, 21], "siz": [0, 2, 15, 16, 20], "ski": 18, "skis": [3, 18], "skylan0916": 16, "slothj": 16, "slow": 16, "small": 16, "smtp": [16, 20, 23], "snowsho": [3, 16], "social": 16, "som": 16, "sombr": [0, 18], "sorry": 0, "sort": 21, "sorting": 15, "soum": 20, "sourc": 18, "sous": [15, 20], "spanish": 16, "special": 16, "specific": 20, "specify": 16, "speed": [15, 16], "spinn": 16, "sport": [0, 2, 4, 6, 12, 15, 16, 20], "sport_id": [0, 4, 9, 11, 12, 13, 14, 15], "sport_label": 4, "sportiv": [18, 19], "sports_list": [0, 5, 14], "sp\u00e9cial": 20, "sp\u00e9cif": 18, "sql": 20, "sqlalchemy": [16, 20, 23], "ssl": 20, "ssl_certificat": 20, "ssl_certificate_key": 20, "stabl": 16, "standard": [16, 20], "standarderror": 20, "standardiz": 16, "standardoutput": 20, "start": 16, "start_elevation_at_zero": 0, "startlimitintervalsec": 20, "starttl": 20, "stat": [8, 12, 16, 21], "static": 16, "staticmap": 20, "staticmap_subdomain": [16, 20], "statiqu": [18, 20], "statist": [2, 6], "statistic": [2, 12, 16], "stats_workouts_lim": 2, "status": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18], "statut": [4, 14, 17], "sticky": 16, "stock": [18, 19, 21], "stop": 20, "stopp": 20, "stopped": 16, "stopped_speed_threshold": [0, 11], "strateg": 20, "strav": 22, "street": [18, 19], "strength": 16, "string": [0, 1, 2, 4, 5, 7, 8, 10, 11, 12, 14, 15], "styl": 16, "subdomain": 16, "succes": [0, 3, 4, 5, 8, 11, 12, 14, 15], "success": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "successful": 0, "successfully": 0, "such": 16, "suiv": [0, 6, 9, 14, 18, 20, 21, 22, 23], "suivent": 20, "suivr": [14, 16, 18, 19], "sun": [0, 1, 9, 10, 13, 14, 15], "sunday": 15, "supplied": 4, "suppl\u00e9mentair": 18, "support": [8, 16, 20, 21, 23], "suppress": [4, 16, 20], "supprim": [0, 1, 4, 8, 14, 15, 16, 17, 18], "suspended": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "suspended_at": [0, 1, 7, 10, 14, 15], "suspendr": 18, "suspendu": [0, 3, 4, 8, 11, 14, 18], "suspendus": 14, "suspens": [0, 1, 14, 15, 18, 20], "swimming": 16, "swimrun": [16, 18], "switch": 16, "synchronis": 22, "syntax": [16, 18], "syslog": 20, "syslogidentifi": 20, "system": [18, 20], "systemd": 20, "s\u00e9anc": [0, 1, 2, 4, 6, 10, 11, 12, 14, 16, 19, 21, 22, 24], "s\u00e9cur": 21, "s\u00e9lection": [0, 18], "s\u00e9mant": 20, "s\u00e9par": [18, 20, 21], "t2zeeuxvuy3pla8meeufyk": 1, "tabl": 16, "tag": 16, "taill": [0, 2, 18, 20], "taken": [0, 16], "tant": 4, "tar": 20, "target": 20, "task": 20, "tchequ": [16, 18], "temp": 12, "term": 16, "test": [16, 20], "text": [0, 1, 10, 14, 15, 18], "text_html": 1, "text_visibility": 1, "textar": 16, "than": [2, 14, 16], "thank": 16, "that": [0, 4, 16], "the": [0, 1, 3, 4, 7, 11, 13, 14, 15, 16, 20], "their": 10, "them": [0, 16, 18], "this": [15, 17, 20], "thovi98": 16, "threshold": 16, "thu": [5, 8, 14], "thunderforest": [16, 20], "ticket": 19, "tient": 15, "tier": [18, 19], "tierc": [15, 18, 21], "til": [16, 20], "tile_server_url": 20, "tim": [12, 15, 16], "timelin": [13, 16], "timeout": [20, 23], "timezon": [0, 16], "titl": [13, 14, 15, 16], "titr": [15, 18], "tl": [16, 20], "to": [0, 2, 4, 12, 14, 15, 16, 20, 22], "token": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 21], "token_typ": 8, "too": [0, 15], "tool": 16, "tooling": 16, "tooltip": 16, "total": [0, 4, 5, 7, 8, 10, 12, 14, 15, 16, 18], "total_ascent": [0, 12], "total_dist": [0, 4, 5, 12, 14], "total_dur": [0, 4, 5, 12, 14], "total_moving": 4, "total_workout": 12, "toujour": 18, "tous": [0, 3, 4, 7, 8, 9, 11, 12, 14, 16, 18, 20], "tout": [4, 12, 16, 18, 20], "trac": [18, 20], "track": 16, "tracke": 20, "traduit": 18, "trail": 18, "trailing": 16, "train": 3, "trait": [0, 17], "translat": 16, "translated": 16, "transport": [11, 16, 18], "traxy": 16, "trekking": [16, 18], "tri": [5, 7, 10, 14, 15, 18], "tronqu": 15, "trouv": [3, 4, 8, 11, 15, 16], "tru": [0, 1, 2, 3, 4, 7, 8, 10, 11, 14, 15, 16, 20], "try": [0, 1, 3, 4, 7, 11, 13, 14, 15], "tuil": [15, 16, 18], "typ": [0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20], "typescript": 20, "typo": 16, "typos": 16, "t\u00e2ch": 20, "t\u00e9l\u00e9charg": [0, 15, 17, 18, 20, 24], "t\u00e9l\u00e9vers": [16, 18, 20], "t\u00eat": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 21], "u": 20, "uberspac": 20, "ubuntu": 20, "ui": 16, "ui_url": 20, "unauthenticated": 16, "unauthorized": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "unblock": 14, "uncommenting": 20, "underscor": 0, "undo": [1, 14, 15], "unfollow": 14, "uniqu": [0, 1, 8, 14, 16, 17, 18, 20, 21], "unit": [0, 16, 20], "unitair": 18, "unread": 7, "unresolved": 10, "unwanted": 16, "up": [16, 19, 20], "updat": [0, 4, 15, 16, 20], "updated": [0, 4, 16], "updated_at": [0, 10, 14], "updating": 2, "upgrad": [16, 20], "upload": [16, 20, 22], "upload_d": 20, "upload_fold": [20, 23], "uploaded": [2, 16, 20], "uploading": 16, "uploads_dir_siz": 12, "uri": [16, 20], "url": [0, 8, 16, 18, 20, 21, 23], "urtzai": 16, "usag": [17, 20], "use": 16, "use_dark_mod": 0, "use_raw_gpx_speed": 0, "used": 16, "user": [0, 1, 2, 4, 5, 9, 10, 12, 13, 14, 15, 16, 18, 20, 21], "user_id": [0, 4], "user_nam": [5, 12, 14], "user_suspens": [0, 10], "user_unsuspens": 10, "user_warning": 10, "usernam": [0, 1, 5, 7, 10, 14, 15, 16, 17, 20], "using": 16, "utcnow": 16, "util": [16, 18], "utilis": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 20, 21], "utility": 20, "uuid": [15, 16], "v0": 20, "v2": 20, "v3": 19, "valeur": [0, 4, 8, 15, 17, 18, 20, 21, 23], "valid": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20, 23], "validat": 16, "valu": [0, 9, 10, 13, 14, 15, 16], "variabl": [16, 23], "various": 16, "vent": 18, "venv": 20, "ver": [8, 16, 20, 21], "verrouill": 18, "version": [2, 17, 18, 20, 21], "veuill": [16, 18, 20], "vi": [14, 18], "vid": [15, 17, 20], "view": [16, 20], "virgul": 20, "virtual": 16, "virtualenv": [16, 20], "virtuel": [18, 20], "visibil": [0, 1, 4, 15, 16, 18], "visibility": [4, 16], "visibl": [1, 13, 18], "visual": [18, 20], "visualcrossing": 16, "visualis": [16, 18], "vite_app_api_url": 20, "vitess": [0, 9, 15, 16, 18, 20], "voir": [4, 16, 18, 20, 21, 23], "volum": 20, "volumin": [18, 23], "voodoopt": 16, "votr": [19, 20], "vtt": [15, 16, 18], "vu": [16, 20], "vue3": 20, "vue_app_api_url": 20, "vuex": 20, "v\u00e9lo": [16, 18], "v\u00e9rif": [8, 16, 21, 23], "v\u00e9rifi": [11, 20, 23], "walking": 11, "want": 20, "wantedby": 20, "was": [0, 4], "wat": 16, "weath": 16, "weather_ap": 20, "weather_api_key": 20, "weather_api_provid": [16, 20], "weather_end": [13, 14, 15], "weather_provid": 2, "weather_start": [13, 14, 15], "web": [0, 8, 19, 20, 21], "weblat": [16, 18], "websit": 8, "wed": [0, 7, 10, 14, 15], "week": [12, 16], "weekend": 16, "weekm": [0, 12], "wget": 20, "when": [2, 16], "whit": 16, "who": 16, "wiktor": 16, "wind": 16, "with": [0, 4, 15, 16, 20], "with_analys": 15, "with_following": 14, "with_gpx": [13, 14, 15], "with_hidden_user": 14, "with_inact": 14, "with_suspended": 14, "without": [4, 15, 16], "wjgtwtqfpnprhyak5ex9pw": 1, "work": [16, 20, 23], "worker": [16, 17, 20], "workers_process": 20, "workflow": 16, "workingdirectory": 20, "workout": [0, 1, 2, 4, 8, 9, 10, 11, 12, 13, 14, 15, 16, 21], "workout_comment": 0, "workout_dat": [0, 9, 13, 14, 15], "workout_id": [0, 1, 9, 10, 13, 14, 15], "workout_lik": 0, "workout_short_id": [1, 15], "workout_suspens": [10, 14], "workout_unsuspens": 10, "workout_visibility": [14, 15], "workouts_count": [4, 14], "workouts_visibility": [0, 14], "writ": [0, 1, 2, 3, 4, 5, 7, 8, 10, 11, 14, 15, 21], "www": [2, 20], "x": [0, 15, 16, 20, 21], "xmgz": 16, "xml": 15, "xxxx": 20, "xzf": 20, "yarn": 20, "year": 12, "yml": 20, "you": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20], "your": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "yyyy": 0, "z": [15, 20], "z2ze5qzrnmvmndejpphask": 10, "zero": 16, "zh": 16, "zip": [0, 2, 15, 16, 18], "zon": 16, "zoom": 15, "z\u00e9ro": [0, 18], "\u00c0": 20, "\u00e9chang": 21, "\u00e9chapp": [15, 16], "\u00e9chec": 24, "\u00e9cran": 16, "\u00e9cras": 20, "\u00e9critur": 21, "\u00e9gal": [14, 16, 17, 18, 19, 20], "\u00e9lectr": 18, "\u00e9lectron": [0, 2, 14, 17, 18, 20], "\u00e9lev": [9, 18, 20], "\u00e9mettr": 8, "\u00e9miss": 8, "\u00e9quip": [0, 6, 15, 16, 21], "\u00e9tap": 20, "\u00e9tat": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18], "\u00e9valu": 16, "\u00e9ven": 18, "\u00e9ventuel": 4, "\u00e9vit": [8, 16, 18], "\u00eatre": [0, 4, 8, 14, 15, 16, 17, 18, 19, 20, 21, 23], "\u0153uvr": 21}, "titles": ["Authentification et compte", "Commentaires", "Configuration", "Types d\u2019\u00e9quipement", "\u00c9quipements", "Demandes de suivi", "Documentation de l\u2019API", "Notifications", "OAuth2", "Records", "Signalements", "Sports", "Statistiques", "Flux de s\u00e9ances", "Utilisateurs", "S\u00e9ances", "Historique des modifications", "Interface de ligne de commande", "Fonctionnalit\u00e9s", "FitTrackee", "Installation", "OAuth 2.0", "Outils tiers", "Administrateur", "D\u00e9pannage"], "titleterms": {"0": [16, 21], "01": 16, "02": 16, "03": 16, "04": 16, "05": 16, "06": 16, "07": 16, "08": 16, "09": 16, "0b1": 16, "0b2": 16, "0b3": 16, "0b4": 16, "0b5": 16, "0b6": 16, "1": 16, "10": 16, "11": 16, "12": 16, "13": 16, "14": 16, "15": 16, "16": 16, "17": 16, "18": 16, "19": 16, "2": [16, 21], "20": 16, "2018": 16, "2019": 16, "2020": 16, "2021": 16, "2022": 16, "2023": 16, "2024": 16, "2025": 16, "21": 16, "22": 16, "23": 16, "24": 16, "25": 16, "26": 16, "27": 16, "28": 16, "29": 16, "3": 16, "30": 16, "31": 16, "32": 16, "4": 16, "5": 16, "6": 16, "7": 16, "8": 16, "9": 16, "Les": 23, "a": [18, 20], "acces": [6, 20], "administr": [16, 18, 23], "affich": 23, "am\u00e9lior": 16, "api": [6, 20], "appliqu": 18, "authentif": 0, "bas": 17, "bord": 18, "bug": 16, "captur": 18, "cart": 23, "charg": 23, "clean": 17, "clean_arch": 17, "clean_token": 17, "command": 17, "commentair": [1, 18], "compos": 20, "compt": [0, 18], "confidential": 18, "configur": [2, 18], "correct": 16, "corrig": 16, "courriel": 20, "creat": 17, "dan": 23, "db": 17, "demand": 5, "disponibl": 16, "diver": 16, "dock": 20, "document": [6, 16], "don": [17, 20], "drop": 17, "d\u00e9marr": 23, "d\u00e9pannag": 24, "d\u00e9pend": 20, "d\u00e9ploi": 20, "d\u00e9tail": [18, 23], "d\u00e9velopp": 20, "environ": 20, "export_arch": 17, "ferm": 16, "fichi": 23, "fittracke": [16, 19, 23], "flux": [13, 21], "fonctionnal": [16, 18], "franc": 16, "ftcli": 17, "histor": 16, "imag": 23, "import": 22, "install": [20, 22], "interact": 18, "interfac": 17, "jour": 20, "lign": 17, "lik": 18, "limit": 20, "list": 18, "mati": 19, "mineur": 16, "mis": 20, "mobil": 18, "moder": 18, "modif": 16, "m\u00e9t\u00e9o": 20, "nixos": 20, "notif": [7, 18], "nouvel": 16, "oauth": [18, 21], "oauth2": [8, 17], "outil": 22, "pag": 18, "part": 20, "point": 6, "polit": 18, "premi": 16, "principal": 20, "product": 20, "propos": 18, "pr\u00e9f\u00e9rent": 18, "pr\u00e9requ": 20, "pull": 16, "pyp": [16, 20], "record": 9, "request": 16, "ressourc": 21, "r\u00e9pertoir": 18, "scop": 21, "script": 22, "serveur": 20, "signal": 10, "sourc": 20, "sport": [11, 18], "statist": [12, 16, 18], "suiv": 5, "s\u00e9anc": [13, 15, 18, 23], "s\u00e9cur": 16, "tabl": 19, "tableau": 18, "ticket": 16, "tier": 22, "traduct": [16, 18], "tuil": 20, "typ": [3, 18], "t\u00e9l\u00e9charg": 23, "updat": 17, "upgrad": 17, "user": 17, "utilis": [14, 17, 18], "variabl": 20, "version": 16, "yunohost": 20, "\u00e9chec": 23, "\u00e9cran": 18, "\u00e9quip": [3, 4, 18]}}) \ No newline at end of file +Search.setIndex({"alltitles": {"A partir de PyPI": [[20, "from-pypi"], [20, "id3"]], "A partir des sources": [[20, "from-sources"], [20, "id4"]], "A propos": [[18, "about"]], "Administrateur": [[23, null]], "Administration": [[18, "administration"], [18, "id8"]], "Application": [[18, "application"]], "Applications OAuth": [[18, "oauth-apps"]], "Authentification et compte": [[0, null]], "Base de donn\u00e9es": [[17, "database"]], "Bugs corrig\u00e9s": [[16, "bugs-fixed"], [16, "id4"], [16, "id8"], [16, "id10"], [16, "id15"], [16, "id18"], [16, "id20"], [16, "id22"], [16, "id30"], [16, "id33"], [16, "id36"], [16, "id41"], [16, "id47"], [16, "id52"], [16, "id56"], [16, "id59"], [16, "id61"], [16, "id65"], [16, "id69"], [16, "id73"], [16, "id76"], [16, "id79"], [16, "id82"], [16, "id83"], [16, "id86"], [16, "id88"], [16, "id90"], [16, "id93"], [16, "id96"], [16, "id104"], [16, "id107"], [16, "id110"], [16, "id113"], [16, "id125"], [16, "id130"], [16, "id132"], [16, "id136"], [16, "id139"], [16, "id142"], [16, "id144"], [16, "id147"], [16, "id150"], [16, "id152"], [16, "id155"], [16, "id158"], [16, "id161"], [16, "id166"], [16, "id168"], [16, "id170"], [16, "id172"], [16, "id175"], [16, "id177"], [16, "id183"], [16, "id186"], [16, "id188"], [16, "id190"], [16, "id197"], [16, "id202"], [16, "id204"], [16, "id206"], [16, "id209"], [16, "id211"], [16, "id213"], [16, "id217"], [16, "id227"], [16, "id230"], [16, "id232"], [16, "id235"], [16, "id242"]], "Captures d\u2019\u00e9cran": [[18, "screenshots"]], "Commentaires": [[1, null], [18, "comments"]], "Compte et pr\u00e9f\u00e9rences": [[18, "account-preferences"]], "Configuration": [[2, null], [18, "configuration"]], "Courriels": [[20, "emails"]], "Demandes de suivi": [[5, null]], "Divers": [[16, "misc"], [16, "id2"], [16, "id6"], [16, "id11"], [16, "id13"], [16, "id19"], [16, "id23"], [16, "id25"], [16, "id28"], [16, "id32"], [16, "id39"], [16, "id43"], [16, "id46"], [16, "id50"], [16, "id54"], [16, "id58"], [16, "id63"], [16, "id67"], [16, "id71"], [16, "id78"], [16, "id81"], [16, "id85"], [16, "id87"], [16, "id91"], [16, "id98"], [16, "id101"], [16, "id109"], [16, "id116"], [16, "id127"], [16, "id129"], [16, "id145"], [16, "id159"], [16, "id162"], [16, "id179"], [16, "id181"], [16, "id198"], [16, "id207"], [16, "id214"], [16, "id218"], [16, "id225"], [16, "id236"], [16, "id239"]], "Docker": [[20, "docker"]], "Docker Compose": [[20, "docker-compose"]], "Documentation": [[16, "documentation"], [16, "id100"], [16, "id134"]], "Documentation de l\u2019API": [[6, null]], "Donn\u00e9es m\u00e9t\u00e9o": [[20, "weather-data"]], "D\u00e9pannage": [[24, null]], "D\u00e9pendances principales": [[20, "main-dependencies"]], "D\u00e9ploiement": [[20, "deployment"]], "D\u00e9veloppement": [[20, "development"]], "Environnement de production": [[20, "prod-environment"]], "Environnements de d\u00e9veloppement": [[20, "dev-environment"], [20, "id5"]], "Environnements de production": [[20, "production-environment"]], "FitTrackee": [[19, null]], "FitTrackee ne d\u00e9marre pas": [[23, "fittrackee-fails-to-start"]], "Flux": [[21, "flow"]], "Flux de s\u00e9ances": [[13, null]], "Fonctionnalit\u00e9s": [[16, "features"], [16, "id154"], [16, "id164"], [16, "id174"], [18, null]], "Fonctionnalit\u00e9s et am\u00e9liorations": [[16, "features-and-enhancements"], [16, "id3"], [16, "id7"], [16, "id9"], [16, "id14"], [16, "id17"], [16, "id21"], [16, "id26"], [16, "id29"], [16, "id35"], [16, "id40"], [16, "id44"], [16, "id51"], [16, "id55"], [16, "id64"], [16, "id68"], [16, "id72"], [16, "id75"], [16, "id92"], [16, "id95"], [16, "id103"], [16, "id106"], [16, "id112"], [16, "id117"], [16, "id119"], [16, "id121"], [16, "id124"], [16, "id135"], [16, "id141"]], "Historique des modifications": [[16, null]], "Installation": [[20, null], [20, "id2"]], "Interactions": [[18, "interactions"]], "Interface de ligne de commande": [[17, null]], "Les images de la carte ne sont pas affich\u00e9es mais la carte est affich\u00e9e dans le d\u00e9tail de la s\u00e9ance": [[23, "map-images-are-not-displayed-but-map-is-shown-in-workout-detail"]], "Limitation d\u2019acc\u00e8s \u00e0 l\u2019API": [[20, "api-rate-limits"]], "Liste des s\u00e9ances": [[18, "workouts-list"]], "Mise \u00e0 jour": [[20, "upgrade"]], "Mod\u00e9ration": [[18, "moderation"]], "NixOS": [[20, "nixos"]], "Notifications": [[7, null], [18, "notifications"], [18, "id7"]], "Nouvelles fonctionnalit\u00e9s": [[16, "new-features"], [16, "id192"], [16, "id194"], [16, "id196"], [16, "id201"], [16, "id216"], [16, "id220"], [16, "id222"], [16, "id224"], [16, "id229"], [16, "id234"], [16, "id238"], [16, "id241"], [16, "id244"]], "OAuth 2.0": [[21, null]], "OAuth2": [[8, null], [17, "oauth2"]], "Outils d\u2019importation": [[22, "import-tools"]], "Outils tiers": [[22, null]], "Page de d\u00e9tail d\u2019une s\u00e9ance": [[18, "workout-detail"]], "Points d'acc\u00e8s :": [[6, null]], "Politique de confidentialit\u00e9": [[18, "privacy-policy"]], "Production": [[20, "production"]], "Pr\u00e9requis": [[20, "prerequisites"]], "Pull Requests": [[16, "pull-requests"], [16, "id148"], [16, "id151"], [16, "id167"], [16, "id176"], [16, "id180"], [16, "id184"], [16, "id199"]], "Records": [[9, null]], "Ressources": [[21, "resources"]], "R\u00e9pertoire des utilisateurs": [[18, "users-directory"]], "Scopes": [[21, "scopes"]], "Scripts d\u2019installation": [[22, "installation-scripts"]], "Serveur de tuiles": [[20, "map-tile-server"]], "Signalements": [[10, null]], "Sports": [[11, null], [18, "sports"], [18, "id3"]], "Statistiques": [[12, null], [18, "statistics"], [18, "id5"]], "S\u00e9ances": [[15, null], [18, "workouts"], [18, "id1"]], "S\u00e9curit\u00e9": [[16, "security"]], "Table des mati\u00e8res": [[19, "table-of-contents"]], "Tableau de bord": [[18, "dashboard"], [18, "id4"]], "Tableau de bord sur mobile": [[18, "dashboard-on-mobile"]], "Tickets Ferm\u00e9s": [[16, "issues-closed"], [16, "id146"], [16, "id149"], [16, "id153"], [16, "id157"], [16, "id160"], [16, "id163"], [16, "id165"], [16, "id169"], [16, "id171"], [16, "id173"], [16, "id178"], [16, "id182"], [16, "id185"], [16, "id187"], [16, "id189"], [16, "id191"], [16, "id193"], [16, "id195"], [16, "id200"], [16, "id203"], [16, "id205"], [16, "id208"], [16, "id210"], [16, "id212"], [16, "id215"], [16, "id219"], [16, "id221"], [16, "id223"], [16, "id226"], [16, "id228"], [16, "id231"], [16, "id233"], [16, "id237"], [16, "id240"], [16, "id243"]], "Traductions": [[16, "translations"], [16, "id1"], [16, "id5"], [16, "id12"], [16, "id16"], [16, "id24"], [16, "id27"], [16, "id31"], [16, "id34"], [16, "id37"], [16, "id38"], [16, "id42"], [16, "id45"], [16, "id48"], [16, "id49"], [16, "id53"], [16, "id57"], [16, "id60"], [16, "id62"], [16, "id66"], [16, "id70"], [16, "id74"], [16, "id77"], [16, "id80"], [16, "id84"], [16, "id89"], [16, "id94"], [16, "id97"], [16, "id99"], [16, "id102"], [16, "id105"], [16, "id108"], [16, "id111"], [16, "id114"], [16, "id115"], [16, "id118"], [16, "id120"], [16, "id122"], [16, "id123"], [16, "id126"], [16, "id128"], [16, "id131"], [16, "id133"], [16, "id137"], [16, "id138"], [16, "id140"], [16, "id143"], [16, "id156"], [18, "translations"]], "Types d\u2019\u00e9quipement": [[3, null], [18, "equipment-types"]], "Utilisateurs": [[14, null], [17, "users"], [18, "users"], [18, "id2"]], "Variables d\u2019environnement": [[20, "environment-variables"]], "Version 0.1.0 - Premi\u00e8re version \ud83c\udf89 (04/07/2018)": [[16, "version-0-1-0-first-release-2018-07-04"]], "Version 0.1.1 - Corrections et am\u00e9liorations (07/02/2019)": [[16, "version-0-1-1-fix-and-improvements-2019-02-07"]], "Version 0.2.0 - Statistiques (07/07/2019)": [[16, "version-0-2-0-statistics-2019-07-07"]], "Version 0.2.1 - Correction et am\u00e9liorations (01/09/2019)": [[16, "version-0-2-1-fix-and-improvements-2019-09-01"]], "Version 0.2.2 - Corrections des statistiques (23/09/2019)": [[16, "version-0-2-2-statistics-fix-2019-09-23"]], "Version 0.2.3 - FitTrackee disponible en Fran\u00e7ais (29/12/2019)": [[16, "version-0-2-3-fittrackee-available-in-french-2019-12-29"]], "Version 0.2.4 - Corrections mineures (30/01/2020)": [[16, "version-0-2-4-minor-fix-2020-01-30"]], "Version 0.2.5 - Corrections et am\u00e9liorations (31/01/2020)": [[16, "version-0-2-5-fix-and-improvements-2020-01-31"]], "Version 0.3.0 - Administration (15/07/2020)": [[16, "version-0-3-0-administration-2020-07-15"]], "Version 0.4.0 - FitTrackee sur PyPI (19/09/2020)": [[16, "version-0-4-0-fittrackee-on-pypi-2020-09-19"]], "Version 0.4.1 (31/12/2020)": [[16, "version-0-4-1-2020-12-31"]], "Version 0.4.2 (03/01/2021)": [[16, "version-0-4-2-2021-01-03"]], "Version 0.4.3 (10/01/2021)": [[16, "version-0-4-3-2021-01-10"]], "Version 0.4.4 (31/01/2021)": [[16, "version-0-4-4-2021-01-31"]], "Version 0.4.5 (17/02/2021)": [[16, "version-0-4-5-2021-02-17"]], "Version 0.4.6 (21/02/2021)": [[16, "version-0-4-6-2021-02-21"]], "Version 0.4.7 (07/04/2021)": [[16, "version-0-4-7-2021-04-07"]], "Version 0.4.8 (03/07/2021)": [[16, "version-0-4-8-2021-07-03"]], "Version 0.4.9 (16/07/2021)": [[16, "version-0-4-9-2021-07-16"]], "Version 0.5.0 (14/11/2021)": [[16, "version-0-5-0-2021-11-14"]], "Version 0.5.1 (30/11/2021)": [[16, "version-0-5-1-2021-11-30"]], "Version 0.5.2 (19/12/2021)": [[16, "version-0-5-2-2021-12-19"]], "Version 0.5.3 (01/01/2022)": [[16, "version-0-5-3-2022-01-01"]], "Version 0.5.4 (01/01/2022)": [[16, "version-0-5-4-2022-01-01"]], "Version 0.5.5 (19/01/2022)": [[16, "version-0-5-5-2022-01-19"]], "Version 0.5.6 (05/02/2022)": [[16, "version-0-5-6-2022-02-05"]], "Version 0.5.7 (13/02/2022)": [[16, "version-0-5-7-2022-02-13"]], "Version 0.6.0 (27/03/2022)": [[16, "version-0-6-0-2022-03-27"]], "Version 0.6.1 (27/03/2022)": [[16, "version-0-6-1-2022-03-27"]], "Version 0.6.10 (13/07/2022)": [[16, "version-0-6-10-2022-07-13"]], "Version 0.6.11 (27/02/2022)": [[16, "version-0-6-11-2022-07-27"]], "Version 0.6.12 (14/09/2022)": [[16, "version-0-6-12-2022-09-14"]], "Version 0.6.2 (03/04/2022)": [[16, "version-0-6-2-2022-04-03"]], "Version 0.6.3 (09/04/2022)": [[16, "version-0-6-3-2022-04-09"]], "Version 0.6.4 (23/04/2022)": [[16, "version-0-6-4-2022-04-23"]], "Version 0.6.5 (24/04/2022)": [[16, "version-0-6-5-2022-04-24"]], "Version 0.6.6 (29/05/2022)": [[16, "version-0-6-6-2022-05-29"]], "Version 0.6.7 (11/06/2022)": [[16, "version-0-6-7-2022-06-11"]], "Version 0.6.8 (22/06/2022)": [[16, "version-0-6-8-2022-06-22"]], "Version 0.6.9 (03/07/2022)": [[16, "version-0-6-9-2022-07-03"]], "Version 0.7.0 (19/09/2022)": [[16, "version-0-7-0-2022-09-19"]], "Version 0.7.1 (21/09/2022)": [[16, "version-0-7-1-2022-09-21"]], "Version 0.7.10 (21/12/2022)": [[16, "version-0-7-10-2022-12-21"]], "Version 0.7.11 (31/12/2022)": [[16, "version-0-7-11-2022-12-31"]], "Version 0.7.12 (16/02/2023)": [[16, "version-0-7-12-2023-02-16"]], "Version 0.7.13 (05/03/2023)": [[16, "version-0-7-13-2023-03-05"]], "Version 0.7.14 (08/03/2023)": [[16, "version-0-7-14-2023-03-08"]], "Version 0.7.15 (12/04/2023)": [[16, "version-0-7-15-2023-04-12"]], "Version 0.7.16 (29/05/2023)": [[16, "version-0-7-16-2023-05-29"]], "Version 0.7.17 (03/06/2023)": [[16, "version-0-7-17-2023-06-03"]], "Version 0.7.18 (25/06/2023)": [[16, "version-0-7-18-2023-06-25"]], "Version 0.7.19 (15/07/2023)": [[16, "version-0-7-19-2023-07-15"]], "Version 0.7.2 (21/09/2022)": [[16, "version-0-7-2-2022-09-21"]], "Version 0.7.20 (22/07/2023)": [[16, "version-0-7-20-2023-07-22"]], "Version 0.7.21 (30/07/2023)": [[16, "version-0-7-21-2023-07-30"]], "Version 0.7.22 (23/08/2023)": [[16, "version-0-7-22-2023-08-23"]], "Version 0.7.23 (14/09/2023)": [[16, "version-0-7-23-2023-09-14"]], "Version 0.7.24 (04/10/2023)": [[16, "version-0-7-24-2023-10-04"]], "Version 0.7.25 (08/10/2023)": [[16, "version-0-7-25-2023-10-08"]], "Version 0.7.26 (19/11/2023)": [[16, "version-0-7-26-2023-11-19"]], "Version 0.7.27 (20/12/2023)": [[16, "version-0-7-27-2023-12-20"]], "Version 0.7.28 (23/12/2023)": [[16, "version-0-7-28-2023-12-23"]], "Version 0.7.29 (04/01/2024)": [[16, "version-0-7-29-2024-01-06"]], "Version 0.7.3 (01/11/2022)": [[16, "version-0-7-3-2022-11-01"]], "Version 0.7.30 (04/02/2024)": [[16, "version-0-7-30-2024-02-04"]], "Version 0.7.31 (10/02/2024)": [[16, "version-0-7-31-2024-02-10"]], "Version 0.7.32 (10/03/2024)": [[16, "version-0-7-32-2024-03-10"]], "Version 0.7.4 (05/11/2022)": [[16, "version-0-7-4-2022-11-05"]], "Version 0.7.5 (09/11/2022)": [[16, "version-0-7-5-2022-11-09"]], "Version 0.7.6 (09/11/2022)": [[16, "version-0-7-6-2022-11-09"]], "Version 0.7.7 (27/11/2022)": [[16, "version-0-7-7-2022-11-27"]], "Version 0.7.8 (30/11/2022)": [[16, "version-0-7-8-2022-11-30"]], "Version 0.7.9 (11/12/2022)": [[16, "version-0-7-9-2022-12-11"]], "Version 0.8.0 (21/04/2024)": [[16, "version-0-8-0-2024-04-21"]], "Version 0.8.1 (01/05/2024)": [[16, "version-0-8-1-2024-05-01"]], "Version 0.8.10 (09/10/2024)": [[16, "version-0-8-10-2024-10-09"]], "Version 0.8.11 (30/10/2024)": [[16, "version-0-8-11-2024-10-30"]], "Version 0.8.12 (17/11/2024)": [[16, "version-0-8-12-2024-11-17"]], "Version 0.8.13 (29/12/2024)": [[16, "version-0-8-13-2024-12-29"]], "Version 0.8.2 (08/05/2024)": [[16, "version-0-8-2-2024-05-08"]], "Version 0.8.3 (09/05/2024)": [[16, "version-0-8-3-2024-05-09"]], "Version 0.8.4 (22/05/2024)": [[16, "version-0-8-4-2024-05-22"]], "Version 0.8.5 (29/06/2024)": [[16, "version-0-8-5-2024-06-29"]], "Version 0.8.6 (03/08/2024)": [[16, "version-0-8-6-2024-08-03"]], "Version 0.8.7 (25/08/2024)": [[16, "version-0-8-7-2024-08-25"]], "Version 0.8.8 (01/09/2024)": [[16, "version-0-8-8-2024-09-01"]], "Version 0.8.9 (21/09/2024)": [[16, "version-0-8-9-2024-09-21"]], "Version 0.9.0 (18/01/2025)": [[16, "version-0-9-0-2025-01-18"]], "Version 0.9.0b1 (14/12/2024)": [[16, "version-0-9-0b1-2024-12-14"]], "Version 0.9.0b2 (14/12/2024)": [[16, "version-0-9-0b2-2024-12-14"]], "Version 0.9.0b3 (18/12/2024)": [[16, "version-0-9-0b3-2024-12-18"]], "Version 0.9.0b4 (23/12/2024)": [[16, "version-0-9-0b4-2024-12-23"]], "Version 0.9.0b5 (30/12/2024)": [[16, "version-0-9-0b5-2024-12-30"]], "Version 0.9.0b6 (05/01/2025)": [[16, "version-0-9-0b6-2025-01-05"]], "Version 0.9.1 (02/02/2025)": [[16, "version-0-9-1-2025-02-02"]], "Version 0.9.2 (12/02/2025)": [[16, "version-0-9-2-2025-02-12"]], "Yunohost": [[20, "yunohost"]], "ftcli db drop": [[17, "ftcli-db-drop"]], "ftcli db upgrade": [[17, "ftcli-db-upgrade"]], "ftcli oauth2 clean": [[17, "ftcli-oauth2-clean"]], "ftcli users clean_archives": [[17, "ftcli-users-clean-archives"]], "ftcli users clean_tokens": [[17, "ftcli-users-clean-tokens"]], "ftcli users create": [[17, "ftcli-users-create"]], "ftcli users export_archives": [[17, "ftcli-users-export-archives"]], "ftcli users update": [[17, "ftcli-users-update"]], "\u00ab\u00a0Likes\u00a0\u00bb": [[18, "likes"]], "\u00c9chec du chargement ou du t\u00e9l\u00e9chargement de fichiers": [[23, "failed-to-upload-or-download-files"]], "\u00c9quipements": [[4, null], [18, "equipments"], [18, "id6"]]}, "docnames": ["api/auth", "api/comments", "api/configuration", "api/equipment_types", "api/equipments", "api/follow_requests", "api/index", "api/notifications", "api/oauth2", "api/records", "api/reports", "api/sports", "api/stats", "api/timeline", "api/users", "api/workouts", "changelog", "cli", "features", "index", "installation", "oauth", "third_party_tools", "troubleshooting/administrator", "troubleshooting/index"], "envversion": {"sphinx": 62, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2}, "filenames": ["api/auth.rst", "api/comments.rst", "api/configuration.rst", "api/equipment_types.rst", "api/equipments.rst", "api/follow_requests.rst", "api/index.rst", "api/notifications.rst", "api/oauth2.rst", "api/records.rst", "api/reports.rst", "api/sports.rst", "api/stats.rst", "api/timeline.rst", "api/users.rst", "api/workouts.rst", "changelog.md", "cli.rst", "features.rst", "index.rst", "installation.rst", "oauth.rst", "third_party_tools.rst", "troubleshooting/administrator.rst", "troubleshooting/index.rst"], "indexentries": {"api_rate_limits": [[20, "envvar-API_RATE_LIMITS", false]], "app_log": [[20, "envvar-APP_LOG", false]], "app_port": [[20, "envvar-APP_PORT", false]], "app_secret_key": [[20, "envvar-APP_SECRET_KEY", false]], "app_settings": [[20, "envvar-APP_SETTINGS", false]], "app_workers": [[20, "envvar-APP_WORKERS", false]], "database_dir": [[20, "envvar-DATABASE_DIR", false]], "database_disable_pooling": [[20, "envvar-DATABASE_DISABLE_POOLING", false]], "database_url": [[20, "envvar-DATABASE_URL", false]], "default_staticmap": [[20, "envvar-DEFAULT_STATICMAP", false]], "email_url": [[20, "envvar-EMAIL_URL", false]], "flask_app": [[20, "envvar-FLASK_APP", false]], "host": [[20, "envvar-HOST", false]], "log_dir": [[20, "envvar-LOG_DIR", false]], "map_attribution": [[20, "envvar-MAP_ATTRIBUTION", false]], "port": [[20, "envvar-PORT", false]], "postgres_db": [[20, "envvar-POSTGRES_DB", false]], "postgres_password": [[20, "envvar-POSTGRES_PASSWORD", false]], "postgres_user": [[20, "envvar-POSTGRES_USER", false]], "redis_dir": [[20, "envvar-REDIS_DIR", false]], "redis_url": [[20, "envvar-REDIS_URL", false]], "sender_email": [[20, "envvar-SENDER_EMAIL", false]], "staticmap_subdomains": [[20, "envvar-STATICMAP_SUBDOMAINS", false]], "tile_server_url": [[20, "envvar-TILE_SERVER_URL", false]], "ui_url": [[20, "envvar-UI_URL", false]], "upload_dir": [[20, "envvar-UPLOAD_DIR", false]], "upload_folder": [[20, "envvar-UPLOAD_FOLDER", false]], "variable d'environnement": [[20, "envvar-API_RATE_LIMITS", false], [20, "envvar-APP_LOG", false], [20, "envvar-APP_PORT", false], [20, "envvar-APP_SECRET_KEY", false], [20, "envvar-APP_SETTINGS", false], [20, "envvar-APP_WORKERS", false], [20, "envvar-DATABASE_DIR", false], [20, "envvar-DATABASE_DISABLE_POOLING", false], [20, "envvar-DATABASE_URL", false], [20, "envvar-DEFAULT_STATICMAP", false], [20, "envvar-EMAIL_URL", false], [20, "envvar-FLASK_APP", false], [20, "envvar-HOST", false], [20, "envvar-LOG_DIR", false], [20, "envvar-MAP_ATTRIBUTION", false], [20, "envvar-PORT", false], [20, "envvar-POSTGRES_DB", false], [20, "envvar-POSTGRES_PASSWORD", false], [20, "envvar-POSTGRES_USER", false], [20, "envvar-REDIS_DIR", false], [20, "envvar-REDIS_URL", false], [20, "envvar-SENDER_EMAIL", false], [20, "envvar-STATICMAP_SUBDOMAINS", false], [20, "envvar-TILE_SERVER_URL", false], [20, "envvar-UI_URL", false], [20, "envvar-UPLOAD_DIR", false], [20, "envvar-UPLOAD_FOLDER", false], [20, "envvar-VITE_APP_API_URL", false], [20, "envvar-WEATHER_API_KEY", false], [20, "envvar-WEATHER_API_PROVIDER", false], [20, "envvar-WORKERS_PROCESSES", false]], "vite_app_api_url": [[20, "envvar-VITE_APP_API_URL", false]], "weather_api_key": [[20, "envvar-WEATHER_API_KEY", false]], "weather_api_provider \ud83c\udd95": [[20, "envvar-WEATHER_API_PROVIDER", false]], "workers_processes": [[20, "envvar-WORKERS_PROCESSES", false]]}, "objects": {"": [[10, 0, 1, "patch--api-appeals-(string-appeal_id)", "/api/appeals/(string:appeal_id)"], [0, 1, 1, "post--api-auth-account-confirm", "/api/auth/account/confirm"], [0, 2, 1, "get--api-auth-account-export", "/api/auth/account/export"], [0, 2, 1, "get--api-auth-account-export-(string-file_name)", "/api/auth/account/export/(string:file_name)"], [0, 1, 1, "post--api-auth-account-export-request", "/api/auth/account/export/request"], [0, 1, 1, "post--api-auth-account-privacy-policy", "/api/auth/account/privacy-policy"], [0, 1, 1, "post--api-auth-account-resend-confirmation", "/api/auth/account/resend-confirmation"], [0, 2, 1, "get--api-auth-account-sanctions-(string-action_short_id)", "/api/auth/account/sanctions/(string:action_short_id)"], [0, 1, 1, "post--api-auth-account-sanctions-(string-action_short_id)-appeal", "/api/auth/account/sanctions/(string:action_short_id)/appeal"], [0, 2, 1, "get--api-auth-account-suspension", "/api/auth/account/suspension"], [0, 1, 1, "post--api-auth-account-suspension-appeal", "/api/auth/account/suspension/appeal"], [0, 2, 1, "get--api-auth-blocked-users", "/api/auth/blocked-users"], [0, 1, 1, "post--api-auth-email-update", "/api/auth/email/update"], [0, 1, 1, "post--api-auth-login", "/api/auth/login"], [0, 1, 1, "post--api-auth-logout", "/api/auth/logout"], [0, 1, 1, "post--api-auth-password-reset-request", "/api/auth/password/reset-request"], [0, 1, 1, "post--api-auth-password-update", "/api/auth/password/update"], [0, 3, 1, "delete--api-auth-picture", "/api/auth/picture"], [0, 1, 1, "post--api-auth-picture", "/api/auth/picture"], [0, 2, 1, "get--api-auth-profile", "/api/auth/profile"], [0, 1, 1, "post--api-auth-profile-edit", "/api/auth/profile/edit"], [0, 0, 1, "patch--api-auth-profile-edit-account", "/api/auth/profile/edit/account"], [0, 1, 1, "post--api-auth-profile-edit-notifications", "/api/auth/profile/edit/notifications"], [0, 1, 1, "post--api-auth-profile-edit-preferences", "/api/auth/profile/edit/preferences"], [0, 1, 1, "post--api-auth-profile-edit-sports", "/api/auth/profile/edit/sports"], [0, 3, 1, "delete--api-auth-profile-reset-sports-(sport_id)", "/api/auth/profile/reset/sports/(sport_id)"], [0, 1, 1, "post--api-auth-register", "/api/auth/register"], [1, 3, 1, "delete--api-comments-(string-comment_short_id)", "/api/comments/(string:comment_short_id)"], [1, 2, 1, "get--api-comments-(string-comment_short_id)", "/api/comments/(string:comment_short_id)"], [1, 0, 1, "patch--api-comments-(string-comment_short_id)", "/api/comments/(string:comment_short_id)"], [1, 1, 1, "post--api-comments-(string-comment_short_id)-like", "/api/comments/(string:comment_short_id)/like"], [1, 1, 1, "post--api-comments-(string-comment_short_id)-like-undo", "/api/comments/(string:comment_short_id)/like/undo"], [1, 2, 1, "get--api-comments-(string-comment_short_id)-likes", "/api/comments/(string:comment_short_id)/likes"], [1, 1, 1, "post--api-comments-(string-comment_short_id)-suspension-appeal", "/api/comments/(string:comment_short_id)/suspension/appeal"], [2, 2, 1, "get--api-config", "/api/config"], [2, 0, 1, "patch--api-config", "/api/config"], [3, 2, 1, "get--api-equipment-types", "/api/equipment-types"], [3, 2, 1, "get--api-equipment-types-(int-equipment_type_id)", "/api/equipment-types/(int:equipment_type_id)"], [3, 0, 1, "patch--api-equipment-types-(int-equipment_type_id)", "/api/equipment-types/(int:equipment_type_id)"], [4, 2, 1, "get--api-equipments", "/api/equipments"], [4, 1, 1, "post--api-equipments", "/api/equipments"], [4, 3, 1, "delete--api-equipments-(string-equipment_short_id)", "/api/equipments/(string:equipment_short_id)"], [4, 2, 1, "get--api-equipments-(string-equipment_short_id)", "/api/equipments/(string:equipment_short_id)"], [4, 0, 1, "patch--api-equipments-(string-equipment_short_id)", "/api/equipments/(string:equipment_short_id)"], [4, 1, 1, "post--api-equipments-(string-equipment_short_id)-refresh", "/api/equipments/(string:equipment_short_id)/refresh"], [5, 2, 1, "get--api-follow-requests", "/api/follow-requests"], [5, 1, 1, "post--api-follow-requests-(user_name)-accept", "/api/follow-requests/(user_name)/accept"], [5, 1, 1, "post--api-follow-requests-(user_name)-reject", "/api/follow-requests/(user_name)/reject"], [7, 2, 1, "get--api-notifications", "/api/notifications"], [7, 0, 1, "patch--api-notifications-(string-notification_id)", "/api/notifications/(string:notification_id)"], [7, 1, 1, "post--api-notifications-mark-all-as-read", "/api/notifications/mark-all-as-read"], [7, 2, 1, "get--api-notifications-types", "/api/notifications/types"], [7, 2, 1, "get--api-notifications-unread", "/api/notifications/unread"], [8, 2, 1, "get--api-oauth-apps", "/api/oauth/apps"], [8, 1, 1, "post--api-oauth-apps", "/api/oauth/apps"], [8, 3, 1, "delete--api-oauth-apps-(int-client_id)", "/api/oauth/apps/(int:client_id)"], [8, 2, 1, "get--api-oauth-apps-(int-client_id)-by_id", "/api/oauth/apps/(int:client_id)/by_id"], [8, 1, 1, "post--api-oauth-apps-(int-client_id)-revoke", "/api/oauth/apps/(int:client_id)/revoke"], [8, 2, 1, "get--api-oauth-apps-(string-client_client_id)", "/api/oauth/apps/(string:client_client_id)"], [8, 1, 1, "post--api-oauth-authorize", "/api/oauth/authorize"], [8, 1, 1, "post--api-oauth-revoke", "/api/oauth/revoke"], [8, 1, 1, "post--api-oauth-token", "/api/oauth/token"], [2, 2, 1, "get--api-ping", "/api/ping"], [9, 2, 1, "get--api-records", "/api/records"], [10, 2, 1, "get--api-reports", "/api/reports"], [10, 1, 1, "post--api-reports", "/api/reports"], [10, 2, 1, "get--api-reports-(int-report_id)", "/api/reports/(int:report_id)"], [10, 0, 1, "patch--api-reports-(int-report_id)", "/api/reports/(int:report_id)"], [10, 1, 1, "post--api-reports-(int-report_id)-actions", "/api/reports/(int:report_id)/actions"], [10, 2, 1, "get--api-reports-unresolved", "/api/reports/unresolved"], [11, 2, 1, "get--api-sports", "/api/sports"], [11, 2, 1, "get--api-sports-(int-sport_id)", "/api/sports/(int:sport_id)"], [11, 0, 1, "patch--api-sports-(int-sport_id)", "/api/sports/(int:sport_id)"], [12, 2, 1, "get--api-stats-(user_name)-by_sport", "/api/stats/(user_name)/by_sport"], [12, 2, 1, "get--api-stats-(user_name)-by_time", "/api/stats/(user_name)/by_time"], [12, 2, 1, "get--api-stats-all", "/api/stats/all"], [13, 2, 1, "get--api-timeline", "/api/timeline"], [14, 2, 1, "get--api-users", "/api/users"], [14, 3, 1, "delete--api-users-(user_name)", "/api/users/(user_name)"], [14, 2, 1, "get--api-users-(user_name)", "/api/users/(user_name)"], [14, 0, 1, "patch--api-users-(user_name)", "/api/users/(user_name)"], [14, 1, 1, "post--api-users-(user_name)-block", "/api/users/(user_name)/block"], [14, 1, 1, "post--api-users-(user_name)-follow", "/api/users/(user_name)/follow"], [14, 2, 1, "get--api-users-(user_name)-followers", "/api/users/(user_name)/followers"], [14, 2, 1, "get--api-users-(user_name)-following", "/api/users/(user_name)/following"], [14, 2, 1, "get--api-users-(user_name)-picture", "/api/users/(user_name)/picture"], [14, 2, 1, "get--api-users-(user_name)-sanctions", "/api/users/(user_name)/sanctions"], [14, 1, 1, "post--api-users-(user_name)-unblock", "/api/users/(user_name)/unblock"], [14, 1, 1, "post--api-users-(user_name)-unfollow", "/api/users/(user_name)/unfollow"], [14, 2, 1, "get--api-users-(user_name)-workouts", "/api/users/(user_name)/workouts"], [15, 2, 1, "get--api-workouts", "/api/workouts"], [15, 1, 1, "post--api-workouts", "/api/workouts"], [15, 3, 1, "delete--api-workouts-(string-workout_short_id)", "/api/workouts/(string:workout_short_id)"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)", "/api/workouts/(string:workout_short_id)"], [15, 0, 1, "patch--api-workouts-(string-workout_short_id)", "/api/workouts/(string:workout_short_id)"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-chart_data", "/api/workouts/(string:workout_short_id)/chart_data"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-chart_data-segment-(int-segment_id)", "/api/workouts/(string:workout_short_id)/chart_data/segment/(int:segment_id)"], [1, 2, 1, "get--api-workouts-(string-workout_short_id)-comments", "/api/workouts/(string:workout_short_id)/comments"], [1, 1, 1, "post--api-workouts-(string-workout_short_id)-comments", "/api/workouts/(string:workout_short_id)/comments"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-gpx", "/api/workouts/(string:workout_short_id)/gpx"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-gpx-download", "/api/workouts/(string:workout_short_id)/gpx/download"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-gpx-segment-(int-segment_id)", "/api/workouts/(string:workout_short_id)/gpx/segment/(int:segment_id)"], [15, 1, 1, "post--api-workouts-(string-workout_short_id)-like", "/api/workouts/(string:workout_short_id)/like"], [15, 1, 1, "post--api-workouts-(string-workout_short_id)-like-undo", "/api/workouts/(string:workout_short_id)/like/undo"], [15, 2, 1, "get--api-workouts-(string-workout_short_id)-likes", "/api/workouts/(string:workout_short_id)/likes"], [15, 1, 1, "post--api-workouts-(string-workout_short_id)-suspension-appeal", "/api/workouts/(string:workout_short_id)/suspension/appeal"], [15, 2, 1, "get--api-workouts-map-(map_id)", "/api/workouts/map/(map_id)"], [15, 1, 1, "post--api-workouts-no_gpx", "/api/workouts/no_gpx"], [20, 4, 1, "-", "API_RATE_LIMITS"], [20, 4, 1, "-", "APP_LOG"], [20, 4, 1, "-", "APP_PORT"], [20, 4, 1, "-", "APP_SECRET_KEY"], [20, 4, 1, "-", "APP_SETTINGS"], [20, 4, 1, "-", "APP_WORKERS"], [20, 4, 1, "-", "DATABASE_DIR"], [20, 4, 1, "-", "DATABASE_DISABLE_POOLING"], [20, 4, 1, "-", "DATABASE_URL"], [20, 4, 1, "-", "DEFAULT_STATICMAP"], [20, 4, 1, "-", "EMAIL_URL"], [20, 4, 1, "-", "FLASK_APP"], [20, 4, 1, "-", "HOST"], [20, 4, 1, "-", "LOG_DIR"], [20, 4, 1, "-", "MAP_ATTRIBUTION"], [20, 4, 1, "-", "PORT"], [20, 4, 1, "-", "POSTGRES_DB"], [20, 4, 1, "-", "POSTGRES_PASSWORD"], [20, 4, 1, "-", "POSTGRES_USER"], [20, 4, 1, "-", "REDIS_DIR"], [20, 4, 1, "-", "REDIS_URL"], [20, 4, 1, "-", "SENDER_EMAIL"], [20, 4, 1, "-", "STATICMAP_SUBDOMAINS"], [20, 4, 1, "-", "TILE_SERVER_URL"], [20, 4, 1, "-", "UI_URL"], [20, 4, 1, "-", "UPLOAD_DIR"], [20, 4, 1, "-", "UPLOAD_FOLDER"], [20, 4, 1, "-", "VITE_APP_API_URL"], [20, 4, 1, "-", "WEATHER_API_KEY"], [20, 4, 1, "envvar-WEATHER_API_PROVIDER", "WEATHER_API_PROVIDER \ud83c\udd95"], [20, 4, 1, "-", "WORKERS_PROCESSES"]], "/api/workouts/map_tile/(s)/(z)/(x)/(y)": [[15, 2, 1, "get--api-workouts-map_tile-(s)-(z)-(x)-(y).png", "png"]]}, "objnames": {"0": ["http", "patch", "HTTP patch"], "1": ["http", "post", "HTTP post"], "2": ["http", "get", "HTTP get"], "3": ["http", "delete", "HTTP delete"], "4": ["std", "envvar", "variable d'environnement"]}, "objtypes": {"0": "http:patch", "1": "http:post", "2": "http:get", "3": "http:delete", "4": "std:envvar"}, "terms": {"0": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20], "00": [0, 1, 4, 5, 9, 13, 14, 15], "000": 18, "000000": 0, "01": [0, 1, 9, 10, 12, 13, 14, 15], "02": [5, 14, 15], "03": [14, 15], "04": [0, 7, 10, 13, 14, 15], "06": [4, 7, 8, 12, 14], "0667062": 8, "06ba975": 16, "07": [0, 7, 9, 13, 14, 15], "075aeb9": 16, "08": [0, 4, 7, 9, 13, 14, 15], "09": [0, 1, 7, 10, 14, 15], "0mb": [0, 15], "1": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 18, 20], "10": [0, 1, 2, 4, 5, 7, 9, 13, 14, 15, 18, 20], "100": [15, 16, 18], "1000": 12, "10000": [2, 15], "101": [12, 16], "104": [15, 16], "1048576": 2, "10485760": 2, "106": 16, "109": 16, "11": [0, 9, 14, 15, 18, 20], "112": 16, "113": 16, "115": 16, "116": 16, "12": [0, 9, 10, 14, 15, 20, 22], "121": 16, "123": 16, "1232004": 15, "12341": 12, "1234538": 15, "1239": 7, "125": 16, "126": 16, "1267": 12, "127": [16, 20], "129": 16, "12fb835fa26c": 7, "13": [0, 1, 9, 13, 14, 15, 17, 18, 20], "131": 16, "134": 16, "135": 16, "1375986": 16, "138": 16, "14": [0, 1, 8, 13, 14, 15], "140": 16, "145": 16, "146": 16, "149": 16, "15": [12, 15, 17, 18, 20], "150": 12, "151": 16, "152": 16, "155": 16, "156": [12, 16], "1563529507772": 15, "158": 15, "16": [1, 12, 14, 15, 18], "160": 16, "161": 16, "162": 16, "1658660147": 8, "167": 16, "169": 16, "17": [0, 5, 10, 13, 14, 15], "171": 16, "173": 16, "174240": 16, "175": 16, "177": 16, "178": [12, 16], "18": [0, 9, 10, 14, 15, 18, 20], "180": 16, "189071": 16, "19": [15, 18], "190": 16, "191": 16, "192": 16, "193": 16, "195": 16, "196": 16, "197": 16, "1m": 20, "1mb": 20, "1st": 16, "2": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20], "20": [14, 15, 18], "200": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20], "201": [0, 1, 4, 10, 15, 16], "2016": 15, "2017": [1, 12, 14, 15], "2018": [12, 13, 14, 15], "2019": [0, 9, 12, 13, 14, 15], "2021": [5, 14], "2022": 8, "2023": [0, 4, 14, 20], "2024": [0, 1, 7, 10, 14, 15], "203": 12, "204": [0, 1, 4, 8, 14, 15], "208": [15, 16], "209": 16, "21": [4, 10], "210": 16, "212": 16, "213": 16, "22": 15, "223": 16, "224": 16, "225": 16, "23": [15, 20], "230": 16, "231": [15, 16], "232": 16, "234": 15, "236": 16, "237": 16, "239": 16, "24": [1, 15, 20], "241": 16, "242": 16, "244": 16, "246": 16, "247": 16, "25": [10, 15, 20], "250": 16, "252": 16, "255": 15, "257": 16, "258": 16, "259": 16, "26": [15, 20], "260": 16, "261": 16, "2612cd9": 16, "264": 16, "265": 16, "266": 16, "26and": 20, "27": [0, 8, 10, 14, 15, 18], "270": 16, "271": 16, "273": 16, "274": 16, "275": 16, "278": 16, "279": [15, 16], "28": 4, "280": [15, 16], "282": [12, 16], "287": 16, "289": 16, "29": [4, 10], "290": 16, "2930": 15, "294": 16, "296": 16, "297": 16, "298": 16, "299": 16, "2bcff2e": 16, "2e1ee2c": 16, "2e9f9d": 16, "2ordfncv6vprkfp3yrcyht": [1, 15], "2ukrviyshoakg8qsuknus4": 4, "2ule2hwhsnycs2vhbsikb9": 14, "3": [0, 1, 3, 11, 12, 13, 14, 15, 18, 20], "30": [0, 10, 12, 15, 20], "300": 20, "3000": 20, "301": [16, 20], "304": 16, "305": 16, "307": 16, "308": 16, "31": [0, 1, 14, 15, 18, 20], "310": 16, "314": 16, "315": 16, "318": 16, "319": 16, "32": 15, "320": 16, "323": 16, "328": 16, "329": 16, "33": [12, 16], "3320": 12, "333": 16, "338": 16, "34": [1, 16], "34614d5": 16, "35": [0, 7, 15, 16], "350": 16, "351": 16, "352": 16, "354": 16, "355": 16, "356": 16, "357": 16, "358": 16, "359": 16, "36": 16, "365": 16, "366": 16, "367": 16, "369": 16, "37": 16, "370": 16, "371": 16, "374": 16, "375": 16, "376": 16, "377": 16, "38": 10, "380": 16, "381": 16, "382": 16, "3821e37": 16, "384": 16, "386": 16, "388": 16, "39": 15, "390": 16, "391": 16, "393": 16, "394": 16, "395": 16, "397": 16, "398": 16, "399": 16, "3aread": 21, "3awrit": 21, "3b6fa25": 16, "3c8d9c2": 16, "3f": 20, "4": [0, 3, 11, 12, 13, 14, 15, 17, 18, 20], "40": 16, "400": [0, 1, 2, 3, 4, 5, 8, 10, 11, 12, 14, 15, 16], "401": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "402": 16, "403": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "404": [0, 1, 3, 4, 5, 7, 8, 10, 11, 12, 14, 15, 16], "406": 16, "407": 16, "409": 16, "40and": 20, "41": [15, 16], "410": 16, "4109": 15, "411": 16, "413": [0, 15], "415": 16, "416": 16, "417": 16, "418": 16, "42": [15, 16], "421": 16, "422": 16, "426": 16, "427": [15, 16], "428": 16, "43": [0, 9, 13, 14, 15, 16], "431": 16, "433": 16, "435": 15, "436": 16, "438": 16, "44": [14, 15, 16], "441": 16, "443": 20, "444": 16, "449": 16, "44ff": 7, "45": [0, 1, 14, 15], "450": 16, "455": 16, "456": 16, "46": [12, 16], "464": 16, "465": 20, "468": 16, "469": 16, "47": [12, 15, 16], "471": 16, "472": 16, "473": 16, "474": 16, "475": 16, "476": 16, "477": 16, "478": [15, 16], "479": 16, "48": [5, 12, 14, 16], "481": 16, "482": 16, "484": 16, "488": 16, "489": 16, "49": [0, 10, 14], "490": 16, "494": 16, "495": 16, "496": 16, "499": [15, 16], "4c3fc34": 16, "5": [3, 8, 11, 12, 14, 15, 17, 18, 20], "50": [0, 4, 5, 12, 14, 16, 20], "500": [0, 1, 2, 3, 4, 5, 7, 10, 11, 13, 14, 15, 16], "5000": 20, "502": 16, "504": 16, "506": 16, "507": 16, "5078118": 15, "5079733": 15, "508": 16, "51": [13, 14, 15], "510": 16, "511": 16, "512": 16, "517587": 15, "51758b4": 16, "52": [1, 15, 16], "521": 16, "524": 16, "526": 16, "527": 16, "528": 16, "53": [8, 16], "530": 16, "531": 16, "532": 16, "533": 16, "534": 16, "536": 16, "537": 16, "538": 16, "54": 16, "540": 16, "542": 16, "543": 16, "5432": 20, "544": 16, "545": 16, "546": 16, "55": [14, 15], "550": 16, "551": 16, "555": 16, "556": 16, "557": 16, "558": 16, "56": [10, 16], "560627": 15, "563": 16, "564": 16, "565": 16, "566": 16, "57": [15, 16], "571": 16, "575": 16, "58": [0, 14, 16], "582": 16, "583": 16, "587": [16, 20], "588": 16, "59": [12, 14, 15, 16], "590": 16, "591": 16, "592": 16, "593": 16, "595": 16, "598": 16, "6": [0, 3, 4, 11, 14, 15, 17, 18, 20], "60": 16, "600": 16, "603": 16, "604": 16, "607": 16, "608": 16, "609": 16, "60e164d": 16, "61": 16, "610": 16, "612": 16, "613": 12, "614": 16, "616": 16, "617": 16, "618": 16, "62": 16, "620": 16, "621": [15, 16], "622": 16, "624": 16, "625": 16, "626": 16, "628": 16, "629": 16, "63": [15, 16], "631": 16, "633": 16, "634": 16, "635": 16, "636": 16, "637": 16, "639": [16, 17], "64": 16, "640": 16, "645": 16, "651": 16, "652": 16, "655": 16, "657": 16, "659": 16, "66": 16, "660": 16, "662": 16, "664": 16, "666": 16, "667": 16, "668": 16, "67": [0, 12, 14, 16], "671": 16, "673": 16, "674": 16, "675": 16, "677": 16, "678": 16, "680": 16, "682": 16, "683": 16, "685": 16, "688": 16, "690": 16, "691": 16, "692": 16, "695": 16, "696": 16, "697": 16, "6dxczvmrhkar72shuz9pwd": [0, 14], "6e215a": 16, "6nvxvayoh9zkr8rmxhu54t": 14, "7": [15, 17, 18, 20, 21], "70": 16, "700": 16, "702": 16, "705": 16, "707": 16, "708": 16, "709": 16, "71": 16, "711": 16, "712": 16, "72": 16, "720": 0, "73": 16, "7380": 15, "74": 16, "75": 16, "76": 16, "7641": 12, "78": 12, "79": 16, "7pdujhcvhya4hv29jzqngg": 0, "8": [0, 15, 17, 18, 20, 21], "80": [16, 20], "8025": 20, "81": 16, "82": 16, "83": 16, "84": 16, "85": 16, "864000": 8, "87": 16, "877fa0f": 16, "88": 16, "89": 16, "895": [0, 14], "8aa4cff": 16, "9": [0, 2, 9, 14, 15, 17, 18, 20, 21], "90": 16, "91": 16, "92": 16, "924": 0, "93": 16, "93706": 15, "95": [12, 16], "97": [0, 9, 13, 14, 15, 16], "98": 16, "981933": 15, "99": [12, 16], "9960": 12, "AS": [0, 9, 13, 14, 15], "Avec": 18, "Ce": [8, 16], "Cette": [16, 19, 20], "D": 20, "Des": [18, 20], "Du": 16, "EU": 16, "Elle": 18, "Elles": 20, "En": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19], "Et": 16, "Il": [0, 15, 16, 18, 19, 20, 21], "Ils": 21, "J": 16, "L": [0, 11, 16, 18, 20, 21], "La": [0, 15, 16, 17, 18, 20, 21, 23], "Le": [0, 4, 14, 16, 18, 20], "Les": [0, 9, 14, 15, 18, 19, 20, 21, 24], "M": 15, "MS": [0, 9, 13, 14, 15], "Mon": [13, 14, 15], "N": 16, "Ne": 14, "Par": [20, 21], "Pas": 16, "Pour": [15, 16, 18, 20, 21], "S": 18, "SA": 20, "Ses": 18, "Sur": 20, "Tue": [4, 15], "Un": [0, 3, 4, 8, 11, 14, 16, 18, 20], "Une": [16, 17, 18, 20, 23], "Y": [0, 12, 15], "_": [0, 16], "__main__": 20, "_blank": 20, "_like_": 0, "_workers_": 20, "a": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 19], "a012": 7, "a458f5f": 16, "aaron": 21, "ability": 16, "abon": [0, 18, 21], "about": [2, 16, 20], "absolu": [20, 23], "ac075ec36dc25dcc20c270d2005f0398": 15, "acced": [0, 3, 4, 8, 11, 12, 14, 18, 20, 21], "accept": [0, 5, 10, 16, 18], "accepted": 5, "accepted_policy": 0, "accepted_privacy_policy": 0, "acces": [0, 2, 3, 4, 8, 11, 14, 21], "access": [0, 16, 18], "access_token": 8, "accessibility": 16, "accessibl": [8, 16, 18, 20, 21], "accord": 21, "account": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "account_cre": 0, "actif": [0, 4, 17, 18], "action": [10, 16, 18], "action_short_id": 0, "action_typ": [0, 10, 14], "activ": [0, 2, 3, 11, 14, 16, 17, 18, 19, 20], "activat": [14, 17], "activit": 16, "activity": 16, "actuel": [0, 4], "adapt": [18, 20], "add": [16, 17], "added": [0, 4, 15, 16], "adding": 16, "additional": 16, "additionnel": 20, "admin": [2, 3, 5, 7, 9, 11, 12, 13, 14, 15, 17, 20], "admin_contact": 2, "administr": [0, 2, 3, 11, 14, 17, 20, 21, 24], "administrator": [0, 1, 3, 4, 7, 11, 13, 14, 15], "adress": [0, 2, 14, 17, 18, 20], "aff4d68": 16, "affect": [16, 18], "affich": [0, 15, 16, 17, 18, 19, 20, 21, 24], "affichag": 18, "affichent": 18, "afin": [16, 18, 21], "after": [16, 20], "again": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "agit": [15, 16], "agplv3": 16, "agre": 0, "aid": 19, "ains": [16, 18, 20], "air": [18, 19], "ajout": [0, 1, 14, 15, 16, 17, 18, 19, 20, 21, 22], "alert": 16, "all": [7, 12, 20], "allemand": [16, 18, 20], "allow": [16, 20], "allowed": [0, 15], "alor": 20, "alphanumer": 16, "alphanumeric": 0, "alpin": 18, "already": [0, 4, 5, 10, 16], "also": 16, "altern": 16, "altitud": [0, 16, 18], "alway": 20, "al\u00e9atoir": [17, 20], "amd64": 20, "an": [0, 8, 15, 16], "analys": [0, 15, 16, 18, 20], "analysis_visibility": [0, 15], "ancien": 20, "and": [0, 4, 16, 17, 20], "android": 19, "anglais": [0, 16, 17, 18, 20], "ann\u00e9": [12, 18], "anoth": 4, "antiali": 16, "anymor": 16, "apach": 19, "api": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 21], "api_rate_limit": 20, "apikey": 20, "app": [8, 16, 20, 21], "app_log": 20, "app_port": 20, "app_secret_key": 20, "app_setting": 20, "app_worker": 20, "appar": [0, 18], "appara\u00eetr": 18, "appeal": [0, 1, 10, 14, 15], "appeal_id": 10, "appel": [0, 1, 10, 15, 18, 20], "application_directory": 20, "appliqu": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, 20, 21], "apport": 16, "approb": 18, "approuv": 0, "approved": [0, 10, 14, 16], "apr": 15, "apres": [0, 8, 14, 16, 18, 20, 21], "archiv": [0, 2, 16, 17, 18, 20], "archive_rgjsr3fhr5yp": 0, "archive_rgjsr3fht295ywnqr5yp": 0, "archlinux": 20, "are": 16, "arg": [17, 20], "argument": [4, 17], "arm64": 20, "array": [0, 4, 8, 15], "arrow": 16, "arr\u00eat": [0, 14, 16, 18, 20], "asc": [5, 7, 10, 14, 15], "ascent": [13, 14, 15, 16], "asset": 20, "assign": 18, "associ": [0, 4, 8, 11, 15, 16, 17, 18], "associated": [4, 16], "assur": 21, "astridx": 16, "at": [16, 20], "atteint": 18, "attendu": 20, "attent": [15, 16, 20, 23], "attribu": 20, "attribut": 16, "aucun": [0, 4, 7, 10, 13, 14, 15, 18, 19, 20], "augment": 23, "aur": 16, "auteur": [1, 15, 18], "auth": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "auth_token": 0, "authentif": [1, 6, 14, 20, 21], "authentifi": [0, 1, 5, 7, 8, 9, 11, 12, 13, 14, 15, 18], "authlib": [8, 20, 21], "authoriz": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 21], "authorization_cod": [8, 21], "autoespcap": 16, "automat": [0, 18], "autoris": [0, 2, 8, 15, 20, 21], "autr": [0, 16, 18, 20], "avail": 16, "avanc": [16, 18], "avant": [16, 18, 20], "ave_speed": [13, 14, 15], "ave_speed_from": 15, "ave_speed_to": 15, "averag": [12, 16], "average_ascent": 12, "average_descent": 12, "average_dist": 12, "average_dur": 12, "average_speed": 12, "avert": [18, 20], "aviron": 18, "avoir": [11, 20], "awesom": 20, "axe": [15, 18], "axis": 16, "b": 20, "b1536fc": 16, "b224e17": 16, "b29ed7": 16, "b748459": 16, "b862a77": 16, "background": 16, "bad": [0, 1, 2, 3, 4, 5, 8, 10, 11, 12, 14, 15], "bas": [16, 18, 20, 23], "basqu": [16, 18], "bcc568e": 16, "be": [0, 2, 4, 14, 15, 16, 20], "be26f35": 7, "bear": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "been": 10, "below": 20, "besoin": 20, "bet": 16, "between": 16, "bibliothequ": 21, "bien": 18, "bik": [3, 4], "biking": [11, 15], "bin": 20, "bio": [0, 5, 14], "biograph": 0, "birth": 16, "birth_dat": [0, 5, 14], "bjornclauw": 16, "black": 16, "blacklist": 0, "blocag": 18, "block": [14, 16], "blocked": [0, 10, 14], "blocked_user": 0, "bloqu": [0, 14, 18], "boat": 18, "body": [16, 20], "bokm\u00e5l": [16, 18], "boolean": [0, 2, 3, 4, 7, 8, 10, 11, 14, 17], "boosterl": 16, "bound": [13, 14, 15], "bouton": 18, "branch": 18, "bref": 4, "brows": 16, "build": [16, 20], "bulgar": [16, 18], "bulgarian": 16, "button": 16, "by": [16, 20], "by_id": 8, "by_sport": 12, "by_tim": 12, "byakurau": 16, "b\u00eat": 16, "c88a515": 16, "cach": 18, "calcul": [0, 12, 16, 18], "calendar": 16, "calendri": [16, 18], "callback": [8, 21], "can": [0, 1, 10, 14, 15, 16, 18, 20, 23], "cannot": [4, 16], "caracter": [0, 4, 8, 15, 16, 20, 21], "card": 16, "cart": [0, 15, 16, 18, 19, 20, 24], "cas": [4, 8, 15, 18, 20], "cass": 20, "cb9d02f": 16, "cc": 20, "cc3fe1c": 16, "cc4287e": 16, "cd": 20, "cec": 16, "cel": [4, 16, 18, 20], "celui": [16, 20], "certain": [16, 17, 19, 20], "cf": [18, 19, 20], "chain": 20, "challeng": [8, 21], "champ": 16, "chang": [0, 4, 16, 18, 20], "changed": 16, "changing": 16, "chaqu": 18, "charact": 0, "character": [0, 4, 16], "charg": [0, 8, 16, 17, 18, 20, 21, 24], "chart": [15, 16, 20], "chart_dat": 15, "chaussur": 18, "cha\u00een": [8, 21], "check": 20, "check_workout": 11, "checkbox": 16, "checked": 16, "checking": 20, "chemin": [20, 23], "chiffr": [18, 20], "chines": 16, "chinois": [16, 18], "chois": [18, 20], "choos": 16, "ci": 16, "clair": 18, "cleanup": 16, "clear": 20, "cli": [14, 16, 17, 18, 20], "click": 16, "clickabl": 16, "clicking": 16, "client": [8, 14, 16, 18, 20, 21], "client_client_id": 8, "client_descript": 8, "client_id": [8, 21], "client_max_body_siz": [20, 23], "client_nam": 8, "client_secret": 8, "client_ur": 8, "clon": 20, "closing": 16, "cl\u00e9": [16, 18, 20], "co": 16, "cod": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 21], "code_challeng": [8, 21], "code_challenge_method": [8, 21], "code_verifi": 8, "coll": 20, "color": [0, 11, 16], "com": [0, 2, 8, 10, 14, 16, 20, 21], "comm": [7, 16, 18, 20], "command": [16, 18, 19, 20], "commenc": [0, 12, 16, 18, 20, 23], "commencent": 0, "commend": 16, "comment": [0, 1, 10, 15, 16, 18], "comment_id": 10, "comment_lik": 0, "comment_short_id": 1, "comment_suspens": 10, "comment_unsuspens": 10, "commentair": [0, 6, 10, 21], "compatibl": 20, "complet": [16, 18], "completed": 0, "compl\u00e9mentair": 16, "comport": 18, "comprend": 16, "compt": [6, 14, 15, 16, 17, 20, 22], "comradekingu": 16, "concern": 10, "condit": 20, "confidential": [0, 2, 16], "config": [2, 16, 20], "configur": [6, 16, 17, 20, 21, 23], "configured": 16, "confirm": [0, 8, 16, 18, 20], "confusedalex": 16, "connaiss": [16, 18], "connect": [0, 18], "connexion": [0, 20], "conserv": [19, 20], "consult": 18, "contact": [0, 1, 2, 3, 4, 7, 11, 13, 14, 15, 18], "contain": [16, 20], "containing": 16, "conten": [16, 18, 20], "conteneur": 20, "content": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "contenu": [1, 10, 18], "contenus": 18, "contient": [16, 18, 20], "continu": 20, "contr": 21, "contrair": [15, 18], "contributeur": [16, 20, 22], "contributing": 16, "contributor": [2, 20], "control": [16, 20], "contr\u00f4l": 2, "copi": 20, "copy": [2, 20], "copyright": [2, 20], "cor": 16, "corp": 21, "correctly": 16, "correspond": [0, 15, 20], "correspondr": 18, "could": 16, "couleur": [0, 18], "cour": [16, 17, 18, 19, 20], "courriel": [0, 14, 16, 18, 23], "cours": [16, 18], "court": [1, 4, 7, 15], "cp": 20, "creat": [16, 20], "create_app": 20, "created": [0, 1, 4, 8, 10, 15], "created_at": [0, 1, 5, 7, 10, 14, 15], "creation": 16, "creation_dat": [4, 13, 14, 15], "creativecommon": 20, "credential": 0, "criter": [10, 14], "criteri": 15, "critical": 23, "cross": [8, 21], "crossing": [18, 20], "cr\u00e9": [0, 1, 4, 8, 10, 15, 16, 17, 18, 20, 21], "cr\u00e9ation": [0, 16, 18], "csrf": [8, 21], "current": [0, 14, 16], "custom": 20, "cycling": [11, 15, 16], "czech": 16, "d743abf": 16, "dan": [0, 2, 4, 15, 16, 17, 18, 19, 20, 21, 24], "danielsiersleben": 16, "dark": 16, "darksky": [16, 20], "dashboard": 16, "dat": [0, 1, 2, 3, 4, 5, 8, 9, 11, 12, 13, 14, 15, 16, 18], "databas": [16, 17, 20], "database_d": 20, "database_disable_pooling": 20, "database_url": [20, 23], "date_format": 0, "date_string": 0, "datetim": 16, "davidhenrythoreau": 16, "day": [16, 17, 20], "db": 20, "dd": 0, "debian": [20, 22], "dec": [0, 1, 5, 7, 10, 14, 15], "default": [12, 15, 16, 20], "default_equipment_id": 0, "default_for_sport_id": 4, "default_staticmap": [16, 20], "definit": 16, "del": 23, "delet": [0, 1, 4, 8, 14, 15, 16], "deleted": 16, "deleting": 16, "demand": [0, 6, 10, 14, 16, 17, 18, 20, 21], "depending": 16, "deployment": 16, "deprecated": [16, 17], "depuis": [17, 20], "derni": [14, 16, 18, 20], "derri": 21, "desc": [5, 7, 10, 14, 15, 18], "descent": [13, 14, 15, 16], "descript": [4, 8, 13, 14, 15, 16, 17, 18, 20], "dessous": 16, "detail": [16, 20], "detailed": 16, "detect": 16, "deux": 17, "dev": 20, "development": 16, "df": 20, "diagnostic": 20, "dialect": 23, "differ": 18, "different": [14, 16], "diff\u00e9rent": [16, 18], "dimanch": [12, 18], "direct": [16, 18, 20], "directory": [16, 20], "disabl": 16, "disabled": 0, "discours": 18, "display": 16, "display_ascent": 0, "displayed": 16, "displaying": 16, "disponibl": [0, 9, 17, 18, 20, 21, 22], "dispos": [0, 18], "distanc": [0, 9, 13, 14, 15, 16, 18], "distance_from": 15, "distance_to": 15, "dkm": 16, "do": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "dock": 16, "dockerfil": 16, "dockerhub": 20, "docu": 16, "document": [19, 20, 21, 23], "doit": [0, 4, 8, 11, 15, 16, 18, 20, 21, 23], "doiv": 18, "doivent": [15, 20, 21], "domain": [15, 20], "don": [0, 8, 12, 14, 15, 16, 18, 19, 21, 23], "dont": [14, 18, 21], "dor\u00e9nav": 16, "dotenv": 16, "dotlambd": 16, "doubl": 15, "down": 16, "download": [0, 15, 16], "dperruso": 16, "dramatiq": [16, 17, 20], "droit": [0, 11, 14, 16, 17, 18, 20, 21], "drop": 16, "dropdown": 16, "dur": [9, 15, 16, 18], "durat": [13, 14, 15, 16], "duration_from": 15, "duration_to": 15, "during": [0, 1, 4, 10, 15], "dutch": 16, "d\u00e9": [3, 14], "d\u00e9bloqu": 14, "d\u00e9but": [12, 15], "d\u00e9connexion": 0, "d\u00e9criv": 10, "d\u00e9crivent": 20, "d\u00e9fault": [18, 20], "d\u00e9faut": [0, 1, 4, 5, 7, 8, 10, 13, 14, 15, 16, 17, 18, 20], "d\u00e9fin": [4, 16, 18, 21, 23], "d\u00e9j\u00e0": [15, 17], "d\u00e9livr": 8, "d\u00e9marr": [16, 20, 24], "d\u00e9marrag": 20, "d\u00e9nivel": [0, 9, 15, 18], "d\u00e9pannag": 19, "d\u00e9part": 18, "d\u00e9pend": 16, "d\u00e9plac": 16, "d\u00e9pr\u00e9ci": 17, "d\u00e9p\u00f4t": 20, "d\u00e9roul": 18, "d\u00e9sactiv": [0, 14, 16, 17, 18, 20], "d\u00e9sorm": 16, "d\u00e9tail": 24, "d\u00e9velopp": [16, 17, 18, 19], "e": 0, "e2e": 16, "ea0ac99": 16, "eau": 18, "edc677": 16, "edit": [0, 16], "editing": 16, "effectu": [16, 18], "elev": [15, 16], "elles": 15, "email": [0, 2, 10, 14, 16, 17, 23], "email_to_confirm": 0, "email_url": [20, 23], "empty": 16, "emp\u00each": 21, "encod": 20, "encoded": 16, "encor": [16, 19], "endpoint": 16, "enfin": 16, "enfreint": 18, "english": 16, "enlev": 4, "enregistr": [0, 17, 18, 21], "ensembl": 20, "ensuit": 21, "enter": 16, "enti": 8, "entity": [0, 15], "entrant": 18, "entra\u00een": [12, 15, 18], "entre": [4, 8, 18, 21], "entry": 16, "entr\u00e9": [14, 16, 18, 20, 21], "enumerat": 20, "env": [16, 20], "environ": [16, 17, 23], "environment": [16, 20, 23], "envoi": [0, 14, 16, 18, 20, 21], "equal": 2, "equipment": [0, 3, 4, 13, 14, 15, 16, 21], "equipment_id": [0, 15], "equipment_short_id": 4, "equipment_typ": [3, 4], "equipment_type_id": [3, 4], "equipment_type_label": 4, "erral": 16, "erreur": [0, 8, 16, 18, 23], "error": [0, 1, 2, 3, 4, 5, 7, 10, 11, 13, 14, 15, 16, 20], "errored": 0, "espac": 21, "espagnol": [16, 18], "esprit": 18, "estim": 16, "europ": 0, "ewm": 16, "exampl": [0, 2, 8, 10, 14, 16, 20, 21], "exc": 23, "exceed": [0, 4, 15, 16], "exceeding": 16, "except": [18, 23], "exclu": 18, "exclur": 18, "exec": 20, "execstart": 20, "exempl": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 21], "exhaust": 19, "exist": [0, 4, 5, 12, 14, 15, 16, 18, 19, 20], "existent": [7, 10, 14], "exit": [17, 20], "expected": 10, "expir": 17, "expired": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "expires_at": 8, "expires_in": 8, "expliqu": [0, 10], "expliquent": 10, "exploit": [18, 20], "export": [0, 16, 17, 18, 19, 20], "exp\u00e9diteur": 20, "extens": [0, 15, 16, 20], "extr\u00eam": 18, "ex\u00e9cu": [16, 17], "ex\u00e9cut": [16, 20], "f2aec30": 16, "f96dcef": 16, "fa33f4d996844a5c73ecd1ae24456ab8": 15, "facilit": 16, "facult": [4, 21], "fail": 16, "fair": [0, 1, 15, 18, 20], "fait": [15, 16, 20], "fals": [0, 1, 2, 3, 5, 7, 8, 10, 11, 13, 14, 15, 20], "falsif": [8, 21], "famill": 0, "farthest": 16, "fa\u00e7on": 20, "fb10602": 16, "fd": [0, 9, 13, 14, 15], "featur": 16, "fichi": [0, 2, 15, 16, 17, 18, 19, 20, 22, 24], "field": 16, "fil": [0, 2, 15, 16, 20], "file_nam": 0, "file_siz": 0, "filt": 16, "filter": 16, "filtering": 16, "filtr": [0, 10, 15, 16, 18], "fin": [12, 15, 16, 20], "finish": 16, "first": [4, 16], "first_nam": [0, 5, 14], "fit": [20, 22], "fitotrack": 19, "fittracke": [4, 8, 17, 18, 20, 21, 22, 24], "fittrackee_client": 20, "fittrackee_host": 21, "fittrackee_install": 22, "fittrackee_worker": 20, "fittrackee_ynh": 20, "fix": [16, 20], "flake8": 16, "flask": [16, 20], "flask_app": 20, "flaticon": 20, "flech": 18, "float": [0, 15], "flow": 21, "flux": [6, 18], "fmstrat": 16, "follow": [0, 5, 7, 10, 14, 16, 21], "follow_request": [0, 5, 7], "follow_request_approved": 0, "follower": [0, 1, 5, 7, 10, 14, 15, 16], "followers_only": [0, 1, 4, 14, 15], "following": [0, 1, 5, 7, 10, 14, 15, 16], "fonction": [18, 20, 21], "fonctionnal": [19, 20], "fond": 20, "foot": 16, "for": [0, 2, 4, 14, 15, 16, 20], "forbidden": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "forc": 4, "forgery": [8, 21], "fork": 20, "form": [0, 8, 15, 16], "format": [0, 12, 15, 16, 18, 19], "fort": 20, "forwarded": [20, 21], "found": [0, 1, 3, 4, 5, 7, 8, 10, 11, 12, 14, 15, 16], "fourn": [0, 4, 8, 12, 15, 17, 18, 20, 21, 23], "fournisseur": [16, 20], "fr": [0, 20], "franc": [18, 20], "freepik": 20, "french": 16, "fri": 15, "from": [4, 5, 7, 12, 15, 16, 20], "ft": 16, "ftcli": 20, "full": 16, "fullchain": 20, "fullscreen": 16, "furo": 16, "fuseau": [0, 15, 18], "galician": 16, "galicien": [16, 18], "gallegonovato": 16, "gard": [15, 18, 20], "garmin": 22, "generat": 16, "ger": [10, 16, 17, 18, 20, 23], "german": 16, "gestion": [16, 20], "get": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "getting": 2, "gif": 0, "git": 20, "github": [16, 20], "gl": 0, "gmt": [0, 1, 4, 5, 7, 8, 9, 10, 13, 14, 15], "gnu": 16, "gorgoback": 16, "gp": [16, 18], "gpl": 19, "gpx": [0, 8, 15, 16, 18, 19, 20, 22], "gpx_limit_import": 2, "gpxpy": [0, 16, 18, 20], "grammar": 16, "grand": [16, 18], "grant_typ": 8, "graph": 16, "graphiqu": [0, 16, 18, 20], "gray": 16, "great": [1, 2, 16], "gr\u00e2c": [20, 22], "guid": 20, "guillemet": 15, "gunicorn": [20, 23], "gz": 20, "gzip": 0, "g\u00e9ner": [8, 17, 18, 20, 21], "h": [15, 18], "ha": [0, 9, 13, 14, 15], "han": 16, "handl": 16, "has": [1, 4, 10, 14, 15, 16, 18], "has_equipment": 3, "has_next": [0, 5, 7, 8, 10, 14], "has_prev": [0, 5, 7, 8, 10, 14], "has_workout": 11, "hav": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "help": [17, 20], "heur": [16, 18, 20], "hexadecimal": 0, "hexad\u00e9cimal": 0, "hgzyfxgvwkcepdq3vyk67q": 15, "hid": 16, "hidden": 16, "hide_profile_in_users_directory": 0, "hiding": 16, "hiking": 11, "his": 16, "histor": [19, 20], "hom": 20, "horair": [0, 15, 18], "host": 20, "hosted": 16, "hour": 20, "how": 20, "href": [2, 20], "html": 16, "http": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 21], "http2": 20, "hub": 16, "hv9kwvdtbhhyfvml7phovq": 10, "hvybqybra7wwxpastwr4v2": [0, 9, 13, 14, 15], "h\u00e9berg": 20, "h\u00f4t": 20, "i18n": 16, "icon": 16, "ic\u00f4n": 20, "id": [0, 1, 3, 4, 7, 8, 9, 10, 11, 13, 14, 15, 16], "identif": 20, "identifi": [0, 1, 7, 8, 10, 11, 12, 15, 21], "if": [0, 16, 18, 20], "imag": [0, 14, 15, 16, 18, 20, 24], "impact": 18, "imperial": 16, "imperial_unit": 0, "implementing": 16, "import": [4, 8, 16, 18, 20], "importing": 16, "improv": 16, "improved": 16, "imp\u00e9rial": [0, 18], "in": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 20], "in_progress": 0, "inact": [0, 4, 14, 15, 18, 20], "inchang": 18, "inclus": 16, "incomplet": 17, "inconsistent": 16, "incorrect": [4, 16, 18], "index": 15, "indiqu": 18, "ind\u00e9sir": 18, "infobull": 18, "inform": [0, 2, 14, 16, 18, 19, 20], "inf\u00e9rieur": 16, "init": 16, "initial": [16, 20], "initialis": [16, 20], "input": 16, "inscript": [0, 2, 16, 18, 20], "inscrir": [2, 16, 18, 20], "insensibl": 20, "instabl": [19, 20], "install": [16, 19], "instanc": [2, 16, 18, 20], "instant": 18, "instead": 16, "instruct": [0, 16, 18, 20], "int": [0, 3, 4, 8, 10, 11, 15], "integ": [0, 1, 2, 3, 4, 5, 7, 8, 10, 11, 12, 13, 14, 15], "integer": 4, "integr": 20, "interag": [16, 18, 21], "interceptor": 16, "interfac": [0, 16, 18, 19, 20], "internal": [0, 1, 2, 3, 4, 5, 7, 10, 11, 13, 14, 15], "interrompu": 20, "into": 16, "introduit": 16, "invalid": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20], "invalidat": 16, "invalidemailurlschem": 23, "ip": 20, "is": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "is_act": [0, 3, 4, 10, 11, 14], "is_active_for_us": 11, "is_email_sending_enabled": 2, "is_followed_by": [0, 7, 10, 14], "is_registration_enabled": 2, "is_reported_user_warned": 10, "iso": 17, "isort": 16, "issu": [16, 18], "issued_at": 8, "it": [0, 4], "italian": 16, "italien": [16, 18], "jan": [13, 14, 15], "jat255": 16, "javascript": [16, 20], "jderuit": 16, "jeton": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 20, 21], "jinj": 16, "jmlich": 16, "job": 16, "john_do": 14, "johndo": 14, "jour": [0, 1, 2, 4, 7, 11, 14, 15, 16, 17, 18], "journal": [20, 23], "jpeg": 14, "jpg": 0, "js": [15, 20], "json": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18], "jul": [0, 9, 13, 14, 15], "july": 8, "jusqu": 18, "jwt": 20, "j\u0119drzejczak": 16, "kayak": 18, "kayak_boat": 3, "kcj6hdgqqpkaakqmfqj8jv": 14, "kd5wyhwltvozw6o3au5m4j": 15, "keep": 16, "key": 20, "keyboard": 16, "kjxavsturjvoah2wvcegef": [13, 14, 15], "km": [15, 18], "koen": 16, "komoot": 20, "label": [3, 4, 11, 16, 18], "laiss": 20, "lanc": [16, 20], "lang": [0, 16, 17], "langu": [0, 16, 17, 18], "languag": [0, 16, 17], "laquel": 18, "larg": [0, 15, 20], "last": 16, "last_nam": [0, 5, 14], "latitud": 15, "lavoi": 16, "layout": 16, "ld": [0, 9, 13, 14, 15], "leaflet": [15, 20], "lectur": [7, 21], "legal": 20, "legitimat": 16, "lequel": [0, 20], "less": 16, "lettr": 17, "lev": [18, 20], "level": 16, "li": [10, 16, 18], "libr": 18, "librair": [8, 20], "library": 16, "licenc": 20, "licens": [16, 19, 20], "lien": [16, 20], "lieu": 18, "lign": [16, 18, 19, 20], "lik": [1, 15, 16], "liked": [1, 14, 15], "likes_count": [1, 14, 15], "lim": [16, 20], "limit": [4, 16, 18], "lin": [17, 20], "link": 16, "lint": 20, "linux": 20, "lir": 16, "list": [1, 8, 15, 16, 17, 19, 20], "listen": 20, "ll": 20, "load": [16, 23], "loading": 16, "local": [0, 16, 19, 20], "localhost": [16, 20], "localis": [0, 20], "localiz": 16, "locat": [0, 5, 14, 20], "log": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 23], "log_d": 20, "logfil": 20, "logged": 0, "login": [0, 16], "logo": 20, "logout": [0, 16], "long": 16, "longitud": 15, "longu": [4, 9, 16, 18], "longueur": 15, "lor": [0, 17, 18], "lorsqu": [0, 16, 17, 20], "lu": [7, 18], "lukasitaly": 16, "lund": [0, 12, 18], "mailhog": 20, "mainten": [16, 20], "majeur": 16, "majuscul": 15, "mak": [16, 20], "makefil": 20, "malformed": 0, "manag": [16, 17], "mani": [18, 20], "manqu": 16, "manually_approves_follower": 0, "manuel": 18, "map": [13, 14, 15, 16, 18, 19], "map_attribu": [2, 20], "map_id": 15, "map_til": 15, "map_visibility": [0, 14, 15], "mar": [0, 4, 14, 16, 20], "mara21": 16, "march": [16, 18], "mariusz": 16, "mariuz": 16, "mark": [7, 16], "markdown": [16, 18], "marked_as_read": 7, "marker": 16, "marqu": [7, 18], "masqu": [14, 18], "match": 0, "matching": 16, "mati": 18, "max": [2, 5, 14, 15, 16, 17], "max_alt": [13, 14, 15], "max_single_file_siz": 2, "max_speed": [13, 14, 15], "max_speed_from": 15, "max_speed_to": 15, "max_user": 2, "max_zip_file_siz": 2, "maximal": [2, 9, 15, 16, 17, 18], "maximum": [2, 18], "may": 16, "md": 16, "measur": 16, "meilleur": 21, "mensuel": [16, 18], "mention": [0, 1, 7, 18, 20], "menu": [16, 18], "merc": 16, "messag": [0, 2, 5, 8, 14, 15, 16, 17, 18, 20, 21], "mesur": 16, "met": 15, "mettr": [1, 2, 7, 14, 15, 16, 17, 18, 20], "mi": 16, "microsecond": 16, "migrat": [16, 17, 20], "min": 16, "min_alt": [13, 14, 15], "minimal": [15, 16, 18, 20, 21], "minimum": [0, 2, 3, 10, 11, 12, 14], "minor": 16, "minuscul": 15, "minut": 20, "mis": [0, 4, 11, 14, 15, 16, 18, 21], "missing": [0, 16], "mm": 0, "mmm": 0, "mmy3qpl3vcfukjgffbncjv": 0, "mo": 18, "mobil": [16, 19], "mod": 16, "modal": 16, "model": 16, "moder": [10, 12, 14, 16], "moderator": [10, 14, 16, 17], "modif": [0, 18, 19], "modifi": [0, 3, 4, 10, 11, 17, 18, 20, 21], "modification_dat": [1, 13, 14, 15], "modify": 16, "modul": [16, 20], "moin": [4, 7, 10, 13, 15], "mois": [12, 16, 18], "moment": [0, 15, 16, 18], "mond": 18, "mondstern": 16, "mono": 16, "month": [12, 16], "monthly": 16, "mor": 16, "morning": 15, "mot": [0, 14, 17, 18, 20], "mountain": 11, "mountaineering": 16, "mous": 16, "mov": 16, "moving": [13, 14, 15, 16], "moyen": [9, 12, 15, 16, 18, 20], "mult": 20, "multipart": [0, 8, 15], "multipl": 16, "must": [0, 2, 4, 14, 15, 16], "mv": 20, "my": 4, "mynixos": 20, "mzydicyyfktg3gga2x8afu": 1, "m\u00e9thod": [8, 20, 21], "m\u00e9triqu": 18, "m\u00e9t\u00e9o": [16, 18], "m\u00eam": [16, 18, 20], "nag": 18, "naissanc": 0, "nam": [8, 16, 18], "nano": 20, "navig": [0, 16, 18, 20], "nb": 0, "nb_sport": [0, 5, 14], "nb_workout": [0, 1, 5, 7, 10, 14, 15], "nbsp": 20, "nederland": 16, "need": 20, "net": 20, "netinstall": 22, "nettoi": 16, "network": 20, "new": [0, 4, 14, 16], "new_email": 14, "new_password": 0, "next": 16, "next_workout": [13, 14, 15], "nginx": [16, 18, 20, 21, 23], "ni": 18, "nic": 1, "niveau": [1, 4, 16, 18], "nixpkg": 20, "nl": 0, "no": [0, 1, 4, 8, 14, 15, 16], "no_gpx": 15, "nod": 20, "nofollow": 20, "noir": 17, "nom": [0, 5, 8, 10, 12, 14, 16, 17, 18, 20], "nombr": [2, 5, 14, 15, 17, 18, 20], "nomenclatur": 16, "non": [0, 3, 4, 7, 8, 10, 11, 12, 15, 16, 18, 19, 20], "noopen": 20, "noreferr": 20, "norv\u00e9gien": [16, 18], "norwegian": 16, "nosuchmoduleerror": 23, "not": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 20], "notat": 20, "notif": [0, 6, 16, 20, 21], "notification_id": 7, "notification_preferent": 0, "notification_typ": 7, "nouveau": [0, 16, 17, 18, 20, 21], "nouveaut": 18, "nouvel": [0, 4, 14, 17, 18, 20], "nov": [1, 15], "now": 17, "null": [0, 1, 2, 4, 5, 7, 10, 11, 13, 14, 15, 16], "numb": [2, 16, 20], "nuv9cy8vqonrqkhtz5pqaq2zw7msh0mornpjr14amswd6f6": 8, "n\u00e9cessair": [15, 18, 20], "n\u00e9cessit": [16, 20, 21], "n\u00e9cessitent": [20, 21], "n\u00e9erland": [16, 18], "n\u00e9gat": [15, 18], "o22a27s2abpuoxjbxv3ujdox": 8, "oauth": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 19, 20], "oauth2": [6, 21], "oauthlib": 21, "object_id": 10, "object_typ": 10, "objet": [0, 1, 2, 3, 4, 7, 10, 11, 14, 15], "obligatoir": [4, 8, 10, 12, 15, 16, 17, 20, 21], "obten": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 21], "octet": 0, "of": [0, 2, 4, 15, 16, 20, 21], "office365": 20, "offset": 16, "ok": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "oliverpiffer": 16, "omis": 20, "once": [0, 1, 15], "ondrejzivny": 16, "one": [0, 15], "onglet": 21, "ongoing": 0, "only": [0, 1, 15, 16, 18], "open": [16, 18, 19], "openstreetmap": [2, 16, 20], "opentrack": 19, "option": [16, 17, 20], "optionnel": [4, 7, 8, 20], "or": [0, 1, 2, 3, 4, 7, 11, 13, 14, 15, 16], "order": [5, 7, 10, 14, 15, 16], "order_by": [10, 14, 15], "ordre": [5, 7, 10, 14, 15], "org": [2, 20], "origin": 18, "osm": 20, "osmfr": 20, "other": [0, 4, 14, 16], "out": 0, "outdoor": [16, 20], "outil": [18, 19, 20], "ouvr": 20, "over": 16, "overlap": 16, "own": 10, "owner": [14, 16, 17, 20], "o\u00f9": [4, 18, 20], "packag": [16, 20], "packaged": 16, "paf38": 16, "pag": [0, 1, 5, 7, 8, 10, 13, 14, 15, 16], "pagin": [0, 1, 5, 7, 8, 10, 13, 14, 15], "paquet": [16, 20], "par_pag": 14, "paragliding": 16, "paralleliz": 16, "paramet": [4, 20], "parameter": [4, 16], "parametr": [0, 1, 3, 4, 5, 7, 8, 10, 11, 12, 13, 14, 15, 16, 18, 21], "parapent": 18, "pareck": 21, "paris": 0, "parm": [16, 20], "pars": 16, "part": [0, 15, 16, 18, 19, 21, 22], "particuli": 18, "partiel": 16, "pass": [0, 14, 17, 18, 20], "password": [0, 16, 17, 20], "passwordwith": 20, "patch": [0, 1, 2, 3, 4, 7, 10, 11, 14, 15], "paus": [13, 14, 15, 16], "payload": [0, 1, 2, 3, 8, 10, 11, 14, 15], "pem": 20, "pending": 7, "per": [16, 20], "per_pag": [5, 14, 15], "perform": 18, "period": 12, "perm": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "permet": [4, 16, 17, 18, 19, 21], "permettent": 18, "permettr": 21, "personnalis": [16, 18], "personnel": 18, "petit": 16, "peut": [0, 1, 3, 4, 8, 11, 12, 14, 15, 16, 17, 18, 20, 21], "peuvent": [0, 16, 18, 19, 20], "pg_dump": 20, "pictur": [0, 1, 5, 7, 10, 14, 15, 16], "piec": 4, "pied": [16, 18], "pil": 16, "ping": 2, "pip": 20, "pipenv": 16, "pkce": [8, 21], "plateform": 20, "pleas": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "plein": [18, 19], "plugin": 23, "pluj": 16, "plupart": 21, "plus": [4, 9, 16, 17, 18, 19, 20, 23], "plusieur": [16, 18, 19, 20], "png": [0, 15, 20], "poesty": 16, "poetry": [16, 20], "point": [0, 2, 3, 4, 8, 11, 14, 16, 18, 20, 21], "policy": [0, 16], "polish": 16, "polit": [0, 2, 16], "polon": [16, 18], "pong": 2, "pooling": 20, "port": 20, "portug": [16, 18], "portugues": 16, "posit": [15, 16, 18], "possibl": [16, 18, 19, 20], "post": [0, 1, 4, 5, 7, 8, 10, 14, 15, 21], "postgr": [16, 23], "postgres_db": 20, "postgres_password": 20, "postgres_us": 20, "postgresql": [16, 20, 23], "postgresql10": 16, "pourquoi": 10, "pourr": [16, 20], "pouv": 16, "pr": 16, "preferent": [0, 16], "premi": 18, "prendr": [16, 18], "prepar": 16, "present": 16, "prevent": 20, "previous_workout": [13, 14, 15], "pris": [0, 8, 16, 17, 18, 20, 21], "priv": [16, 18], "privacy": [0, 16], "privacy_policy": 2, "privacy_policy_dat": 2, "privat": [0, 1, 4, 14, 15], "privileg": 20, "privkey": 20, "problem": [16, 18, 20], "proced": 20, "process": [16, 20], "processed": 0, "processus": 20, "prochain": [16, 18], "product": 16, "productionconfig": 20, "produir": 18, "profil": [0, 8, 10, 14, 16, 18, 21], "project": 20, "projet": 20, "propos": 16, "propr": [4, 14, 19], "propri\u00e9tair": [4, 16, 18, 20], "proto": [20, 21], "proven": 18, "provid": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "provided": [0, 1, 2, 4, 14, 15, 16], "provider": 16, "proxy": [20, 21], "proxy_add_x_forwarded_for": 20, "proxy_pass": 20, "proxy_redirect": 20, "proxy_set_head": [20, 21], "pr\u00e9c\u00e9dent": 16, "pr\u00e9f\u00e9rent": [0, 4, 14, 15, 17], "pr\u00e9nom": 0, "pr\u00e9requ": 16, "pr\u00e9sent": 18, "pr\u00e9vers": 16, "pr\u00eat": 20, "psjeexbjz2jjnqctcpxvvf": 15, "publi": [18, 20], "public": [0, 1, 4, 15, 18], "publiqu": 1, "publish": 16, "puiss": 21, "puissent": [16, 18], "pull": 20, "pwd": 20, "py": 20, "python": [16, 20, 21], "p\u00e9riod": [12, 18, 20], "q": 14, "qrj7by6h2iyjsv8sersfgv": 4, "quand": [14, 16], "quant": 16, "quelqu": [4, 5, 7, 10, 13, 14, 15, 16, 18, 21], "queu": 20, "qwerty287": 16, "r": 20, "rafra\u00eech": 8, "raison": [0, 10], "randon": [16, 18], "rapport": 16, "rapporteur": 10, "raquet": 18, "rat": [16, 20], "reactivated": 10, "read": [0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 21], "read_status": 7, "readm": 16, "real": 20, "reason": [0, 10, 14], "rebuild": 16, "recalcul": [4, 18], "recevoir": 18, "recherch": 16, "recommand": [8, 20, 21], "record": [0, 5, 6, 13, 14, 15, 16, 18], "record_typ": [0, 9, 13, 14, 15], "red": [16, 17, 20], "redirect": [8, 16, 21], "redirect_ur": 8, "redirig": [8, 21], "redis_d": 20, "redis_url": 20, "red\u00e9marr": 20, "refacto": 16, "refactoris": 16, "refresh": 4, "refresh_token": 8, "refreshed": 16, "regist": 0, "registr": [0, 16], "registry": 20, "regl": 18, "reject": 5, "rejected": 5, "rejet": [5, 10, 18, 20], "rel": 20, "relat": [14, 18], "relev": 16, "remaining": 16, "remarqu": 20, "remote_addr": 20, "remov": 16, "remplac": [15, 16, 18, 20], "rencontr": 20, "renomm": 16, "renvoi": [0, 7, 8, 10, 13, 14, 15, 18], "replac": 16, "report": [10, 21], "report_act": 10, "report_id": [10, 14], "reported_by": 10, "reported_comment": 10, "reported_us": 10, "reported_workout": 10, "requ": [0, 20, 21], "request": [0, 1, 2, 3, 4, 5, 8, 10, 11, 12, 14, 15, 20, 21], "request_ur": 20, "requested": 0, "required": 0, "requiring": 16, "requis": 4, "requ\u00eat": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 21], "resend": 0, "resent": 0, "reset": [0, 16, 17], "reset_password": 14, "resetting": 16, "resolu": 16, "resolved": 10, "resolved_at": 10, "resolved_by": 10, "respons": 16, "response_typ": [8, 21], "rest": [16, 18, 21], "restart": 20, "restartsec": 20, "restent": 18, "restreint": 18, "result": 16, "retir": 18, "retourn": [1, 9, 12], "return": [16, 20], "return_equipment": 15, "revok": 8, "revoked": 0, "reworked": 16, "re\u00e7u": [5, 7, 18], "rid": 16, "right": [14, 16, 18], "roehv64thcg28wcewzhrnvlusoduvw8nvnhkcml57": 8, "rol": [0, 1, 7, 10, 14, 15, 16, 17, 20], "rout": [16, 20], "ruff": 16, "run": 20, "runn": 19, "running": 11, "russ": [16, 18], "russian": 16, "r\u00e9activ": 18, "r\u00e9cent": 18, "r\u00e9cuper": [15, 18, 20, 21], "r\u00e9dact": 18, "r\u00e9duit": 16, "r\u00e9initialis": [0, 14, 17, 18, 20], "r\u00e9pertoir": [0, 20], "r\u00e9pons": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "r\u00e9solu": 18, "r\u00e9solus": 10, "r\u00e9tro": 20, "r\u00e9trograd": 16, "r\u00e9uss": 0, "r\u00e9voqu": 8, "r\u00f4l": [2, 3, 10, 11, 12, 14, 17, 18, 20], "s256": [8, 21], "sam": [0, 1, 4, 5, 9, 10, 13, 14, 15, 16], "samr1": 20, "san": [0, 1, 5, 7, 8, 10, 12, 13, 14, 15, 16, 18, 19, 20], "sanction": [0, 14, 18], "sat": 14, "sauf": [14, 20], "sauvegard": 20, "sav": [1, 4, 10, 16], "schem": [20, 21], "scop": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "screen": 16, "script": 16, "search": 16, "second": [4, 15], "secret": [8, 20, 21], "section": 16, "security": 16, "see": [16, 20], "seem": 16, "segment": [13, 14, 15, 16, 18], "segment_id": 15, "selected": [0, 15], "selon": [0, 16, 18, 20], "semain": [0, 12, 18], "send": 16, "sender_email": 20, "sending": 16, "sent": 14, "ser": [0, 4, 15, 16, 17, 18, 20], "serv": [0, 1, 2, 3, 4, 5, 7, 10, 11, 13, 14, 15, 16, 20], "server_nam": 20, "serveur": [15, 16, 18, 19, 23], "servic": [16, 20], "session": 21, "set": [16, 17, 20], "setting": 20, "seuil": [0, 18], "seul": [0, 1, 4, 8, 12, 14, 15, 16, 18, 20, 21], "sh": 22, "shel": 20, "sho": [3, 4], "should": 16, "show": [16, 17, 20], "shown": 16, "shura0": 16, "si": [0, 1, 4, 5, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 23], "sien": 14, "signal": [6, 14, 16, 18, 21], "signatur": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "sikm": 16, "simontb": 16, "simpl": 20, "simplifi": [16, 18], "simplified": [16, 21], "simplify": 16, "sinon": [18, 20], "sit": [8, 21], "siz": [0, 2, 15, 16, 20], "ski": 18, "skis": [3, 18], "skylan0916": 16, "slothj": 16, "slow": 16, "small": 16, "smtp": [16, 20, 23], "snowsho": [3, 16], "social": 16, "som": 16, "sombr": [0, 18], "sorry": 0, "sort": 21, "sorting": 15, "soum": 20, "sourc": 18, "sous": [15, 20], "spanish": 16, "special": 16, "specific": 20, "specify": 16, "speed": [15, 16], "spinn": 16, "sport": [0, 2, 4, 6, 12, 15, 16, 20], "sport_id": [0, 4, 9, 11, 12, 13, 14, 15], "sport_label": 4, "sportiv": [18, 19], "sports_list": [0, 5, 14], "sp\u00e9cial": 20, "sp\u00e9cif": 18, "sql": 20, "sqlalchemy": [16, 20, 23], "ssl": 20, "ssl_certificat": 20, "ssl_certificate_key": 20, "stabl": 16, "standard": [16, 20], "standarderror": 20, "standardiz": 16, "standardoutput": 20, "start": 16, "start_elevation_at_zero": 0, "startlimitintervalsec": 20, "starttl": 20, "stat": [8, 12, 16, 21], "static": 16, "staticmap": 20, "staticmap_subdomain": [16, 20], "statiqu": [18, 20], "statist": [2, 6], "statistic": [2, 12, 16], "stats_workouts_lim": 2, "status": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18], "statut": [4, 14, 17], "sticky": 16, "stock": [18, 19, 21], "stop": 20, "stopp": 20, "stopped": 16, "stopped_speed_threshold": [0, 11], "strateg": 20, "strav": 22, "street": [18, 19], "strength": 16, "string": [0, 1, 2, 4, 5, 7, 8, 10, 11, 12, 14, 15], "styl": 16, "subdomain": 16, "succes": [0, 3, 4, 5, 8, 11, 12, 14, 15], "success": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "successful": 0, "successfully": 0, "such": 16, "suiv": [0, 6, 9, 14, 18, 20, 21, 22, 23], "suivent": 20, "suivr": [14, 16, 18, 19], "sun": [0, 1, 9, 10, 13, 14, 15], "sunday": 15, "supplied": 4, "suppl\u00e9mentair": 18, "support": [8, 16, 20, 21, 23], "suppress": [4, 16, 20], "supprim": [0, 1, 4, 8, 14, 15, 16, 17, 18], "suspended": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "suspended_at": [0, 1, 7, 10, 14, 15], "suspendr": 18, "suspendu": [0, 3, 4, 8, 11, 14, 18], "suspendus": 14, "suspens": [0, 1, 14, 15, 18, 20], "swimming": 16, "swimrun": [16, 18], "switch": 16, "synchronis": 22, "syntax": [16, 18], "syslog": 20, "syslogidentifi": 20, "system": [18, 20], "systemd": 20, "s\u00e9anc": [0, 1, 2, 4, 6, 10, 11, 12, 14, 16, 19, 21, 22, 24], "s\u00e9cur": 21, "s\u00e9lection": [0, 18], "s\u00e9mant": 20, "s\u00e9par": [18, 20, 21], "t2zeeuxvuy3pla8meeufyk": 1, "tabl": 16, "tag": 16, "taill": [0, 2, 18, 20], "taken": [0, 16], "tant": 4, "tar": 20, "target": 20, "task": 20, "tchequ": [16, 18], "temp": 12, "term": 16, "test": [16, 20], "text": [0, 1, 10, 14, 15, 18], "text_html": 1, "text_visibility": 1, "textar": 16, "than": [2, 14, 16], "thank": 16, "that": [0, 4, 16], "the": [0, 1, 3, 4, 7, 11, 13, 14, 15, 16, 20], "their": 10, "them": [0, 16, 18], "this": [15, 17, 20], "thovi98": 16, "threshold": 16, "thu": [5, 8, 14], "thunderforest": [16, 20], "ticket": 19, "tient": 15, "tier": [18, 19], "tierc": [15, 18, 21], "til": [16, 20], "tile_server_url": 20, "tim": [12, 15, 16], "timelin": [13, 16], "timeout": [20, 23], "timezon": [0, 16], "titl": [13, 14, 15, 16], "titr": [15, 18], "tl": [16, 20], "to": [0, 2, 4, 12, 14, 15, 16, 20, 22], "token": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 21], "token_typ": 8, "too": [0, 15], "tool": 16, "tooling": 16, "tooltip": 16, "total": [0, 4, 5, 7, 8, 10, 12, 14, 15, 16, 18], "total_ascent": [0, 12], "total_dist": [0, 4, 5, 12, 14], "total_dur": [0, 4, 5, 12, 14], "total_moving": 4, "total_workout": 12, "toujour": 18, "tous": [0, 3, 4, 7, 8, 9, 11, 12, 14, 16, 18, 20], "tout": [4, 12, 16, 18, 20], "trac": [18, 20], "track": 16, "tracke": 20, "traduit": 18, "trail": 18, "trailing": 16, "train": 3, "trait": [0, 17], "translat": 16, "translated": 16, "transport": [11, 16, 18], "traxy": 16, "trekking": [16, 18], "tri": [5, 7, 10, 14, 15, 18], "tronqu": 15, "trouv": [3, 4, 8, 11, 15, 16], "tru": [0, 1, 2, 3, 4, 7, 8, 10, 11, 14, 15, 16, 20], "try": [0, 1, 3, 4, 7, 11, 13, 14, 15], "tuil": [15, 16, 18], "typ": [0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20], "typescript": 20, "typo": 16, "typos": 16, "t\u00e2ch": 20, "t\u00e9l\u00e9charg": [0, 15, 17, 18, 20, 24], "t\u00e9l\u00e9vers": [16, 18, 20], "t\u00eat": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 21], "u": 20, "uberspac": 20, "ubuntu": 20, "ui": 16, "ui_url": 20, "unauthenticated": 16, "unauthorized": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "unblock": 14, "uncommenting": 20, "underscor": 0, "undo": [1, 14, 15], "unfollow": 14, "uniqu": [0, 1, 8, 14, 16, 17, 18, 20, 21], "unit": [0, 16, 20], "unitair": 18, "unread": 7, "unresolved": 10, "unwanted": 16, "up": [16, 19, 20], "updat": [0, 4, 15, 16, 20], "updated": [0, 4, 16], "updated_at": [0, 10, 14], "updating": 2, "upgrad": [16, 20], "upload": [16, 20, 22], "upload_d": 20, "upload_fold": [20, 23], "uploaded": [2, 16, 20], "uploading": 16, "uploads_dir_siz": 12, "uri": [16, 20], "url": [0, 8, 16, 18, 20, 21, 23], "urtzai": 16, "usag": [17, 20], "use": 16, "use_dark_mod": 0, "use_raw_gpx_speed": 0, "used": 16, "user": [0, 1, 2, 4, 5, 9, 10, 12, 13, 14, 15, 16, 18, 20, 21], "user_id": [0, 4], "user_nam": [5, 12, 14], "user_suspens": [0, 10], "user_unsuspens": 10, "user_warning": 10, "usernam": [0, 1, 5, 7, 10, 14, 15, 16, 17, 20], "using": 16, "utcnow": 16, "util": [16, 18], "utilis": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 20, 21], "utility": 20, "uuid": [15, 16], "v0": 20, "v2": 20, "v3": 19, "valeur": [0, 4, 8, 15, 17, 18, 20, 21, 23], "valid": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20, 23], "validat": 16, "valu": [0, 9, 10, 13, 14, 15, 16], "variabl": [16, 23], "various": 16, "vent": 18, "venv": 20, "ver": [8, 16, 20, 21], "verrouill": 18, "version": [2, 17, 18, 20, 21], "veuill": [16, 18, 20], "vi": [14, 18], "vid": [15, 17, 20], "view": [16, 20], "virgul": 20, "virtual": 16, "virtualenv": [16, 20], "virtuel": [18, 20], "visibil": [0, 1, 4, 15, 16, 18], "visibility": [4, 16], "visibl": [1, 13, 18], "visual": [18, 20], "visualcrossing": 16, "visualis": [16, 18], "vite_app_api_url": 20, "vitess": [0, 9, 15, 16, 18, 20], "voir": [4, 16, 18, 20, 21, 23], "volum": 20, "volumin": [18, 23], "voodoopt": 16, "votr": [19, 20], "vtt": [15, 16, 18], "vu": [16, 20], "vue3": 20, "vue_app_api_url": 20, "vuex": 20, "v\u00e9lo": [16, 18], "v\u00e9rif": [8, 16, 21, 23], "v\u00e9rifi": [11, 20, 23], "walking": 11, "want": 20, "wantedby": 20, "was": [0, 4], "wat": 16, "weath": 16, "weather_ap": 20, "weather_api_key": 20, "weather_api_provid": [16, 20], "weather_end": [13, 14, 15], "weather_provid": 2, "weather_start": [13, 14, 15], "web": [0, 8, 19, 20, 21], "weblat": [16, 18], "websit": 8, "wed": [0, 7, 10, 14, 15], "week": [12, 16], "weekend": 16, "weekm": [0, 12], "wget": 20, "when": [2, 16], "whit": 16, "who": 16, "wiktor": 16, "wind": 16, "with": [0, 4, 15, 16, 20], "with_analys": 15, "with_following": 14, "with_gpx": [13, 14, 15], "with_hidden_user": 14, "with_inact": 14, "with_suspended": 14, "without": [4, 15, 16], "wjgtwtqfpnprhyak5ex9pw": 1, "work": [16, 20, 23], "worker": [16, 17, 20], "workers_process": 20, "workflow": 16, "workingdirectory": 20, "workout": [0, 1, 2, 4, 8, 9, 10, 11, 12, 13, 14, 15, 16, 21], "workout_comment": 0, "workout_dat": [0, 9, 13, 14, 15], "workout_id": [0, 1, 9, 10, 13, 14, 15], "workout_lik": 0, "workout_short_id": [1, 15], "workout_suspens": [10, 14], "workout_unsuspens": 10, "workout_visibility": [14, 15], "workouts_count": [4, 14], "workouts_visibility": [0, 14], "writ": [0, 1, 2, 3, 4, 5, 7, 8, 10, 11, 14, 15, 21], "www": [2, 20], "x": [0, 15, 16, 20, 21], "xmgz": 16, "xml": 15, "xxxx": 20, "xzf": 20, "yarn": 20, "year": 12, "yml": 20, "you": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20], "your": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15], "yyyy": 0, "z": [15, 20], "z2ze5qzrnmvmndejpphask": 10, "zero": 16, "zh": 16, "zip": [0, 2, 15, 16, 18], "zon": 16, "zoom": 15, "z\u00e9ro": [0, 18], "\u00c0": 20, "\u00e9chang": 21, "\u00e9chapp": [15, 16], "\u00e9chec": 24, "\u00e9cran": 16, "\u00e9cras": 20, "\u00e9critur": 21, "\u00e9gal": [14, 16, 17, 18, 19, 20], "\u00e9lectr": 18, "\u00e9lectron": [0, 2, 14, 17, 18, 20], "\u00e9lev": [9, 18, 20], "\u00e9mettr": 8, "\u00e9miss": 8, "\u00e9quip": [0, 6, 15, 16, 21], "\u00e9tap": 20, "\u00e9tat": [0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18], "\u00e9valu": 16, "\u00e9ven": 18, "\u00e9ventuel": 4, "\u00e9vit": [8, 16, 18], "\u00eatre": [0, 4, 8, 14, 15, 16, 17, 18, 19, 20, 21, 23], "\u0153uvr": 21}, "titles": ["Authentification et compte", "Commentaires", "Configuration", "Types d\u2019\u00e9quipement", "\u00c9quipements", "Demandes de suivi", "Documentation de l\u2019API", "Notifications", "OAuth2", "Records", "Signalements", "Sports", "Statistiques", "Flux de s\u00e9ances", "Utilisateurs", "S\u00e9ances", "Historique des modifications", "Interface de ligne de commande", "Fonctionnalit\u00e9s", "FitTrackee", "Installation", "OAuth 2.0", "Outils tiers", "Administrateur", "D\u00e9pannage"], "titleterms": {"0": [16, 21], "01": 16, "02": 16, "03": 16, "04": 16, "05": 16, "06": 16, "07": 16, "08": 16, "09": 16, "0b1": 16, "0b2": 16, "0b3": 16, "0b4": 16, "0b5": 16, "0b6": 16, "1": 16, "10": 16, "11": 16, "12": 16, "13": 16, "14": 16, "15": 16, "16": 16, "17": 16, "18": 16, "19": 16, "2": [16, 21], "20": 16, "2018": 16, "2019": 16, "2020": 16, "2021": 16, "2022": 16, "2023": 16, "2024": 16, "2025": 16, "21": 16, "22": 16, "23": 16, "24": 16, "25": 16, "26": 16, "27": 16, "28": 16, "29": 16, "3": 16, "30": 16, "31": 16, "32": 16, "4": 16, "5": 16, "6": 16, "7": 16, "8": 16, "9": 16, "Les": 23, "a": [18, 20], "acces": [6, 20], "administr": [16, 18, 23], "affich": 23, "am\u00e9lior": 16, "api": [6, 20], "appliqu": 18, "authentif": 0, "bas": 17, "bord": 18, "bug": 16, "captur": 18, "cart": 23, "charg": 23, "clean": 17, "clean_arch": 17, "clean_token": 17, "command": 17, "commentair": [1, 18], "compos": 20, "compt": [0, 18], "confidential": 18, "configur": [2, 18], "correct": 16, "corrig": 16, "courriel": 20, "creat": 17, "dan": 23, "db": 17, "demand": 5, "disponibl": 16, "diver": 16, "dock": 20, "document": [6, 16], "don": [17, 20], "drop": 17, "d\u00e9marr": 23, "d\u00e9pannag": 24, "d\u00e9pend": 20, "d\u00e9ploi": 20, "d\u00e9tail": [18, 23], "d\u00e9velopp": 20, "environ": 20, "export_arch": 17, "ferm": 16, "fichi": 23, "fittracke": [16, 19, 23], "flux": [13, 21], "fonctionnal": [16, 18], "franc": 16, "ftcli": 17, "histor": 16, "imag": 23, "import": 22, "install": [20, 22], "interact": 18, "interfac": 17, "jour": 20, "lign": 17, "lik": 18, "limit": 20, "list": 18, "mati": 19, "mineur": 16, "mis": 20, "mobil": 18, "moder": 18, "modif": 16, "m\u00e9t\u00e9o": 20, "nixos": 20, "notif": [7, 18], "nouvel": 16, "oauth": [18, 21], "oauth2": [8, 17], "outil": 22, "pag": 18, "part": 20, "point": 6, "polit": 18, "premi": 16, "principal": 20, "product": 20, "propos": 18, "pr\u00e9f\u00e9rent": 18, "pr\u00e9requ": 20, "pull": 16, "pyp": [16, 20], "record": 9, "request": 16, "ressourc": 21, "r\u00e9pertoir": 18, "scop": 21, "script": 22, "serveur": 20, "signal": 10, "sourc": 20, "sport": [11, 18], "statist": [12, 16, 18], "suiv": 5, "s\u00e9anc": [13, 15, 18, 23], "s\u00e9cur": 16, "tabl": 19, "tableau": 18, "ticket": 16, "tier": 22, "traduct": [16, 18], "tuil": 20, "typ": [3, 18], "t\u00e9l\u00e9charg": 23, "updat": 17, "upgrad": 17, "user": 17, "utilis": [14, 17, 18], "variabl": 20, "version": 16, "yunohost": 20, "\u00e9chec": 23, "\u00e9cran": 18, "\u00e9quip": [3, 4, 18]}}) \ No newline at end of file diff --git a/docs/fr/third_party_tools.html b/docs/fr/third_party_tools.html index e09c3b930..be8af636a 100644 --- a/docs/fr/third_party_tools.html +++ b/docs/fr/third_party_tools.html @@ -6,7 +6,7 @@ - Outils tiers - Documentation FitTrackee 0.9.1 + Outils tiers - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -378,7 +378,7 @@

    Scripts d’installation

    - + diff --git a/docs/fr/troubleshooting/administrator.html b/docs/fr/troubleshooting/administrator.html index fe63fa613..50efacda0 100644 --- a/docs/fr/troubleshooting/administrator.html +++ b/docs/fr/troubleshooting/administrator.html @@ -6,7 +6,7 @@ - Administrateur - Documentation FitTrackee 0.9.1 + Administrateur - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -394,7 +394,7 @@

    Échec du chargement ou du téléchargement de fichiers

    - + diff --git a/docs/fr/troubleshooting/index.html b/docs/fr/troubleshooting/index.html index d0800066f..7f1cced54 100644 --- a/docs/fr/troubleshooting/index.html +++ b/docs/fr/troubleshooting/index.html @@ -6,7 +6,7 @@ - Dépannage - Documentation FitTrackee 0.9.1 + Dépannage - Documentation FitTrackee 0.9.2 @@ -169,7 +169,7 @@
    -
    @@ -197,7 +197,7 @@
    - Documentation FitTrackee 0.9.1 + Documentation FitTrackee 0.9.2 @@ -353,7 +353,7 @@

    Dépannage +

    diff --git a/docsrc/gettext/.doctrees/api/auth.doctree b/docsrc/gettext/.doctrees/api/auth.doctree index 2de005d98..21f01110a 100644 Binary files a/docsrc/gettext/.doctrees/api/auth.doctree and b/docsrc/gettext/.doctrees/api/auth.doctree differ diff --git a/docsrc/gettext/.doctrees/api/comments.doctree b/docsrc/gettext/.doctrees/api/comments.doctree index 18ec596d7..e2265d2f3 100644 Binary files a/docsrc/gettext/.doctrees/api/comments.doctree and b/docsrc/gettext/.doctrees/api/comments.doctree differ diff --git a/docsrc/gettext/.doctrees/api/configuration.doctree b/docsrc/gettext/.doctrees/api/configuration.doctree index 8674ba7a8..06a0e8088 100644 Binary files a/docsrc/gettext/.doctrees/api/configuration.doctree and b/docsrc/gettext/.doctrees/api/configuration.doctree differ diff --git a/docsrc/gettext/.doctrees/api/equipment_types.doctree b/docsrc/gettext/.doctrees/api/equipment_types.doctree index c7d582114..8d1f9e00b 100644 Binary files a/docsrc/gettext/.doctrees/api/equipment_types.doctree and b/docsrc/gettext/.doctrees/api/equipment_types.doctree differ diff --git a/docsrc/gettext/.doctrees/api/equipments.doctree b/docsrc/gettext/.doctrees/api/equipments.doctree index f29f6240e..3bbf0a98d 100644 Binary files a/docsrc/gettext/.doctrees/api/equipments.doctree and b/docsrc/gettext/.doctrees/api/equipments.doctree differ diff --git a/docsrc/gettext/.doctrees/api/follow_requests.doctree b/docsrc/gettext/.doctrees/api/follow_requests.doctree index 55ede1cad..32f36acc2 100644 Binary files a/docsrc/gettext/.doctrees/api/follow_requests.doctree and b/docsrc/gettext/.doctrees/api/follow_requests.doctree differ diff --git a/docsrc/gettext/.doctrees/api/index.doctree b/docsrc/gettext/.doctrees/api/index.doctree index 1ee462bdb..a43c7879f 100644 Binary files a/docsrc/gettext/.doctrees/api/index.doctree and b/docsrc/gettext/.doctrees/api/index.doctree differ diff --git a/docsrc/gettext/.doctrees/api/notifications.doctree b/docsrc/gettext/.doctrees/api/notifications.doctree index 2694f5f39..be9091f79 100644 Binary files a/docsrc/gettext/.doctrees/api/notifications.doctree and b/docsrc/gettext/.doctrees/api/notifications.doctree differ diff --git a/docsrc/gettext/.doctrees/api/oauth2.doctree b/docsrc/gettext/.doctrees/api/oauth2.doctree index 50b31c534..c5c053b71 100644 Binary files a/docsrc/gettext/.doctrees/api/oauth2.doctree and b/docsrc/gettext/.doctrees/api/oauth2.doctree differ diff --git a/docsrc/gettext/.doctrees/api/records.doctree b/docsrc/gettext/.doctrees/api/records.doctree index b2518687a..4f5ee7fbd 100644 Binary files a/docsrc/gettext/.doctrees/api/records.doctree and b/docsrc/gettext/.doctrees/api/records.doctree differ diff --git a/docsrc/gettext/.doctrees/api/reports.doctree b/docsrc/gettext/.doctrees/api/reports.doctree index eba967481..e74947294 100644 Binary files a/docsrc/gettext/.doctrees/api/reports.doctree and b/docsrc/gettext/.doctrees/api/reports.doctree differ diff --git a/docsrc/gettext/.doctrees/api/sports.doctree b/docsrc/gettext/.doctrees/api/sports.doctree index 1664caa26..5d01a12d1 100644 Binary files a/docsrc/gettext/.doctrees/api/sports.doctree and b/docsrc/gettext/.doctrees/api/sports.doctree differ diff --git a/docsrc/gettext/.doctrees/api/stats.doctree b/docsrc/gettext/.doctrees/api/stats.doctree index daada9141..0b88eb39a 100644 Binary files a/docsrc/gettext/.doctrees/api/stats.doctree and b/docsrc/gettext/.doctrees/api/stats.doctree differ diff --git a/docsrc/gettext/.doctrees/api/timeline.doctree b/docsrc/gettext/.doctrees/api/timeline.doctree index f4a4f3c74..2d8d694f0 100644 Binary files a/docsrc/gettext/.doctrees/api/timeline.doctree and b/docsrc/gettext/.doctrees/api/timeline.doctree differ diff --git a/docsrc/gettext/.doctrees/api/users.doctree b/docsrc/gettext/.doctrees/api/users.doctree index 9850c4cf5..b25dc9d03 100644 Binary files a/docsrc/gettext/.doctrees/api/users.doctree and b/docsrc/gettext/.doctrees/api/users.doctree differ diff --git a/docsrc/gettext/.doctrees/api/workouts.doctree b/docsrc/gettext/.doctrees/api/workouts.doctree index 387322eea..1c8412307 100644 Binary files a/docsrc/gettext/.doctrees/api/workouts.doctree and b/docsrc/gettext/.doctrees/api/workouts.doctree differ diff --git a/docsrc/gettext/.doctrees/changelog.doctree b/docsrc/gettext/.doctrees/changelog.doctree index adcb11fb3..f1971bf17 100644 Binary files a/docsrc/gettext/.doctrees/changelog.doctree and b/docsrc/gettext/.doctrees/changelog.doctree differ diff --git a/docsrc/gettext/.doctrees/cli.doctree b/docsrc/gettext/.doctrees/cli.doctree index b3dfba42d..7b767786c 100644 Binary files a/docsrc/gettext/.doctrees/cli.doctree and b/docsrc/gettext/.doctrees/cli.doctree differ diff --git a/docsrc/gettext/.doctrees/environment.pickle b/docsrc/gettext/.doctrees/environment.pickle index 2d39bf94c..4b38e606e 100644 Binary files a/docsrc/gettext/.doctrees/environment.pickle and b/docsrc/gettext/.doctrees/environment.pickle differ diff --git a/docsrc/gettext/.doctrees/features.doctree b/docsrc/gettext/.doctrees/features.doctree index 6f4d35960..a260267b0 100644 Binary files a/docsrc/gettext/.doctrees/features.doctree and b/docsrc/gettext/.doctrees/features.doctree differ diff --git a/docsrc/gettext/.doctrees/index.doctree b/docsrc/gettext/.doctrees/index.doctree index e28820d25..f348b77c8 100644 Binary files a/docsrc/gettext/.doctrees/index.doctree and b/docsrc/gettext/.doctrees/index.doctree differ diff --git a/docsrc/gettext/.doctrees/installation.doctree b/docsrc/gettext/.doctrees/installation.doctree index 080ee3438..48d2f7d80 100644 Binary files a/docsrc/gettext/.doctrees/installation.doctree and b/docsrc/gettext/.doctrees/installation.doctree differ diff --git a/docsrc/gettext/.doctrees/oauth.doctree b/docsrc/gettext/.doctrees/oauth.doctree index c7a800b4a..2cd5c878d 100644 Binary files a/docsrc/gettext/.doctrees/oauth.doctree and b/docsrc/gettext/.doctrees/oauth.doctree differ diff --git a/docsrc/gettext/.doctrees/third_party_tools.doctree b/docsrc/gettext/.doctrees/third_party_tools.doctree index 0e7406186..7f85149f4 100644 Binary files a/docsrc/gettext/.doctrees/third_party_tools.doctree and b/docsrc/gettext/.doctrees/third_party_tools.doctree differ diff --git a/docsrc/gettext/.doctrees/troubleshooting/administrator.doctree b/docsrc/gettext/.doctrees/troubleshooting/administrator.doctree index 6f807d87d..5a6db86bb 100644 Binary files a/docsrc/gettext/.doctrees/troubleshooting/administrator.doctree and b/docsrc/gettext/.doctrees/troubleshooting/administrator.doctree differ diff --git a/docsrc/gettext/.doctrees/troubleshooting/index.doctree b/docsrc/gettext/.doctrees/troubleshooting/index.doctree index 0d974960e..7b7100565 100644 Binary files a/docsrc/gettext/.doctrees/troubleshooting/index.doctree and b/docsrc/gettext/.doctrees/troubleshooting/index.doctree differ diff --git a/docsrc/gettext/docs.pot b/docsrc/gettext/docs.pot index 743851769..c56f7eaf2 100644 --- a/docsrc/gettext/docs.pot +++ b/docsrc/gettext/docs.pot @@ -6,10 +6,10 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: FitTrackee 0.9.1\n" +"Project-Id-Version: FitTrackee 0.9.2\n" "\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-02 19:59+0100\n" +"POT-Creation-Date: 2025-02-12 16:08+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -2517,10 +2517,6 @@ msgstr "" msgid "Post a workout without gpx file." msgstr "" -#: ../../:1 -msgid "analysis visibility (``private``, ``followers_only`` or ``public``). Not mandatory, defaults to user preferences." -msgstr "" - #: ../../:1 msgid "workout ascent (not mandatory, must be provided with descent)" msgstr "" @@ -2545,10 +2541,6 @@ msgstr "" msgid "the id of the equipment to associate with this workout. **Note**: for now only one equipment can be associated. If not provided and default equipment exists for sport, default equipment will be associated." msgstr "" -#: ../../:1 -msgid "map visibility (``private``, ``followers_only`` or ``public``). Not mandatory, defaults to user preferences." -msgstr "" - #: ../../:1 msgid "notes (not mandatory, max length: 500 characters, otherwise they will be truncated)" msgstr "" @@ -2674,3508 +2666,3549 @@ msgid "Change log" msgstr "" #: ../source/changelog.md:3 -msgid "Version 0.9.1 (2025/02/02)" +msgid "Version 0.9.2 (2025/02/12)" msgstr "" #: ../source/changelog.md:5 -msgid "Note: The minimum version for Python is now 3.9.2." +#: ../source/changelog.md:50 +#: ../source/changelog.md:116 +#: ../source/changelog.md:197 +#: ../source/changelog.md:243 +#: ../source/changelog.md:321 +#: ../source/changelog.md:361 +#: ../source/changelog.md:411 +#: ../source/changelog.md:462 +#: ../source/changelog.md:504 +#: ../source/changelog.md:534 +#: ../source/changelog.md:581 +#: ../source/changelog.md:626 +#: ../source/changelog.md:663 +#: ../source/changelog.md:688 +#: ../source/changelog.md:730 +#: ../source/changelog.md:780 +#: ../source/changelog.md:820 +#: ../source/changelog.md:851 +#: ../source/changelog.md:889 +#: ../source/changelog.md:927 +#: ../source/changelog.md:964 +#: ../source/changelog.md:999 +#: ../source/changelog.md:1034 +#: ../source/changelog.md:1075 +#: ../source/changelog.md:1123 +#: ../source/changelog.md:1172 +#: ../source/changelog.md:1213 +#: ../source/changelog.md:1257 +#: ../source/changelog.md:1294 +#: ../source/changelog.md:1323 +#: ../source/changelog.md:1373 +#: ../source/changelog.md:1418 +#: ../source/changelog.md:1447 +#: ../source/changelog.md:1462 +#: ../source/changelog.md:1479 +#: ../source/changelog.md:1499 +#: ../source/changelog.md:1514 +#: ../source/changelog.md:1527 +#: ../source/changelog.md:1542 +#: ../source/changelog.md:1555 +#: ../source/changelog.md:1570 +#: ../source/changelog.md:1584 +#: ../source/changelog.md:1609 +#: ../source/changelog.md:1618 +#: ../source/changelog.md:1629 +#: ../source/changelog.md:1648 +#: ../source/changelog.md:1734 +#: ../source/features.rst:528 +msgid "Translations" msgstr "" #: ../source/changelog.md:7 -#: ../source/changelog.md:61 -#: ../source/changelog.md:126 -#: ../source/changelog.md:145 -#: ../source/changelog.md:199 -#: ../source/changelog.md:225 -#: ../source/changelog.md:257 -#: ../source/changelog.md:322 -#: ../source/changelog.md:368 -#: ../source/changelog.md:462 -#: ../source/changelog.md:537 -#: ../source/changelog.md:587 -#: ../source/changelog.md:686 -#: ../source/changelog.md:735 -#: ../source/changelog.md:844 -#: ../source/changelog.md:884 -#: ../source/changelog.md:922 -#: ../source/changelog.md:954 -#: ../source/changelog.md:1127 -#: ../source/changelog.md:1166 -#: ../source/changelog.md:1279 -#: ../source/changelog.md:1327 -#: ../source/changelog.md:1400 -#: ../source/changelog.md:1440 -#: ../source/changelog.md:1461 -#: ../source/changelog.md:1476 -#: ../source/changelog.md:1500 -#: ../source/changelog.md:1563 -#: ../source/changelog.md:1603 -msgid "Features and enhancements" +msgid "PR#711 - Translations update (Chinese (Simplified Han script))" msgstr "" -#: ../source/changelog.md:9 -msgid "PR#709 - Display equipment in workout detail for other users depending on visibility" +#: ../source/changelog.md:8 +msgid "PR#712 - Translations update (Polish, Basque)" +msgstr "" + +#: ../source/changelog.md:10 +#: ../source/changelog.md:56 +#: ../source/changelog.md:125 +#: ../source/changelog.md:201 +#: ../source/changelog.md:326 +#: ../source/changelog.md:367 +#: ../source/changelog.md:422 +#: ../source/changelog.md:470 +#: ../source/changelog.md:510 +#: ../source/changelog.md:542 +#: ../source/changelog.md:588 +#: ../source/changelog.md:633 +#: ../source/changelog.md:667 +#: ../source/changelog.md:694 +#: ../source/changelog.md:738 +#: ../source/changelog.md:788 +#: ../source/changelog.md:825 +#: ../source/changelog.md:855 +#: ../source/changelog.md:894 +#: ../source/changelog.md:932 +#: ../source/changelog.md:969 +#: ../source/changelog.md:1008 +#: ../source/changelog.md:1047 +#: ../source/changelog.md:1088 +#: ../source/changelog.md:1130 +#: ../source/changelog.md:1179 +#: ../source/changelog.md:1231 +#: ../source/changelog.md:1278 +#: ../source/changelog.md:1299 +#: ../source/changelog.md:1331 +#: ../source/changelog.md:1383 +msgid "Translation status:" msgstr "" #: ../source/changelog.md:11 -#: ../source/changelog.md:75 -#: ../source/changelog.md:131 -#: ../source/changelog.md:149 -#: ../source/changelog.md:205 -#: ../source/changelog.md:229 -#: ../source/changelog.md:247 -#: ../source/changelog.md:272 -#: ../source/changelog.md:372 -#: ../source/changelog.md:424 -#: ../source/changelog.md:466 -#: ../source/changelog.md:543 -#: ../source/changelog.md:625 -#: ../source/changelog.md:690 -#: ../source/changelog.md:740 -#: ../source/changelog.md:782 -#: ../source/changelog.md:813 -#: ../source/changelog.md:848 -#: ../source/changelog.md:889 -#: ../source/changelog.md:926 -#: ../source/changelog.md:960 -#: ../source/changelog.md:995 -#: ../source/changelog.md:1030 -#: ../source/changelog.md:1037 -#: ../source/changelog.md:1071 -#: ../source/changelog.md:1083 -#: ../source/changelog.md:1115 -#: ../source/changelog.md:1132 -#: ../source/changelog.md:1173 -#: ../source/changelog.md:1284 -#: ../source/changelog.md:1334 -#: ../source/changelog.md:1380 -#: ../source/changelog.md:1406 -#: ../source/changelog.md:1504 -#: ../source/changelog.md:1532 -#: ../source/changelog.md:1543 -#: ../source/changelog.md:1570 -#: ../source/changelog.md:1591 -#: ../source/changelog.md:1609 -#: ../source/changelog.md:1625 -#: ../source/changelog.md:1646 -#: ../source/changelog.md:1668 -#: ../source/changelog.md:1675 -#: ../source/changelog.md:1695 -#: ../source/changelog.md:1717 -#: ../source/changelog.md:1735 -#: ../source/changelog.md:1770 -#: ../source/changelog.md:1781 -#: ../source/changelog.md:1792 -#: ../source/changelog.md:1804 -#: ../source/changelog.md:1824 -#: ../source/changelog.md:1830 -#: ../source/changelog.md:1882 -#: ../source/changelog.md:1906 -#: ../source/changelog.md:1917 -#: ../source/changelog.md:1928 -#: ../source/changelog.md:1973 -#: ../source/changelog.md:2006 -#: ../source/changelog.md:2018 -#: ../source/changelog.md:2029 -#: ../source/changelog.md:2045 -#: ../source/changelog.md:2058 -#: ../source/changelog.md:2070 -#: ../source/changelog.md:2091 -#: ../source/changelog.md:2169 -#: ../source/changelog.md:2186 -#: ../source/changelog.md:2197 -#: ../source/changelog.md:2217 -#: ../source/changelog.md:2252 -msgid "Bugs Fixed" +msgid "Basque: 73%" +msgstr "" + +#: ../source/changelog.md:12 +#: ../source/changelog.md:58 +#: ../source/changelog.md:127 +msgid "Bulgarian: 64%" msgstr "" #: ../source/changelog.md:13 -msgid "#708 - Cannot add/update equipment description" +#: ../source/changelog.md:59 +msgid "Chinese (Simplified): 100%" msgstr "" #: ../source/changelog.md:14 -msgid "PR#707 - Display user workouts only on user profile" +#: ../source/changelog.md:60 +#: ../source/changelog.md:129 +msgid "Czech: 47%" +msgstr "" + +#: ../source/changelog.md:15 +#: ../source/changelog.md:61 +#: ../source/changelog.md:130 +msgid "Dutch: 64%" msgstr "" #: ../source/changelog.md:16 -#: ../source/changelog.md:82 -#: ../source/changelog.md:163 -#: ../source/changelog.md:209 -#: ../source/changelog.md:287 -#: ../source/changelog.md:327 -#: ../source/changelog.md:377 +#: ../source/changelog.md:62 +#: ../source/changelog.md:131 +#: ../source/changelog.md:206 +#: ../source/changelog.md:331 +#: ../source/changelog.md:372 +#: ../source/changelog.md:427 +#: ../source/changelog.md:475 +#: ../source/changelog.md:514 +#: ../source/changelog.md:546 +#: ../source/changelog.md:592 +#: ../source/changelog.md:637 +#: ../source/changelog.md:671 +#: ../source/changelog.md:698 +#: ../source/changelog.md:742 +#: ../source/changelog.md:791 +#: ../source/changelog.md:828 +#: ../source/changelog.md:858 +#: ../source/changelog.md:896 +#: ../source/changelog.md:934 +#: ../source/changelog.md:971 +#: ../source/changelog.md:1010 +#: ../source/changelog.md:1049 +#: ../source/changelog.md:1090 +#: ../source/changelog.md:1132 +#: ../source/changelog.md:1181 +#: ../source/changelog.md:1233 +#: ../source/changelog.md:1280 +#: ../source/changelog.md:1301 +#: ../source/changelog.md:1333 +#: ../source/changelog.md:1385 +msgid "English: 100%" +msgstr "" + +#: ../source/changelog.md:17 +#: ../source/changelog.md:63 +#: ../source/changelog.md:132 +#: ../source/changelog.md:207 +#: ../source/changelog.md:332 +#: ../source/changelog.md:373 #: ../source/changelog.md:428 -#: ../source/changelog.md:470 -#: ../source/changelog.md:500 +#: ../source/changelog.md:476 +#: ../source/changelog.md:515 #: ../source/changelog.md:547 -#: ../source/changelog.md:592 -#: ../source/changelog.md:629 -#: ../source/changelog.md:654 -#: ../source/changelog.md:696 -#: ../source/changelog.md:746 -#: ../source/changelog.md:786 -#: ../source/changelog.md:817 -#: ../source/changelog.md:855 -#: ../source/changelog.md:893 -#: ../source/changelog.md:930 -#: ../source/changelog.md:965 -#: ../source/changelog.md:1000 -#: ../source/changelog.md:1041 -#: ../source/changelog.md:1089 -#: ../source/changelog.md:1138 -#: ../source/changelog.md:1179 -#: ../source/changelog.md:1223 -#: ../source/changelog.md:1260 -#: ../source/changelog.md:1289 -#: ../source/changelog.md:1339 -#: ../source/changelog.md:1384 -#: ../source/changelog.md:1413 -#: ../source/changelog.md:1428 -#: ../source/changelog.md:1445 -#: ../source/changelog.md:1465 -#: ../source/changelog.md:1480 -#: ../source/changelog.md:1493 -#: ../source/changelog.md:1508 -#: ../source/changelog.md:1521 -#: ../source/changelog.md:1536 -#: ../source/changelog.md:1550 -#: ../source/changelog.md:1575 -#: ../source/changelog.md:1584 -#: ../source/changelog.md:1595 -#: ../source/changelog.md:1614 -#: ../source/changelog.md:1700 -#: ../source/features.rst:528 -msgid "Translations" +#: ../source/changelog.md:593 +#: ../source/changelog.md:638 +#: ../source/changelog.md:672 +#: ../source/changelog.md:699 +#: ../source/changelog.md:743 +#: ../source/changelog.md:792 +#: ../source/changelog.md:829 +#: ../source/changelog.md:859 +#: ../source/changelog.md:897 +#: ../source/changelog.md:935 +#: ../source/changelog.md:972 +#: ../source/changelog.md:1011 +#: ../source/changelog.md:1050 +#: ../source/changelog.md:1091 +#: ../source/changelog.md:1133 +#: ../source/changelog.md:1182 +#: ../source/changelog.md:1234 +#: ../source/changelog.md:1281 +#: ../source/changelog.md:1302 +#: ../source/changelog.md:1334 +#: ../source/changelog.md:1386 +msgid "French: 100%" msgstr "" #: ../source/changelog.md:18 -msgid "PR#700 - Translations update (Chinese (Simplified Han script))" +#: ../source/changelog.md:64 +#: ../source/changelog.md:133 +#: ../source/changelog.md:208 +#: ../source/changelog.md:333 +#: ../source/changelog.md:374 +#: ../source/changelog.md:429 +#: ../source/changelog.md:477 +#: ../source/changelog.md:548 +#: ../source/changelog.md:594 +#: ../source/changelog.md:639 +#: ../source/changelog.md:673 +#: ../source/changelog.md:700 +#: ../source/changelog.md:744 +#: ../source/changelog.md:830 +#: ../source/changelog.md:860 +#: ../source/changelog.md:898 +#: ../source/changelog.md:936 +#: ../source/changelog.md:973 +#: ../source/changelog.md:1051 +#: ../source/changelog.md:1092 +#: ../source/changelog.md:1134 +#: ../source/changelog.md:1183 +#: ../source/changelog.md:1282 +#: ../source/changelog.md:1303 +#: ../source/changelog.md:1387 +msgid "Galician: 100%" msgstr "" #: ../source/changelog.md:19 -msgid "PR#702 - Translations update (German, Chinese (Simplified Han script))" +#: ../source/changelog.md:65 +msgid "German: 76%" msgstr "" #: ../source/changelog.md:20 -msgid "PR#705 - Translations update (Polish)" +#: ../source/changelog.md:66 +#: ../source/changelog.md:135 +msgid "Italian: 53%" +msgstr "" + +#: ../source/changelog.md:21 +#: ../source/changelog.md:67 +#: ../source/changelog.md:136 +msgid "Norwegian Bokmål: 34%" msgstr "" #: ../source/changelog.md:22 -#: ../source/changelog.md:91 -#: ../source/changelog.md:167 -#: ../source/changelog.md:292 -#: ../source/changelog.md:333 -#: ../source/changelog.md:388 -#: ../source/changelog.md:436 -#: ../source/changelog.md:476 -#: ../source/changelog.md:508 -#: ../source/changelog.md:554 -#: ../source/changelog.md:599 -#: ../source/changelog.md:633 -#: ../source/changelog.md:660 -#: ../source/changelog.md:704 -#: ../source/changelog.md:754 -#: ../source/changelog.md:791 -#: ../source/changelog.md:821 -#: ../source/changelog.md:860 -#: ../source/changelog.md:898 -#: ../source/changelog.md:935 -#: ../source/changelog.md:974 -#: ../source/changelog.md:1013 -#: ../source/changelog.md:1054 +#: ../source/changelog.md:212 +#: ../source/changelog.md:337 +#: ../source/changelog.md:834 +#: ../source/changelog.md:940 +#: ../source/changelog.md:1055 #: ../source/changelog.md:1096 -#: ../source/changelog.md:1145 -#: ../source/changelog.md:1197 -#: ../source/changelog.md:1244 -#: ../source/changelog.md:1265 -#: ../source/changelog.md:1297 -#: ../source/changelog.md:1349 -msgid "Translation status:" +#: ../source/changelog.md:1138 +msgid "Polish: 100%" msgstr "" #: ../source/changelog.md:23 -#: ../source/changelog.md:92 -msgid "Basque: 72%" +#: ../source/changelog.md:69 +#: ../source/changelog.md:138 +msgid "Portuguese: 63%" msgstr "" #: ../source/changelog.md:24 -#: ../source/changelog.md:93 -msgid "Bulgarian: 64%" +#: ../source/changelog.md:70 +msgid "Russian: 40%" msgstr "" #: ../source/changelog.md:25 -msgid "Chinese (Simplified): 100%" -msgstr "" - -#: ../source/changelog.md:26 -#: ../source/changelog.md:95 -msgid "Czech: 47%" +#: ../source/changelog.md:71 +#: ../source/changelog.md:140 +msgid "Spanish: 64%" msgstr "" #: ../source/changelog.md:27 -#: ../source/changelog.md:96 -msgid "Dutch: 64%" -msgstr "" - -#: ../source/changelog.md:28 -#: ../source/changelog.md:97 -#: ../source/changelog.md:172 -#: ../source/changelog.md:297 -#: ../source/changelog.md:338 -#: ../source/changelog.md:393 -#: ../source/changelog.md:441 -#: ../source/changelog.md:480 -#: ../source/changelog.md:512 -#: ../source/changelog.md:558 -#: ../source/changelog.md:603 -#: ../source/changelog.md:637 -#: ../source/changelog.md:664 -#: ../source/changelog.md:708 -#: ../source/changelog.md:757 -#: ../source/changelog.md:794 -#: ../source/changelog.md:824 -#: ../source/changelog.md:862 -#: ../source/changelog.md:900 -#: ../source/changelog.md:937 -#: ../source/changelog.md:976 -#: ../source/changelog.md:1015 -#: ../source/changelog.md:1056 -#: ../source/changelog.md:1098 -#: ../source/changelog.md:1147 -#: ../source/changelog.md:1199 -#: ../source/changelog.md:1246 -#: ../source/changelog.md:1267 -#: ../source/changelog.md:1299 -#: ../source/changelog.md:1351 -msgid "English: 100%" +#: ../source/changelog.md:73 +#: ../source/changelog.md:142 +#: ../source/changelog.md:190 +#: ../source/changelog.md:217 +#: ../source/changelog.md:268 +#: ../source/changelog.md:310 +#: ../source/changelog.md:342 +#: ../source/changelog.md:383 +#: ../source/changelog.md:437 +#: ../source/changelog.md:556 +#: ../source/changelog.md:602 +#: ../source/changelog.md:647 +#: ../source/changelog.md:707 +#: ../source/changelog.md:751 +#: ../source/changelog.md:800 +#: ../source/changelog.md:867 +#: ../source/changelog.md:905 +#: ../source/changelog.md:943 +#: ../source/changelog.md:1003 +#: ../source/changelog.md:1039 +#: ../source/changelog.md:1080 +#: ../source/changelog.md:1110 +#: ../source/changelog.md:1154 +#: ../source/changelog.md:1225 +#: ../source/changelog.md:1272 +#: ../source/changelog.md:1393 +#: ../source/changelog.md:1466 +#: ../source/changelog.md:1546 +#: ../source/changelog.md:1559 +#: ../source/changelog.md:1665 +#: ../source/changelog.md:1757 +#: ../source/changelog.md:1778 +#: ../source/changelog.md:1886 +#: ../source/changelog.md:1902 +#: ../source/changelog.md:2011 +#: ../source/changelog.md:2067 +#: ../source/changelog.md:2108 +#: ../source/changelog.md:2134 +#: ../source/changelog.md:2189 +#: ../source/changelog.md:2255 +#: ../source/changelog.md:2270 +msgid "Misc" msgstr "" #: ../source/changelog.md:29 -#: ../source/changelog.md:98 -#: ../source/changelog.md:173 -#: ../source/changelog.md:298 -#: ../source/changelog.md:339 -#: ../source/changelog.md:394 -#: ../source/changelog.md:442 -#: ../source/changelog.md:481 -#: ../source/changelog.md:513 -#: ../source/changelog.md:559 -#: ../source/changelog.md:604 -#: ../source/changelog.md:638 -#: ../source/changelog.md:665 -#: ../source/changelog.md:709 -#: ../source/changelog.md:758 -#: ../source/changelog.md:795 -#: ../source/changelog.md:825 -#: ../source/changelog.md:863 -#: ../source/changelog.md:901 -#: ../source/changelog.md:938 -#: ../source/changelog.md:977 -#: ../source/changelog.md:1016 -#: ../source/changelog.md:1057 -#: ../source/changelog.md:1099 -#: ../source/changelog.md:1148 -#: ../source/changelog.md:1200 -#: ../source/changelog.md:1247 -#: ../source/changelog.md:1268 -#: ../source/changelog.md:1300 -#: ../source/changelog.md:1352 -msgid "French: 100%" -msgstr "" - -#: ../source/changelog.md:30 -#: ../source/changelog.md:99 -#: ../source/changelog.md:174 -#: ../source/changelog.md:299 -#: ../source/changelog.md:340 -#: ../source/changelog.md:395 -#: ../source/changelog.md:443 -#: ../source/changelog.md:514 -#: ../source/changelog.md:560 -#: ../source/changelog.md:605 -#: ../source/changelog.md:639 -#: ../source/changelog.md:666 -#: ../source/changelog.md:710 -#: ../source/changelog.md:796 -#: ../source/changelog.md:826 -#: ../source/changelog.md:864 -#: ../source/changelog.md:902 -#: ../source/changelog.md:939 -#: ../source/changelog.md:1017 -#: ../source/changelog.md:1058 -#: ../source/changelog.md:1100 -#: ../source/changelog.md:1149 -#: ../source/changelog.md:1248 -#: ../source/changelog.md:1269 -#: ../source/changelog.md:1353 -msgid "Galician: 100%" +msgid "2612cd9 - fix Dockerfile used for development" msgstr "" #: ../source/changelog.md:31 -msgid "German: 76%" +#: ../source/changelog.md:79 +#: ../source/changelog.md:146 +#: ../source/changelog.md:223 +#: ../source/changelog.md:247 +#: ../source/changelog.md:348 +#: ../source/changelog.md:388 +#: ../source/changelog.md:442 +#: ../source/changelog.md:486 +#: ../source/changelog.md:525 +#: ../source/changelog.md:561 +#: ../source/changelog.md:607 +#: ../source/changelog.md:652 +#: ../source/changelog.md:681 +#: ../source/changelog.md:712 +#: ../source/changelog.md:757 +#: ../source/changelog.md:806 +#: ../source/changelog.md:838 +#: ../source/changelog.md:872 +#: ../source/changelog.md:910 +#: ../source/changelog.md:948 +#: ../source/changelog.md:980 +#: ../source/changelog.md:1019 +#: ../source/changelog.md:1058 +#: ../source/changelog.md:1099 +#: ../source/changelog.md:1141 +#: ../source/changelog.md:1190 +#: ../source/changelog.md:1242 +#: ../source/changelog.md:1344 +#: ../source/changelog.md:1398 +#: ../source/changelog.md:1453 +#: ../source/changelog.md:1485 +#: ../source/changelog.md:1742 +#: ../source/changelog.md:2025 +msgid "Thanks to the contributors:" msgstr "" #: ../source/changelog.md:32 -#: ../source/changelog.md:101 -msgid "Italian: 53%" +#: ../source/changelog.md:147 +#: ../source/changelog.md:349 +#: ../source/changelog.md:446 +#: ../source/changelog.md:526 +#: ../source/changelog.md:873 +msgid "@erral" msgstr "" #: ../source/changelog.md:33 -#: ../source/changelog.md:102 -msgid "Norwegian Bokmål: 34%" +#: ../source/changelog.md:81 +#: ../source/changelog.md:149 +msgid "Poesty Li" msgstr "" #: ../source/changelog.md:34 -#: ../source/changelog.md:609 -#: ../source/changelog.md:643 -#: ../source/changelog.md:670 -#: ../source/changelog.md:714 -msgid "Polish: 88%" +#: ../source/changelog.md:82 +msgid "Wiktor Jędrzejczak" msgstr "" -#: ../source/changelog.md:35 -#: ../source/changelog.md:104 -msgid "Portuguese: 63%" +#: ../source/changelog.md:37 +msgid "Version 0.9.1 (2025/02/02)" msgstr "" -#: ../source/changelog.md:36 -msgid "Russian: 40%" +#: ../source/changelog.md:39 +msgid "Note: The minimum version for Python is now 3.9.2." msgstr "" -#: ../source/changelog.md:37 -#: ../source/changelog.md:106 -msgid "Spanish: 64%" +#: ../source/changelog.md:41 +#: ../source/changelog.md:95 +#: ../source/changelog.md:160 +#: ../source/changelog.md:179 +#: ../source/changelog.md:233 +#: ../source/changelog.md:259 +#: ../source/changelog.md:291 +#: ../source/changelog.md:356 +#: ../source/changelog.md:402 +#: ../source/changelog.md:496 +#: ../source/changelog.md:571 +#: ../source/changelog.md:621 +#: ../source/changelog.md:720 +#: ../source/changelog.md:769 +#: ../source/changelog.md:878 +#: ../source/changelog.md:918 +#: ../source/changelog.md:956 +#: ../source/changelog.md:988 +#: ../source/changelog.md:1161 +#: ../source/changelog.md:1200 +#: ../source/changelog.md:1313 +#: ../source/changelog.md:1361 +#: ../source/changelog.md:1434 +#: ../source/changelog.md:1474 +#: ../source/changelog.md:1495 +#: ../source/changelog.md:1510 +#: ../source/changelog.md:1534 +#: ../source/changelog.md:1597 +#: ../source/changelog.md:1637 +msgid "Features and enhancements" msgstr "" -#: ../source/changelog.md:39 -#: ../source/changelog.md:108 -#: ../source/changelog.md:156 +#: ../source/changelog.md:43 +msgid "PR#709 - Display equipment in workout detail for other users depending on visibility" +msgstr "" + +#: ../source/changelog.md:45 +#: ../source/changelog.md:109 +#: ../source/changelog.md:165 #: ../source/changelog.md:183 -#: ../source/changelog.md:234 -#: ../source/changelog.md:276 -#: ../source/changelog.md:308 -#: ../source/changelog.md:349 -#: ../source/changelog.md:403 -#: ../source/changelog.md:522 -#: ../source/changelog.md:568 -#: ../source/changelog.md:613 -#: ../source/changelog.md:673 -#: ../source/changelog.md:717 -#: ../source/changelog.md:766 -#: ../source/changelog.md:833 -#: ../source/changelog.md:871 -#: ../source/changelog.md:909 -#: ../source/changelog.md:969 -#: ../source/changelog.md:1005 -#: ../source/changelog.md:1046 -#: ../source/changelog.md:1076 -#: ../source/changelog.md:1120 -#: ../source/changelog.md:1191 -#: ../source/changelog.md:1238 -#: ../source/changelog.md:1359 -#: ../source/changelog.md:1432 -#: ../source/changelog.md:1512 -#: ../source/changelog.md:1525 -#: ../source/changelog.md:1631 -#: ../source/changelog.md:1723 -#: ../source/changelog.md:1744 -#: ../source/changelog.md:1852 -#: ../source/changelog.md:1868 -#: ../source/changelog.md:1977 -#: ../source/changelog.md:2033 -#: ../source/changelog.md:2074 -#: ../source/changelog.md:2100 -#: ../source/changelog.md:2155 -#: ../source/changelog.md:2221 -#: ../source/changelog.md:2236 -msgid "Misc" +#: ../source/changelog.md:239 +#: ../source/changelog.md:263 +#: ../source/changelog.md:281 +#: ../source/changelog.md:306 +#: ../source/changelog.md:406 +#: ../source/changelog.md:458 +#: ../source/changelog.md:500 +#: ../source/changelog.md:577 +#: ../source/changelog.md:659 +#: ../source/changelog.md:724 +#: ../source/changelog.md:774 +#: ../source/changelog.md:816 +#: ../source/changelog.md:847 +#: ../source/changelog.md:882 +#: ../source/changelog.md:923 +#: ../source/changelog.md:960 +#: ../source/changelog.md:994 +#: ../source/changelog.md:1029 +#: ../source/changelog.md:1064 +#: ../source/changelog.md:1071 +#: ../source/changelog.md:1105 +#: ../source/changelog.md:1117 +#: ../source/changelog.md:1149 +#: ../source/changelog.md:1166 +#: ../source/changelog.md:1207 +#: ../source/changelog.md:1318 +#: ../source/changelog.md:1368 +#: ../source/changelog.md:1414 +#: ../source/changelog.md:1440 +#: ../source/changelog.md:1538 +#: ../source/changelog.md:1566 +#: ../source/changelog.md:1577 +#: ../source/changelog.md:1604 +#: ../source/changelog.md:1625 +#: ../source/changelog.md:1643 +#: ../source/changelog.md:1659 +#: ../source/changelog.md:1680 +#: ../source/changelog.md:1702 +#: ../source/changelog.md:1709 +#: ../source/changelog.md:1729 +#: ../source/changelog.md:1751 +#: ../source/changelog.md:1769 +#: ../source/changelog.md:1804 +#: ../source/changelog.md:1815 +#: ../source/changelog.md:1826 +#: ../source/changelog.md:1838 +#: ../source/changelog.md:1858 +#: ../source/changelog.md:1864 +#: ../source/changelog.md:1916 +#: ../source/changelog.md:1940 +#: ../source/changelog.md:1951 +#: ../source/changelog.md:1962 +#: ../source/changelog.md:2007 +#: ../source/changelog.md:2040 +#: ../source/changelog.md:2052 +#: ../source/changelog.md:2063 +#: ../source/changelog.md:2079 +#: ../source/changelog.md:2092 +#: ../source/changelog.md:2104 +#: ../source/changelog.md:2125 +#: ../source/changelog.md:2203 +#: ../source/changelog.md:2220 +#: ../source/changelog.md:2231 +#: ../source/changelog.md:2251 +#: ../source/changelog.md:2286 +msgid "Bugs Fixed" msgstr "" -#: ../source/changelog.md:41 -msgid "#355 - Update SQLAlchemy to 2.x" +#: ../source/changelog.md:47 +msgid "#708 - Cannot add/update equipment description" msgstr "" -#: ../source/changelog.md:42 -msgid "#685 - replace deprecated datetime.utcnow()" +#: ../source/changelog.md:48 +msgid "PR#707 - Display user workouts only on user profile" msgstr "" -#: ../source/changelog.md:43 -msgid "b224e17 - tools - update ruff config" +#: ../source/changelog.md:52 +msgid "PR#700 - Translations update (Chinese (Simplified Han script))" msgstr "" -#: ../source/changelog.md:45 -#: ../source/changelog.md:112 -#: ../source/changelog.md:189 -#: ../source/changelog.md:213 -#: ../source/changelog.md:314 -#: ../source/changelog.md:354 -#: ../source/changelog.md:408 -#: ../source/changelog.md:452 -#: ../source/changelog.md:491 -#: ../source/changelog.md:527 -#: ../source/changelog.md:573 -#: ../source/changelog.md:618 -#: ../source/changelog.md:647 -#: ../source/changelog.md:678 -#: ../source/changelog.md:723 -#: ../source/changelog.md:772 -#: ../source/changelog.md:804 -#: ../source/changelog.md:838 -#: ../source/changelog.md:876 -#: ../source/changelog.md:914 -#: ../source/changelog.md:946 -#: ../source/changelog.md:985 -#: ../source/changelog.md:1024 -#: ../source/changelog.md:1065 -#: ../source/changelog.md:1107 -#: ../source/changelog.md:1156 -#: ../source/changelog.md:1208 -#: ../source/changelog.md:1310 -#: ../source/changelog.md:1364 -#: ../source/changelog.md:1419 -#: ../source/changelog.md:1451 -#: ../source/changelog.md:1708 -#: ../source/changelog.md:1991 -msgid "Thanks to the contributors:" +#: ../source/changelog.md:53 +msgid "PR#702 - Translations update (German, Chinese (Simplified Han script))" msgstr "" -#: ../source/changelog.md:46 -msgid "@OliverPifferi" +#: ../source/changelog.md:54 +msgid "PR#705 - Translations update (Polish)" msgstr "" -#: ../source/changelog.md:47 -#: ../source/changelog.md:115 -msgid "Poesty Li" +#: ../source/changelog.md:57 +#: ../source/changelog.md:126 +msgid "Basque: 72%" msgstr "" -#: ../source/changelog.md:48 -msgid "Wiktor Jędrzejczak" +#: ../source/changelog.md:68 +#: ../source/changelog.md:643 +#: ../source/changelog.md:677 +#: ../source/changelog.md:704 +#: ../source/changelog.md:748 +msgid "Polish: 88%" msgstr "" -#: ../source/changelog.md:50 -#: ../source/changelog.md:136 -#: ../source/changelog.md:217 -#: ../source/changelog.md:239 -#: ../source/changelog.md:268 -#: ../source/changelog.md:417 -#: ../source/changelog.md:495 -#: ../source/changelog.md:580 -#: ../source/changelog.md:777 -#: ../source/changelog.md:990 -#: ../source/changelog.md:1161 -#: ../source/changelog.md:1213 -#: ../source/changelog.md:1317 -#: ../source/changelog.md:1375 -#: ../source/changelog.md:1423 -#: ../source/changelog.md:1471 -#: ../source/changelog.md:1485 -#: ../source/changelog.md:1579 -#: ../source/changelog.md:1618 +#: ../source/changelog.md:75 +msgid "#355 - Update SQLAlchemy to 2.x" +msgstr "" + +#: ../source/changelog.md:76 +msgid "#685 - replace deprecated datetime.utcnow()" +msgstr "" + +#: ../source/changelog.md:77 +msgid "b224e17 - tools - update ruff config" +msgstr "" + +#: ../source/changelog.md:80 +msgid "@OliverPifferi" +msgstr "" + +#: ../source/changelog.md:84 +#: ../source/changelog.md:170 +#: ../source/changelog.md:251 +#: ../source/changelog.md:273 +#: ../source/changelog.md:302 +#: ../source/changelog.md:451 +#: ../source/changelog.md:529 +#: ../source/changelog.md:614 +#: ../source/changelog.md:811 +#: ../source/changelog.md:1024 +#: ../source/changelog.md:1195 +#: ../source/changelog.md:1247 +#: ../source/changelog.md:1351 +#: ../source/changelog.md:1409 +#: ../source/changelog.md:1457 +#: ../source/changelog.md:1505 +#: ../source/changelog.md:1519 +#: ../source/changelog.md:1613 +#: ../source/changelog.md:1652 msgid "Note: This release contains database migration (see upgrade instructions in documentation)" msgstr "" -#: ../source/changelog.md:53 +#: ../source/changelog.md:87 msgid "Version 0.9.0 (2025/01/18)" msgstr "" -#: ../source/changelog.md:55 +#: ../source/changelog.md:89 msgid "FitTrackee now allows you to follow other users, view their workouts according to the level of visibility and interact with them." msgstr "" -#: ../source/changelog.md:57 +#: ../source/changelog.md:91 msgid "The default privacy policy has been updated, as well as the link to the documentation." msgstr "" -#: ../source/changelog.md:59 +#: ../source/changelog.md:93 msgid "Note: This version also includes the changes from the beta versions." msgstr "" -#: ../source/changelog.md:63 -#: ../source/changelog.md:259 +#: ../source/changelog.md:97 +#: ../source/changelog.md:293 msgid "#16 - Add social features [1st part]" msgstr "" -#: ../source/changelog.md:64 -#: ../source/changelog.md:260 +#: ../source/changelog.md:98 +#: ../source/changelog.md:294 msgid "#125 - Add followers/following and visibility levels" msgstr "" -#: ../source/changelog.md:65 -#: ../source/changelog.md:261 +#: ../source/changelog.md:99 +#: ../source/changelog.md:295 msgid "#296 - Add comments" msgstr "" -#: ../source/changelog.md:66 -#: ../source/changelog.md:262 +#: ../source/changelog.md:100 +#: ../source/changelog.md:296 msgid "#298 - Add likes" msgstr "" -#: ../source/changelog.md:67 -#: ../source/changelog.md:263 +#: ../source/changelog.md:101 +#: ../source/changelog.md:297 msgid "#299 - UI notifications" msgstr "" -#: ../source/changelog.md:68 -#: ../source/changelog.md:264 +#: ../source/changelog.md:102 +#: ../source/changelog.md:298 msgid "#381 - Block a user to hide unwanted content" msgstr "" -#: ../source/changelog.md:69 -#: ../source/changelog.md:265 +#: ../source/changelog.md:103 +#: ../source/changelog.md:299 msgid "#382 - Moderation tools" msgstr "" -#: ../source/changelog.md:70 -#: ../source/changelog.md:266 +#: ../source/changelog.md:104 +#: ../source/changelog.md:300 msgid "#655 - Add moderator and owner roles" msgstr "" -#: ../source/changelog.md:71 +#: ../source/changelog.md:105 msgid "PR#666 - Display last 5 workouts in user profile" msgstr "" -#: ../source/changelog.md:72 -#: ../source/changelog.md:147 +#: ../source/changelog.md:106 +#: ../source/changelog.md:181 msgid "PR#675 - CLI - create user with provided role" msgstr "" -#: ../source/changelog.md:73 +#: ../source/changelog.md:107 msgid "#691 Support Markdown syntax in description and notes" msgstr "" -#: ../source/changelog.md:77 -#: ../source/changelog.md:207 +#: ../source/changelog.md:111 +#: ../source/changelog.md:241 msgid "#664 - privacy policy validation is not displayed" msgstr "" -#: ../source/changelog.md:78 +#: ../source/changelog.md:112 msgid "#682 - Monthly statistics are incorrect" msgstr "" -#: ../source/changelog.md:79 +#: ../source/changelog.md:113 msgid "#683 - User time zone is not taken into account in statistics" msgstr "" -#: ../source/changelog.md:80 +#: ../source/changelog.md:114 msgid "#680 - accessibility and style fixes" msgstr "" -#: ../source/changelog.md:84 +#: ../source/changelog.md:118 msgid "PR#688 - Translations update (Basque, Galician)" msgstr "" -#: ../source/changelog.md:85 +#: ../source/changelog.md:119 msgid "PR#690 - Translations update (English, French, Basque, Galician)" msgstr "" -#: ../source/changelog.md:86 +#: ../source/changelog.md:120 msgid "PR#692 - Translations update (French)" msgstr "" -#: ../source/changelog.md:87 +#: ../source/changelog.md:121 msgid "PR#695 - Translations update (Chinese)" msgstr "" -#: ../source/changelog.md:88 +#: ../source/changelog.md:122 msgid "PR#696 - Translations update (Galician)" msgstr "" -#: ../source/changelog.md:89 +#: ../source/changelog.md:123 msgid "#697 - [translations request] Chinese (Simplified Han script) (zh_Hans)" msgstr "" -#: ../source/changelog.md:94 +#: ../source/changelog.md:128 msgid "Chinese (Simplified): 48%" msgstr "" -#: ../source/changelog.md:100 +#: ../source/changelog.md:134 msgid "German: 64%" msgstr "" -#: ../source/changelog.md:103 +#: ../source/changelog.md:137 msgid "Polish: 64%" msgstr "" -#: ../source/changelog.md:105 +#: ../source/changelog.md:139 msgid "Russian: 64%" msgstr "" -#: ../source/changelog.md:110 +#: ../source/changelog.md:144 msgid "PR#685 - Update link to documentation" msgstr "" -#: ../source/changelog.md:113 -#: ../source/changelog.md:315 -#: ../source/changelog.md:412 -#: ../source/changelog.md:492 -#: ../source/changelog.md:839 -msgid "@erral" -msgstr "" - -#: ../source/changelog.md:114 -#: ../source/changelog.md:191 -#: ../source/changelog.md:214 -#: ../source/changelog.md:360 -#: ../source/changelog.md:415 -#: ../source/changelog.md:457 -#: ../source/changelog.md:493 -#: ../source/changelog.md:532 -#: ../source/changelog.md:578 -#: ../source/changelog.md:728 -#: ../source/changelog.md:775 -#: ../source/changelog.md:879 -#: ../source/changelog.md:949 -#: ../source/changelog.md:988 -#: ../source/changelog.md:1066 -#: ../source/changelog.md:1158 -#: ../source/changelog.md:1211 -#: ../source/changelog.md:1315 -#: ../source/changelog.md:1370 +#: ../source/changelog.md:148 +#: ../source/changelog.md:225 +#: ../source/changelog.md:248 +#: ../source/changelog.md:394 +#: ../source/changelog.md:449 +#: ../source/changelog.md:491 +#: ../source/changelog.md:527 +#: ../source/changelog.md:566 +#: ../source/changelog.md:612 +#: ../source/changelog.md:762 +#: ../source/changelog.md:809 +#: ../source/changelog.md:913 +#: ../source/changelog.md:983 +#: ../source/changelog.md:1022 +#: ../source/changelog.md:1100 +#: ../source/changelog.md:1192 +#: ../source/changelog.md:1245 +#: ../source/changelog.md:1349 +#: ../source/changelog.md:1404 msgid "@xmgz" msgstr "" -#: ../source/changelog.md:117 +#: ../source/changelog.md:151 msgid "Note: If you upgrade from the v0.8.x, there are migrations to apply (see upgrade instructions in documentation)" msgstr "" -#: ../source/changelog.md:120 +#: ../source/changelog.md:154 msgid "Version 0.9.0b6 (2025/01/05)" msgstr "" -#: ../source/changelog.md:122 -#: ../source/changelog.md:141 -#: ../source/changelog.md:196 -#: ../source/changelog.md:222 -#: ../source/changelog.md:244 -#: ../source/changelog.md:254 +#: ../source/changelog.md:156 +#: ../source/changelog.md:175 +#: ../source/changelog.md:230 +#: ../source/changelog.md:256 +#: ../source/changelog.md:278 +#: ../source/changelog.md:288 msgid "This is a pre-release. Don't install this version in production, you may not be able to safely downgrade to a stable version.
    If you find bugs, please report them." msgstr "" -#: ../source/changelog.md:128 +#: ../source/changelog.md:162 msgid "PR#677 - Add notification preferences" msgstr "" -#: ../source/changelog.md:129 +#: ../source/changelog.md:163 msgid "PR#678 - Display users who like comment/workout" msgstr "" -#: ../source/changelog.md:133 +#: ../source/changelog.md:167 msgid "d743abf - display missing errors in user profile" msgstr "" -#: ../source/changelog.md:139 +#: ../source/changelog.md:173 msgid "Version 0.9.0b5 (2024/12/30)" msgstr "" -#: ../source/changelog.md:151 +#: ../source/changelog.md:185 msgid "PR#671 - Fix sport icon when unauthenticated user displays user profile" msgstr "" -#: ../source/changelog.md:152 +#: ../source/changelog.md:186 msgid "PR#674 - Fix display of privacy policy message with privacy extension" msgstr "" -#: ../source/changelog.md:153 +#: ../source/changelog.md:187 msgid "2e9f9d - fix translations" msgstr "" -#: ../source/changelog.md:154 +#: ../source/changelog.md:188 msgid "edc677 - Fix notification icons" msgstr "" -#: ../source/changelog.md:158 +#: ../source/changelog.md:192 msgid "174240 - add tags input to docker image build job" msgstr "" -#: ../source/changelog.md:161 +#: ../source/changelog.md:195 msgid "Version 0.8.13 (2024/12/29)" msgstr "" -#: ../source/changelog.md:165 -#: ../source/changelog.md:211 +#: ../source/changelog.md:199 +#: ../source/changelog.md:245 msgid "PR#667 - Translations update (Galician)" msgstr "" -#: ../source/changelog.md:168 -#: ../source/changelog.md:293 -#: ../source/changelog.md:389 -#: ../source/changelog.md:600 +#: ../source/changelog.md:202 +#: ../source/changelog.md:327 +#: ../source/changelog.md:423 #: ../source/changelog.md:634 -#: ../source/changelog.md:792 -#: ../source/changelog.md:822 +#: ../source/changelog.md:668 +#: ../source/changelog.md:826 +#: ../source/changelog.md:856 msgid "Basque: 100%" msgstr "" -#: ../source/changelog.md:169 -#: ../source/changelog.md:294 -#: ../source/changelog.md:335 +#: ../source/changelog.md:203 +#: ../source/changelog.md:328 +#: ../source/changelog.md:369 msgid "Bulgarian: 98%" msgstr "" -#: ../source/changelog.md:170 -#: ../source/changelog.md:295 -#: ../source/changelog.md:336 -#: ../source/changelog.md:391 -#: ../source/changelog.md:478 +#: ../source/changelog.md:204 +#: ../source/changelog.md:329 +#: ../source/changelog.md:370 +#: ../source/changelog.md:425 +#: ../source/changelog.md:512 msgid "Czech: 72%" msgstr "" -#: ../source/changelog.md:171 -#: ../source/changelog.md:296 -#: ../source/changelog.md:337 -#: ../source/changelog.md:392 -#: ../source/changelog.md:440 -#: ../source/changelog.md:479 -#: ../source/changelog.md:823 -#: ../source/changelog.md:861 -#: ../source/changelog.md:975 -#: ../source/changelog.md:1266 -#: ../source/changelog.md:1298 +#: ../source/changelog.md:205 +#: ../source/changelog.md:330 +#: ../source/changelog.md:371 +#: ../source/changelog.md:426 +#: ../source/changelog.md:474 +#: ../source/changelog.md:513 +#: ../source/changelog.md:857 +#: ../source/changelog.md:895 +#: ../source/changelog.md:1009 +#: ../source/changelog.md:1300 +#: ../source/changelog.md:1332 msgid "Dutch: 99%" msgstr "" -#: ../source/changelog.md:175 -#: ../source/changelog.md:300 -#: ../source/changelog.md:341 -#: ../source/changelog.md:396 -#: ../source/changelog.md:444 -#: ../source/changelog.md:606 +#: ../source/changelog.md:209 +#: ../source/changelog.md:334 +#: ../source/changelog.md:375 +#: ../source/changelog.md:430 +#: ../source/changelog.md:478 #: ../source/changelog.md:640 -#: ../source/changelog.md:667 -#: ../source/changelog.md:797 -#: ../source/changelog.md:827 -#: ../source/changelog.md:865 -#: ../source/changelog.md:903 -#: ../source/changelog.md:940 -#: ../source/changelog.md:1018 -#: ../source/changelog.md:1059 -#: ../source/changelog.md:1101 -#: ../source/changelog.md:1249 -#: ../source/changelog.md:1354 +#: ../source/changelog.md:674 +#: ../source/changelog.md:701 +#: ../source/changelog.md:831 +#: ../source/changelog.md:861 +#: ../source/changelog.md:899 +#: ../source/changelog.md:937 +#: ../source/changelog.md:974 +#: ../source/changelog.md:1052 +#: ../source/changelog.md:1093 +#: ../source/changelog.md:1135 +#: ../source/changelog.md:1283 +#: ../source/changelog.md:1388 msgid "German: 100%" msgstr "" -#: ../source/changelog.md:176 -#: ../source/changelog.md:301 -#: ../source/changelog.md:342 +#: ../source/changelog.md:210 +#: ../source/changelog.md:335 +#: ../source/changelog.md:376 msgid "Italian: 81%" msgstr "" -#: ../source/changelog.md:177 -#: ../source/changelog.md:302 -#: ../source/changelog.md:343 -#: ../source/changelog.md:398 -#: ../source/changelog.md:446 -#: ../source/changelog.md:485 -#: ../source/changelog.md:517 -#: ../source/changelog.md:563 +#: ../source/changelog.md:211 +#: ../source/changelog.md:336 +#: ../source/changelog.md:377 +#: ../source/changelog.md:432 +#: ../source/changelog.md:480 +#: ../source/changelog.md:519 +#: ../source/changelog.md:551 +#: ../source/changelog.md:597 msgid "Norwegian Bokmål: 52%" msgstr "" -#: ../source/changelog.md:178 -#: ../source/changelog.md:303 -#: ../source/changelog.md:800 -#: ../source/changelog.md:906 -#: ../source/changelog.md:1021 -#: ../source/changelog.md:1062 -#: ../source/changelog.md:1104 -msgid "Polish: 100%" -msgstr "" - -#: ../source/changelog.md:179 -#: ../source/changelog.md:304 -#: ../source/changelog.md:345 -#: ../source/changelog.md:400 +#: ../source/changelog.md:213 +#: ../source/changelog.md:338 +#: ../source/changelog.md:379 +#: ../source/changelog.md:434 msgid "Portuguese: 97%" msgstr "" -#: ../source/changelog.md:180 -#: ../source/changelog.md:305 +#: ../source/changelog.md:214 +#: ../source/changelog.md:339 msgid "Russian: 62%" msgstr "" -#: ../source/changelog.md:181 -#: ../source/changelog.md:306 -#: ../source/changelog.md:347 -#: ../source/changelog.md:401 -#: ../source/changelog.md:449 -#: ../source/changelog.md:520 -#: ../source/changelog.md:566 -#: ../source/changelog.md:611 -#: ../source/changelog.md:644 -#: ../source/changelog.md:671 -#: ../source/changelog.md:715 -#: ../source/changelog.md:764 -#: ../source/changelog.md:801 -#: ../source/changelog.md:831 -#: ../source/changelog.md:869 -#: ../source/changelog.md:907 -#: ../source/changelog.md:944 -#: ../source/changelog.md:1022 -#: ../source/changelog.md:1063 -#: ../source/changelog.md:1105 -#: ../source/changelog.md:1154 -#: ../source/changelog.md:1206 -#: ../source/changelog.md:1253 -#: ../source/changelog.md:1274 -#: ../source/changelog.md:1306 -#: ../source/changelog.md:1357 +#: ../source/changelog.md:215 +#: ../source/changelog.md:340 +#: ../source/changelog.md:381 +#: ../source/changelog.md:435 +#: ../source/changelog.md:483 +#: ../source/changelog.md:554 +#: ../source/changelog.md:600 +#: ../source/changelog.md:645 +#: ../source/changelog.md:678 +#: ../source/changelog.md:705 +#: ../source/changelog.md:749 +#: ../source/changelog.md:798 +#: ../source/changelog.md:835 +#: ../source/changelog.md:865 +#: ../source/changelog.md:903 +#: ../source/changelog.md:941 +#: ../source/changelog.md:978 +#: ../source/changelog.md:1056 +#: ../source/changelog.md:1097 +#: ../source/changelog.md:1139 +#: ../source/changelog.md:1188 +#: ../source/changelog.md:1240 +#: ../source/changelog.md:1287 +#: ../source/changelog.md:1308 +#: ../source/changelog.md:1340 +#: ../source/changelog.md:1391 msgid "Spanish: 100%" msgstr "" -#: ../source/changelog.md:185 +#: ../source/changelog.md:219 msgid "#126 - Docker's Container on docker hub" msgstr "" -#: ../source/changelog.md:186 +#: ../source/changelog.md:220 msgid "PR#673 - Publish package on PyPI using GitHub Actions workflow" msgstr "" -#: ../source/changelog.md:190 -#: ../source/changelog.md:986 +#: ../source/changelog.md:224 +#: ../source/changelog.md:1020 msgid "@DavidHenryThoreau" msgstr "" -#: ../source/changelog.md:194 +#: ../source/changelog.md:228 msgid "Version 0.9.0b4 (2024/12/23)" msgstr "" -#: ../source/changelog.md:201 +#: ../source/changelog.md:235 msgid "PR#666 - Display last 5 workouts in user detail" msgstr "" -#: ../source/changelog.md:202 +#: ../source/changelog.md:236 msgid "#668 - add analysis visibility" msgstr "" -#: ../source/changelog.md:203 +#: ../source/changelog.md:237 msgid "PR#67 - create notification when follow request is approved" msgstr "" -#: ../source/changelog.md:220 +#: ../source/changelog.md:254 msgid "Version 0.9.0b3 (2024/12/18)" msgstr "" -#: ../source/changelog.md:227 +#: ../source/changelog.md:261 msgid "#660 - mark notification as read on click on workout/comment/..." msgstr "" -#: ../source/changelog.md:231 +#: ../source/changelog.md:265 msgid "PR#659 - API - get workouts list with equipment" msgstr "" -#: ../source/changelog.md:232 +#: ../source/changelog.md:266 msgid "PR#662 - Minor fixes and improvements" msgstr "" -#: ../source/changelog.md:236 +#: ../source/changelog.md:270 msgid "189071 - use uuid instead of id for notifications" msgstr "" -#: ../source/changelog.md:242 +#: ../source/changelog.md:276 msgid "Version 0.9.0b2 (2024/12/14)" msgstr "" -#: ../source/changelog.md:249 +#: ../source/changelog.md:283 msgid "#657 - can not display next workouts in timeline" msgstr "" -#: ../source/changelog.md:252 +#: ../source/changelog.md:286 msgid "Version 0.9.0b1 (2024/12/14)" msgstr "" -#: ../source/changelog.md:270 +#: ../source/changelog.md:304 msgid "Version 0.8.12 (2024/11/17)" msgstr "" -#: ../source/changelog.md:274 +#: ../source/changelog.md:308 msgid "#652 - User can not login on new installation" msgstr "" -#: ../source/changelog.md:278 +#: ../source/changelog.md:312 msgid "PR#651 - Tests - add databases to parallelize more tests" msgstr "" -#: ../source/changelog.md:282 +#: ../source/changelog.md:316 msgid "Version 0.8.11 (2024/10/30)" msgstr "" -#: ../source/changelog.md:284 +#: ../source/changelog.md:318 msgid "FitTrackee is now available for Python 3.13. Python 3.8 is no longer supported, the minimum version is now Python 3.9." msgstr "" -#: ../source/changelog.md:289 +#: ../source/changelog.md:323 msgid "PR#640 - Translations update (Basque)" msgstr "" -#: ../source/changelog.md:290 +#: ../source/changelog.md:324 msgid "PR#645 - Translations update (Russian, Polish)" msgstr "" -#: ../source/changelog.md:310 +#: ../source/changelog.md:344 msgid "#455 - Drop support for Python 3.8" msgstr "" -#: ../source/changelog.md:311 +#: ../source/changelog.md:345 msgid "#639 - Add support for Python 3.13" msgstr "" -#: ../source/changelog.md:316 -#: ../source/changelog.md:359 +#: ../source/changelog.md:350 +#: ../source/changelog.md:393 msgid "@sikmir" msgstr "" -#: ../source/changelog.md:317 -#: ../source/changelog.md:806 -#: ../source/changelog.md:916 +#: ../source/changelog.md:351 +#: ../source/changelog.md:840 +#: ../source/changelog.md:950 msgid "Mariuz" msgstr "" -#: ../source/changelog.md:320 +#: ../source/changelog.md:354 msgid "Version 0.8.10 (2024/10/09)" msgstr "" -#: ../source/changelog.md:324 +#: ../source/changelog.md:358 msgid "PR#635 - Add ability to replace gpx title when adding a workout" msgstr "" -#: ../source/changelog.md:325 +#: ../source/changelog.md:359 msgid "PR#636 - Get description from gpx file if present" msgstr "" -#: ../source/changelog.md:329 +#: ../source/changelog.md:363 msgid "#629 - [Translation Request] Russian" msgstr "" -#: ../source/changelog.md:330 +#: ../source/changelog.md:364 msgid "PR#633 - Translations update (Russian, Dutch, Italian, Galician)" msgstr "" -#: ../source/changelog.md:331 +#: ../source/changelog.md:365 msgid "PR#637 - Translations update (Spanish, Russian, German and Galician)" msgstr "" -#: ../source/changelog.md:334 -#: ../source/changelog.md:437 -#: ../source/changelog.md:477 +#: ../source/changelog.md:368 +#: ../source/changelog.md:471 +#: ../source/changelog.md:511 msgid "Basque: 99%" msgstr "" -#: ../source/changelog.md:344 -#: ../source/changelog.md:943 +#: ../source/changelog.md:378 +#: ../source/changelog.md:977 msgid "Polish: 98%" msgstr "" -#: ../source/changelog.md:346 +#: ../source/changelog.md:380 msgid "Russian: 61%" msgstr "" -#: ../source/changelog.md:351 +#: ../source/changelog.md:385 msgid "PR#634 - CI - add PostgreSQL 17" msgstr "" -#: ../source/changelog.md:355 -#: ../source/changelog.md:409 +#: ../source/changelog.md:389 +#: ../source/changelog.md:443 msgid "@boosterl" msgstr "" -#: ../source/changelog.md:356 -#: ../source/changelog.md:413 -#: ../source/changelog.md:453 -#: ../source/changelog.md:575 -#: ../source/changelog.md:725 -#: ../source/changelog.md:774 -#: ../source/changelog.md:877 -#: ../source/changelog.md:947 -#: ../source/changelog.md:987 -#: ../source/changelog.md:1157 -#: ../source/changelog.md:1210 -#: ../source/changelog.md:1312 -#: ../source/changelog.md:1368 +#: ../source/changelog.md:390 +#: ../source/changelog.md:447 +#: ../source/changelog.md:487 +#: ../source/changelog.md:609 +#: ../source/changelog.md:759 +#: ../source/changelog.md:808 +#: ../source/changelog.md:911 +#: ../source/changelog.md:981 +#: ../source/changelog.md:1021 +#: ../source/changelog.md:1191 +#: ../source/changelog.md:1244 +#: ../source/changelog.md:1346 +#: ../source/changelog.md:1402 msgid "@gallegonovato" msgstr "" -#: ../source/changelog.md:357 -#: ../source/changelog.md:414 -#: ../source/changelog.md:456 -#: ../source/changelog.md:681 -#: ../source/changelog.md:878 -#: ../source/changelog.md:948 -#: ../source/changelog.md:1109 -#: ../source/changelog.md:1369 -#: ../source/changelog.md:1421 -#: ../source/changelog.md:1454 +#: ../source/changelog.md:391 +#: ../source/changelog.md:448 +#: ../source/changelog.md:490 +#: ../source/changelog.md:715 +#: ../source/changelog.md:912 +#: ../source/changelog.md:982 +#: ../source/changelog.md:1143 +#: ../source/changelog.md:1403 +#: ../source/changelog.md:1455 +#: ../source/changelog.md:1488 msgid "@qwerty287" msgstr "" -#: ../source/changelog.md:358 +#: ../source/changelog.md:392 msgid "@Shura0" msgstr "" -#: ../source/changelog.md:363 +#: ../source/changelog.md:397 msgid "Version 0.8.9 (2024/09/21)" msgstr "" -#: ../source/changelog.md:365 +#: ../source/changelog.md:399 msgid "This release introduces a new field: the workout description.
    This field is longer than the \"Notes\" field and will have the same visibility as the workout in a next version (see #125). The \"Notes\" field will remain private." msgstr "" -#: ../source/changelog.md:370 +#: ../source/changelog.md:404 msgid "#610 - Add a description field to workout" msgstr "" -#: ../source/changelog.md:374 +#: ../source/changelog.md:408 msgid "#621 - email username may contain special characters" msgstr "" -#: ../source/changelog.md:375 +#: ../source/changelog.md:409 msgid "#622 - Fix email sending by adding 'Message-ID'" msgstr "" -#: ../source/changelog.md:379 +#: ../source/changelog.md:413 msgid "PR#616 - Translations update (Dutch)" msgstr "" -#: ../source/changelog.md:380 +#: ../source/changelog.md:414 msgid "PR#617 - Translations update (Italian)" msgstr "" -#: ../source/changelog.md:381 +#: ../source/changelog.md:415 msgid "PR#618 - Translations update (Polish)" msgstr "" -#: ../source/changelog.md:382 +#: ../source/changelog.md:416 msgid "PR#620 - Translations update (Polish)" msgstr "" -#: ../source/changelog.md:383 +#: ../source/changelog.md:417 msgid "PR#624 - Translations update (Spanish)" msgstr "" -#: ../source/changelog.md:384 +#: ../source/changelog.md:418 msgid "PR#625 - Translations update (Galician and Basque)" msgstr "" -#: ../source/changelog.md:385 +#: ../source/changelog.md:419 msgid "PR#626 - Translations update (German)" msgstr "" -#: ../source/changelog.md:386 +#: ../source/changelog.md:420 msgid "PR#631 - Translations update (Basque)" msgstr "" -#: ../source/changelog.md:390 +#: ../source/changelog.md:424 msgid "Bulgarian: 99%" msgstr "" -#: ../source/changelog.md:397 -#: ../source/changelog.md:445 -#: ../source/changelog.md:484 -#: ../source/changelog.md:516 +#: ../source/changelog.md:431 +#: ../source/changelog.md:479 +#: ../source/changelog.md:518 +#: ../source/changelog.md:550 msgid "Italian: 82%" msgstr "" -#: ../source/changelog.md:399 -#: ../source/changelog.md:830 -#: ../source/changelog.md:868 -#: ../source/changelog.md:982 +#: ../source/changelog.md:433 +#: ../source/changelog.md:864 +#: ../source/changelog.md:902 +#: ../source/changelog.md:1016 msgid "Polish: 99%" msgstr "" -#: ../source/changelog.md:405 +#: ../source/changelog.md:439 msgid "PR#628 - Replace markdown library" msgstr "" -#: ../source/changelog.md:410 -#: ../source/changelog.md:574 +#: ../source/changelog.md:444 +#: ../source/changelog.md:608 msgid "@byakurau" msgstr "" -#: ../source/changelog.md:411 +#: ../source/changelog.md:445 msgid "@dotlambda" msgstr "" -#: ../source/changelog.md:420 +#: ../source/changelog.md:454 msgid "Version 0.8.8 (2024/09/01)" msgstr "" -#: ../source/changelog.md:422 +#: ../source/changelog.md:456 msgid "FitTrackee is now available in Bulgarian." msgstr "" -#: ../source/changelog.md:426 +#: ../source/changelog.md:460 msgid "#614 - Labels are not translated on workouts average chart" msgstr "" -#: ../source/changelog.md:430 +#: ../source/changelog.md:464 msgid "PR#607 - Translations update (German)" msgstr "" -#: ../source/changelog.md:431 +#: ../source/changelog.md:465 msgid "#608 - [translations request] Bulgarian" msgstr "" -#: ../source/changelog.md:432 +#: ../source/changelog.md:466 msgid "PR#609 - Translations update (Galician and Spanish)" msgstr "" -#: ../source/changelog.md:433 +#: ../source/changelog.md:467 msgid "PR#612 - Translations update (Bulgarian and Czech)" msgstr "" -#: ../source/changelog.md:438 +#: ../source/changelog.md:472 msgid "Bulgarian: 100%" msgstr "" -#: ../source/changelog.md:439 -#: ../source/changelog.md:510 -#: ../source/changelog.md:556 +#: ../source/changelog.md:473 +#: ../source/changelog.md:544 +#: ../source/changelog.md:590 msgid "Czech: 73%" msgstr "" -#: ../source/changelog.md:447 -#: ../source/changelog.md:486 +#: ../source/changelog.md:481 +#: ../source/changelog.md:520 msgid "Polish: 91%" msgstr "" -#: ../source/changelog.md:448 -#: ../source/changelog.md:487 -#: ../source/changelog.md:519 -#: ../source/changelog.md:565 +#: ../source/changelog.md:482 +#: ../source/changelog.md:521 +#: ../source/changelog.md:553 +#: ../source/changelog.md:599 msgid "Portuguese: 98%" msgstr "" -#: ../source/changelog.md:454 -#: ../source/changelog.md:619 -#: ../source/changelog.md:648 -#: ../source/changelog.md:679 -#: ../source/changelog.md:727 +#: ../source/changelog.md:488 +#: ../source/changelog.md:653 +#: ../source/changelog.md:682 +#: ../source/changelog.md:713 +#: ../source/changelog.md:761 msgid "@jmlich" msgstr "" -#: ../source/changelog.md:455 +#: ../source/changelog.md:489 msgid "@mara21" msgstr "" -#: ../source/changelog.md:460 +#: ../source/changelog.md:494 msgid "Version 0.8.7 (2024/08/25)" msgstr "" -#: ../source/changelog.md:464 +#: ../source/changelog.md:498 msgid "#604 - New sport: Swimrun" msgstr "" -#: ../source/changelog.md:468 +#: ../source/changelog.md:502 msgid "PR#598 - CLI - fix limit for user data export cleanup" msgstr "" -#: ../source/changelog.md:472 +#: ../source/changelog.md:506 msgid "PR#600 - Translations update (Galician)" msgstr "" -#: ../source/changelog.md:473 +#: ../source/changelog.md:507 msgid "PR#603 - Translations update (Basque)" msgstr "" -#: ../source/changelog.md:482 -#: ../source/changelog.md:759 -#: ../source/changelog.md:978 -#: ../source/changelog.md:1301 +#: ../source/changelog.md:516 +#: ../source/changelog.md:793 +#: ../source/changelog.md:1012 +#: ../source/changelog.md:1335 msgid "Galician: 99%" msgstr "" -#: ../source/changelog.md:483 -#: ../source/changelog.md:561 +#: ../source/changelog.md:517 +#: ../source/changelog.md:595 msgid "German: 98%" msgstr "" -#: ../source/changelog.md:488 -#: ../source/changelog.md:983 +#: ../source/changelog.md:522 +#: ../source/changelog.md:1017 msgid "Spanish: 99%" msgstr "" -#: ../source/changelog.md:498 +#: ../source/changelog.md:532 msgid "Version 0.8.6 (2024/08/03)" msgstr "" -#: ../source/changelog.md:502 +#: ../source/changelog.md:536 msgid "PR#590 - Translations update (Italian)" msgstr "" -#: ../source/changelog.md:503 +#: ../source/changelog.md:537 msgid "PR#591 - Translations update (Galician)" msgstr "" -#: ../source/changelog.md:504 +#: ../source/changelog.md:538 msgid "PR#592 - Translations update (German, Dutch)" msgstr "" -#: ../source/changelog.md:505 +#: ../source/changelog.md:539 msgid "PR#593 - Translations update (German)" msgstr "" -#: ../source/changelog.md:506 +#: ../source/changelog.md:540 msgid "fb10602 - update and fix translations" msgstr "" -#: ../source/changelog.md:509 -#: ../source/changelog.md:555 +#: ../source/changelog.md:543 +#: ../source/changelog.md:589 msgid "Basque: 98%" msgstr "" -#: ../source/changelog.md:511 -#: ../source/changelog.md:793 -#: ../source/changelog.md:899 -#: ../source/changelog.md:1014 -#: ../source/changelog.md:1055 -#: ../source/changelog.md:1097 -#: ../source/changelog.md:1245 +#: ../source/changelog.md:545 +#: ../source/changelog.md:827 +#: ../source/changelog.md:933 +#: ../source/changelog.md:1048 +#: ../source/changelog.md:1089 +#: ../source/changelog.md:1131 +#: ../source/changelog.md:1279 msgid "Dutch: 100%" msgstr "" -#: ../source/changelog.md:515 -#: ../source/changelog.md:979 -#: ../source/changelog.md:1270 -#: ../source/changelog.md:1302 +#: ../source/changelog.md:549 +#: ../source/changelog.md:1013 +#: ../source/changelog.md:1304 +#: ../source/changelog.md:1336 msgid "German: 99%" msgstr "" -#: ../source/changelog.md:518 -#: ../source/changelog.md:564 +#: ../source/changelog.md:552 +#: ../source/changelog.md:598 msgid "Polish: 92%" msgstr "" -#: ../source/changelog.md:524 +#: ../source/changelog.md:558 msgid "PR#595 - CI - speed up tests" msgstr "" -#: ../source/changelog.md:528 +#: ../source/changelog.md:562 msgid "@ConfusedAlex" msgstr "" -#: ../source/changelog.md:529 +#: ../source/changelog.md:563 msgid "@lukasitaly" msgstr "" -#: ../source/changelog.md:530 +#: ../source/changelog.md:564 msgid "@simontb" msgstr "" -#: ../source/changelog.md:531 +#: ../source/changelog.md:565 msgid "@slothje" msgstr "" -#: ../source/changelog.md:535 +#: ../source/changelog.md:569 msgid "Version 0.8.5 (2024/06/29)" msgstr "" -#: ../source/changelog.md:539 +#: ../source/changelog.md:573 msgid "#566 - [Feature] Improved statistics section with average calculation" msgstr "" -#: ../source/changelog.md:540 +#: ../source/changelog.md:574 msgid "PR#575 - Add page to display sport statistics" msgstr "" -#: ../source/changelog.md:541 +#: ../source/changelog.md:575 msgid "PR#587 - Improve user forms" msgstr "" -#: ../source/changelog.md:545 +#: ../source/changelog.md:579 msgid "PR#588 - Fix click on workout chart checkbox labels" msgstr "" -#: ../source/changelog.md:549 +#: ../source/changelog.md:583 msgid "PR#564 - Translations update (Dutch)" msgstr "" -#: ../source/changelog.md:550 +#: ../source/changelog.md:584 msgid "PR#565 - Translations update (Polish)" msgstr "" -#: ../source/changelog.md:551 +#: ../source/changelog.md:585 msgid "PR#571 - Translations update (Galician, Spanish)" msgstr "" -#: ../source/changelog.md:552 +#: ../source/changelog.md:586 msgid "PR#582 - Translations update (Galician, Spanish)" msgstr "" -#: ../source/changelog.md:557 -#: ../source/changelog.md:602 +#: ../source/changelog.md:591 #: ../source/changelog.md:636 -#: ../source/changelog.md:663 -#: ../source/changelog.md:707 -#: ../source/changelog.md:936 -#: ../source/changelog.md:1350 +#: ../source/changelog.md:670 +#: ../source/changelog.md:697 +#: ../source/changelog.md:741 +#: ../source/changelog.md:970 +#: ../source/changelog.md:1384 msgid "Dutch: 98%" msgstr "" -#: ../source/changelog.md:562 +#: ../source/changelog.md:596 msgid "Italian: 73%" msgstr "" -#: ../source/changelog.md:570 +#: ../source/changelog.md:604 msgid "PR#583 - Simplify docker deployment" msgstr "" -#: ../source/changelog.md:576 -#: ../source/changelog.md:726 +#: ../source/changelog.md:610 +#: ../source/changelog.md:760 msgid "@jderuiter" msgstr "" -#: ../source/changelog.md:577 +#: ../source/changelog.md:611 msgid "@pluja" msgstr "" -#: ../source/changelog.md:583 +#: ../source/changelog.md:617 msgid "Version 0.8.4 (2024/05/22)" msgstr "" -#: ../source/changelog.md:585 +#: ../source/changelog.md:619 msgid "FitTrackee is now available in Portuguese." msgstr "" -#: ../source/changelog.md:589 +#: ../source/changelog.md:623 msgid "f2aec30 - add password strength estimation for Czech" msgstr "" -#: ../source/changelog.md:590 +#: ../source/changelog.md:624 msgid "#563 - CLI - init language preference on user creation" msgstr "" -#: ../source/changelog.md:594 +#: ../source/changelog.md:628 msgid "#550 - Typo: par page instead of per page" msgstr "" -#: ../source/changelog.md:595 +#: ../source/changelog.md:629 msgid "PR#551 - Translations update (Czech)" msgstr "" -#: ../source/changelog.md:596 +#: ../source/changelog.md:630 msgid "PR#555 - Translations update (Czech)" msgstr "" -#: ../source/changelog.md:597 +#: ../source/changelog.md:631 msgid "#558 - [translations request] Portuguese" msgstr "" -#: ../source/changelog.md:601 +#: ../source/changelog.md:635 msgid "Czech: 74%" msgstr "" -#: ../source/changelog.md:607 #: ../source/changelog.md:641 -#: ../source/changelog.md:668 -#: ../source/changelog.md:712 +#: ../source/changelog.md:675 +#: ../source/changelog.md:702 +#: ../source/changelog.md:746 msgid "Italian: 74%" msgstr "" -#: ../source/changelog.md:608 #: ../source/changelog.md:642 -#: ../source/changelog.md:669 -#: ../source/changelog.md:713 -#: ../source/changelog.md:762 +#: ../source/changelog.md:676 +#: ../source/changelog.md:703 +#: ../source/changelog.md:747 +#: ../source/changelog.md:796 msgid "Norwegian Bokmål: 53%" msgstr "" -#: ../source/changelog.md:610 +#: ../source/changelog.md:644 msgid "Portuguese: 100%" msgstr "" -#: ../source/changelog.md:615 +#: ../source/changelog.md:649 msgid "PR#556 - API - minor refacto" msgstr "" -#: ../source/changelog.md:616 +#: ../source/changelog.md:650 msgid "PR#557 - API - prepare SQLAlchemy migration" msgstr "" -#: ../source/changelog.md:620 +#: ../source/changelog.md:654 msgid "@voodoopt" msgstr "" -#: ../source/changelog.md:623 +#: ../source/changelog.md:657 msgid "Version 0.8.3 (2024/05/09)" msgstr "" -#: ../source/changelog.md:627 +#: ../source/changelog.md:661 msgid "#546 - workout data are not refreshed after displaying segment" msgstr "" -#: ../source/changelog.md:631 +#: ../source/changelog.md:665 msgid "PR#545 - Translations update (Basque, Czech)" msgstr "" -#: ../source/changelog.md:635 -#: ../source/changelog.md:662 +#: ../source/changelog.md:669 +#: ../source/changelog.md:696 msgid "Czech: 25%" msgstr "" -#: ../source/changelog.md:649 +#: ../source/changelog.md:683 msgid "@urtzai" msgstr "" -#: ../source/changelog.md:652 +#: ../source/changelog.md:686 msgid "Version 0.8.2 (2024/05/08)" msgstr "" -#: ../source/changelog.md:656 +#: ../source/changelog.md:690 msgid "PR#540 - Translations update (German)" msgstr "" -#: ../source/changelog.md:657 +#: ../source/changelog.md:691 msgid "PR#542 - Translations update (Czech)" msgstr "" -#: ../source/changelog.md:658 +#: ../source/changelog.md:692 msgid "PR#544 - Translations update (German, Czech)" msgstr "" -#: ../source/changelog.md:661 -#: ../source/changelog.md:705 +#: ../source/changelog.md:695 +#: ../source/changelog.md:739 msgid "Basque: 88%" msgstr "" -#: ../source/changelog.md:675 +#: ../source/changelog.md:709 msgid "PR#543 - tools - replace black, flake8 and isort with ruff" msgstr "" -#: ../source/changelog.md:680 +#: ../source/changelog.md:714 msgid "@OndrejZivny" msgstr "" -#: ../source/changelog.md:684 +#: ../source/changelog.md:718 msgid "Version 0.8.1 (2024/05/01)" msgstr "" -#: ../source/changelog.md:688 +#: ../source/changelog.md:722 msgid "PR#527 - improve Sports endpoints response time" msgstr "" -#: ../source/changelog.md:692 +#: ../source/changelog.md:726 msgid "PR#531 - Minor navigation fixes on mobile" msgstr "" -#: ../source/changelog.md:693 +#: ../source/changelog.md:727 msgid "PR#532 - Fix footer color on dark mode" msgstr "" -#: ../source/changelog.md:694 +#: ../source/changelog.md:728 msgid "PR#536 - Accessibility fixes" msgstr "" -#: ../source/changelog.md:698 +#: ../source/changelog.md:732 msgid "PR#526 - Translations update (Dutch, Galician, Norwegian Bokmål)" msgstr "" -#: ../source/changelog.md:699 +#: ../source/changelog.md:733 msgid "PR#533 - Translations update (Czech)" msgstr "" -#: ../source/changelog.md:700 +#: ../source/changelog.md:734 msgid "#534 - [translations request] Czech" msgstr "" -#: ../source/changelog.md:701 +#: ../source/changelog.md:735 msgid "PR#537 - Translations update (Spanish)" msgstr "" -#: ../source/changelog.md:702 +#: ../source/changelog.md:736 msgid "PR#538 - Translations update (Galician)" msgstr "" -#: ../source/changelog.md:706 +#: ../source/changelog.md:740 msgid "Czech: 15%" msgstr "" -#: ../source/changelog.md:711 +#: ../source/changelog.md:745 msgid "German: 88%" msgstr "" -#: ../source/changelog.md:719 +#: ../source/changelog.md:753 msgid "PR#528 - README reworked" msgstr "" -#: ../source/changelog.md:720 +#: ../source/changelog.md:754 msgid "PR#530 - specify AGPLv3 license" msgstr "" -#: ../source/changelog.md:724 -#: ../source/changelog.md:1025 -#: ../source/changelog.md:1366 +#: ../source/changelog.md:758 +#: ../source/changelog.md:1059 +#: ../source/changelog.md:1400 msgid "@comradekingu" msgstr "" -#: ../source/changelog.md:731 +#: ../source/changelog.md:765 msgid "Version 0.8.0 (2024/04/21)" msgstr "" -#: ../source/changelog.md:733 +#: ../source/changelog.md:767 msgid "FitTrackee now lets you associate equipment with workouts and filter workouts on notes." msgstr "" -#: ../source/changelog.md:737 +#: ../source/changelog.md:771 msgid "#259 - Feature request: \"Equipment\" that can be associated with workouts" msgstr "" -#: ../source/changelog.md:738 +#: ../source/changelog.md:772 msgid "#512 - Add ability to filter on notes in Workouts List" msgstr "" -#: ../source/changelog.md:742 +#: ../source/changelog.md:776 msgid "#508 - Stopped speed threshold unit is missing on sports list" msgstr "" -#: ../source/changelog.md:743 +#: ../source/changelog.md:777 msgid "3b6fa25 - fix workouts table display on small resolutions" msgstr "" -#: ../source/changelog.md:744 +#: ../source/changelog.md:778 msgid "51758b4 - fix on filters hiding on small resolutions" msgstr "" -#: ../source/changelog.md:748 +#: ../source/changelog.md:782 msgid "PR#507 Translations update (Galician)" msgstr "" -#: ../source/changelog.md:749 +#: ../source/changelog.md:783 msgid "PR#510 Translations update (Spanish)" msgstr "" -#: ../source/changelog.md:750 +#: ../source/changelog.md:784 msgid "PR#511 Translations update (Galician)" msgstr "" -#: ../source/changelog.md:751 +#: ../source/changelog.md:785 msgid "PR#521 Translations update (Spanish)" msgstr "" -#: ../source/changelog.md:752 +#: ../source/changelog.md:786 msgid "PR#524 Translations update (Spanish)" msgstr "" -#: ../source/changelog.md:755 +#: ../source/changelog.md:789 msgid "Basque: 89%" msgstr "" -#: ../source/changelog.md:756 +#: ../source/changelog.md:790 msgid "Dutch: 89%" msgstr "" -#: ../source/changelog.md:760 +#: ../source/changelog.md:794 msgid "German: 89%" msgstr "" -#: ../source/changelog.md:761 +#: ../source/changelog.md:795 msgid "Italian: 75%" msgstr "" -#: ../source/changelog.md:763 +#: ../source/changelog.md:797 msgid "Polish: 89%" msgstr "" -#: ../source/changelog.md:768 +#: ../source/changelog.md:802 msgid "#502 - Remove deprecated commands" msgstr "" -#: ../source/changelog.md:769 +#: ../source/changelog.md:803 msgid "PR#506 - CLI - update database commands" msgstr "" -#: ../source/changelog.md:773 -#: ../source/changelog.md:1314 -#: ../source/changelog.md:1367 -#: ../source/changelog.md:1453 +#: ../source/changelog.md:807 +#: ../source/changelog.md:1348 +#: ../source/changelog.md:1401 +#: ../source/changelog.md:1487 msgid "@jat255" msgstr "" -#: ../source/changelog.md:780 +#: ../source/changelog.md:814 msgid "Version 0.7.32 (2024/03/10)" msgstr "" -#: ../source/changelog.md:784 +#: ../source/changelog.md:818 msgid "#504 - Database migrations fail" msgstr "" -#: ../source/changelog.md:788 +#: ../source/changelog.md:822 msgid "#496 Translations update (Dutch)" msgstr "" -#: ../source/changelog.md:789 +#: ../source/changelog.md:823 msgid "#499 Translations update (Polish)" msgstr "" -#: ../source/changelog.md:798 -#: ../source/changelog.md:828 -#: ../source/changelog.md:866 -#: ../source/changelog.md:904 -#: ../source/changelog.md:941 +#: ../source/changelog.md:832 +#: ../source/changelog.md:862 +#: ../source/changelog.md:900 +#: ../source/changelog.md:938 +#: ../source/changelog.md:975 msgid "Italian: 84%" msgstr "" -#: ../source/changelog.md:799 -#: ../source/changelog.md:829 -#: ../source/changelog.md:867 -#: ../source/changelog.md:905 -#: ../source/changelog.md:942 +#: ../source/changelog.md:833 +#: ../source/changelog.md:863 +#: ../source/changelog.md:901 +#: ../source/changelog.md:939 +#: ../source/changelog.md:976 msgid "Norwegian Bokmål: 60%" msgstr "" -#: ../source/changelog.md:805 -#: ../source/changelog.md:1108 -#: ../source/changelog.md:1311 -#: ../source/changelog.md:1365 -#: ../source/changelog.md:1420 -#: ../source/changelog.md:1452 +#: ../source/changelog.md:839 +#: ../source/changelog.md:1142 +#: ../source/changelog.md:1345 +#: ../source/changelog.md:1399 +#: ../source/changelog.md:1454 +#: ../source/changelog.md:1486 msgid "@bjornclauw" msgstr "" -#: ../source/changelog.md:809 +#: ../source/changelog.md:843 msgid "Version 0.7.31 (2024/02/10)" msgstr "" -#: ../source/changelog.md:811 +#: ../source/changelog.md:845 msgid "Basque is now available in FitTrackee interface." msgstr "" -#: ../source/changelog.md:815 +#: ../source/changelog.md:849 msgid "PR#495 - fix menu display when clicking on application name" msgstr "" -#: ../source/changelog.md:819 +#: ../source/changelog.md:853 msgid "#490 [Translation Request] EU - Basque" msgstr "" -#: ../source/changelog.md:835 +#: ../source/changelog.md:869 msgid "PR#494 - Update install-python command" msgstr "" -#: ../source/changelog.md:842 +#: ../source/changelog.md:876 msgid "Version 0.7.30 (2024/02/04)" msgstr "" -#: ../source/changelog.md:846 +#: ../source/changelog.md:880 msgid "b748459 - Update alert message colors on dark mode" msgstr "" -#: ../source/changelog.md:850 +#: ../source/changelog.md:884 msgid "PR#481 - Handle keyboard navigation on dropdowns" msgstr "" -#: ../source/changelog.md:851 +#: ../source/changelog.md:885 msgid "3821e37 - Make calendar arrows accessible to keyboard navigation" msgstr "" -#: ../source/changelog.md:852 +#: ../source/changelog.md:886 msgid "PR#488 - CLI - fix user creation when user already exists with same email" msgstr "" -#: ../source/changelog.md:853 +#: ../source/changelog.md:887 msgid "PR#489 - Handle keyboard navigation on calendar" msgstr "" -#: ../source/changelog.md:857 +#: ../source/changelog.md:891 msgid "PR#482 - Translations update (Galician and Spanish)" msgstr "" -#: ../source/changelog.md:858 +#: ../source/changelog.md:892 msgid "PR#484 - Translations update (German)" msgstr "" -#: ../source/changelog.md:873 +#: ../source/changelog.md:907 msgid "aff4d68 - CI - update actions version" msgstr "" -#: ../source/changelog.md:882 +#: ../source/changelog.md:916 msgid "Version 0.7.29 (2024/01/06)" msgstr "" -#: ../source/changelog.md:886 +#: ../source/changelog.md:920 msgid "8aa4cff - Update loader color on dark theme" msgstr "" -#: ../source/changelog.md:887 +#: ../source/changelog.md:921 msgid "#478 - Make application name clickable to access dashboard" msgstr "" -#: ../source/changelog.md:891 +#: ../source/changelog.md:925 msgid "PR#479 - Minor fixes on UI" msgstr "" -#: ../source/changelog.md:895 +#: ../source/changelog.md:929 msgid "PR#476 - Translations update (Polish)" msgstr "" -#: ../source/changelog.md:896 +#: ../source/changelog.md:930 msgid "PR#477 - Translations update (Dutch)" msgstr "" -#: ../source/changelog.md:911 +#: ../source/changelog.md:945 msgid "PR#475 - Build - use poetry-core instead of poetry" msgstr "" -#: ../source/changelog.md:915 +#: ../source/changelog.md:949 msgid "@traxys" msgstr "" -#: ../source/changelog.md:917 +#: ../source/changelog.md:951 msgid "Koen" msgstr "" -#: ../source/changelog.md:920 +#: ../source/changelog.md:954 msgid "Version 0.7.28 (2023/12/23)" msgstr "" -#: ../source/changelog.md:924 +#: ../source/changelog.md:958 msgid "PR#474 - Improve links display" msgstr "" -#: ../source/changelog.md:928 +#: ../source/changelog.md:962 msgid "6e215aa - fix background color on dark theme when modal is displayed" msgstr "" -#: ../source/changelog.md:932 +#: ../source/changelog.md:966 msgid "PR#473 - Translations update (Galician, Spanish and German)" msgstr "" -#: ../source/changelog.md:952 +#: ../source/changelog.md:986 msgid "Version 0.7.27 (2023/12/20)" msgstr "" -#: ../source/changelog.md:956 +#: ../source/changelog.md:990 msgid "#113 - add a dark mode" msgstr "" -#: ../source/changelog.md:957 +#: ../source/changelog.md:991 msgid "PR#464 - Update user preferences display" msgstr "" -#: ../source/changelog.md:958 +#: ../source/changelog.md:992 msgid "PR#471 - add new sport: \"Cycling (Trekking)\"" msgstr "" -#: ../source/changelog.md:962 +#: ../source/changelog.md:996 msgid "PR#469 - change UI display only on login ou user preferences update" msgstr "" -#: ../source/changelog.md:963 +#: ../source/changelog.md:997 msgid "PR#472 - fix redirection when resetting password" msgstr "" -#: ../source/changelog.md:967 +#: ../source/changelog.md:1001 msgid "PR#468 - Translations update (Galician & Spanish)" msgstr "" -#: ../source/changelog.md:971 +#: ../source/changelog.md:1005 msgid "#456 - Drop PostgreSQL 11 support" msgstr "" -#: ../source/changelog.md:980 -#: ../source/changelog.md:1019 -#: ../source/changelog.md:1060 -#: ../source/changelog.md:1102 -#: ../source/changelog.md:1151 -#: ../source/changelog.md:1203 +#: ../source/changelog.md:1014 +#: ../source/changelog.md:1053 +#: ../source/changelog.md:1094 +#: ../source/changelog.md:1136 +#: ../source/changelog.md:1185 +#: ../source/changelog.md:1237 msgid "Italian: 85%" msgstr "" -#: ../source/changelog.md:981 -#: ../source/changelog.md:1020 +#: ../source/changelog.md:1015 +#: ../source/changelog.md:1054 msgid "Norwegian Bokmål: 61%" msgstr "" -#: ../source/changelog.md:993 +#: ../source/changelog.md:1027 msgid "Version 0.7.26 (2023/11/19)" msgstr "" -#: ../source/changelog.md:997 +#: ../source/changelog.md:1031 msgid "#224 - Missing elevation results in incorrect ascent/descent total" msgstr "" -#: ../source/changelog.md:1002 +#: ../source/changelog.md:1036 msgid "PR#444 - Translations update (Norwegian Bokmål)" msgstr "" -#: ../source/changelog.md:1007 +#: ../source/changelog.md:1041 msgid "In addition to dependencies update:" msgstr "" -#: ../source/changelog.md:1009 +#: ../source/changelog.md:1043 msgid "PR#449 - Update vue, tooling and chart library" msgstr "" -#: ../source/changelog.md:1010 +#: ../source/changelog.md:1044 msgid "PR#450 - Update gpxpy to 1.6.1" msgstr "" -#: ../source/changelog.md:1028 +#: ../source/changelog.md:1062 msgid "Version 0.7.25 (2023/10/08)" msgstr "" -#: ../source/changelog.md:1032 +#: ../source/changelog.md:1066 msgid "#441 - Errors after upgrade to 0.7.24" msgstr "" -#: ../source/changelog.md:1035 +#: ../source/changelog.md:1069 msgid "Version 0.7.24 (2023/10/04)" msgstr "" -#: ../source/changelog.md:1039 +#: ../source/changelog.md:1073 msgid "PR#433 - Handle encoded password in EMAIL_URL" msgstr "" -#: ../source/changelog.md:1043 +#: ../source/changelog.md:1077 msgid "PR#427 - fix typos and translations + refacto" msgstr "" -#: ../source/changelog.md:1044 +#: ../source/changelog.md:1078 msgid "PR#431 - Translations update (Galician)" msgstr "" -#: ../source/changelog.md:1048 +#: ../source/changelog.md:1082 msgid "PR#428 - CI - Add PostgreSQL 16" msgstr "" -#: ../source/changelog.md:1049 +#: ../source/changelog.md:1083 msgid "2bcff2e - API - update Flask to 3.0+" msgstr "" -#: ../source/changelog.md:1050 +#: ../source/changelog.md:1084 msgid "PR#436 - CI - Add Python 3.12" msgstr "" -#: ../source/changelog.md:1051 +#: ../source/changelog.md:1085 msgid "PR#438 - CI - update workflows" -msgstr "" - -#: ../source/changelog.md:1061 -#: ../source/changelog.md:1103 -#: ../source/changelog.md:1152 -#: ../source/changelog.md:1204 -#: ../source/changelog.md:1356 +msgstr "" + +#: ../source/changelog.md:1095 +#: ../source/changelog.md:1137 +#: ../source/changelog.md:1186 +#: ../source/changelog.md:1238 +#: ../source/changelog.md:1390 msgid "Norwegian Bokmål: 35%" msgstr "" -#: ../source/changelog.md:1069 +#: ../source/changelog.md:1103 msgid "Version 0.7.23 (2023/09/14)" msgstr "" -#: ../source/changelog.md:1073 +#: ../source/changelog.md:1107 msgid "PR#421 - remove darksky from available weather providers in .env" msgstr "" -#: ../source/changelog.md:1074 +#: ../source/changelog.md:1108 msgid "PR#426 - Update default tile server (thanks to @astridx)" msgstr "" -#: ../source/changelog.md:1078 +#: ../source/changelog.md:1112 msgid "PR#422 - CI - fix e2e tests with packaged version" msgstr "" -#: ../source/changelog.md:1081 +#: ../source/changelog.md:1115 msgid "Version 0.7.22 (2023/08/23)" msgstr "" -#: ../source/changelog.md:1085 +#: ../source/changelog.md:1119 msgid "PR#411 - Fix various typos" msgstr "" -#: ../source/changelog.md:1086 +#: ../source/changelog.md:1120 msgid "PR#416 - fix modal navigation and closing" msgstr "" -#: ../source/changelog.md:1091 +#: ../source/changelog.md:1125 msgid "PR#410 - Translations update (German)" msgstr "" -#: ../source/changelog.md:1092 +#: ../source/changelog.md:1126 msgid "PR#415 - Translations update (Polish)" msgstr "" -#: ../source/changelog.md:1093 +#: ../source/changelog.md:1127 msgid "PR#417 - Translations update (Polish)" msgstr "" -#: ../source/changelog.md:1094 +#: ../source/changelog.md:1128 msgid "PR#418 - Translations update (Dutch)" msgstr "" -#: ../source/changelog.md:1110 -#: ../source/changelog.md:1159 +#: ../source/changelog.md:1144 +#: ../source/changelog.md:1193 msgid "Mariusz" msgstr "" -#: ../source/changelog.md:1113 +#: ../source/changelog.md:1147 msgid "Version 0.7.21 (2023/07/30)" msgstr "" -#: ../source/changelog.md:1117 +#: ../source/changelog.md:1151 msgid "#407 - Workout display error when speeds are zero" msgstr "" -#: ../source/changelog.md:1122 +#: ../source/changelog.md:1156 msgid "PR#409 - CI - update actions version" msgstr "" -#: ../source/changelog.md:1125 +#: ../source/changelog.md:1159 msgid "Version 0.7.20 (2023/07/22)" msgstr "" -#: ../source/changelog.md:1129 +#: ../source/changelog.md:1163 msgid "#400 - Add new sport: open water swimming" msgstr "" -#: ../source/changelog.md:1134 +#: ../source/changelog.md:1168 msgid "PR#398 - Fix language dropdown label" msgstr "" -#: ../source/changelog.md:1135 +#: ../source/changelog.md:1169 msgid "#402 - handle gpx file without elevation" msgstr "" -#: ../source/changelog.md:1140 +#: ../source/changelog.md:1174 msgid "PR#399 - Translations update (Galician)" msgstr "" -#: ../source/changelog.md:1141 +#: ../source/changelog.md:1175 msgid "PR#401 - Translations update (Galician and Polish)" msgstr "" -#: ../source/changelog.md:1142 +#: ../source/changelog.md:1176 msgid "PR#406 - Translations update (Galician and Spanish)" msgstr "" -#: ../source/changelog.md:1146 -#: ../source/changelog.md:1198 +#: ../source/changelog.md:1180 +#: ../source/changelog.md:1232 msgid "Dutch: 97%" msgstr "" -#: ../source/changelog.md:1150 -#: ../source/changelog.md:1202 +#: ../source/changelog.md:1184 +#: ../source/changelog.md:1236 msgid "German: 97%" msgstr "" -#: ../source/changelog.md:1153 +#: ../source/changelog.md:1187 msgid "Polish: 56%" msgstr "" -#: ../source/changelog.md:1164 +#: ../source/changelog.md:1198 msgid "Version 0.7.19 (2023/07/15)" msgstr "" -#: ../source/changelog.md:1168 +#: ../source/changelog.md:1202 msgid "PR#380 - Update documentation link" msgstr "" -#: ../source/changelog.md:1169 +#: ../source/changelog.md:1203 msgid "#390 - Improve UI" msgstr "" -#: ../source/changelog.md:1170 +#: ../source/changelog.md:1204 msgid "#391 - Add new sport: paragliding" msgstr "" -#: ../source/changelog.md:1175 +#: ../source/changelog.md:1209 msgid "#384 - Inconsistent page with between workout with and without GPS data" msgstr "" -#: ../source/changelog.md:1176 +#: ../source/changelog.md:1210 msgid "#393 - PIL.Image module has no attribute ANTIALIAS" msgstr "" -#: ../source/changelog.md:1181 +#: ../source/changelog.md:1215 msgid "PR#394 - Translations update (Galician)" msgstr "" -#: ../source/changelog.md:1182 +#: ../source/changelog.md:1216 msgid "PR#397 - Translations update (Spanish)" msgstr "" -#: ../source/changelog.md:1185 -#: ../source/changelog.md:1232 -#: ../source/changelog.md:1554 +#: ../source/changelog.md:1219 +#: ../source/changelog.md:1266 +#: ../source/changelog.md:1588 msgid "Documentation" msgstr "" -#: ../source/changelog.md:1187 +#: ../source/changelog.md:1221 msgid "PR#386 - Minor fix in CONTRIBUTING.md" msgstr "" -#: ../source/changelog.md:1188 +#: ../source/changelog.md:1222 msgid "PR#388 - Minor typo in CONTRIBUTING.md" msgstr "" -#: ../source/changelog.md:1193 +#: ../source/changelog.md:1227 msgid "#395 - CI - test a packaged version of FitTrackee" msgstr "" -#: ../source/changelog.md:1194 +#: ../source/changelog.md:1228 msgid "cc3fe1c CI - update python and postgresql default versions" msgstr "" -#: ../source/changelog.md:1201 +#: ../source/changelog.md:1235 msgid "Galician: 98%" msgstr "" -#: ../source/changelog.md:1205 +#: ../source/changelog.md:1239 msgid "Polish: 42%" msgstr "" -#: ../source/changelog.md:1209 +#: ../source/changelog.md:1243 msgid "@dkm" msgstr "" -#: ../source/changelog.md:1216 +#: ../source/changelog.md:1250 msgid "Version 0.7.18 (2023/06/25)" msgstr "" -#: ../source/changelog.md:1218 +#: ../source/changelog.md:1252 msgid "Polish is available in FitTrackee interface (partially translated).
    Documentation is now translated in French (note: documentation translations are not yet available on Weblate)." msgstr "" -#: ../source/changelog.md:1221 +#: ../source/changelog.md:1255 msgid "Important: Python 3.7 is no longer supported, the minimum version is now Python 3.8.1." msgstr "" -#: ../source/changelog.md:1225 +#: ../source/changelog.md:1259 msgid "#351 - [Translation Request] Polish" msgstr "" -#: ../source/changelog.md:1226 +#: ../source/changelog.md:1260 msgid "PR#370 - Translations update (Dutch, thanks to @bjornclauw)" msgstr "" -#: ../source/changelog.md:1227 +#: ../source/changelog.md:1261 msgid "PR#371 - Translations update (Polish, thanks to Mariusz on Weblate)" msgstr "" -#: ../source/changelog.md:1228 +#: ../source/changelog.md:1262 msgid "PR#375 - Translations update (French, thanks to @Thovi98)" msgstr "" -#: ../source/changelog.md:1229 +#: ../source/changelog.md:1263 msgid "PR#376 - Translations update (German, thanks to @qwerty287)" msgstr "" -#: ../source/changelog.md:1234 +#: ../source/changelog.md:1268 msgid "1375986 - Change documentation theme for Furo" msgstr "" -#: ../source/changelog.md:1235 +#: ../source/changelog.md:1269 msgid "#377 - Init documentation translation" msgstr "" -#: ../source/changelog.md:1240 +#: ../source/changelog.md:1274 msgid "#354 - Drop support for Python 3.7" msgstr "" -#: ../source/changelog.md:1241 +#: ../source/changelog.md:1275 msgid "PR#374 - Docker - install fittrackee in a virtualenv" msgstr "" -#: ../source/changelog.md:1250 -#: ../source/changelog.md:1271 -#: ../source/changelog.md:1303 -#: ../source/changelog.md:1355 +#: ../source/changelog.md:1284 +#: ../source/changelog.md:1305 +#: ../source/changelog.md:1337 +#: ../source/changelog.md:1389 msgid "Italian: 87%" msgstr "" -#: ../source/changelog.md:1251 -#: ../source/changelog.md:1272 -#: ../source/changelog.md:1304 +#: ../source/changelog.md:1285 +#: ../source/changelog.md:1306 +#: ../source/changelog.md:1338 msgid "Norwegian Bokmål: 36%" msgstr "" -#: ../source/changelog.md:1252 +#: ../source/changelog.md:1286 msgid "Polish: 43%" msgstr "" -#: ../source/changelog.md:1255 +#: ../source/changelog.md:1289 msgid "Thanks to all contributors." msgstr "" -#: ../source/changelog.md:1258 +#: ../source/changelog.md:1292 msgid "Version 0.7.17 (2023/06/03)" msgstr "" -#: ../source/changelog.md:1262 +#: ../source/changelog.md:1296 msgid "PR#366, PR#369 - Translations update from Hosted Weblate (Galician, thanks to @xmgz)" msgstr "" -#: ../source/changelog.md:1263 +#: ../source/changelog.md:1297 msgid "PR#367 - Translations update (Spanish, French)" msgstr "" -#: ../source/changelog.md:1273 -#: ../source/changelog.md:1305 +#: ../source/changelog.md:1307 +#: ../source/changelog.md:1339 msgid "Polish: 3%" msgstr "" -#: ../source/changelog.md:1277 +#: ../source/changelog.md:1311 msgid "Version 0.7.16 (2023/05/29)" msgstr "" -#: ../source/changelog.md:1281 +#: ../source/changelog.md:1315 msgid "PR#358 - Add user preference for filtering of GPX speed data" msgstr "" -#: ../source/changelog.md:1286 +#: ../source/changelog.md:1320 msgid "#359 - Footer overlaps content on user preferences page" msgstr "" -#: ../source/changelog.md:1291 +#: ../source/changelog.md:1325 msgid "PR#350 - Translations update from Hosted Weblate (Galician)" msgstr "" -#: ../source/changelog.md:1292 +#: ../source/changelog.md:1326 msgid "PR#352 - Translations update from Hosted Weblate (Dutch)" msgstr "" -#: ../source/changelog.md:1293 +#: ../source/changelog.md:1327 msgid "PR#356 - Init Polish translation files" msgstr "" -#: ../source/changelog.md:1294 +#: ../source/changelog.md:1328 msgid "PR#357 - Translations update from Hosted Weblate (Polish)" msgstr "" -#: ../source/changelog.md:1295 +#: ../source/changelog.md:1329 msgid "PR#365 - Translations update from Hosted Weblate (Spanish)" msgstr "" -#: ../source/changelog.md:1308 +#: ../source/changelog.md:1342 msgid "Note: Polish is not yet available in FitTrackee interface." msgstr "" -#: ../source/changelog.md:1313 +#: ../source/changelog.md:1347 msgid "@gnu-ewm" msgstr "" -#: ../source/changelog.md:1320 +#: ../source/changelog.md:1354 msgid "Version 0.7.15 (2023/04/12)" msgstr "" -#: ../source/changelog.md:1322 +#: ../source/changelog.md:1356 msgid "Among enhancements and fixes, FitTrackee is now available in Galician, Spanish and partially in Norwegian Bokmål (see translation status below)." msgstr "" -#: ../source/changelog.md:1324 +#: ../source/changelog.md:1358 msgid "Note: DarkSky API support is removed, since the service shut down on March 31, 2023." msgstr "" -#: ../source/changelog.md:1329 +#: ../source/changelog.md:1363 msgid "#319 - Add cli to create users" msgstr "" -#: ../source/changelog.md:1330 +#: ../source/changelog.md:1364 msgid "#329 - Make \"start elevation axis at zero\" sticky" msgstr "" -#: ../source/changelog.md:1331 +#: ../source/changelog.md:1365 msgid "#333 - Feature request: filter workouts by title" msgstr "" -#: ../source/changelog.md:1332 +#: ../source/changelog.md:1366 msgid "#338 - Display relevant error message when
    /i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},Cnt=/^(?:[ \t]*(?:\n|$))+/,Pnt=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Dnt=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,rr=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Lnt=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,e1=/(?:[*+-]|\d{1,9}[.)])/,t1=Ot(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,e1).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),h_=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,vnt=/^[^\n]+/,O_=/(?!\s*\])(?:\\.|[^\[\]\\])+/,ynt=Ot(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",O_).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Unt=Ot(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,e1).getRegex(),Ll="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",I_=/|$))/,$nt=Ot("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",I_).replace("tag",Ll).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),n1=Ot(h_).replace("hr",rr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ll).getRegex(),knt=Ot(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",n1).getRegex(),R_={blockquote:knt,code:Pnt,def:ynt,fences:Dnt,heading:Lnt,hr:rr,html:$nt,lheading:t1,list:Unt,newline:Cnt,paragraph:n1,table:Ri,text:vnt},jm=Ot("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",rr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ll).getRegex(),wnt={...R_,table:jm,paragraph:Ot(h_).replace("hr",rr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",jm).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ll).getRegex()},Mnt={...R_,html:Ot(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",I_).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ri,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Ot(h_).replace("hr",rr).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",t1).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Wnt=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Fnt=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,s1=/^( {2,}|\\)\n(?!\s*$)/,znt=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,i1=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Hnt=Ot(i1,"u").replace(/punct/g,vl).getRegex(),Knt=Ot(i1,"u").replace(/punct/g,o1).getRegex(),r1="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Ynt=Ot(r1,"gu").replace(/notPunctSpace/g,a1).replace(/punctSpace/g,N_).replace(/punct/g,vl).getRegex(),qnt=Ot(r1,"gu").replace(/notPunctSpace/g,xnt).replace(/punctSpace/g,Gnt).replace(/punct/g,o1).getRegex(),jnt=Ot("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,a1).replace(/punctSpace/g,N_).replace(/punct/g,vl).getRegex(),Xnt=Ot(/\\(punct)/,"gu").replace(/punct/g,vl).getRegex(),Qnt=Ot(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Znt=Ot(I_).replace("(?:-->|$)","-->").getRegex(),Jnt=Ot("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",Znt).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ku=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,est=Ot(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Ku).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),u1=Ot(/^!?\[(label)\]\[(ref)\]/).replace("label",Ku).replace("ref",O_).getRegex(),l1=Ot(/^!?\[(ref)\](?:\[\])?/).replace("ref",O_).getRegex(),tst=Ot("reflink|nolink(?!\\()","g").replace("reflink",u1).replace("nolink",l1).getRegex(),g_={_backpedal:Ri,anyPunctuation:Xnt,autolink:Qnt,blockSkip:Vnt,br:s1,code:Fnt,del:Ri,emStrongLDelim:Hnt,emStrongRDelimAst:Ynt,emStrongRDelimUnd:jnt,escape:Wnt,link:est,nolink:l1,punctuation:Bnt,reflink:u1,reflinkSearch:tst,tag:Jnt,text:znt,url:Ri},nst={...g_,link:Ot(/^!?\[(label)\]\((.*?)\)/).replace("label",Ku).getRegex(),reflink:Ot(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ku).getRegex()},TE={...g_,emStrongRDelimAst:qnt,emStrongLDelim:Knt,url:Ot(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},Xm=e=>ast[e];function hs(e,t){if(t){if(An.escapeTest.test(e))return e.replace(An.escapeReplace,Xm)}else if(An.escapeTestNoEncode.test(e))return e.replace(An.escapeReplaceNoEncode,Xm);return e}function Qm(e){try{e=encodeURI(e).replace(An.percentDecode,"%")}catch{return null}return e}function Zm(e,t){var o;const n=e.replace(An.findPipe,(i,r,u)=>{let l=!1,d=r;for(;--d>=0&&u[d]==="\\";)l=!l;return l?"|":" |"}),s=n.split(An.splitPipe);let a=0;if(s[0].trim()||s.shift(),s.length>0&&!((o=s.at(-1))!=null&&o.trim())&&s.pop(),t)if(s.length>t)s.splice(t);else for(;s.length{let s;const a=QKe[e];return typeof a=="string"?s=a:t===1?s=a.one:s=a.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"след "+s:"преди "+s:s},JKe={full:"EEEE, dd MMMM yyyy",long:"dd MMMM yyyy",medium:"dd MMM yyyy",short:"dd.MM.yyyy"},eYe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"H:mm"},tYe={any:"{{date}} {{time}}"},nYe={date:qe({formats:JKe,defaultWidth:"full"}),time:qe({formats:eYe,defaultWidth:"full"}),dateTime:qe({formats:tYe,defaultWidth:"any"})},i_=["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"];function sYe(e){const t=i_[e];switch(e){case 0:case 3:case 6:return"'миналата "+t+" в' p";case 1:case 2:case 4:case 5:return"'миналия "+t+" в' p"}}function z0(e){const t=i_[e];return e===2?"'във "+t+" в' p":"'в "+t+" в' p"}function aYe(e){const t=i_[e];switch(e){case 0:case 3:case 6:return"'следващата "+t+" в' p";case 1:case 2:case 4:case 5:return"'следващия "+t+" в' p"}}const oYe=(e,t,n)=>{const s=bt(e),a=s.getDay();return _a(s,t,n)?z0(a):sYe(a)},iYe=(e,t,n)=>{const s=bt(e),a=s.getDay();return _a(s,t,n)?z0(a):aYe(a)},rYe={lastWeek:oYe,yesterday:"'вчера в' p",today:"'днес в' p",tomorrow:"'утре в' p",nextWeek:iYe,other:"P"},uYe=(e,t,n,s)=>{const a=rYe[e];return typeof a=="function"?a(t,n,s):a},lYe={narrow:["пр.н.е.","н.е."],abbreviated:["преди н. е.","н. е."],wide:["преди новата ера","новата ера"]},cYe={narrow:["1","2","3","4"],abbreviated:["1-во тримес.","2-ро тримес.","3-то тримес.","4-то тримес."],wide:["1-во тримесечие","2-ро тримесечие","3-то тримесечие","4-то тримесечие"]},dYe={abbreviated:["яну","фев","мар","апр","май","юни","юли","авг","сеп","окт","ное","дек"],wide:["януари","февруари","март","април","май","юни","юли","август","септември","октомври","ноември","декември"]},EYe={narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вто","сря","чет","пет","съб"],wide:["неделя","понеделник","вторник","сряда","четвъртък","петък","събота"]},_Ye={wide:{am:"преди обяд",pm:"след обяд",midnight:"в полунощ",noon:"на обяд",morning:"сутринта",afternoon:"следобед",evening:"вечерта",night:"през нощта"}};function TYe(e){return e==="year"||e==="week"||e==="minute"||e==="second"}function pYe(e){return e==="quarter"}function va(e,t,n,s,a){const o=pYe(t)?a:TYe(t)?s:n;return e+"-"+o}const mYe=(e,t)=>{const n=Number(e),s=t==null?void 0:t.unit;if(n===0)return va(0,s,"ев","ева","ево");if(n%1e3===0)return va(n,s,"ен","на","но");if(n%100===0)return va(n,s,"тен","тна","тно");const a=n%100;if(a>20||a<10)switch(a%10){case 1:return va(n,s,"ви","ва","во");case 2:return va(n,s,"ри","ра","ро");case 7:case 8:return va(n,s,"ми","ма","мо")}return va(n,s,"ти","та","то")},fYe={ordinalNumber:mYe,era:Pe({values:lYe,defaultWidth:"wide"}),quarter:Pe({values:cYe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Pe({values:dYe,defaultWidth:"wide"}),day:Pe({values:EYe,defaultWidth:"wide"}),dayPeriod:Pe({values:_Ye,defaultWidth:"wide"})},SYe=/^(\d+)(-?[врмт][аи]|-?т?(ен|на)|-?(ев|ева))?/i,AYe=/\d+/i,hYe={narrow:/^((пр)?н\.?\s?е\.?)/i,abbreviated:/^((пр)?н\.?\s?е\.?)/i,wide:/^(преди новата ера|новата ера|нова ера)/i},OYe={any:[/^п/i,/^н/i]},IYe={narrow:/^[1234]/i,abbreviated:/^[1234](-?[врт]?o?)? тримес.?/i,wide:/^[1234](-?[врт]?о?)? тримесечие/i},RYe={any:[/1/i,/2/i,/3/i,/4/i]},NYe={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)/i,abbreviated:/^(нед|пон|вто|сря|чет|пет|съб)/i,wide:/^(неделя|понеделник|вторник|сряда|четвъртък|петък|събота)/i},gYe={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н[ед]/i,/^п[он]/i,/^вт/i,/^ср/i,/^ч[ет]/i,/^п[ет]/i,/^с[ъб]/i]},bYe={abbreviated:/^(яну|фев|мар|апр|май|юни|юли|авг|сеп|окт|ное|дек)/i,wide:/^(януари|февруари|март|април|май|юни|юли|август|септември|октомври|ноември|декември)/i},vYe={any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^май/i,/^юн/i,/^юл/i,/^ав/i,/^се/i,/^окт/i,/^но/i,/^де/i]},CYe={any:/^(преди о|след о|в по|на о|през|веч|сут|следо)/i},PYe={any:{am:/^преди о/i,pm:/^след о/i,midnight:/^в пол/i,noon:/^на об/i,morning:/^сут/i,afternoon:/^следо/i,evening:/^веч/i,night:/^през н/i}},DYe={ordinalNumber:Sn({matchPattern:SYe,parsePattern:AYe,valueCallback:e=>parseInt(e,10)}),era:De({matchPatterns:hYe,defaultMatchWidth:"wide",parsePatterns:OYe,defaultParseWidth:"any"}),quarter:De({matchPatterns:IYe,defaultMatchWidth:"wide",parsePatterns:RYe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:De({matchPatterns:bYe,defaultMatchWidth:"wide",parsePatterns:vYe,defaultParseWidth:"any"}),day:De({matchPatterns:NYe,defaultMatchWidth:"wide",parsePatterns:gYe,defaultParseWidth:"any"}),dayPeriod:De({matchPatterns:CYe,defaultMatchWidth:"any",parsePatterns:PYe,defaultParseWidth:"any"})},LYe={code:"bg",formatDistance:ZKe,formatLong:nYe,formatRelative:uYe,localize:fYe,match:DYe,options:{weekStartsOn:1,firstWeekContainsDate:1}},yYe={lessThanXSeconds:{one:{regular:"méně než 1 sekunda",past:"před méně než 1 sekundou",future:"za méně než 1 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:"1 sekunda",past:"před 1 sekundou",future:"za 1 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ž 1 minuta",past:"před méně než 1 minutou",future:"za méně než 1 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:"1 minuta",past:"před 1 minutou",future:"za 1 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ě 1 hodina",past:"přibližně před 1 hodinou",future:"přibližně za 1 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:"1 hodina",past:"před 1 hodinou",future:"za 1 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:"1 den",past:"před 1 dnem",future:"za 1 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ě 1 týden",past:"přibližně před 1 týdnem",future:"přibližně za 1 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:"1 týden",past:"před 1 týdnem",future:"za 1 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ě 1 měsíc",past:"přibližně před 1 měsícem",future:"přibližně za 1 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:"1 měsíc",past:"před 1 měsícem",future:"za 1 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ě 1 rok",past:"přibližně před 1 rokem",future:"přibližně za 1 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:"1 rok",past:"před 1 rokem",future:"za 1 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ž 1 rok",past:"před více než 1 rokem",future:"za více než 1 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 1 rok",past:"skoro před 1 rokem",future:"skoro za 1 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ů"}}},UYe=(e,t,n)=>{let s;const a=yYe[e];a.type==="other"?s=a.other:t===1?s=a.one:t>1&&t<5?s=a.few:s=a.many;const o=(n==null?void 0:n.addSuffix)===!0,i=n==null?void 0:n.comparison;let r;return o&&i===-1?r=s.past:o&&i===1?r=s.future:r=s.regular,r.replace("{{count}}",String(t))},$Ye={full:"EEEE, d. MMMM yyyy",long:"d. MMMM yyyy",medium:"d. M. yyyy",short:"dd.MM.yyyy"},kYe={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},wYe={full:"{{date}} 'v' {{time}}",long:"{{date}} 'v' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},MYe={date:qe({formats:$Ye,defaultWidth:"full"}),time:qe({formats:kYe,defaultWidth:"full"}),dateTime:qe({formats:wYe,defaultWidth:"full"})},WYe=["neděli","pondělí","úterý","středu","čtvrtek","pátek","sobotu"],FYe={lastWeek:"'poslední' eeee 've' p",yesterday:"'včera v' p",today:"'dnes v' p",tomorrow:"'zítra v' p",nextWeek:e=>{const t=e.getDay();return"'v "+WYe[t]+" o' p"},other:"P"},zYe=(e,t)=>{const n=FYe[e];return typeof n=="function"?n(t):n},BYe={narrow:["př. n. l.","n. l."],abbreviated:["př. n. l.","n. l."],wide:["před naším letopočtem","našeho letopočtu"]},GYe={narrow:["1","2","3","4"],abbreviated:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"],wide:["1. čtvrtletí","2. čtvrtletí","3. čtvrtletí","4. čtvrtletí"]},xYe={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"]},VYe={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"]},HYe={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"]},KYe={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"}},YYe={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"}},qYe=(e,t)=>Number(e)+".",jYe={ordinalNumber:qYe,era:Pe({values:BYe,defaultWidth:"wide"}),quarter:Pe({values:GYe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Pe({values:xYe,defaultWidth:"wide",formattingValues:VYe,defaultFormattingWidth:"wide"}),day:Pe({values:HYe,defaultWidth:"wide"}),dayPeriod:Pe({values:KYe,defaultWidth:"wide",formattingValues:YYe,defaultFormattingWidth:"wide"})},XYe=/^(\d+)\.?/i,QYe=/\d+/i,ZYe={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},JYe={any:[/^p[řr]/i,/^(po|n)/i]},eqe={narrow:/^[1234]/i,abbreviated:/^[1234]\. [čc]tvrtlet[íi]/i,wide:/^[1234]\. [čc]tvrtlet[íi]/i},tqe={any:[/1/i,/2/i,/3/i,/4/i]},nqe={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},sqe={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]},aqe={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},oqe={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]},iqe={any:/^dopoledne|dop\.?|odpoledne|odp\.?|p[ůu]lnoc|poledne|r[áa]no|odpoledne|ve[čc]er|(v )?noci?/i},rqe={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}},uqe={ordinalNumber:Sn({matchPattern:XYe,parsePattern:QYe,valueCallback:e=>parseInt(e,10)}),era:De({matchPatterns:ZYe,defaultMatchWidth:"wide",parsePatterns:JYe,defaultParseWidth:"any"}),quarter:De({matchPatterns:eqe,defaultMatchWidth:"wide",parsePatterns:tqe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:De({matchPatterns:nqe,defaultMatchWidth:"wide",parsePatterns:sqe,defaultParseWidth:"any"}),day:De({matchPatterns:aqe,defaultMatchWidth:"wide",parsePatterns:oqe,defaultParseWidth:"any"}),dayPeriod:De({matchPatterns:iqe,defaultMatchWidth:"any",parsePatterns:rqe,defaultParseWidth:"any"})},lqe={code:"cs",formatDistance:UYe,formatLong:MYe,formatRelative:zYe,localize:jYe,match:uqe,options:{weekStartsOn:1,firstWeekContainsDate:4}},Mm={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:"eine halbe Minute",withPreposition:"einer 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"}}},cqe=(e,t,n)=>{let s;const a=n!=null&&n.addSuffix?Mm[e].withPreposition:Mm[e].standalone;return typeof a=="string"?s=a:t===1?s=a.one:s=a.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+s:"vor "+s:s},dqe={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},Eqe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},_qe={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Tqe={date:qe({formats:dqe,defaultWidth:"full"}),time:qe({formats:Eqe,defaultWidth:"full"}),dateTime:qe({formats:_qe,defaultWidth:"full"})},pqe={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},mqe=(e,t,n,s)=>pqe[e],fqe={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},Sqe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},nE={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"]},Aqe={narrow:nE.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:nE.wide},hqe={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"]},Oqe={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"}},Iqe={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"}},Rqe=e=>Number(e)+".",Nqe={ordinalNumber:Rqe,era:Pe({values:fqe,defaultWidth:"wide"}),quarter:Pe({values:Sqe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Pe({values:nE,formattingValues:Aqe,defaultWidth:"wide"}),day:Pe({values:hqe,defaultWidth:"wide"}),dayPeriod:Pe({values:Oqe,defaultWidth:"wide",formattingValues:Iqe,defaultFormattingWidth:"wide"})},gqe=/^(\d+)(\.)?/i,bqe=/\d+/i,vqe={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},Cqe={any:[/^v/i,/^n/i]},Pqe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},Dqe={any:[/1/i,/2/i,/3/i,/4/i]},Lqe={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},yqe={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]},Uqe={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},$qe={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},kqe={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},wqe={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}},Mqe={ordinalNumber:Sn({matchPattern:gqe,parsePattern:bqe,valueCallback:e=>parseInt(e)}),era:De({matchPatterns:vqe,defaultMatchWidth:"wide",parsePatterns:Cqe,defaultParseWidth:"any"}),quarter:De({matchPatterns:Pqe,defaultMatchWidth:"wide",parsePatterns:Dqe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:De({matchPatterns:Lqe,defaultMatchWidth:"wide",parsePatterns:yqe,defaultParseWidth:"any"}),day:De({matchPatterns:Uqe,defaultMatchWidth:"wide",parsePatterns:$qe,defaultParseWidth:"any"}),dayPeriod:De({matchPatterns:kqe,defaultMatchWidth:"wide",parsePatterns:wqe,defaultParseWidth:"any"})},Wqe={code:"de",formatDistance:cqe,formatLong:Tqe,formatRelative:mqe,localize:Nqe,match:Mqe,options:{weekStartsOn:1,firstWeekContainsDate:4}},Fqe={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"}},zqe=(e,t,n)=>{let s;const a=Fqe[e];return typeof a=="string"?s=a:t===1?s=a.one:s=a.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"en "+s:"hace "+s:s},Bqe={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},Gqe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},xqe={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Vqe={date:qe({formats:Bqe,defaultWidth:"full"}),time:qe({formats:Gqe,defaultWidth:"full"}),dateTime:qe({formats:xqe,defaultWidth:"full"})},Hqe={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"},Kqe={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"},Yqe=(e,t,n,s)=>t.getHours()!==1?Kqe[e]:Hqe[e],qqe={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},jqe={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},Xqe={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"]},Qqe={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"]},Zqe={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"}},Jqe={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"}},eje=(e,t)=>Number(e)+"º",tje={ordinalNumber:eje,era:Pe({values:qqe,defaultWidth:"wide"}),quarter:Pe({values:jqe,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:Pe({values:Xqe,defaultWidth:"wide"}),day:Pe({values:Qqe,defaultWidth:"wide"}),dayPeriod:Pe({values:Zqe,defaultWidth:"wide",formattingValues:Jqe,defaultFormattingWidth:"wide"})},nje=/^(\d+)(º)?/i,sje=/\d+/i,aje={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},oje={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]},ije={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},rje={any:[/1/i,/2/i,/3/i,/4/i]},uje={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},lje={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]},cje={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},dje={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]},Eje={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},_je={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}},Tje={ordinalNumber:Sn({matchPattern:nje,parsePattern:sje,valueCallback:function(e){return parseInt(e,10)}}),era:De({matchPatterns:aje,defaultMatchWidth:"wide",parsePatterns:oje,defaultParseWidth:"any"}),quarter:De({matchPatterns:ije,defaultMatchWidth:"wide",parsePatterns:rje,defaultParseWidth:"any",valueCallback:e=>e+1}),month:De({matchPatterns:uje,defaultMatchWidth:"wide",parsePatterns:lje,defaultParseWidth:"any"}),day:De({matchPatterns:cje,defaultMatchWidth:"wide",parsePatterns:dje,defaultParseWidth:"any"}),dayPeriod:De({matchPatterns:Eje,defaultMatchWidth:"any",parsePatterns:_je,defaultParseWidth:"any"})},pje={code:"es",formatDistance:zqe,formatLong:Vqe,formatRelative:Yqe,localize:tje,match:Tje,options:{weekStartsOn:1,firstWeekContainsDate:1}},mje={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"}},fje=(e,t,n)=>{let s;const a=mje[e];return typeof a=="string"?s=a:t===1?s=a.one:s=a.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"en "+s:"duela "+s:s},Sje={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"},Aje={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},hje={full:"{{date}} 'tan' {{time}}",long:"{{date}} 'tan' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Oje={date:qe({formats:Sje,defaultWidth:"full"}),time:qe({formats:Aje,defaultWidth:"full"}),dateTime:qe({formats:hje,defaultWidth:"full"})},Ije={lastWeek:"'joan den' eeee, LT",yesterday:"'atzo,' p",today:"'gaur,' p",tomorrow:"'bihar,' p",nextWeek:"eeee, p",other:"P"},Rje={lastWeek:"'joan den' eeee, p",yesterday:"'atzo,' p",today:"'gaur,' p",tomorrow:"'bihar,' p",nextWeek:"eeee, p",other:"P"},Nje=(e,t)=>t.getHours()!==1?Rje[e]:Ije[e],gje={narrow:["k.a.","k.o."],abbreviated:["k.a.","k.o."],wide:["kristo aurretik","kristo ondoren"]},bje={narrow:["1","2","3","4"],abbreviated:["1H","2H","3H","4H"],wide:["1. hiruhilekoa","2. hiruhilekoa","3. hiruhilekoa","4. hiruhilekoa"]},vje={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"]},Cje={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"]},Pje={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"}},Dje={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"}},Lje=(e,t)=>Number(e)+".",yje={ordinalNumber:Lje,era:Pe({values:gje,defaultWidth:"wide"}),quarter:Pe({values:bje,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Pe({values:vje,defaultWidth:"wide"}),day:Pe({values:Cje,defaultWidth:"wide"}),dayPeriod:Pe({values:Pje,defaultWidth:"wide",formattingValues:Dje,defaultFormattingWidth:"wide"})},Uje=/^(\d+)(.)?/i,$je=/\d+/i,kje={narrow:/^(k.a.|k.o.)/i,abbreviated:/^(k.a.|k.o.)/i,wide:/^(kristo aurretik|kristo ondoren)/i},wje={narrow:[/^k.a./i,/^k.o./i],abbreviated:[/^(k.a.)/i,/^(k.o.)/i],wide:[/^(kristo aurretik)/i,/^(kristo ondoren)/i]},Mje={narrow:/^[1234]/i,abbreviated:/^[1234]H/i,wide:/^[1234](.)? hiruhilekoa/i},Wje={any:[/1/i,/2/i,/3/i,/4/i]},Fje={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},zje={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]},Bje={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},Gje={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]},xje={narrow:/^(a|p|ge|eg|((goiza|goizean)|arratsaldea|(gaua|gauean)))/i,any:/^([ap]\.?\s?m\.?|gauerdia|eguerdia|((goiza|goizean)|arratsaldea|(gaua|gauean)))/i},Vje={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}},Hje={ordinalNumber:Sn({matchPattern:Uje,parsePattern:$je,valueCallback:e=>parseInt(e,10)}),era:De({matchPatterns:kje,defaultMatchWidth:"wide",parsePatterns:wje,defaultParseWidth:"wide"}),quarter:De({matchPatterns:Mje,defaultMatchWidth:"wide",parsePatterns:Wje,defaultParseWidth:"any",valueCallback:e=>e+1}),month:De({matchPatterns:Fje,defaultMatchWidth:"wide",parsePatterns:zje,defaultParseWidth:"any"}),day:De({matchPatterns:Bje,defaultMatchWidth:"wide",parsePatterns:Gje,defaultParseWidth:"wide"}),dayPeriod:De({matchPatterns:xje,defaultMatchWidth:"any",parsePatterns:Vje,defaultParseWidth:"any"})},Kje={code:"eu",formatDistance:fje,formatLong:Oje,formatRelative:Nje,localize:yje,match:Hje,options:{weekStartsOn:1,firstWeekContainsDate:1}},Yje={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"}},qje=(e,t,n)=>{let s;const a=Yje[e];return typeof a=="string"?s=a:t===1?s=a.one:s=a.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"dans "+s:"il y a "+s:s},jje={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},Xje={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Qje={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Zje={date:qe({formats:jje,defaultWidth:"full"}),time:qe({formats:Xje,defaultWidth:"full"}),dateTime:qe({formats:Qje,defaultWidth:"full"})},Jje={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},eXe=(e,t,n,s)=>Jje[e],tXe={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},nXe={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"]},sXe={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"]},aXe={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"]},oXe={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"}},iXe=(e,t)=>{const n=Number(e),s=t==null?void 0:t.unit;if(n===0)return"0";const a=["year","week","hour","minute","second"];let o;return n===1?o=s&&a.includes(s)?"ère":"er":o="ème",n+o},rXe=["MMM","MMMM"],uXe={preprocessor:(e,t)=>e.getDate()===1||!t.some(s=>s.isToken&&rXe.includes(s.value))?t:t.map(s=>s.isToken&&s.value==="do"?{isToken:!0,value:"d"}:s),ordinalNumber:iXe,era:Pe({values:tXe,defaultWidth:"wide"}),quarter:Pe({values:nXe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Pe({values:sXe,defaultWidth:"wide"}),day:Pe({values:aXe,defaultWidth:"wide"}),dayPeriod:Pe({values:oXe,defaultWidth:"wide"})},lXe=/^(\d+)(ième|ère|ème|er|e)?/i,cXe=/\d+/i,dXe={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},EXe={any:[/^av/i,/^ap/i]},_Xe={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},TXe={any:[/1/i,/2/i,/3/i,/4/i]},pXe={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},mXe={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]},fXe={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},SXe={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]},AXe={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},hXe={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}},OXe={ordinalNumber:Sn({matchPattern:lXe,parsePattern:cXe,valueCallback:e=>parseInt(e)}),era:De({matchPatterns:dXe,defaultMatchWidth:"wide",parsePatterns:EXe,defaultParseWidth:"any"}),quarter:De({matchPatterns:_Xe,defaultMatchWidth:"wide",parsePatterns:TXe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:De({matchPatterns:pXe,defaultMatchWidth:"wide",parsePatterns:mXe,defaultParseWidth:"any"}),day:De({matchPatterns:fXe,defaultMatchWidth:"wide",parsePatterns:SXe,defaultParseWidth:"any"}),dayPeriod:De({matchPatterns:AXe,defaultMatchWidth:"any",parsePatterns:hXe,defaultParseWidth:"any"})},IXe={code:"fr",formatDistance:qje,formatLong:Zje,formatRelative:eXe,localize:uXe,match:OXe,options:{weekStartsOn:1,firstWeekContainsDate:4}},RXe={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"}},NXe=(e,t,n)=>{let s;const a=RXe[e];return typeof a=="string"?s=a:t===1?s=a.one:s=a.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"en "+s:"hai "+s:s},gXe={full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},bXe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},vXe={full:"{{date}} 'ás' {{time}}",long:"{{date}} 'ás' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},CXe={date:qe({formats:gXe,defaultWidth:"full"}),time:qe({formats:bXe,defaultWidth:"full"}),dateTime:qe({formats:vXe,defaultWidth:"full"})},PXe={lastWeek:"'o' eeee 'pasado á' LT",yesterday:"'onte á' p",today:"'hoxe á' p",tomorrow:"'mañá á' p",nextWeek:"eeee 'á' p",other:"P"},DXe={lastWeek:"'o' eeee 'pasado ás' p",yesterday:"'onte ás' p",today:"'hoxe ás' p",tomorrow:"'mañá ás' p",nextWeek:"eeee 'ás' p",other:"P"},LXe=(e,t,n,s)=>t.getHours()!==1?DXe[e]:PXe[e],yXe={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","despois de cristo"]},UXe={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},$Xe={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"]},kXe={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"]},wXe={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"}},MXe={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"}},WXe=(e,t)=>Number(e)+"º",FXe={ordinalNumber:WXe,era:Pe({values:yXe,defaultWidth:"wide"}),quarter:Pe({values:UXe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Pe({values:$Xe,defaultWidth:"wide"}),day:Pe({values:kXe,defaultWidth:"wide"}),dayPeriod:Pe({values:wXe,defaultWidth:"wide",formattingValues:MXe,defaultFormattingWidth:"wide"})},zXe=/^(\d+)(º)?/i,BXe=/\d+/i,GXe={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},xXe={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era com[uú]n)/i,/^(despois de cristo|era com[uú]n)/i]},VXe={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},HXe={any:[/1/i,/2/i,/3/i,/4/i]},KXe={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},YXe={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]},qXe={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},jXe={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]},XXe={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},QXe={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}},ZXe={ordinalNumber:Sn({matchPattern:zXe,parsePattern:BXe,valueCallback:e=>parseInt(e,10)}),era:De({matchPatterns:GXe,defaultMatchWidth:"wide",parsePatterns:xXe,defaultParseWidth:"any"}),quarter:De({matchPatterns:VXe,defaultMatchWidth:"wide",parsePatterns:HXe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:De({matchPatterns:KXe,defaultMatchWidth:"wide",parsePatterns:YXe,defaultParseWidth:"any"}),day:De({matchPatterns:qXe,defaultMatchWidth:"wide",parsePatterns:jXe,defaultParseWidth:"any"}),dayPeriod:De({matchPatterns:XXe,defaultMatchWidth:"any",parsePatterns:QXe,defaultParseWidth:"any"})},JXe={code:"gl",formatDistance:NXe,formatLong:CXe,formatRelative:LXe,localize:FXe,match:ZXe,options:{weekStartsOn:1,firstWeekContainsDate:1}},eQe={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"}},tQe=(e,t,n)=>{let s;const a=eQe[e];return typeof a=="string"?s=a:t===1?s=a.one:s=a.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"tra "+s:s+" fa":s},nQe={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},sQe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},aQe={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},oQe={date:qe({formats:nQe,defaultWidth:"full"}),time:qe({formats:sQe,defaultWidth:"full"}),dateTime:qe({formats:aQe,defaultWidth:"full"})},r_=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function iQe(e){switch(e){case 0:return"'domenica scorsa alle' p";default:return"'"+r_[e]+" scorso alle' p"}}function Wm(e){return"'"+r_[e]+" alle' p"}function rQe(e){switch(e){case 0:return"'domenica prossima alle' p";default:return"'"+r_[e]+" prossimo alle' p"}}const uQe={lastWeek:(e,t,n)=>{const s=e.getDay();return _a(e,t,n)?Wm(s):iQe(s)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:(e,t,n)=>{const s=e.getDay();return _a(e,t,n)?Wm(s):rQe(s)},other:"P"},lQe=(e,t,n,s)=>{const a=uQe[e];return typeof a=="function"?a(t,n,s):a},cQe={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},dQe={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},EQe={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"]},_Qe={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"]},TQe={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"}},pQe={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"}},mQe=(e,t)=>{const n=Number(e);return String(n)},fQe={ordinalNumber:mQe,era:Pe({values:cQe,defaultWidth:"wide"}),quarter:Pe({values:dQe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Pe({values:EQe,defaultWidth:"wide"}),day:Pe({values:_Qe,defaultWidth:"wide"}),dayPeriod:Pe({values:TQe,defaultWidth:"wide",formattingValues:pQe,defaultFormattingWidth:"wide"})},SQe=/^(\d+)(º)?/i,AQe=/\d+/i,hQe={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},OQe={any:[/^a/i,/^(d|e)/i]},IQe={narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},RQe={any:[/1/i,/2/i,/3/i,/4/i]},NQe={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},gQe={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]},bQe={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},vQe={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]},CQe={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},PQe={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}},DQe={ordinalNumber:Sn({matchPattern:SQe,parsePattern:AQe,valueCallback:e=>parseInt(e,10)}),era:De({matchPatterns:hQe,defaultMatchWidth:"wide",parsePatterns:OQe,defaultParseWidth:"any"}),quarter:De({matchPatterns:IQe,defaultMatchWidth:"wide",parsePatterns:RQe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:De({matchPatterns:NQe,defaultMatchWidth:"wide",parsePatterns:gQe,defaultParseWidth:"any"}),day:De({matchPatterns:bQe,defaultMatchWidth:"wide",parsePatterns:vQe,defaultParseWidth:"any"}),dayPeriod:De({matchPatterns:CQe,defaultMatchWidth:"any",parsePatterns:PQe,defaultParseWidth:"any"})},LQe={code:"it",formatDistance:tQe,formatLong:oQe,formatRelative:lQe,localize:fQe,match:DQe,options:{weekStartsOn:1,firstWeekContainsDate:4}},yQe={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"}},UQe=(e,t,n)=>{let s;const a=yQe[e];return typeof a=="string"?s=a:t===1?s=a.one:s=a.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"om "+s:s+" siden":s},$Qe={full:"EEEE d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"dd.MM.y"},kQe={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},wQe={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},MQe={date:qe({formats:$Qe,defaultWidth:"full"}),time:qe({formats:kQe,defaultWidth:"full"}),dateTime:qe({formats:wQe,defaultWidth:"full"})},WQe={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"},FQe=(e,t,n,s)=>WQe[e],zQe={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["før Kristus","etter Kristus"]},BQe={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartal","2. kvartal","3. kvartal","4. kvartal"]},GQe={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"]},xQe={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"]},VQe={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"}},HQe=(e,t)=>Number(e)+".",KQe={ordinalNumber:HQe,era:Pe({values:zQe,defaultWidth:"wide"}),quarter:Pe({values:BQe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Pe({values:GQe,defaultWidth:"wide"}),day:Pe({values:xQe,defaultWidth:"wide"}),dayPeriod:Pe({values:VQe,defaultWidth:"wide"})},YQe=/^(\d+)\.?/i,qQe=/\d+/i,jQe={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},XQe={any:[/^f/i,/^e/i]},QQe={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? kvartal/i},ZQe={any:[/1/i,/2/i,/3/i,/4/i]},JQe={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},eZe={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]},tZe={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},nZe={any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]},sZe={narrow:/^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,any:/^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i},aZe={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}},oZe={ordinalNumber:Sn({matchPattern:YQe,parsePattern:qQe,valueCallback:e=>parseInt(e,10)}),era:De({matchPatterns:jQe,defaultMatchWidth:"wide",parsePatterns:XQe,defaultParseWidth:"any"}),quarter:De({matchPatterns:QQe,defaultMatchWidth:"wide",parsePatterns:ZQe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:De({matchPatterns:JQe,defaultMatchWidth:"wide",parsePatterns:eZe,defaultParseWidth:"any"}),day:De({matchPatterns:tZe,defaultMatchWidth:"wide",parsePatterns:nZe,defaultParseWidth:"any"}),dayPeriod:De({matchPatterns:sZe,defaultMatchWidth:"any",parsePatterns:aZe,defaultParseWidth:"any"})},iZe={code:"nb",formatDistance:UQe,formatLong:MQe,formatRelative:FQe,localize:KQe,match:oZe,options:{weekStartsOn:1,firstWeekContainsDate:4}},rZe={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"}},uZe=(e,t,n)=>{let s;const a=rZe[e];return typeof a=="string"?s=a:t===1?s=a.one:s=a.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"over "+s:s+" geleden":s},lZe={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},cZe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},dZe={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},EZe={date:qe({formats:lZe,defaultWidth:"full"}),time:qe({formats:cZe,defaultWidth:"full"}),dateTime:qe({formats:dZe,defaultWidth:"full"})},_Ze={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},TZe=(e,t,n,s)=>_Ze[e],pZe={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},mZe={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},fZe={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"]},SZe={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"]},AZe={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"}},hZe=(e,t)=>Number(e)+"e",OZe={ordinalNumber:hZe,era:Pe({values:pZe,defaultWidth:"wide"}),quarter:Pe({values:mZe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Pe({values:fZe,defaultWidth:"wide"}),day:Pe({values:SZe,defaultWidth:"wide"}),dayPeriod:Pe({values:AZe,defaultWidth:"wide"})},IZe=/^(\d+)e?/i,RZe=/\d+/i,NZe={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},gZe={any:[/^v/,/^n/]},bZe={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},vZe={any:[/1/i,/2/i,/3/i,/4/i]},CZe={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},PZe={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]},DZe={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},LZe={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]},yZe={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},UZe={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}},$Ze={ordinalNumber:Sn({matchPattern:IZe,parsePattern:RZe,valueCallback:e=>parseInt(e,10)}),era:De({matchPatterns:NZe,defaultMatchWidth:"wide",parsePatterns:gZe,defaultParseWidth:"any"}),quarter:De({matchPatterns:bZe,defaultMatchWidth:"wide",parsePatterns:vZe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:De({matchPatterns:CZe,defaultMatchWidth:"wide",parsePatterns:PZe,defaultParseWidth:"any"}),day:De({matchPatterns:DZe,defaultMatchWidth:"wide",parsePatterns:LZe,defaultParseWidth:"any"}),dayPeriod:De({matchPatterns:yZe,defaultMatchWidth:"any",parsePatterns:UZe,defaultParseWidth:"any"})},kZe={code:"nl",formatDistance:uZe,formatLong:EZe,formatRelative:TZe,localize:OZe,match:$Ze,options:{weekStartsOn:1,firstWeekContainsDate:4}},wZe={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 MZe(e,t){if(t===1)return e.one;const n=t%100;if(n<=20&&n>10)return e.other;const s=n%10;return s>=2&&s<=4?e.twoFour:e.other}function hc(e,t,n){const s=MZe(e,t);return(typeof s=="string"?s:s[n]).replace("{{count}}",String(t))}const WZe=(e,t,n)=>{const s=wZe[e];return n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"za "+hc(s,t,"future"):hc(s,t,"past")+" temu":hc(s,t,"regular")},FZe={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},zZe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},BZe={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},GZe={date:qe({formats:FZe,defaultWidth:"full"}),time:qe({formats:zZe,defaultWidth:"full"}),dateTime:qe({formats:BZe,defaultWidth:"full"})},xZe={masculine:"ostatni",feminine:"ostatnia"},VZe={masculine:"ten",feminine:"ta"},HZe={masculine:"następny",feminine:"następna"},KZe={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function Fm(e,t,n,s){let a;if(_a(t,n,s))a=VZe;else if(e==="lastWeek")a=xZe;else if(e==="nextWeek")a=HZe;else throw new Error(`Cannot determine adjectives for token ${e}`);const o=t.getDay(),i=KZe[o];return`'${a[i]}' eeee 'o' p`}const YZe={lastWeek:Fm,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:Fm,other:"P"},qZe=(e,t,n,s)=>{const a=YZe[e];return typeof a=="function"?a(e,t,n,s):a},jZe={narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszą erą","naszej ery"]},XZe={narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartał","II kwartał","III kwartał","IV kwartał"]},QZe={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ń"]},ZZe={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"]},JZe={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"]},eJe={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"]},tJe={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"}},nJe={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"}},sJe=(e,t)=>String(e),aJe={ordinalNumber:sJe,era:Pe({values:jZe,defaultWidth:"wide"}),quarter:Pe({values:XZe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Pe({values:QZe,defaultWidth:"wide",formattingValues:ZZe,defaultFormattingWidth:"wide"}),day:Pe({values:JZe,defaultWidth:"wide",formattingValues:eJe,defaultFormattingWidth:"wide"}),dayPeriod:Pe({values:tJe,defaultWidth:"wide",formattingValues:nJe,defaultFormattingWidth:"wide"})},oJe=/^(\d+)?/i,iJe=/\d+/i,rJe={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},uJe={any:[/^p/i,/^n/i]},lJe={narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},cJe={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},dJe={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},EJe={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]},_Je={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},TJe={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]},pJe={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},mJe={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}},fJe={ordinalNumber:Sn({matchPattern:oJe,parsePattern:iJe,valueCallback:e=>parseInt(e,10)}),era:De({matchPatterns:rJe,defaultMatchWidth:"wide",parsePatterns:uJe,defaultParseWidth:"any"}),quarter:De({matchPatterns:lJe,defaultMatchWidth:"wide",parsePatterns:cJe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:De({matchPatterns:dJe,defaultMatchWidth:"wide",parsePatterns:EJe,defaultParseWidth:"any"}),day:De({matchPatterns:_Je,defaultMatchWidth:"wide",parsePatterns:TJe,defaultParseWidth:"any"}),dayPeriod:De({matchPatterns:pJe,defaultMatchWidth:"any",parsePatterns:mJe,defaultParseWidth:"any"})},SJe={code:"pl",formatDistance:WZe,formatLong:GZe,formatRelative:qZe,localize:aJe,match:fJe,options:{weekStartsOn:1,firstWeekContainsDate:4}},AJe={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"}},hJe=(e,t,n)=>{let s;const a=AJe[e];return typeof a=="string"?s=a:t===1?s=a.one:s=a.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"daqui a "+s:"há "+s:s},OJe={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d 'de' MMM 'de' y",short:"dd/MM/y"},IJe={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},RJe={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},NJe={date:qe({formats:OJe,defaultWidth:"full"}),time:qe({formats:IJe,defaultWidth:"full"}),dateTime:qe({formats:RJe,defaultWidth:"full"})},gJe={lastWeek:e=>{const t=e.getDay();return"'"+(t===0||t===6?"último":"última")+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},bJe=(e,t,n,s)=>{const a=gJe[e];return typeof a=="function"?a(t):a},vJe={narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["antes de Cristo","depois de Cristo"]},CJe={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},PJe={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"]},DJe={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"]},LJe={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"}},yJe={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"}},UJe=(e,t)=>Number(e)+"º",$Je={ordinalNumber:UJe,era:Pe({values:vJe,defaultWidth:"wide"}),quarter:Pe({values:CJe,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Pe({values:PJe,defaultWidth:"wide"}),day:Pe({values:DJe,defaultWidth:"wide"}),dayPeriod:Pe({values:LJe,defaultWidth:"wide",formattingValues:yJe,defaultFormattingWidth:"wide"})},kJe=/^(\d+)(º|ª)?/i,wJe=/\d+/i,MJe={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},WJe={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes da era comum)/i,/^(depois de cristo|era comum)/i]},FJe={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º|ª)? trimestre/i},zJe={any:[/1/i,/2/i,/3/i,/4/i]},BJe={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},GJe={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]},xJe={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},VJe={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]},HJe={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},KJe={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}},YJe={ordinalNumber:Sn({matchPattern:kJe,parsePattern:wJe,valueCallback:e=>parseInt(e,10)}),era:De({matchPatterns:MJe,defaultMatchWidth:"wide",parsePatterns:WJe,defaultParseWidth:"any"}),quarter:De({matchPatterns:FJe,defaultMatchWidth:"wide",parsePatterns:zJe,defaultParseWidth:"any",valueCallback:e=>e+1}),month:De({matchPatterns:BJe,defaultMatchWidth:"wide",parsePatterns:GJe,defaultParseWidth:"any"}),day:De({matchPatterns:xJe,defaultMatchWidth:"wide",parsePatterns:VJe,defaultParseWidth:"any"}),dayPeriod:De({matchPatterns:HJe,defaultMatchWidth:"any",parsePatterns:KJe,defaultParseWidth:"any"})},qJe={code:"pt",formatDistance:hJe,formatLong:NJe,formatRelative:bJe,localize:$Je,match:YJe,options:{weekStartsOn:1,firstWeekContainsDate:4}};function ei(e,t){if(e.one!==void 0&&t===1)return e.one;const n=t%10,s=t%100;return n===1&&s!==11?e.singularNominative.replace("{{count}}",String(t)):n>=2&&n<=4&&(s<10||s>20)?e.singularGenitive.replace("{{count}}",String(t)):e.pluralGenitive.replace("{{count}}",String(t))}function rn(e){return(t,n)=>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)}const jJe={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:(e,t)=>t!=null&&t.addSuffix?t.comparison&&t.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}} лет"}})},XJe=(e,t,n)=>jJe[e](t,n),QJe={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},ZJe={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},JJe={any:"{{date}}, {{time}}"},eet={date:qe({formats:QJe,defaultWidth:"full"}),time:qe({formats:ZJe,defaultWidth:"full"}),dateTime:qe({formats:JJe,defaultWidth:"any"})},u_=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function tet(e){const t=u_[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 zm(e){const t=u_[e];return e===2?"'во "+t+" в' p":"'в "+t+" в' p"}function net(e){const t=u_[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"}}const set={lastWeek:(e,t,n)=>{const s=e.getDay();return _a(e,t,n)?zm(s):tet(s)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:(e,t,n)=>{const s=e.getDay();return _a(e,t,n)?zm(s):net(s)},other:"P"},aet=(e,t,n,s)=>{const a=set[e];return typeof a=="function"?a(t,n,s):a},oet={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},iet={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},ret={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},uet={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},cet={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},det={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:"ночь"}},Eet={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:"ночи"}},_et=(e,t)=>{const n=Number(e),s=t==null?void 0:t.unit;let a;return s==="date"?a="-е":s==="week"||s==="minute"||s==="second"?a="-я":a="-й",n+a},Tet={ordinalNumber:_et,era:Pe({values:oet,defaultWidth:"wide"}),quarter:Pe({values:iet,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Pe({values:ret,defaultWidth:"wide",formattingValues:uet,defaultFormattingWidth:"wide"}),day:Pe({values:cet,defaultWidth:"wide"}),dayPeriod:Pe({values:det,defaultWidth:"any",formattingValues:Eet,defaultFormattingWidth:"wide"})},pet=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,met=/\d+/i,fet={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},Aet={any:[/^д/i,/^н/i]},het={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},Oet={any:[/1/i,/2/i,/3/i,/4/i]},Iet={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},Ret={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]},Net={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},get={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},bet={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},vet={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},Cet={ordinalNumber:Sn({matchPattern:pet,parsePattern:met,valueCallback:e=>parseInt(e,10)}),era:De({matchPatterns:fet,defaultMatchWidth:"wide",parsePatterns:Aet,defaultParseWidth:"any"}),quarter:De({matchPatterns:het,defaultMatchWidth:"wide",parsePatterns:Oet,defaultParseWidth:"any",valueCallback:e=>e+1}),month:De({matchPatterns:Iet,defaultMatchWidth:"wide",parsePatterns:Ret,defaultParseWidth:"any"}),day:De({matchPatterns:Net,defaultMatchWidth:"wide",parsePatterns:get,defaultParseWidth:"any"}),dayPeriod:De({matchPatterns:bet,defaultMatchWidth:"wide",parsePatterns:vet,defaultParseWidth:"any"})},Pet={code:"ru",formatDistance:XJe,formatLong:eet,formatRelative:aet,localize:Tet,match:Cet,options:{weekStartsOn:1,firstWeekContainsDate:1}},Det={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},Let=(e,t,n)=>{let s;const a=Det[e];return typeof a=="string"?s=a:t===1?s=a.one:s=a.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?s+"内":s+"前":s},yet={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},Uet={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},$et={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},ket={date:qe({formats:yet,defaultWidth:"full"}),time:qe({formats:Uet,defaultWidth:"full"}),dateTime:qe({formats:$et,defaultWidth:"full"})};function Bm(e,t,n){const s="eeee p";return _a(e,t,n)?s:e.getTime()>t.getTime()?"'下个'"+s:"'上个'"+s}const wet={lastWeek:Bm,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:Bm,other:"PP p"},Met=(e,t,n,s)=>{const a=wet[e];return typeof a=="function"?a(t,n,s):a},Wet={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},Fet={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},zet={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},Bet={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},Get={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:"夜间"}},xet={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:"夜间"}},Vet=(e,t)=>{const n=Number(e);switch(t==null?void 0:t.unit){case"date":return n.toString()+"日";case"hour":return n.toString()+"时";case"minute":return n.toString()+"分";case"second":return n.toString()+"秒";default:return"第 "+n.toString()}},Het={ordinalNumber:Vet,era:Pe({values:Wet,defaultWidth:"wide"}),quarter:Pe({values:Fet,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Pe({values:zet,defaultWidth:"wide"}),day:Pe({values:Bet,defaultWidth:"wide"}),dayPeriod:Pe({values:Get,defaultWidth:"wide",formattingValues:xet,defaultFormattingWidth:"wide"})},Ket=/^(第\s*)?\d+(日|时|分|秒)?/i,Yet=/\d+/i,qet={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},jet={any:[/^(前)/i,/^(公元)/i]},Xet={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},Qet={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},Zet={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},Jet={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},ett={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},ttt={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},ntt={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},stt={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},att={ordinalNumber:Sn({matchPattern:Ket,parsePattern:Yet,valueCallback:e=>parseInt(e,10)}),era:De({matchPatterns:qet,defaultMatchWidth:"wide",parsePatterns:jet,defaultParseWidth:"any"}),quarter:De({matchPatterns:Xet,defaultMatchWidth:"wide",parsePatterns:Qet,defaultParseWidth:"any",valueCallback:e=>e+1}),month:De({matchPatterns:Zet,defaultMatchWidth:"wide",parsePatterns:Jet,defaultParseWidth:"any"}),day:De({matchPatterns:ett,defaultMatchWidth:"wide",parsePatterns:ttt,defaultParseWidth:"any"}),dayPeriod:De({matchPatterns:ntt,defaultMatchWidth:"any",parsePatterns:stt,defaultParseWidth:"any"})},ott={code:"zh-CN",formatDistance:Let,formatLong:ket,formatRelative:Met,localize:Het,match:att,options:{weekStartsOn:1,firstWeekContainsDate:4}},itt=e=>["bg","cs","de","en","es","eu","fr","gl","it","nb","nl","pl","pt","ru","zh_Hans"].includes(e),xa={bg:LYe,cs:lqe,de:Wqe,en:ir,es:pje,eu:Kje,fr:IXe,gl:JXe,it:LQe,nb:iZe,nl:kZe,pl:SJe,pt:qJe,ru:Pet,zh_Hans:ott},So={bg:"български (64%)",cs:"Česky (47%)",de:"Deutsch (76%)",en:"English",es:"Español (64%)",eu:"Euskara (73%)",fr:"Français",gl:"Galego",it:"Italiano (53%)",nl:"Nederlands (64%)",nb:"Norsk bokmål (34%)",pl:"Polski",pt:"Português (63%)",ru:"Русский (40%)",zh_Hans:"中文(简体)"},sE=Object.keys(So).map(e=>({label:So[e],value:e})),{locale:Au}=Fo.global,rtt=(e,t,n)=>{switch(e){case"week":return is(t,{weekStartsOn:n?1:0});case"year":return Nl(t);case"month":return or(t);default:throw new Error(`Invalid duration, expected: "week", "month", "year", got: "${e}"`)}},utt=(e,t)=>{switch(e){case"week":return sr(t,7);case"year":return fu(t,1);case"month":return go(t,1);default:throw new Error(`Invalid duration, expected: "week", "month", "year", got: "${e}"`)}},Cl=(e,t)=>u2(new Date(e),t),Gm=(e,t)=>{const n=or(e),s=ar(e),a=t?1:0;return{start:is(n,{weekStartsOn:a}),end:XE(s,{weekStartsOn:a})}},B0=(e,t=null,n=null)=>(t||(t="yyyy/MM/dd"),t=Oa(t,Au.value),n||(n="HH:mm"),{workout_date:mn(e,t,{locale:xa[Au.value]}),workout_time:mn(e,n)}),ltt=["MM/dd/yyyy","dd/MM/yyyy","yyyy-MM-dd","date_string"],ctt={bg:"d MMMM yyyy",cs:"d. MMM yyyy",de:"do MMM yyyy",en:"MMM. do, yyyy",es:"d MMM yyyy",eu:"yyyy MMM. d",fr:"d MMM yyyy",gl:"d MMM yyyy",it:"d MMM yyyy",nb:"do MMM yyyy",nl:"d MMM yyyy",pl:"d MMM yyyy",pt:"d MMM yyyy",ru:"d MMMM yyyy",zh_Hans:"y年M月d日"},Oa=(e,t)=>e==="date_string"?ctt[t]:e||"MM/dd/yyyy",Ut=(e,t,n,s=!0,a=null,o=!1)=>{a||(a=Au.value);const i=s?o?" HH:mm:ss":" HH:mm":"";return mn(Cl(e,t),`${Oa(n,a)}${i}`,{locale:xa[a]})},dtt=(e,t,n=null)=>{const s=n||Au.value,a=[];return ltt.map(o=>{const i=Oa(o,s);a.push({label:`${i} - ${Ut(e,t,i,!1,s)}`,value:o})}),a};function Ye(){const e=at(),t=ye(),{appLanguage:n}=Ge(),s=F(()=>t.getters[K.GETTERS.AUTH_USER_PROFILE]),a=F(()=>t.getters[K.GETTERS.USER_LOADING]),o=F(()=>t.getters[K.GETTERS.IS_SUCCESS]),i=F(()=>Oa(s.value.date_format,n.value)),r=F(()=>t.getters[K.GETTERS.IS_AUTHENTICATED]),u=F(()=>t.getters[K.GETTERS.HAS_ADMIN_RIGHTS]),l=F(()=>t.getters[K.GETTERS.HAS_MODERATOR_RIGHTS]),d=F(()=>t.getters[K.GETTERS.HAS_OWNER_RIGHTS]),_=F(()=>t.getters[K.GETTERS.IS_SUSPENDED]),c=F(()=>s.value.imperial_units),T=F(()=>f()),m=F(()=>e.query.token);function f(){return s.value.timezone?s.value.timezone:Intl.DateTimeFormat().resolvedOptions().timeZone?Intl.DateTimeFormat().resolvedOptions().timeZone:"Europe/Paris"}return{authUser:s,authUserHasAdminRights:u,authUserHasModeratorRights:l,authUserHasOwnerRights:d,authUserLoading:a,authUserSuccess:o,dateFormat:i,imperialUnits:c,isAuthenticated:r,isAuthUserSuspended:_,timezone:T,token:m}}const Ett={id:"nav"},_tt={class:"nav-container"},Ttt={class:"nav-app-name"},ptt={class:"nav-items-app-menu"},mtt={key:0,class:"nav-items-group"},ftt={class:"nav-items-user-menu"},Stt={key:0,class:"nav-items-group"},Att={class:"user-name"},htt={class:"notifications-label"},Ott=["title"],Itt={class:"nav-button-text"},Rtt={key:1,class:"nav-items-group"},Ntt={class:"theme-button"},gtt=["title"],btt={key:0,class:"fa nav-button-fa fa-moon","aria-hidden":"true"},vtt={key:1,class:"clear-theme",src:Av,alt:"","aria-hidden":"true"},Ctt={class:"nav-button-text"},Ptt=Q({__name:"NavBar",emits:["menuInteraction"],setup(e,{emit:t}){const n=t,s=ye(),{appLanguage:a,darkTheme:o}=Ge(),{authUser:i,isAuthenticated:r,isAuthUserSuspended:u,authUserHasModeratorRights:l}=Ye(),d=Oe(!1),_=Oe(!1),c=F(()=>s.getters[ct.GETTERS.UNREAD_STATUS]);function T(){d.value=!0,n("menuInteraction",!0)}function m(){d.value=!1,n("menuInteraction",!1)}function f(N){s.dispatch(ee.ACTIONS.UPDATE_APPLICATION_LANGUAGE,N.value)}function R(){s.dispatch(K.ACTIONS.LOGOUT),_.value=!1}function h(N){_.value=N}function O(){o.value?document.body.setAttribute("data-theme","dark"):document.body.removeAttribute("data-theme")}function I(){s.commit(ee.MUTATIONS.UPDATE_DARK_MODE,!o.value)}return Ce(()=>o.value,()=>{O()}),Ze(()=>O()),(N,b)=>{const C=j("Modal"),v=j("router-link"),y=j("Dropdown");return S(),g("header",Ett,[_.value?(S(),G(C,{key:0,title:N.$t("common.CONFIRMATION"),message:N.$t("user.LOGOUT_CONFIRMATION"),"hide-error-message":!0,onConfirmAction:R,onCancelAction:b[0]||(b[0]=D=>h(!1)),onKeydown:b[1]||(b[1]=Xe(D=>h(!1),["esc"]))},null,8,["title","message"])):L("",!0),E("div",_tt,[E("div",Ttt,[M(v,{class:"nav-item app-name",to:"/"},{default:X(()=>b[11]||(b[11]=[B(" FitTrackee ")])),_:1})]),E("div",{class:fe(["nav-icon-open",{"menu-open":d.value}])},[p(u)?L("",!0):(S(),G(v,{key:0,class:"nav-item nav-profile-img notifications",to:"/notifications?status=unread",title:Fe(N.$t("notifications.NOTIFICATIONS",0)),onClick:m},{default:X(()=>[E("i",{class:fe(["notifications-icons",`fa fa-bell${c.value?"-ringing":""}-o`]),"aria-hidden":"true"},null,2)]),_:1},8,["title"])),E("button",{class:"menu-button transparent",onClick:b[2]||(b[2]=D=>T())},b[12]||(b[12]=[E("i",{class:"fa fa-bars hamburger-icon"},null,-1)]))],2),E("div",{class:fe(["nav-items",{"menu-open":d.value}])},[E("div",{class:"nav-items-close",onClick:m},[M(v,{class:"nav-item app-name",to:"/"},{default:X(()=>b[13]||(b[13]=[B(" FitTrackee ")])),_:1}),E("button",{class:"menu-button transparent",onClick:b[3]||(b[3]=D=>m())},[E("i",{class:fe(["fa fa-close close-icon nav-item",{"menu-closed":!d.value}])},null,2)])]),E("div",ptt,[p(r)&&!p(u)?(S(),g("div",mtt,[M(v,{class:"nav-item",to:"/",onClick:b[4]||(b[4]=D=>m())},{default:X(()=>[B(A(N.$t("dashboard.DASHBOARD")),1)]),_:1}),M(v,{class:"nav-item",to:"/workouts",onClick:b[5]||(b[5]=D=>m())},{default:X(()=>[B(A(Fe(N.$t("workouts.WORKOUT",2))),1)]),_:1}),M(v,{class:"nav-item",to:"/statistics",onClick:b[6]||(b[6]=D=>m())},{default:X(()=>[B(A(N.$t("statistics.STATISTICS")),1)]),_:1}),M(v,{class:"nav-item",to:"/users",onClick:b[7]||(b[7]=D=>m())},{default:X(()=>[B(A(Fe(N.$t("user.USER",0))),1)]),_:1}),M(v,{class:"nav-item",to:"/workouts/add",onClick:b[8]||(b[8]=D=>m())},{default:X(()=>[B(A(N.$t("workouts.ADD_WORKOUT")),1)]),_:1}),p(l)?(S(),G(v,{key:0,class:"nav-item",to:"/admin",onClick:b[9]||(b[9]=D=>m())},{default:X(()=>[B(A(N.$t("admin.ADMIN")),1)]),_:1})):L("",!0),b[14]||(b[14]=E("div",{class:"nav-item nav-separator"},null,-1))])):L("",!0)]),E("div",ftt,[p(r)?(S(),g("div",Stt,[M(v,{class:"nav-item nav-profile-img",to:"/profile",onClick:m,title:p(i).username},{default:X(()=>[M(Vt,{user:p(i)},null,8,["user"]),E("span",Att,A(p(i).username),1)]),_:1},8,["title"]),p(u)?L("",!0):(S(),G(v,{key:0,class:"nav-item nav-profile-img notifications",to:"/notifications?status=unread",title:Fe(N.$t("notifications.NOTIFICATIONS",0)),onClick:m},{default:X(()=>[E("i",{class:fe(["notifications-icons",`fa fa-bell${c.value?"-ringing":""}-o`]),"aria-hidden":"true"},null,2),E("span",htt,A(Fe(N.$t("notifications.NOTIFICATIONS",0))),1)]),_:1},8,["title"])),E("button",{class:"nav-button logout-button transparent",onClick:b[10]||(b[10]=D=>h(!0)),title:N.$t("user.LOGOUT")},[b[15]||(b[15]=E("i",{class:"fa fa-sign-out nav-button-fa","aria-hidden":"true"},null,-1)),E("span",Itt,A(N.$t("user.LOGOUT")),1)],8,Ott)])):(S(),g("div",Rtt,[M(v,{class:"nav-item",to:"/login",onClick:m},{default:X(()=>[B(A(N.$t("user.LOGIN")),1)]),_:1}),M(v,{class:"nav-item",to:"/register",onClick:m},{default:X(()=>[B(A(N.$t("user.REGISTER")),1)]),_:1})])),E("div",Ntt,[E("button",{class:"nav-button transparent",onClick:I,title:N.$t("user.TOGGLE_THEME")},[p(o)?(S(),g("i",btt)):(S(),g("img",vtt)),E("span",Ctt,A(N.$t("user.TOGGLE_THEME")),1)],8,gtt)]),p(sE)&&p(a)?(S(),G(y,{key:2,class:"nav-item",options:p(sE),selected:p(a),onSelected:f,buttonLabel:N.$t("user.LANGUAGE"),listLabel:N.$t("user.LANGUAGE",0),isMenuOpen:d.value},{default:X(()=>b[16]||(b[16]=[E("i",{class:"fa fa-language","aria-hidden":"true"},null,-1)])),_:1},8,["options","selected","buttonLabel","listLabel","isMenuOpen"])):L("",!0)])],2)])])}}}),Dtt=ne(Ptt,[["__scopeId","data-v-a73f68bb"]]),Ltt={name:"ErrorImg"},ytt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -51 512 512"};function Utt(e,t,n,s,a,o){return S(),g("svg",ytt,t[0]||(t[0]=[Nn('',1)]))}const l_=ne(Ltt,[["render",Utt]]),$tt={id:"no-config"},ktt={class:"error-page"},wtt={class:"error-img"},Mtt=["innerHTML"],Wtt=Q({__name:"NoConfig",setup(e){return(t,n)=>(S(),g("div",$tt,[E("div",ktt,[E("div",wtt,[M(l_)]),E("p",{class:"error-message",innerHTML:t.$t("error.APP_ERROR")},null,8,Mtt)])]))}}),Ftt=ne(Wtt,[["__scopeId","data-v-66cdbc36"]]),ztt={key:0,class:"app-container"},Btt={class:"app-loading"},Gtt={class:"container scroll"},xtt=Q({__name:"App",setup(e){const t=ye(),{appConfig:n,appLoading:s}=Ge(),a=Oe(!1),o=Oe(!1);function i(_){a.value=_}function r(_){return _.getBoundingClientRect().top=0}function u(){window.onscroll=()=>{const _=document.querySelector("#bottom");o.value=_!==null&&r(_)}}function l(){window.scrollTo({top:0,behavior:"smooth"}),setTimeout(()=>{o.value=!1},300)}function d(){let _="en";try{const c=navigator.language.split("-")[0];itt(c)&&(_=c)}catch{_="en"}t.dispatch(ee.ACTIONS.UPDATE_APPLICATION_LANGUAGE,_)}return Ze(()=>{d(),t.dispatch(ee.ACTIONS.GET_APPLICATION_CONFIG)}),Et(()=>u()),(_,c)=>{const T=j("Loader"),m=j("router-view");return S(),g(ae,null,[c[1]||(c[1]=E("div",{id:"top"},null,-1)),M(Dtt,{onMenuInteraction:i}),E("main",null,[p(s)?(S(),g("div",ztt,[E("div",Btt,[M(T)])])):(S(),g("div",{key:1,class:fe(["app-container",{"hide-scroll":a.value}])},[p(n)?(S(),G(m,{key:0})):(S(),G(Ftt,{key:1}))],2)),E("div",Gtt,[E("div",{class:fe(["scroll-button",{"display-button":o.value}]),onClick:l},c[0]||(c[0]=[E("i",{class:"fa fa-chevron-up","aria-hidden":"true"},null,-1)]),2)])]),p(n)?(S(),G(Sv,{key:0,version:p(n)?p(n).version:"",adminContact:p(n).admin_contact},null,8,["version","adminContact"])):L("",!0)],64)}}}),Vtt={key:0,class:"appeal description-list"},Htt={key:0},Ktt={key:1,class:"appeal-submitted"},Ytt={class:"form-items"},qtt={class:"form-item"},jtt={for:"appeal"},Xtt={class:"info-box appeal-info"},Qtt={class:"form-select-buttons"},Ztt={class:"report-buttons"},Jtt=["disabled"],ent={class:"action-loading"},tnt={key:0,class:"fa fa-spinner fa-pulse","aria-hidden":"true"},nnt=Q({__name:"ActionAppeal",props:{reportAction:{},loading:{type:Boolean},success:{type:Boolean},canAppeal:{type:Boolean,default:!0}},emits:["submitForm","hideMessage"],setup(e,{emit:t}){const n=e,{reportAction:s,loading:a,success:o}=pe(n),i=at(),r=ye(),u=F(()=>r.getters[ee.GETTERS.ERROR_MESSAGES]),l=Oe(""),d=F(()=>s.value.action_type.includes("_suspension")?"SUSPENSION":"WARNING"),_=F(()=>m()),c=F(()=>!o.value&&!["AuthUserAccountSuspension","UserSanctionDetail"].includes(i.name)),T=t;function m(){if(o.value)return"SUBMITTED";const h=s.value.appeal;return(h==null?void 0:h.approved)===!1?"REJECTED":(h==null?void 0:h.approved)===!0?"APPROVED":"IN_PROGRESS"}function f(h){l.value=h.value}function R(){T("submitForm",l.value)}return ut(()=>{r.commit(J.MUTATIONS.SET_APPEAL_LOADING,null),r.commit(J.MUTATIONS.SET_SUCCESS,null)}),(h,O)=>{const I=j("CustomTextArea"),N=j("ErrorMessage");return p(s).id?(S(),g("div",Vtt,[p(s).reason?(S(),g("dl",Htt,[E("dt",null,A(h.$t(`user.${d.value}_REASON`))+":",1),E("dd",null,A(p(s).reason),1)])):L("",!0),p(o)||p(s).appeal?(S(),g("div",Ktt,[E("div",{class:fe(["info-box",{"success-message":p(o),"appeal-success":p(o),"appeal-approved":_.value==="APPROVED","appeal-rejected":_.value==="REJECTED"}])},[E("span",null,[E("i",{class:fe(["fa",{"fa-info-circle":_.value!=="REJECTED","fa-times":_.value==="REJECTED"}]),"aria-hidden":"true"},null,2),B(" "+A(h.$t(`user.APPEAL_${_.value}`))+" ",1),c.value?(S(),g("button",{key:0,class:"transparent hide-button",onClick:O[0]||(O[0]=b=>T("hideMessage"))},A(h.$t("common.HIDE")),1)):L("",!0)])],2),E("div",null,[yt(h.$slots,"additionalButtons",{},void 0,!0)])])):h.canAppeal?(S(),g("form",{key:2,onSubmit:Ne(R,["prevent"])},[E("div",Ytt,[E("div",qtt,[E("label",jtt,A(h.$t("user.APPEAL"))+":",1),M(I,{name:"appeal",required:!0,onUpdateValue:f}),E("div",Xtt,[E("span",null,[O[1]||(O[1]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(h.$t("user.YOU_CAN_APPEAL_ONCE")),1)])])])]),E("div",Qtt,[E("div",Ztt,[E("button",{class:"confirm",type:"submit",disabled:!l.value},A(h.$t("buttons.SUBMIT")),9,Jtt),yt(h.$slots,"cancelButton",{},void 0,!0),E("div",ent,[p(a)&&l.value?(S(),g("i",tnt)):L("",!0)])])]),u.value?(S(),G(N,{key:0,message:u.value},null,8,["message"])):L("",!0)],32)):L("",!0)])):L("",!0)}}}),Pl=ne(nnt,[["__scopeId","data-v-ef2be2f6"]]);function c_(){const e=ye(),t=Oe(null),n=F(()=>e.getters[J.GETTERS.SUCCESS]),s=F(()=>e.getters[J.GETTERS.APPEAL_LOADING]);function a(i,r,u){e.dispatch(J.ACTIONS.MAKE_APPEAL,{objectType:r,objectId:u,text:i})}function o(){t.value=null,e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES)}return{appealLoading:s,displayAppealForm:t,success:n,submitAppeal:a,cancelAppeal:o}}const snt={class:"appeal-action"},ant={class:"suspended info-box"},ont=Q({__name:"CommentActionAppeal",props:{action:{},comment:{},hideSuspensionAppeal:{type:Boolean,default:!1}},setup(e){const t=e,{comment:n}=pe(t),{appealLoading:s,displayAppealForm:a,success:o,submitAppeal:i,cancelAppeal:r}=c_();return(u,l)=>(S(),g("div",snt,[E("div",ant,[l[4]||(l[4]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(u.$t("workouts.COMMENTS.SUSPENDED_COMMENT_BY_ADMIN"))+" ",1),!p(o)&&!p(a)&&!u.hideSuspensionAppeal?(S(),g("button",{key:0,class:"transparent appeal-button",onClick:l[0]||(l[0]=d=>a.value=`comment_${p(n).id}`)},A(u.$t("user.APPEAL")),1)):L("",!0)]),p(a)?(S(),G(Pl,{key:0,"report-action":u.action,success:p(o)===`comment_${p(n).id}`,loading:p(s)===`comment_${p(n).id}`,onSubmitForm:l[2]||(l[2]=d=>p(i)(d,"comment",p(n).id)),onHideMessage:l[3]||(l[3]=d=>a.value=null)},{cancelButton:X(()=>[E("button",{onClick:l[1]||(l[1]=d=>p(r)())},A(u.$t("buttons.CANCEL")),1)]),_:1},8,["report-action","success","loading"])):L("",!0)]))}}),int=ne(ont,[["__scopeId","data-v-ce058633"]]),rnt="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",unt="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",Po=(e,t)=>{for(const n in t)e[n]=t[n];return e},aE="numeric",oE="ascii",iE="alpha",fi="asciinumeric",ri="alphanumeric",rE="domain",G0="emoji",lnt="scheme",cnt="slashscheme",Oc="whitespace";function dnt(e,t){return e in t||(t[e]=[]),t[e]}function wa(e,t,n){t[aE]&&(t[fi]=!0,t[ri]=!0),t[oE]&&(t[fi]=!0,t[iE]=!0),t[fi]&&(t[ri]=!0),t[iE]&&(t[ri]=!0),t[ri]&&(t[rE]=!0),t[G0]&&(t[rE]=!0);for(const s in t){const a=dnt(s,n);a.indexOf(e)<0&&a.push(e)}}function Ent(e,t){const n={};for(const s in t)t[s].indexOf(e)>=0&&(n[s]=!0);return n}function Dn(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}Dn.groups={};Dn.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let s=0;se.ta(t,n,s,a),kt=(e,t,n,s,a)=>e.tr(t,n,s,a),xm=(e,t,n,s,a)=>e.ts(t,n,s,a),Re=(e,t,n,s,a)=>e.tt(t,n,s,a),ks="WORD",uE="UWORD",x0="ASCIINUMERICAL",V0="ALPHANUMERICAL",Gi="LOCALHOST",lE="TLD",cE="UTLD",Qr="SCHEME",uo="SLASH_SCHEME",d_="NUM",dE="WS",E_="NL",Si="OPENBRACE",Ai="CLOSEBRACE",hu="OPENBRACKET",Ou="CLOSEBRACKET",Iu="OPENPAREN",Ru="CLOSEPAREN",Nu="OPENANGLEBRACKET",gu="CLOSEANGLEBRACKET",bu="FULLWIDTHLEFTPAREN",vu="FULLWIDTHRIGHTPAREN",Cu="LEFTCORNERBRACKET",Pu="RIGHTCORNERBRACKET",Du="LEFTWHITECORNERBRACKET",Lu="RIGHTWHITECORNERBRACKET",yu="FULLWIDTHLESSTHAN",Uu="FULLWIDTHGREATERTHAN",$u="AMPERSAND",__="APOSTROPHE",ku="ASTERISK",oa="AT",wu="BACKSLASH",Mu="BACKTICK",Wu="CARET",ua="COLON",T_="COMMA",Fu="DOLLAR",As="DOT",zu="EQUALS",p_="EXCLAMATION",Wn="HYPHEN",hi="PERCENT",Bu="PIPE",Gu="PLUS",xu="POUND",Oi="QUERY",m_="QUOTE",H0="FULLWIDTHMIDDLEDOT",f_="SEMI",hs="SLASH",Ii="TILDE",Vu="UNDERSCORE",K0="EMOJI",Hu="SYM";var Y0=Object.freeze({__proto__:null,WORD:ks,UWORD:uE,ASCIINUMERICAL:x0,ALPHANUMERICAL:V0,LOCALHOST:Gi,TLD:lE,UTLD:cE,SCHEME:Qr,SLASH_SCHEME:uo,NUM:d_,WS:dE,NL:E_,OPENBRACE:Si,CLOSEBRACE:Ai,OPENBRACKET:hu,CLOSEBRACKET:Ou,OPENPAREN:Iu,CLOSEPAREN:Ru,OPENANGLEBRACKET:Nu,CLOSEANGLEBRACKET:gu,FULLWIDTHLEFTPAREN:bu,FULLWIDTHRIGHTPAREN:vu,LEFTCORNERBRACKET:Cu,RIGHTCORNERBRACKET:Pu,LEFTWHITECORNERBRACKET:Du,RIGHTWHITECORNERBRACKET:Lu,FULLWIDTHLESSTHAN:yu,FULLWIDTHGREATERTHAN:Uu,AMPERSAND:$u,APOSTROPHE:__,ASTERISK:ku,AT:oa,BACKSLASH:wu,BACKTICK:Mu,CARET:Wu,COLON:ua,COMMA:T_,DOLLAR:Fu,DOT:As,EQUALS:zu,EXCLAMATION:p_,HYPHEN:Wn,PERCENT:hi,PIPE:Bu,PLUS:Gu,POUND:xu,QUERY:Oi,QUOTE:m_,FULLWIDTHMIDDLEDOT:H0,SEMI:f_,SLASH:hs,TILDE:Ii,UNDERSCORE:Vu,EMOJI:K0,SYM:Hu});const Ps=/[a-z]/,ti=new RegExp("\\p{L}","u"),Ic=new RegExp("\\p{Emoji}","u"),Ds=/\d/,Rc=/\s/,Vm="\r",Nc=` +`,_nt="️",Tnt="‍",gc="";let Rr=null,Nr=null;function pnt(e=[]){const t={};Dn.groups=t;const n=new Dn;Rr==null&&(Rr=Hm(rnt)),Nr==null&&(Nr=Hm(unt)),Re(n,"'",__),Re(n,"{",Si),Re(n,"}",Ai),Re(n,"[",hu),Re(n,"]",Ou),Re(n,"(",Iu),Re(n,")",Ru),Re(n,"<",Nu),Re(n,">",gu),Re(n,"(",bu),Re(n,")",vu),Re(n,"「",Cu),Re(n,"」",Pu),Re(n,"『",Du),Re(n,"』",Lu),Re(n,"<",yu),Re(n,">",Uu),Re(n,"&",$u),Re(n,"*",ku),Re(n,"@",oa),Re(n,"`",Mu),Re(n,"^",Wu),Re(n,":",ua),Re(n,",",T_),Re(n,"$",Fu),Re(n,".",As),Re(n,"=",zu),Re(n,"!",p_),Re(n,"-",Wn),Re(n,"%",hi),Re(n,"|",Bu),Re(n,"+",Gu),Re(n,"#",xu),Re(n,"?",Oi),Re(n,'"',m_),Re(n,"/",hs),Re(n,";",f_),Re(n,"~",Ii),Re(n,"_",Vu),Re(n,"\\",wu),Re(n,"・",H0);const s=kt(n,Ds,d_,{[aE]:!0});kt(s,Ds,s);const a=kt(s,Ps,x0,{[fi]:!0}),o=kt(s,ti,V0,{[ri]:!0}),i=kt(n,Ps,ks,{[oE]:!0});kt(i,Ds,a),kt(i,Ps,i),kt(a,Ds,a),kt(a,Ps,a);const r=kt(n,ti,uE,{[iE]:!0});kt(r,Ps),kt(r,Ds,o),kt(r,ti,r),kt(o,Ds,o),kt(o,Ps),kt(o,ti,o);const u=Re(n,Nc,E_,{[Oc]:!0}),l=Re(n,Vm,dE,{[Oc]:!0}),d=kt(n,Rc,dE,{[Oc]:!0});Re(n,gc,d),Re(l,Nc,u),Re(l,gc,d),kt(l,Rc,d),Re(d,Vm),Re(d,Nc),kt(d,Rc,d),Re(d,gc,d);const _=kt(n,Ic,K0,{[G0]:!0});Re(_,"#"),kt(_,Ic,_),Re(_,_nt,_);const c=Re(_,Tnt);Re(c,"#"),kt(c,Ic,_);const T=[[Ps,i],[Ds,a]],m=[[Ps,null],[ti,r],[Ds,o]];for(let f=0;ff[0]>R[0]?1:-1);for(let f=0;f=0?O[rE]=!0:Ps.test(R)?Ds.test(R)?O[fi]=!0:O[oE]=!0:O[aE]=!0,xm(n,R,R,O)}return xm(n,"localhost",Gi,{ascii:!0}),n.jd=new Dn(Hu),{start:n,tokens:Po({groups:t},Y0)}}function q0(e,t){const n=mnt(t.replace(/[A-Z]/g,r=>r.toLowerCase())),s=n.length,a=[];let o=0,i=0;for(;i=0&&(_+=n[i].length,c++),l+=n[i].length,o+=n[i].length,i++;o-=_,i-=c,l-=_,a.push({t:d.t,v:t.slice(o-l,o),s:o-l,e:o})}return a}function mnt(e){const t=[],n=e.length;let s=0;for(;s56319||s+1===n||(o=e.charCodeAt(s+1))<56320||o>57343?e[s]:e.slice(s,s+2);t.push(i),s+=i.length}return t}function Js(e,t,n,s,a){let o;const i=t.length;for(let r=0;r=0;)o++;if(o>0){t.push(n.join(""));for(let i=parseInt(e.substring(s,s+o),10);i>0;i--)n.pop();s+=o}else n.push(e[s]),s++}return t}const xi={defaultProtocol:"http",events:null,format:Km,formatHref:Km,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function S_(e,t=null){let n=Po({},xi);e&&(n=Po(n,e instanceof S_?e.o:e));const s=n.ignoreTags,a=[];for(let o=0;on?s.substring(0,n)+"…":s},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e=xi.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),s=e.get("formatHref",n,this),a=e.get("tagName",n,t),o=this.toFormattedString(e),i={},r=e.get("className",n,t),u=e.get("target",n,t),l=e.get("rel",n,t),d=e.getObj("attributes",n,t),_=e.getObj("events",n,t);return i.href=s,r&&(i.class=r),u&&(i.target=u),l&&(i.rel=l),d&&Po(i,d),{tagName:a,attributes:i,content:o,eventListeners:_}}};function Dl(e,t){class n extends j0{constructor(a,o){super(a,o),this.t=e}}for(const s in t)n.prototype[s]=t[s];return n.t=e,n}const Ym=Dl("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),qm=Dl("text"),fnt=Dl("nl"),gr=Dl("url",{isLink:!0,toHref(e=xi.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==Gi&&e[1].t===ua}}),Mn=e=>new Dn(e);function Snt({groups:e}){const t=e.domain.concat([$u,ku,oa,wu,Mu,Wu,Fu,zu,Wn,d_,hi,Bu,Gu,xu,hs,Hu,Ii,Vu]),n=[ua,T_,As,p_,hi,Oi,m_,f_,Nu,gu,Si,Ai,Ou,hu,Iu,Ru,bu,vu,Cu,Pu,Du,Lu,yu,Uu],s=[$u,__,ku,wu,Mu,Wu,Fu,zu,Wn,Si,Ai,hi,Bu,Gu,xu,Oi,hs,Hu,Ii,Vu],a=Mn(),o=Re(a,Ii);tt(o,s,o),tt(o,e.domain,o);const i=Mn(),r=Mn(),u=Mn();tt(a,e.domain,i),tt(a,e.scheme,r),tt(a,e.slashscheme,u),tt(i,s,o),tt(i,e.domain,i);const l=Re(i,oa);Re(o,oa,l),Re(r,oa,l),Re(u,oa,l);const d=Re(o,As);tt(d,s,o),tt(d,e.domain,o);const _=Mn();tt(l,e.domain,_),tt(_,e.domain,_);const c=Re(_,As);tt(c,e.domain,_);const T=Mn(Ym);tt(c,e.tld,T),tt(c,e.utld,T),Re(l,Gi,T);const m=Re(_,Wn);Re(m,Wn,m),tt(m,e.domain,_),tt(T,e.domain,_),Re(T,As,c),Re(T,Wn,m);const f=Re(T,ua);tt(f,e.numeric,Ym);const R=Re(i,Wn),h=Re(i,As);Re(R,Wn,R),tt(R,e.domain,i),tt(h,s,o),tt(h,e.domain,i);const O=Mn(gr);tt(h,e.tld,O),tt(h,e.utld,O),tt(O,e.domain,i),tt(O,s,o),Re(O,As,h),Re(O,Wn,R),Re(O,oa,l);const I=Re(O,ua),N=Mn(gr);tt(I,e.numeric,N);const b=Mn(gr),C=Mn();tt(b,t,b),tt(b,n,C),tt(C,t,b),tt(C,n,C),Re(O,hs,b),Re(N,hs,b);const v=Re(r,ua),y=Re(u,ua),D=Re(y,hs),w=Re(D,hs);tt(r,e.domain,i),Re(r,As,h),Re(r,Wn,R),tt(u,e.domain,i),Re(u,As,h),Re(u,Wn,R),tt(v,e.domain,b),Re(v,hs,b),Re(v,Oi,b),tt(w,e.domain,b),tt(w,t,b),Re(w,hs,b);const P=[[Si,Ai],[hu,Ou],[Iu,Ru],[Nu,gu],[bu,vu],[Cu,Pu],[Du,Lu],[yu,Uu]];for(let W=0;W=0&&c++,a++,d++;if(c<0)a-=d,a0&&(o.push(bc(qm,t,i)),i=[]),a-=c,d-=c;const T=_.t,m=n.slice(a-d,a);o.push(bc(T,t,m))}}return i.length>0&&o.push(bc(qm,t,i)),o}function bc(e,t,n){const s=n[0].s,a=n[n.length-1].e,o=t.slice(s,a);return new e(o,n)}const tn={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function hnt(){tn.scanner=pnt(tn.customSchemes);for(let e=0;e",lt:"<",nbsp:" ",quot:'"'},Int=/^#[xX]([A-Fa-f0-9]+)$/,Rnt=/^#([0-9]+)$/,Nnt=/^([A-Za-z0-9]+)$/,gnt=function(){function e(t){this.named=t}return e.prototype.parse=function(t){if(t){var n=t.match(Int);if(n)return String.fromCharCode(parseInt(n[1],16));if(n=t.match(Rnt),n)return String.fromCharCode(parseInt(n[1],10));if(n=t.match(Nnt),n)return this.named[n[1]]||"&"+n[1]+";"}},e}(),bnt=/[\t\n\f ]/,vnt=/[A-Za-z]/,Cnt=/\r\n?/g;function en(e){return bnt.test(e)}function jm(e){return vnt.test(e)}function Pnt(e){return e.replace(Cnt,` +`)}var Dnt=function(){function e(t,n,s){s===void 0&&(s="precompile"),this.delegate=t,this.entityParser=n,this.mode=s,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var a=this.peek();if(a==="<"&&!this.isIgnoredEndTag())this.transitionTo("tagOpen"),this.markTagStart(),this.consume();else{if(this.mode==="precompile"&&a===` +`){var o=this.tagNameBuffer.toLowerCase();(o==="pre"||o==="textarea")&&this.consume()}this.transitionTo("data"),this.delegate.beginData()}},data:function(){var a=this.peek(),o=this.tagNameBuffer;a==="<"&&!this.isIgnoredEndTag()?(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume()):a==="&"&&o!=="script"&&o!=="style"?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(a))},tagOpen:function(){var a=this.consume();a==="!"?this.transitionTo("markupDeclarationOpen"):a==="/"?this.transitionTo("endTagOpen"):(a==="@"||a===":"||jm(a))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(a))},markupDeclarationOpen:function(){var a=this.consume();if(a==="-"&&this.peek()==="-")this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment();else{var o=a.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase();o==="DOCTYPE"&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())}},doctype:function(){var a=this.consume();en(a)&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var a=this.consume();en(a)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(a.toLowerCase()))},doctypeName:function(){var a=this.consume();en(a)?this.transitionTo("afterDoctypeName"):a===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(a.toLowerCase())},afterDoctypeName:function(){var a=this.consume();if(!en(a))if(a===">")this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var o=a.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),i=o.toUpperCase()==="PUBLIC",r=o.toUpperCase()==="SYSTEM";(i||r)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),i?this.transitionTo("afterDoctypePublicKeyword"):r&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var a=this.peek();en(a)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):a==='"'?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):a==="'"?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):a===">"&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var a=this.consume();a==='"'?this.transitionTo("afterDoctypePublicIdentifier"):a===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(a)},doctypePublicIdentifierSingleQuoted:function(){var a=this.consume();a==="'"?this.transitionTo("afterDoctypePublicIdentifier"):a===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(a)},afterDoctypePublicIdentifier:function(){var a=this.consume();en(a)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):a===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):a==='"'?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):a==="'"&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var a=this.consume();en(a)||(a===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):a==='"'?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):a==="'"&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var a=this.consume();a==='"'?this.transitionTo("afterDoctypeSystemIdentifier"):a===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(a)},doctypeSystemIdentifierSingleQuoted:function(){var a=this.consume();a==="'"?this.transitionTo("afterDoctypeSystemIdentifier"):a===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(a)},afterDoctypeSystemIdentifier:function(){var a=this.consume();en(a)||a===">"&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var a=this.consume();a==="-"?this.transitionTo("commentStartDash"):a===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(a),this.transitionTo("comment"))},commentStartDash:function(){var a=this.consume();a==="-"?this.transitionTo("commentEnd"):a===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var a=this.consume();a==="-"?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(a)},commentEndDash:function(){var a=this.consume();a==="-"?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+a),this.transitionTo("comment"))},commentEnd:function(){var a=this.consume();a===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+a),this.transitionTo("comment"))},tagName:function(){var a=this.consume();en(a)?this.transitionTo("beforeAttributeName"):a==="/"?this.transitionTo("selfClosingStartTag"):a===">"?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(a)},endTagName:function(){var a=this.consume();en(a)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):a==="/"?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):a===">"?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(a)},beforeAttributeName:function(){var a=this.peek();if(en(a)){this.consume();return}else a==="/"?(this.transitionTo("selfClosingStartTag"),this.consume()):a===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):a==="="?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(a)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var a=this.peek();en(a)?(this.transitionTo("afterAttributeName"),this.consume()):a==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):a==="="?(this.transitionTo("beforeAttributeValue"),this.consume()):a===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):a==='"'||a==="'"||a==="<"?(this.delegate.reportSyntaxError(a+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(a)):(this.consume(),this.delegate.appendToAttributeName(a))},afterAttributeName:function(){var a=this.peek();if(en(a)){this.consume();return}else a==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):a==="="?(this.consume(),this.transitionTo("beforeAttributeValue")):a===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(a))},beforeAttributeValue:function(){var a=this.peek();en(a)?this.consume():a==='"'?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):a==="'"?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):a===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(a))},attributeValueDoubleQuoted:function(){var a=this.consume();a==='"'?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):a==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(a)},attributeValueSingleQuoted:function(){var a=this.consume();a==="'"?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):a==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(a)},attributeValueUnquoted:function(){var a=this.peek();en(a)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):a==="/"?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):a==="&"?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):a===">"?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(a))},afterAttributeValueQuoted:function(){var a=this.peek();en(a)?(this.consume(),this.transitionTo("beforeAttributeName")):a==="/"?(this.consume(),this.transitionTo("selfClosingStartTag")):a===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){var a=this.peek();a===">"?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var a=this.consume();(a==="@"||a===":"||jm(a))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(a))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(t){this.state=t},e.prototype.tokenize=function(t){this.reset(),this.tokenizePart(t),this.tokenizeEOF()},e.prototype.tokenizePart=function(t){for(this.input+=Pnt(t);this.index"||t==="style"&&this.input.substring(this.index,this.index+8)!==""||t==="script"&&this.input.substring(this.index,this.index+9)!=="<\/script>"},e}(),Lnt=function(){function e(t,n){n===void 0&&(n={}),this.options=n,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new Dnt(this,t,n.mode),this._currentAttribute=void 0}return e.prototype.tokenize=function(t){return this.tokens=[],this.tokenizer.tokenize(t),this.tokens},e.prototype.tokenizePart=function(t){return this.tokens=[],this.tokenizer.tokenizePart(t),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var t=this.token;if(t===null)throw new Error("token was unexpectedly null");if(arguments.length===0)return t;for(var n=0;n=0))continue;let d=s.length;Mnt(u,n,++i,s),i+=s.length-d-1}else if(r.type!==EE)s.push(r);else{const u=wnt(r.chars,o);s.push.apply(s,u)}}for(let i=0;i0&&(u+=" "+znt(r.attributes).join(" ")),r.selfClosing&&(u+=" /"),u+=">",a.push(u);break}case Z0:a.push(``);break;case EE:a.push(_E(r.chars));break;case Unt:a.push(``);break;case $nt:{let u=`",a.push(u);break}}}return a.join("")}function wnt(e,t){const n=X0(e),s=[];for(let a=0;a0;){let o=t[n];o.type===Ku&&o.tagName.toUpperCase()===e?a++:o.type===Z0&&o.tagName.toUpperCase()===e&&a--,s.push(o),n++}return s}function Wnt({tagName:e,attributes:t,content:n}){return`<${e} ${Fnt(t)}>${_E(n)}`}function _E(e){return e.replace(//g,">")}function J0(e){return e.replace(/"/g,""")}function Fnt(e){const t=[];for(const n in e){const s=e[n]+"";t.push(`${n}="${J0(s)}"`)}return t.join(" ")}function znt(e){const t=[];for(let n=0;nnull};function At(e,t=""){let n=typeof e=="string"?e:e.source;const s={replace:(a,o)=>{let i=typeof o=="string"?o:o.source;return i=i.replace(pn.caret,"$1"),n=n.replace(a,i),s},getRegex:()=>new RegExp(n,t)};return s}const pn={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},Bnt=/^(?:[ \t]*(?:\n|$))+/,Gnt=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,xnt=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,rr=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Vnt=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,h_=/(?:[*+-]|\d{1,9}[.)])/,t1=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,n1=At(t1).replace(/bull/g,h_).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Hnt=At(t1).replace(/bull/g,h_).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),O_=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Knt=/^[^\n]+/,I_=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Ynt=At(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",I_).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),qnt=At(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,h_).getRegex(),Ll="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",R_=/|$))/,jnt=At("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",R_).replace("tag",Ll).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),s1=At(O_).replace("hr",rr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ll).getRegex(),Xnt=At(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",s1).getRegex(),N_={blockquote:Xnt,code:Gnt,def:Ynt,fences:xnt,heading:Vnt,hr:rr,html:jnt,lheading:n1,list:qnt,newline:Bnt,paragraph:s1,table:Ri,text:Knt},Xm=At("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",rr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ll).getRegex(),Qnt={...N_,lheading:Hnt,table:Xm,paragraph:At(O_).replace("hr",rr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Xm).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Ll).getRegex()},Znt={...N_,html:At(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",R_).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ri,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:At(O_).replace("hr",rr).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",n1).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Jnt=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,est=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,a1=/^( {2,}|\\)\n(?!\s*$)/,tst=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,r1=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,ist=At(r1,"u").replace(/punct/g,yl).getRegex(),rst=At(r1,"u").replace(/punct/g,i1).getRegex(),u1="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",ust=At(u1,"gu").replace(/notPunctSpace/g,o1).replace(/punctSpace/g,g_).replace(/punct/g,yl).getRegex(),lst=At(u1,"gu").replace(/notPunctSpace/g,ast).replace(/punctSpace/g,sst).replace(/punct/g,i1).getRegex(),cst=At("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,o1).replace(/punctSpace/g,g_).replace(/punct/g,yl).getRegex(),dst=At(/\\(punct)/,"gu").replace(/punct/g,yl).getRegex(),Est=At(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),_st=At(R_).replace("(?:-->|$)","-->").getRegex(),Tst=At("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",_st).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Yu=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,pst=At(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Yu).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),l1=At(/^!?\[(label)\]\[(ref)\]/).replace("label",Yu).replace("ref",I_).getRegex(),c1=At(/^!?\[(ref)\](?:\[\])?/).replace("ref",I_).getRegex(),mst=At("reflink|nolink(?!\\()","g").replace("reflink",l1).replace("nolink",c1).getRegex(),b_={_backpedal:Ri,anyPunctuation:dst,autolink:Est,blockSkip:ost,br:a1,code:est,del:Ri,emStrongLDelim:ist,emStrongRDelimAst:ust,emStrongRDelimUnd:cst,escape:Jnt,link:pst,nolink:c1,punctuation:nst,reflink:l1,reflinkSearch:mst,tag:Tst,text:tst,url:Ri},fst={...b_,link:At(/^!?\[(label)\]\((.*?)\)/).replace("label",Yu).getRegex(),reflink:At(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Yu).getRegex()},TE={...b_,emStrongRDelimAst:lst,emStrongLDelim:rst,url:At(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\":">",'"':""","'":"'"},Qm=e=>Ast[e];function fs(e,t){if(t){if(pn.escapeTest.test(e))return e.replace(pn.escapeReplace,Qm)}else if(pn.escapeTestNoEncode.test(e))return e.replace(pn.escapeReplaceNoEncode,Qm);return e}function Zm(e){try{e=encodeURI(e).replace(pn.percentDecode,"%")}catch{return null}return e}function Jm(e,t){var o;const n=e.replace(pn.findPipe,(i,r,u)=>{let l=!1,d=r;for(;--d>=0&&u[d]==="\\";)l=!l;return l?"|":" |"}),s=n.split(pn.splitPipe);let a=0;if(s[0].trim()||s.shift(),s.length>0&&!((o=s.at(-1))!=null&&o.trim())&&s.pop(),t)if(s.length>t)s.splice(t);else for(;s.length{const i=o.match(n.other.beginningSpace);if(i===null)return o;const[r]=i;return r.length>=a.length?o.slice(a.length):o}).join(` -`)}class Yu{constructor(t){Rt(this,"options");Rt(this,"rules");Rt(this,"lexer");this.options=t||Ya}space(t){const n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){const n=this.rules.block.code.exec(t);if(n){const s=n[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?s:ni(s,` -`)}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const s=n[0],a=ist(s,n[3]||"",this.rules);return{type:"code",raw:s,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):n[2],text:a}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let s=n[2].trim();if(this.rules.other.endingHash.test(s)){const a=ni(s,"#");(this.options.pedantic||!a||this.rules.other.endingSpaceChar.test(a))&&(s=a.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:s,tokens:this.lexer.inline(s)}}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:ni(n[0],` -`)}}blockquote(t){const n=this.rules.block.blockquote.exec(t);if(n){let s=ni(n[0],` +`)}class qu{constructor(t){Rt(this,"options");Rt(this,"rules");Rt(this,"lexer");this.options=t||qa}space(t){const n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){const n=this.rules.block.code.exec(t);if(n){const s=n[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?s:si(s,` +`)}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const s=n[0],a=Ost(s,n[3]||"",this.rules);return{type:"code",raw:s,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):n[2],text:a}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let s=n[2].trim();if(this.rules.other.endingHash.test(s)){const a=si(s,"#");(this.options.pedantic||!a||this.rules.other.endingSpaceChar.test(a))&&(s=a.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:s,tokens:this.lexer.inline(s)}}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:si(n[0],` +`)}}blockquote(t){const n=this.rules.block.blockquote.exec(t);if(n){let s=si(n[0],` `).split(` `),a="",o="";const i=[];for(;s.length>0;){let r=!1;const u=[];let l;for(l=0;l1,o={type:"list",raw:"",ordered:a,start:a?+s.slice(0,-1):"",loose:!1,items:[]};s=a?`\\d{1,9}\\${s.slice(-1)}`:`\\${s}`,this.options.pedantic&&(s=a?s:"[*+-]");const i=this.rules.other.listItemRegex(s);let r=!1;for(;t;){let l=!1,d="",_="";if(!(n=i.exec(t))||this.rules.block.hr.test(t))break;d=n[0],t=t.substring(d.length);let c=n[2].split(` `,1)[0].replace(this.rules.other.listReplaceTabs,O=>" ".repeat(3*O.length)),T=t.split(` -`,1)[0],m=!c.trim(),S=0;if(this.options.pedantic?(S=2,_=c.trimStart()):m?S=n[1].length+1:(S=n[2].search(this.rules.other.nonSpaceChar),S=S>4?1:S,_=c.slice(S),S+=n[1].length),m&&this.rules.other.blankLine.test(T)&&(d+=T+` -`,t=t.substring(T.length+1),l=!0),!l){const O=this.rules.other.nextBulletRegex(S),I=this.rules.other.hrRegex(S),N=this.rules.other.fencesBeginRegex(S),b=this.rules.other.headingBeginRegex(S),P=this.rules.other.htmlBeginRegex(S);for(;t;){const C=t.split(` -`,1)[0];let y;if(T=C,this.options.pedantic?(T=T.replace(this.rules.other.listReplaceNesting," "),y=T):y=T.replace(this.rules.other.tabCharGlobal," "),N.test(T)||b.test(T)||P.test(T)||O.test(T)||I.test(T))break;if(y.search(this.rules.other.nonSpaceChar)>=S||!T.trim())_+=` -`+y.slice(S);else{if(m||c.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||N.test(c)||b.test(c)||I.test(c))break;_+=` -`+T}!m&&!T.trim()&&(m=!0),d+=C+` -`,t=t.substring(C.length+1),c=y.slice(S)}}o.loose||(r?o.loose=!0:this.rules.other.doubleBlankLine.test(d)&&(r=!0));let R=null,h;this.options.gfm&&(R=this.rules.other.listIsTask.exec(_),R&&(h=R[0]!=="[ ] ",_=_.replace(this.rules.other.listReplaceTask,""))),o.items.push({type:"list_item",raw:d,task:!!R,checked:h,loose:!1,text:_,tokens:[]}),o.raw+=d}const u=o.items.at(-1);if(u)u.raw=u.raw.trimEnd(),u.text=u.text.trimEnd();else return;o.raw=o.raw.trimEnd();for(let l=0;lc.type==="space"),_=d.length>0&&d.some(c=>this.rules.other.anyLine.test(c.raw));o.loose=_}if(o.loose)for(let l=0;l({text:l,tokens:this.lexer.inline(l),header:!1,align:i.align[d]})));return i}}lheading(t){const n=this.rules.block.lheading.exec(t);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(t){const n=this.rules.block.paragraph.exec(t);if(n){const s=n[1].charAt(n[1].length-1)===` -`?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:s,tokens:this.lexer.inline(s)}}}text(t){const n=this.rules.block.text.exec(t);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(t){const n=this.rules.inline.escape.exec(t);if(n)return{type:"escape",raw:n[0],text:n[1]}}tag(t){const n=this.rules.inline.tag.exec(t);if(n)return!this.lexer.state.inLink&&this.rules.other.startATag.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(t){const n=this.rules.inline.link.exec(t);if(n){const s=n[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(s)){if(!this.rules.other.endAngleBracket.test(s))return;const i=ni(s.slice(0,-1),"\\");if((s.length-i.length)%2===0)return}else{const i=ost(n[2],"()");if(i>-1){const u=(n[0].indexOf("!")===0?5:4)+n[1].length+i;n[2]=n[2].substring(0,i),n[0]=n[0].substring(0,u).trim(),n[3]=""}}let a=n[2],o="";if(this.options.pedantic){const i=this.rules.other.pedanticHrefTitle.exec(a);i&&(a=i[1],o=i[3])}else o=n[3]?n[3].slice(1,-1):"";return a=a.trim(),this.rules.other.startAngleBracket.test(a)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(s)?a=a.slice(1):a=a.slice(1,-1)),Jm(n,{href:a&&a.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer,this.rules)}}reflink(t,n){let s;if((s=this.rules.inline.reflink.exec(t))||(s=this.rules.inline.nolink.exec(t))){const a=(s[2]||s[1]).replace(this.rules.other.multipleSpaceGlobal," "),o=n[a.toLowerCase()];if(!o){const i=s[0].charAt(0);return{type:"text",raw:i,text:i}}return Jm(s,o,s[0],this.lexer,this.rules)}}emStrong(t,n,s=""){let a=this.rules.inline.emStrongLDelim.exec(t);if(!a||a[3]&&s.match(this.rules.other.unicodeAlphaNumeric))return;if(!(a[1]||a[2]||"")||!s||this.rules.inline.punctuation.exec(s)){const i=[...a[0]].length-1;let r,u,l=i,d=0;const _=a[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(_.lastIndex=0,n=n.slice(-1*t.length+i);(a=_.exec(n))!=null;){if(r=a[1]||a[2]||a[3]||a[4]||a[5]||a[6],!r)continue;if(u=[...r].length,a[3]||a[4]){l+=u;continue}else if((a[5]||a[6])&&i%3&&!((i+u)%3)){d+=u;continue}if(l-=u,l>0)continue;u=Math.min(u,u+l+d);const c=[...a[0]][0].length,T=t.slice(0,i+a.index+c+u);if(Math.min(i,u)%2){const S=T.slice(1,-1);return{type:"em",raw:T,text:S,tokens:this.lexer.inlineTokens(S)}}const m=T.slice(2,-2);return{type:"strong",raw:T,text:m,tokens:this.lexer.inlineTokens(m)}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let s=n[2].replace(this.rules.other.newLineCharGlobal," ");const a=this.rules.other.nonSpaceChar.test(s),o=this.rules.other.startingSpaceChar.test(s)&&this.rules.other.endingSpaceChar.test(s);return a&&o&&(s=s.substring(1,s.length-1)),{type:"codespan",raw:n[0],text:s}}}br(t){const n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){const n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(t){const n=this.rules.inline.autolink.exec(t);if(n){let s,a;return n[2]==="@"?(s=n[1],a="mailto:"+s):(s=n[1],a=s),{type:"link",raw:n[0],text:s,href:a,tokens:[{type:"text",raw:s,text:s}]}}}url(t){var s;let n;if(n=this.rules.inline.url.exec(t)){let a,o;if(n[2]==="@")a=n[0],o="mailto:"+a;else{let i;do i=n[0],n[0]=((s=this.rules.inline._backpedal.exec(n[0]))==null?void 0:s[0])??"";while(i!==n[0]);a=n[0],n[1]==="www."?o="http://"+n[0]:o=n[0]}return{type:"link",raw:n[0],text:a,href:o,tokens:[{type:"text",raw:a,text:a}]}}}inlineText(t){const n=this.rules.inline.text.exec(t);if(n){const s=this.lexer.state.inRawBlock;return{type:"text",raw:n[0],text:n[0],escaped:s}}}}class Hn{constructor(t){Rt(this,"tokens");Rt(this,"options");Rt(this,"state");Rt(this,"tokenizer");Rt(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Ya,this.options.tokenizer=this.options.tokenizer||new Yu,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={other:An,block:br.normal,inline:ti.normal};this.options.pedantic?(n.block=br.pedantic,n.inline=ti.pedantic):this.options.gfm&&(n.block=br.gfm,this.options.breaks?n.inline=ti.breaks:n.inline=ti.gfm),this.tokenizer.rules=n}static get rules(){return{block:br,inline:ti}}static lex(t,n){return new Hn(n).lex(t)}static lexInline(t,n){return new Hn(n).inlineTokens(t)}lex(t){t=t.replace(An.carriageReturn,` -`),this.blockTokens(t,this.tokens);for(let n=0;n(r=l.call({lexer:this},t,n))?(t=t.substring(r.raw.length),n.push(r),!0):!1))continue;if(r=this.tokenizer.space(t)){t=t.substring(r.raw.length);const l=n.at(-1);r.raw.length===1&&l!==void 0?l.raw+=` +`,1)[0],m=!c.trim(),f=0;if(this.options.pedantic?(f=2,_=c.trimStart()):m?f=n[1].length+1:(f=n[2].search(this.rules.other.nonSpaceChar),f=f>4?1:f,_=c.slice(f),f+=n[1].length),m&&this.rules.other.blankLine.test(T)&&(d+=T+` +`,t=t.substring(T.length+1),l=!0),!l){const O=this.rules.other.nextBulletRegex(f),I=this.rules.other.hrRegex(f),N=this.rules.other.fencesBeginRegex(f),b=this.rules.other.headingBeginRegex(f),C=this.rules.other.htmlBeginRegex(f);for(;t;){const v=t.split(` +`,1)[0];let y;if(T=v,this.options.pedantic?(T=T.replace(this.rules.other.listReplaceNesting," "),y=T):y=T.replace(this.rules.other.tabCharGlobal," "),N.test(T)||b.test(T)||C.test(T)||O.test(T)||I.test(T))break;if(y.search(this.rules.other.nonSpaceChar)>=f||!T.trim())_+=` +`+y.slice(f);else{if(m||c.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||N.test(c)||b.test(c)||I.test(c))break;_+=` +`+T}!m&&!T.trim()&&(m=!0),d+=v+` +`,t=t.substring(v.length+1),c=y.slice(f)}}o.loose||(r?o.loose=!0:this.rules.other.doubleBlankLine.test(d)&&(r=!0));let R=null,h;this.options.gfm&&(R=this.rules.other.listIsTask.exec(_),R&&(h=R[0]!=="[ ] ",_=_.replace(this.rules.other.listReplaceTask,""))),o.items.push({type:"list_item",raw:d,task:!!R,checked:h,loose:!1,text:_,tokens:[]}),o.raw+=d}const u=o.items.at(-1);if(u)u.raw=u.raw.trimEnd(),u.text=u.text.trimEnd();else return;o.raw=o.raw.trimEnd();for(let l=0;lc.type==="space"),_=d.length>0&&d.some(c=>this.rules.other.anyLine.test(c.raw));o.loose=_}if(o.loose)for(let l=0;l({text:l,tokens:this.lexer.inline(l),header:!1,align:i.align[d]})));return i}}lheading(t){const n=this.rules.block.lheading.exec(t);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(t){const n=this.rules.block.paragraph.exec(t);if(n){const s=n[1].charAt(n[1].length-1)===` +`?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:s,tokens:this.lexer.inline(s)}}}text(t){const n=this.rules.block.text.exec(t);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(t){const n=this.rules.inline.escape.exec(t);if(n)return{type:"escape",raw:n[0],text:n[1]}}tag(t){const n=this.rules.inline.tag.exec(t);if(n)return!this.lexer.state.inLink&&this.rules.other.startATag.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(t){const n=this.rules.inline.link.exec(t);if(n){const s=n[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(s)){if(!this.rules.other.endAngleBracket.test(s))return;const i=si(s.slice(0,-1),"\\");if((s.length-i.length)%2===0)return}else{const i=hst(n[2],"()");if(i>-1){const u=(n[0].indexOf("!")===0?5:4)+n[1].length+i;n[2]=n[2].substring(0,i),n[0]=n[0].substring(0,u).trim(),n[3]=""}}let a=n[2],o="";if(this.options.pedantic){const i=this.rules.other.pedanticHrefTitle.exec(a);i&&(a=i[1],o=i[3])}else o=n[3]?n[3].slice(1,-1):"";return a=a.trim(),this.rules.other.startAngleBracket.test(a)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(s)?a=a.slice(1):a=a.slice(1,-1)),ef(n,{href:a&&a.replace(this.rules.inline.anyPunctuation,"$1"),title:o&&o.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer,this.rules)}}reflink(t,n){let s;if((s=this.rules.inline.reflink.exec(t))||(s=this.rules.inline.nolink.exec(t))){const a=(s[2]||s[1]).replace(this.rules.other.multipleSpaceGlobal," "),o=n[a.toLowerCase()];if(!o){const i=s[0].charAt(0);return{type:"text",raw:i,text:i}}return ef(s,o,s[0],this.lexer,this.rules)}}emStrong(t,n,s=""){let a=this.rules.inline.emStrongLDelim.exec(t);if(!a||a[3]&&s.match(this.rules.other.unicodeAlphaNumeric))return;if(!(a[1]||a[2]||"")||!s||this.rules.inline.punctuation.exec(s)){const i=[...a[0]].length-1;let r,u,l=i,d=0;const _=a[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(_.lastIndex=0,n=n.slice(-1*t.length+i);(a=_.exec(n))!=null;){if(r=a[1]||a[2]||a[3]||a[4]||a[5]||a[6],!r)continue;if(u=[...r].length,a[3]||a[4]){l+=u;continue}else if((a[5]||a[6])&&i%3&&!((i+u)%3)){d+=u;continue}if(l-=u,l>0)continue;u=Math.min(u,u+l+d);const c=[...a[0]][0].length,T=t.slice(0,i+a.index+c+u);if(Math.min(i,u)%2){const f=T.slice(1,-1);return{type:"em",raw:T,text:f,tokens:this.lexer.inlineTokens(f)}}const m=T.slice(2,-2);return{type:"strong",raw:T,text:m,tokens:this.lexer.inlineTokens(m)}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let s=n[2].replace(this.rules.other.newLineCharGlobal," ");const a=this.rules.other.nonSpaceChar.test(s),o=this.rules.other.startingSpaceChar.test(s)&&this.rules.other.endingSpaceChar.test(s);return a&&o&&(s=s.substring(1,s.length-1)),{type:"codespan",raw:n[0],text:s}}}br(t){const n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){const n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(t){const n=this.rules.inline.autolink.exec(t);if(n){let s,a;return n[2]==="@"?(s=n[1],a="mailto:"+s):(s=n[1],a=s),{type:"link",raw:n[0],text:s,href:a,tokens:[{type:"text",raw:s,text:s}]}}}url(t){var s;let n;if(n=this.rules.inline.url.exec(t)){let a,o;if(n[2]==="@")a=n[0],o="mailto:"+a;else{let i;do i=n[0],n[0]=((s=this.rules.inline._backpedal.exec(n[0]))==null?void 0:s[0])??"";while(i!==n[0]);a=n[0],n[1]==="www."?o="http://"+n[0]:o=n[0]}return{type:"link",raw:n[0],text:a,href:o,tokens:[{type:"text",raw:a,text:a}]}}}inlineText(t){const n=this.rules.inline.text.exec(t);if(n){const s=this.lexer.state.inRawBlock;return{type:"text",raw:n[0],text:n[0],escaped:s}}}}class zn{constructor(t){Rt(this,"tokens");Rt(this,"options");Rt(this,"state");Rt(this,"tokenizer");Rt(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||qa,this.options.tokenizer=this.options.tokenizer||new qu,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={other:pn,block:br.normal,inline:ni.normal};this.options.pedantic?(n.block=br.pedantic,n.inline=ni.pedantic):this.options.gfm&&(n.block=br.gfm,this.options.breaks?n.inline=ni.breaks:n.inline=ni.gfm),this.tokenizer.rules=n}static get rules(){return{block:br,inline:ni}}static lex(t,n){return new zn(n).lex(t)}static lexInline(t,n){return new zn(n).inlineTokens(t)}lex(t){t=t.replace(pn.carriageReturn,` +`),this.blockTokens(t,this.tokens);for(let n=0;n(r=l.call({lexer:this},t,n))?(t=t.substring(r.raw.length),n.push(r),!0):!1))continue;if(r=this.tokenizer.space(t)){t=t.substring(r.raw.length);const l=n.at(-1);r.raw.length===1&&l!==void 0?l.raw+=` `:n.push(r);continue}if(r=this.tokenizer.code(t)){t=t.substring(r.raw.length);const l=n.at(-1);(l==null?void 0:l.type)==="paragraph"||(l==null?void 0:l.type)==="text"?(l.raw+=` `+r.raw,l.text+=` `+r.text,this.inlineQueue.at(-1).src=l.text):n.push(r);continue}if(r=this.tokenizer.fences(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.heading(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.hr(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.blockquote(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.list(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.html(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.def(t)){t=t.substring(r.raw.length);const l=n.at(-1);(l==null?void 0:l.type)==="paragraph"||(l==null?void 0:l.type)==="text"?(l.raw+=` @@ -288,16 +288,16 @@ ${_}`:_;const c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.block `+r.raw,l.text+=` `+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):n.push(r),s=u.length!==t.length,t=t.substring(r.raw.length);continue}if(r=this.tokenizer.text(t)){t=t.substring(r.raw.length);const l=n.at(-1);(l==null?void 0:l.type)==="text"?(l.raw+=` `+r.raw,l.text+=` -`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):n.push(r);continue}if(t){const l="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(l);break}else throw new Error(l)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){var r,u,l;let s=t,a=null;if(this.tokens.links){const d=Object.keys(this.tokens.links);if(d.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(s))!=null;)d.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(s))!=null;)s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(s))!=null;)s=s.slice(0,a.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let o=!1,i="";for(;t;){o||(i=""),o=!1;let d;if((u=(r=this.options.extensions)==null?void 0:r.inline)!=null&&u.some(c=>(d=c.call({lexer:this},t,n))?(t=t.substring(d.raw.length),n.push(d),!0):!1))continue;if(d=this.tokenizer.escape(t)){t=t.substring(d.raw.length),n.push(d);continue}if(d=this.tokenizer.tag(t)){t=t.substring(d.raw.length),n.push(d);continue}if(d=this.tokenizer.link(t)){t=t.substring(d.raw.length),n.push(d);continue}if(d=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(d.raw.length);const c=n.at(-1);d.type==="text"&&(c==null?void 0:c.type)==="text"?(c.raw+=d.raw,c.text+=d.text):n.push(d);continue}if(d=this.tokenizer.emStrong(t,s,i)){t=t.substring(d.raw.length),n.push(d);continue}if(d=this.tokenizer.codespan(t)){t=t.substring(d.raw.length),n.push(d);continue}if(d=this.tokenizer.br(t)){t=t.substring(d.raw.length),n.push(d);continue}if(d=this.tokenizer.del(t)){t=t.substring(d.raw.length),n.push(d);continue}if(d=this.tokenizer.autolink(t)){t=t.substring(d.raw.length),n.push(d);continue}if(!this.state.inLink&&(d=this.tokenizer.url(t))){t=t.substring(d.raw.length),n.push(d);continue}let _=t;if((l=this.options.extensions)!=null&&l.startInline){let c=1/0;const T=t.slice(1);let m;this.options.extensions.startInline.forEach(S=>{m=S.call({lexer:this},T),typeof m=="number"&&m>=0&&(c=Math.min(c,m))}),c<1/0&&c>=0&&(_=t.substring(0,c+1))}if(d=this.tokenizer.inlineText(_)){t=t.substring(d.raw.length),d.raw.slice(-1)!=="_"&&(i=d.raw.slice(-1)),o=!0;const c=n.at(-1);(c==null?void 0:c.type)==="text"?(c.raw+=d.raw,c.text+=d.text):n.push(d);continue}if(t){const c="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return n}}class qu{constructor(t){Rt(this,"options");Rt(this,"parser");this.options=t||Ya}space(t){return""}code({text:t,lang:n,escaped:s}){var i;const a=(i=(n||"").match(An.notSpaceStart))==null?void 0:i[0],o=t.replace(An.endingNewline,"")+` -`;return a?'
    '+(s?o:hs(o,!0))+`
    -`:"
    "+(s?o:hs(o,!0))+`
    +`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=l.text):n.push(r);continue}if(t){const l="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(l);break}else throw new Error(l)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){var r,u,l;let s=t,a=null;if(this.tokens.links){const d=Object.keys(this.tokens.links);if(d.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(s))!=null;)d.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(s))!=null;)s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(s))!=null;)s=s.slice(0,a.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let o=!1,i="";for(;t;){o||(i=""),o=!1;let d;if((u=(r=this.options.extensions)==null?void 0:r.inline)!=null&&u.some(c=>(d=c.call({lexer:this},t,n))?(t=t.substring(d.raw.length),n.push(d),!0):!1))continue;if(d=this.tokenizer.escape(t)){t=t.substring(d.raw.length),n.push(d);continue}if(d=this.tokenizer.tag(t)){t=t.substring(d.raw.length),n.push(d);continue}if(d=this.tokenizer.link(t)){t=t.substring(d.raw.length),n.push(d);continue}if(d=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(d.raw.length);const c=n.at(-1);d.type==="text"&&(c==null?void 0:c.type)==="text"?(c.raw+=d.raw,c.text+=d.text):n.push(d);continue}if(d=this.tokenizer.emStrong(t,s,i)){t=t.substring(d.raw.length),n.push(d);continue}if(d=this.tokenizer.codespan(t)){t=t.substring(d.raw.length),n.push(d);continue}if(d=this.tokenizer.br(t)){t=t.substring(d.raw.length),n.push(d);continue}if(d=this.tokenizer.del(t)){t=t.substring(d.raw.length),n.push(d);continue}if(d=this.tokenizer.autolink(t)){t=t.substring(d.raw.length),n.push(d);continue}if(!this.state.inLink&&(d=this.tokenizer.url(t))){t=t.substring(d.raw.length),n.push(d);continue}let _=t;if((l=this.options.extensions)!=null&&l.startInline){let c=1/0;const T=t.slice(1);let m;this.options.extensions.startInline.forEach(f=>{m=f.call({lexer:this},T),typeof m=="number"&&m>=0&&(c=Math.min(c,m))}),c<1/0&&c>=0&&(_=t.substring(0,c+1))}if(d=this.tokenizer.inlineText(_)){t=t.substring(d.raw.length),d.raw.slice(-1)!=="_"&&(i=d.raw.slice(-1)),o=!0;const c=n.at(-1);(c==null?void 0:c.type)==="text"?(c.raw+=d.raw,c.text+=d.text):n.push(d);continue}if(t){const c="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return n}}class ju{constructor(t){Rt(this,"options");Rt(this,"parser");this.options=t||qa}space(t){return""}code({text:t,lang:n,escaped:s}){var i;const a=(i=(n||"").match(pn.notSpaceStart))==null?void 0:i[0],o=t.replace(pn.endingNewline,"")+` +`;return a?'
    '+(s?o:fs(o,!0))+`
    +`:"
    "+(s?o:fs(o,!0))+`
    `}blockquote({tokens:t}){return`
    ${this.parser.parse(t)}
    `}html({text:t}){return t}heading({tokens:t,depth:n}){return`${this.parser.parseInline(t)} `}hr(t){return`
    `}list(t){const n=t.ordered,s=t.start;let a="";for(let r=0;r `+a+" -`}listitem(t){var s;let n="";if(t.task){const a=this.checkbox({checked:!!t.checked});t.loose?((s=t.tokens[0])==null?void 0:s.type)==="paragraph"?(t.tokens[0].text=a+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=a+" "+hs(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:a+" ",text:a+" ",escaped:!0}):n+=a+" "}return n+=this.parser.parse(t.tokens,!!t.loose),`
  • ${n}
  • +`}listitem(t){var s;let n="";if(t.task){const a=this.checkbox({checked:!!t.checked});t.loose?((s=t.tokens[0])==null?void 0:s.type)==="paragraph"?(t.tokens[0].text=a+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=a+" "+fs(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:a+" ",text:a+" ",escaped:!0}):n+=a+" "}return n+=this.parser.parse(t.tokens,!!t.loose),`
  • ${n}
  • `}checkbox({checked:t}){return"'}paragraph({tokens:t}){return`

    ${this.parser.parseInline(t)}

    `}table(t){let n="",s="";for(let o=0;o${a}`),` @@ -306,22 +306,22 @@ ${this.parser.parse(t)} `}tablerow({text:t}){return` ${t} `}tablecell(t){const n=this.parser.parseInline(t.tokens),s=t.header?"th":"td";return(t.align?`<${s} align="${t.align}">`:`<${s}>`)+n+` -`}strong({tokens:t}){return`${this.parser.parseInline(t)}`}em({tokens:t}){return`${this.parser.parseInline(t)}`}codespan({text:t}){return`${hs(t,!0)}`}br(t){return"
    "}del({tokens:t}){return`${this.parser.parseInline(t)}`}link({href:t,title:n,tokens:s}){const a=this.parser.parseInline(s),o=Qm(t);if(o===null)return a;t=o;let i='",i}image({href:t,title:n,text:s}){const a=Qm(t);if(a===null)return hs(s);t=a;let o=`${s}{const l=r[u].flat(1/0);s=s.concat(this.walkTokens(l,n))}):r.tokens&&(s=s.concat(this.walkTokens(r.tokens,n)))}}return s}use(...t){const n=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(s=>{const a={...s};if(a.async=this.defaults.async||a.async||!1,s.extensions&&(s.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if("renderer"in o){const i=n.renderers[o.name];i?n.renderers[o.name]=function(...r){let u=o.renderer.apply(this,r);return u===!1&&(u=i.apply(this,r)),u}:n.renderers[o.name]=o.renderer}if("tokenizer"in o){if(!o.level||o.level!=="block"&&o.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const i=n[o.level];i?i.unshift(o.tokenizer):n[o.level]=[o.tokenizer],o.start&&(o.level==="block"?n.startBlock?n.startBlock.push(o.start):n.startBlock=[o.start]:o.level==="inline"&&(n.startInline?n.startInline.push(o.start):n.startInline=[o.start]))}"childTokens"in o&&o.childTokens&&(n.childTokens[o.name]=o.childTokens)}),a.extensions=n),s.renderer){const o=this.defaults.renderer||new qu(this.defaults);for(const i in s.renderer){if(!(i in o))throw new Error(`renderer '${i}' does not exist`);if(["options","parser"].includes(i))continue;const r=i,u=s.renderer[r],l=o[r];o[r]=(...d)=>{let _=u.apply(o,d);return _===!1&&(_=l.apply(o,d)),_||""}}a.renderer=o}if(s.tokenizer){const o=this.defaults.tokenizer||new Yu(this.defaults);for(const i in s.tokenizer){if(!(i in o))throw new Error(`tokenizer '${i}' does not exist`);if(["options","rules","lexer"].includes(i))continue;const r=i,u=s.tokenizer[r],l=o[r];o[r]=(...d)=>{let _=u.apply(o,d);return _===!1&&(_=l.apply(o,d)),_}}a.tokenizer=o}if(s.hooks){const o=this.defaults.hooks||new Ni;for(const i in s.hooks){if(!(i in o))throw new Error(`hook '${i}' does not exist`);if(["options","block"].includes(i))continue;const r=i,u=s.hooks[r],l=o[r];Ni.passThroughHooks.has(i)?o[r]=d=>{if(this.defaults.async)return Promise.resolve(u.call(o,d)).then(c=>l.call(o,c));const _=u.call(o,d);return l.call(o,_)}:o[r]=(...d)=>{let _=u.apply(o,d);return _===!1&&(_=l.apply(o,d)),_}}a.hooks=o}if(s.walkTokens){const o=this.defaults.walkTokens,i=s.walkTokens;a.walkTokens=function(r){let u=[];return u.push(i.call(this,r)),o&&(u=u.concat(o.call(this,r))),u}}this.defaults={...this.defaults,...a}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,n){return Hn.lex(t,n??this.defaults)}parser(t,n){return Kn.parse(t,n??this.defaults)}parseMarkdown(t){return(s,a)=>{const o={...a},i={...this.defaults,...o},r=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&o.async===!1)return r(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof s>"u"||s===null)return r(new Error("marked(): input parameter is undefined or null"));if(typeof s!="string")return r(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(s)+", string expected"));i.hooks&&(i.hooks.options=i,i.hooks.block=t);const u=i.hooks?i.hooks.provideLexer():t?Hn.lex:Hn.lexInline,l=i.hooks?i.hooks.provideParser():t?Kn.parse:Kn.parseInline;if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(s):s).then(d=>u(d,i)).then(d=>i.hooks?i.hooks.processAllTokens(d):d).then(d=>i.walkTokens?Promise.all(this.walkTokens(d,i.walkTokens)).then(()=>d):d).then(d=>l(d,i)).then(d=>i.hooks?i.hooks.postprocess(d):d).catch(r);try{i.hooks&&(s=i.hooks.preprocess(s));let d=u(s,i);i.hooks&&(d=i.hooks.processAllTokens(d)),i.walkTokens&&this.walkTokens(d,i.walkTokens);let _=l(d,i);return i.hooks&&(_=i.hooks.postprocess(_)),_}catch(d){return r(d)}}}onError(t,n){return s=>{if(s.message+=` -Please report this to https://github.com/markedjs/marked.`,t){const a="

    An error occurred:

    "+hs(s.message+"",!0)+"
    ";return n?Promise.resolve(a):a}if(n)return Promise.reject(s);throw s}}}const xa=new rst;function St(e,t){return xa.parse(e,t)}St.options=St.setOptions=function(e){return xa.setOptions(e),St.defaults=xa.defaults,J0(St.defaults),St};St.getDefaults=A_;St.defaults=Ya;St.use=function(...e){return xa.use(...e),St.defaults=xa.defaults,J0(St.defaults),St};St.walkTokens=function(e,t){return xa.walkTokens(e,t)};St.parseInline=xa.parseInline;St.Parser=Kn;St.parser=Kn.parse;St.Renderer=qu;St.TextRenderer=b_;St.Lexer=Hn;St.lexer=Hn.lex;St.Tokenizer=Yu;St.Hooks=Ni;St.parse=St;St.options;St.setOptions;St.use;St.walkTokens;St.parseInline;Kn.parse;Hn.lex;var es={},ts={},bc={},ns={},Cr={},ef;function ust(){return ef||(ef=1,Object.defineProperty(Cr,"__esModule",{value:!0}),Cr.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(function(e){return e.charCodeAt(0)}))),Cr}var Pr={},tf;function lst(){return tf||(tf=1,Object.defineProperty(Pr,"__esModule",{value:!0}),Pr.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(e){return e.charCodeAt(0)}))),Pr}var Cc={},nf;function sf(){return nf||(nf=1,function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.replaceCodePoint=e.fromCodePoint=void 0;var n=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);e.fromCodePoint=(t=String.fromCodePoint)!==null&&t!==void 0?t:function(o){var i="";return o>65535&&(o-=65536,i+=String.fromCharCode(o>>>10&1023|55296),o=56320|o&1023),i+=String.fromCharCode(o),i};function s(o){var i;return o>=55296&&o<=57343||o>1114111?65533:(i=n.get(o))!==null&&i!==void 0?i:o}e.replaceCodePoint=s;function a(o){return(0,e.fromCodePoint)(s(o))}e.default=a}(Cc)),Cc}var af;function ju(){return af||(af=1,function(e){var t=ns&&ns.__createBinding||(Object.create?function(D,W,Y,he){he===void 0&&(he=Y);var ie=Object.getOwnPropertyDescriptor(W,Y);(!ie||("get"in ie?!W.__esModule:ie.writable||ie.configurable))&&(ie={enumerable:!0,get:function(){return W[Y]}}),Object.defineProperty(D,he,ie)}:function(D,W,Y,he){he===void 0&&(he=Y),D[he]=W[Y]}),n=ns&&ns.__setModuleDefault||(Object.create?function(D,W){Object.defineProperty(D,"default",{enumerable:!0,value:W})}:function(D,W){D.default=W}),s=ns&&ns.__importStar||function(D){if(D&&D.__esModule)return D;var W={};if(D!=null)for(var Y in D)Y!=="default"&&Object.prototype.hasOwnProperty.call(D,Y)&&t(W,D,Y);return n(W,D),W},a=ns&&ns.__importDefault||function(D){return D&&D.__esModule?D:{default:D}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXML=e.decodeHTMLStrict=e.decodeHTMLAttribute=e.decodeHTML=e.determineBranch=e.EntityDecoder=e.DecodingMode=e.BinTrieFlags=e.fromCodePoint=e.replaceCodePoint=e.decodeCodePoint=e.xmlDecodeTree=e.htmlDecodeTree=void 0;var o=a(ust());e.htmlDecodeTree=o.default;var i=a(lst());e.xmlDecodeTree=i.default;var r=s(sf());e.decodeCodePoint=r.default;var u=sf();Object.defineProperty(e,"replaceCodePoint",{enumerable:!0,get:function(){return u.replaceCodePoint}}),Object.defineProperty(e,"fromCodePoint",{enumerable:!0,get:function(){return u.fromCodePoint}});var l;(function(D){D[D.NUM=35]="NUM",D[D.SEMI=59]="SEMI",D[D.EQUALS=61]="EQUALS",D[D.ZERO=48]="ZERO",D[D.NINE=57]="NINE",D[D.LOWER_A=97]="LOWER_A",D[D.LOWER_F=102]="LOWER_F",D[D.LOWER_X=120]="LOWER_X",D[D.LOWER_Z=122]="LOWER_Z",D[D.UPPER_A=65]="UPPER_A",D[D.UPPER_F=70]="UPPER_F",D[D.UPPER_Z=90]="UPPER_Z"})(l||(l={}));var d=32,_;(function(D){D[D.VALUE_LENGTH=49152]="VALUE_LENGTH",D[D.BRANCH_LENGTH=16256]="BRANCH_LENGTH",D[D.JUMP_TABLE=127]="JUMP_TABLE"})(_=e.BinTrieFlags||(e.BinTrieFlags={}));function c(D){return D>=l.ZERO&&D<=l.NINE}function T(D){return D>=l.UPPER_A&&D<=l.UPPER_F||D>=l.LOWER_A&&D<=l.LOWER_F}function m(D){return D>=l.UPPER_A&&D<=l.UPPER_Z||D>=l.LOWER_A&&D<=l.LOWER_Z||c(D)}function S(D){return D===l.EQUALS||m(D)}var R;(function(D){D[D.EntityStart=0]="EntityStart",D[D.NumericStart=1]="NumericStart",D[D.NumericDecimal=2]="NumericDecimal",D[D.NumericHex=3]="NumericHex",D[D.NamedEntity=4]="NamedEntity"})(R||(R={}));var h;(function(D){D[D.Legacy=0]="Legacy",D[D.Strict=1]="Strict",D[D.Attribute=2]="Attribute"})(h=e.DecodingMode||(e.DecodingMode={}));var O=function(){function D(W,Y,he){this.decodeTree=W,this.emitCodePoint=Y,this.errors=he,this.state=R.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=h.Strict}return D.prototype.startEntity=function(W){this.decodeMode=W,this.state=R.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},D.prototype.write=function(W,Y){switch(this.state){case R.EntityStart:return W.charCodeAt(Y)===l.NUM?(this.state=R.NumericStart,this.consumed+=1,this.stateNumericStart(W,Y+1)):(this.state=R.NamedEntity,this.stateNamedEntity(W,Y));case R.NumericStart:return this.stateNumericStart(W,Y);case R.NumericDecimal:return this.stateNumericDecimal(W,Y);case R.NumericHex:return this.stateNumericHex(W,Y);case R.NamedEntity:return this.stateNamedEntity(W,Y)}},D.prototype.stateNumericStart=function(W,Y){return Y>=W.length?-1:(W.charCodeAt(Y)|d)===l.LOWER_X?(this.state=R.NumericHex,this.consumed+=1,this.stateNumericHex(W,Y+1)):(this.state=R.NumericDecimal,this.stateNumericDecimal(W,Y))},D.prototype.addToNumericResult=function(W,Y,he,ie){if(Y!==he){var me=he-Y;this.result=this.result*Math.pow(ie,me)+parseInt(W.substr(Y,me),ie),this.consumed+=me}},D.prototype.stateNumericHex=function(W,Y){for(var he=Y;Y>14;Y>14,me!==0){if(Ie===l.SEMI)return this.emitNamedEntityData(this.treeIndex,me,this.consumed+this.excess);this.decodeMode!==h.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},D.prototype.emitNotTerminatedNamedEntity=function(){var W,Y=this,he=Y.result,ie=Y.decodeTree,me=(ie[he]&_.VALUE_LENGTH)>>14;return this.emitNamedEntityData(he,me,this.consumed),(W=this.errors)===null||W===void 0||W.missingSemicolonAfterCharacterReference(),this.consumed},D.prototype.emitNamedEntityData=function(W,Y,he){var ie=this.decodeTree;return this.emitCodePoint(Y===1?ie[W]&~_.VALUE_LENGTH:ie[W+1],he),Y===3&&this.emitCodePoint(ie[W+2],he),he},D.prototype.end=function(){var W;switch(this.state){case R.NamedEntity:return this.result!==0&&(this.decodeMode!==h.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case R.NumericDecimal:return this.emitNumericEntity(0,2);case R.NumericHex:return this.emitNumericEntity(0,3);case R.NumericStart:return(W=this.errors)===null||W===void 0||W.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case R.EntityStart:return 0}},D}();e.EntityDecoder=O;function I(D){var W="",Y=new O(D,function(he){return W+=(0,r.fromCodePoint)(he)});return function(ie,me){for(var Ie=0,ve=0;(ve=ie.indexOf("&",ve))>=0;){W+=ie.slice(Ie,ve),Y.startEntity(me);var Ke=Y.write(ie,ve+1);if(Ke<0){Ie=ve+Y.end();break}Ie=ve+Ke,ve=Ke===0?Ie+1:Ie}var Je=W+ie.slice(Ie);return W="",Je}}function N(D,W,Y,he){var ie=(W&_.BRANCH_LENGTH)>>7,me=W&_.JUMP_TABLE;if(ie===0)return me!==0&&he===me?Y:-1;if(me){var Ie=he-me;return Ie<0||Ie>=ie?-1:D[Y+Ie]-1}for(var ve=Y,Ke=ve+ie-1;ve<=Ke;){var Je=ve+Ke>>>1,He=D[Je];if(Hehe)Ke=Je-1;else return D[Je+ie]}return-1}e.determineBranch=N;var b=I(o.default),P=I(i.default);function C(D,W){return W===void 0&&(W=h.Legacy),b(D,W)}e.decodeHTML=C;function y(D){return b(D,h.Attribute)}e.decodeHTMLAttribute=y;function L(D){return b(D,h.Strict)}e.decodeHTMLStrict=L;function w(D){return P(D,h.Strict)}e.decodeXML=w}(ns)),ns}var of;function c1(){return of||(of=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.QuoteType=void 0;var t=ju(),n;(function(c){c[c.Tab=9]="Tab",c[c.NewLine=10]="NewLine",c[c.FormFeed=12]="FormFeed",c[c.CarriageReturn=13]="CarriageReturn",c[c.Space=32]="Space",c[c.ExclamationMark=33]="ExclamationMark",c[c.Number=35]="Number",c[c.Amp=38]="Amp",c[c.SingleQuote=39]="SingleQuote",c[c.DoubleQuote=34]="DoubleQuote",c[c.Dash=45]="Dash",c[c.Slash=47]="Slash",c[c.Zero=48]="Zero",c[c.Nine=57]="Nine",c[c.Semi=59]="Semi",c[c.Lt=60]="Lt",c[c.Eq=61]="Eq",c[c.Gt=62]="Gt",c[c.Questionmark=63]="Questionmark",c[c.UpperA=65]="UpperA",c[c.LowerA=97]="LowerA",c[c.UpperF=70]="UpperF",c[c.LowerF=102]="LowerF",c[c.UpperZ=90]="UpperZ",c[c.LowerZ=122]="LowerZ",c[c.LowerX=120]="LowerX",c[c.OpeningSquareBracket=91]="OpeningSquareBracket"})(n||(n={}));var s;(function(c){c[c.Text=1]="Text",c[c.BeforeTagName=2]="BeforeTagName",c[c.InTagName=3]="InTagName",c[c.InSelfClosingTag=4]="InSelfClosingTag",c[c.BeforeClosingTagName=5]="BeforeClosingTagName",c[c.InClosingTagName=6]="InClosingTagName",c[c.AfterClosingTagName=7]="AfterClosingTagName",c[c.BeforeAttributeName=8]="BeforeAttributeName",c[c.InAttributeName=9]="InAttributeName",c[c.AfterAttributeName=10]="AfterAttributeName",c[c.BeforeAttributeValue=11]="BeforeAttributeValue",c[c.InAttributeValueDq=12]="InAttributeValueDq",c[c.InAttributeValueSq=13]="InAttributeValueSq",c[c.InAttributeValueNq=14]="InAttributeValueNq",c[c.BeforeDeclaration=15]="BeforeDeclaration",c[c.InDeclaration=16]="InDeclaration",c[c.InProcessingInstruction=17]="InProcessingInstruction",c[c.BeforeComment=18]="BeforeComment",c[c.CDATASequence=19]="CDATASequence",c[c.InSpecialComment=20]="InSpecialComment",c[c.InCommentLike=21]="InCommentLike",c[c.BeforeSpecialS=22]="BeforeSpecialS",c[c.SpecialStartSequence=23]="SpecialStartSequence",c[c.InSpecialTag=24]="InSpecialTag",c[c.BeforeEntity=25]="BeforeEntity",c[c.BeforeNumericEntity=26]="BeforeNumericEntity",c[c.InNamedEntity=27]="InNamedEntity",c[c.InNumericEntity=28]="InNumericEntity",c[c.InHexEntity=29]="InHexEntity"})(s||(s={}));function a(c){return c===n.Space||c===n.NewLine||c===n.Tab||c===n.FormFeed||c===n.CarriageReturn}function o(c){return c===n.Slash||c===n.Gt||a(c)}function i(c){return c>=n.Zero&&c<=n.Nine}function r(c){return c>=n.LowerA&&c<=n.LowerZ||c>=n.UpperA&&c<=n.UpperZ}function u(c){return c>=n.UpperA&&c<=n.UpperF||c>=n.LowerA&&c<=n.LowerF}var l;(function(c){c[c.NoValue=0]="NoValue",c[c.Unquoted=1]="Unquoted",c[c.Single=2]="Single",c[c.Double=3]="Double"})(l=e.QuoteType||(e.QuoteType={}));var d={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},_=function(){function c(T,m){var S=T.xmlMode,R=S===void 0?!1:S,h=T.decodeEntities,O=h===void 0?!0:h;this.cbs=m,this.state=s.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=s.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=R,this.decodeEntities=O,this.entityTrie=R?t.xmlDecodeTree:t.htmlDecodeTree}return c.prototype.reset=function(){this.state=s.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=s.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},c.prototype.write=function(T){this.offset+=this.buffer.length,this.buffer=T,this.parse()},c.prototype.end=function(){this.running&&this.finish()},c.prototype.pause=function(){this.running=!1},c.prototype.resume=function(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=s.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&T===n.Amp&&(this.state=s.BeforeEntity)},c.prototype.stateSpecialStartSequence=function(T){var m=this.sequenceIndex===this.currentSequence.length,S=m?o(T):(T|32)===this.currentSequence[this.sequenceIndex];if(!S)this.isSpecial=!1;else if(!m){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=s.InTagName,this.stateInTagName(T)},c.prototype.stateInSpecialTag=function(T){if(this.sequenceIndex===this.currentSequence.length){if(T===n.Gt||a(T)){var m=this.index-this.currentSequence.length;if(this.sectionStart>14)-1;if(!this.allowLegacyEntity()&&T!==n.Semi)this.trieIndex+=S;else{var R=this.index-this.entityExcess+1;R>this.sectionStart&&this.emitPartial(this.sectionStart,R),this.entityResult=this.trieIndex,this.trieIndex+=S,this.entityExcess=0,this.sectionStart=this.index+1,S===0&&this.emitNamedEntity()}}},c.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var T=(this.entityTrie[this.entityResult]&t.BinTrieFlags.VALUE_LENGTH)>>14;switch(T){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~t.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},c.prototype.stateBeforeNumericEntity=function(T){(T|32)===n.LowerX?(this.entityExcess++,this.state=s.InHexEntity):(this.state=s.InNumericEntity,this.stateInNumericEntity(T))},c.prototype.emitNumericEntity=function(T){var m=this.index-this.entityExcess-1,S=m+2+ +(this.state===s.InHexEntity);S!==this.index&&(m>this.sectionStart&&this.emitPartial(this.sectionStart,m),this.sectionStart=this.index+Number(T),this.emitCodePoint((0,t.replaceCodePoint)(this.entityResult))),this.state=this.baseState},c.prototype.stateInNumericEntity=function(T){T===n.Semi?this.emitNumericEntity(!0):i(T)?(this.entityResult=this.entityResult*10+(T-n.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},c.prototype.stateInHexEntity=function(T){T===n.Semi?this.emitNumericEntity(!0):i(T)?(this.entityResult=this.entityResult*16+(T-n.Zero),this.entityExcess++):u(T)?(this.entityResult=this.entityResult*16+((T|32)-n.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},c.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===s.Text||this.baseState===s.InSpecialTag)},c.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===s.Text||this.state===s.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===s.InAttributeValueDq||this.state===s.InAttributeValueSq||this.state===s.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},c.prototype.shouldContinue=function(){return this.index0&&P.has(this.stack[this.stack.length-1]);){var C=this.stack.pop();(I=(O=this.cbs).onclosetag)===null||I===void 0||I.call(O,C,!0)}this.isVoidElement(h)||(this.stack.push(h),c.has(h)?this.foreignContext.push(!0):T.has(h)&&this.foreignContext.push(!1)),(b=(N=this.cbs).onopentagname)===null||b===void 0||b.call(N,h),this.cbs.onopentag&&(this.attribs={})},R.prototype.endOpenTag=function(h){var O,I;this.startIndex=this.openTagStart,this.attribs&&((I=(O=this.cbs).onopentag)===null||I===void 0||I.call(O,this.tagname,this.attribs,h),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},R.prototype.onopentagend=function(h){this.endIndex=h,this.endOpenTag(!1),this.startIndex=h+1},R.prototype.onclosetag=function(h,O){var I,N,b,P,C,y;this.endIndex=O;var L=this.getSlice(h,O);if(this.lowerCaseTagNames&&(L=L.toLowerCase()),(c.has(L)||T.has(L))&&this.foreignContext.pop(),this.isVoidElement(L))!this.options.xmlMode&&L==="br"&&((N=(I=this.cbs).onopentagname)===null||N===void 0||N.call(I,"br"),(P=(b=this.cbs).onopentag)===null||P===void 0||P.call(b,"br",{},!0),(y=(C=this.cbs).onclosetag)===null||y===void 0||y.call(C,"br",!1));else{var w=this.stack.lastIndexOf(L);if(w!==-1)if(this.cbs.onclosetag)for(var D=this.stack.length-w;D--;)this.cbs.onclosetag(this.stack.pop(),D!==0);else this.stack.length=w;else!this.options.xmlMode&&L==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=O+1},R.prototype.onselfclosingtag=function(h){this.endIndex=h,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=h+1):this.onopentagend(h)},R.prototype.closeCurrentTag=function(h){var O,I,N=this.tagname;this.endOpenTag(h),this.stack[this.stack.length-1]===N&&((I=(O=this.cbs).onclosetag)===null||I===void 0||I.call(O,N,!h),this.stack.pop())},R.prototype.onattribname=function(h,O){this.startIndex=h;var I=this.getSlice(h,O);this.attribname=this.lowerCaseAttributeNames?I.toLowerCase():I},R.prototype.onattribdata=function(h,O){this.attribvalue+=this.getSlice(h,O)},R.prototype.onattribentity=function(h){this.attribvalue+=(0,a.fromCodePoint)(h)},R.prototype.onattribend=function(h,O){var I,N;this.endIndex=O,(N=(I=this.cbs).onattribute)===null||N===void 0||N.call(I,this.attribname,this.attribvalue,h===s.QuoteType.Double?'"':h===s.QuoteType.Single?"'":h===s.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},R.prototype.getInstructionName=function(h){var O=h.search(m),I=O<0?h:h.substr(0,O);return this.lowerCaseTagNames&&(I=I.toLowerCase()),I},R.prototype.ondeclaration=function(h,O){this.endIndex=O;var I=this.getSlice(h,O);if(this.cbs.onprocessinginstruction){var N=this.getInstructionName(I);this.cbs.onprocessinginstruction("!".concat(N),"!".concat(I))}this.startIndex=O+1},R.prototype.onprocessinginstruction=function(h,O){this.endIndex=O;var I=this.getSlice(h,O);if(this.cbs.onprocessinginstruction){var N=this.getInstructionName(I);this.cbs.onprocessinginstruction("?".concat(N),"?".concat(I))}this.startIndex=O+1},R.prototype.oncomment=function(h,O,I){var N,b,P,C;this.endIndex=O,(b=(N=this.cbs).oncomment)===null||b===void 0||b.call(N,this.getSlice(h,O-I)),(C=(P=this.cbs).oncommentend)===null||C===void 0||C.call(P),this.startIndex=O+1},R.prototype.oncdata=function(h,O,I){var N,b,P,C,y,L,w,D,W,Y;this.endIndex=O;var he=this.getSlice(h,O-I);this.options.xmlMode||this.options.recognizeCDATA?((b=(N=this.cbs).oncdatastart)===null||b===void 0||b.call(N),(C=(P=this.cbs).ontext)===null||C===void 0||C.call(P,he),(L=(y=this.cbs).oncdataend)===null||L===void 0||L.call(y)):((D=(w=this.cbs).oncomment)===null||D===void 0||D.call(w,"[CDATA[".concat(he,"]]")),(Y=(W=this.cbs).oncommentend)===null||Y===void 0||Y.call(W)),this.startIndex=O+1},R.prototype.onend=function(){var h,O;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var I=this.stack.length;I>0;this.cbs.onclosetag(this.stack[--I],!0));}(O=(h=this.cbs).onend)===null||O===void 0||O.call(h)},R.prototype.reset=function(){var h,O,I,N;(O=(h=this.cbs).onreset)===null||O===void 0||O.call(h),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(N=(I=this.cbs).onparserinit)===null||N===void 0||N.call(I,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},R.prototype.parseComplete=function(h){this.reset(),this.end(h)},R.prototype.getSlice=function(h,O){for(;h-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var I=this.buffers[0].slice(h-this.bufferOffset,O-this.bufferOffset);O-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),I+=this.buffers[0].slice(0,O-this.bufferOffset);return I},R.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},R.prototype.write=function(h){var O,I;if(this.ended){(I=(O=this.cbs).onerror)===null||I===void 0||I.call(O,new Error(".write() after done!"));return}this.buffers.push(h),this.tokenizer.running&&(this.tokenizer.write(h),this.writeIndex++)},R.prototype.end=function(h){var O,I;if(this.ended){(I=(O=this.cbs).onerror)===null||I===void 0||I.call(O,new Error(".end() after done!"));return}h&&this.write(h),this.ended=!0,this.tokenizer.end()},R.prototype.pause=function(){this.tokenizer.pause()},R.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"childNodes",{get:function(){return this.children},set:function(C){this.children=C},enumerable:!1,configurable:!0}),P}(s);et.NodeWithChildren=u;var l=function(b){e(P,b);function P(){var C=b!==null&&b.apply(this,arguments)||this;return C.type=n.ElementType.CDATA,C}return Object.defineProperty(P.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),P}(u);et.CDATA=l;var d=function(b){e(P,b);function P(){var C=b!==null&&b.apply(this,arguments)||this;return C.type=n.ElementType.Root,C}return Object.defineProperty(P.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),P}(u);et.Document=d;var _=function(b){e(P,b);function P(C,y,L,w){L===void 0&&(L=[]),w===void 0&&(w=C==="script"?n.ElementType.Script:C==="style"?n.ElementType.Style:n.ElementType.Tag);var D=b.call(this,L)||this;return D.name=C,D.attribs=y,D.type=w,D}return Object.defineProperty(P.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"tagName",{get:function(){return this.name},set:function(C){this.name=C},enumerable:!1,configurable:!0}),Object.defineProperty(P.prototype,"attributes",{get:function(){var C=this;return Object.keys(this.attribs).map(function(y){var L,w;return{name:y,value:C.attribs[y],namespace:(L=C["x-attribsNamespace"])===null||L===void 0?void 0:L[y],prefix:(w=C["x-attribsPrefix"])===null||w===void 0?void 0:w[y]}})},enumerable:!1,configurable:!0}),P}(u);et.Element=_;function c(b){return(0,n.isTag)(b)}et.isTag=c;function T(b){return b.type===n.ElementType.CDATA}et.isCDATA=T;function m(b){return b.type===n.ElementType.Text}et.isText=m;function S(b){return b.type===n.ElementType.Comment}et.isComment=S;function R(b){return b.type===n.ElementType.Directive}et.isDirective=R;function h(b){return b.type===n.ElementType.Root}et.isDocument=h;function O(b){return Object.prototype.hasOwnProperty.call(b,"children")}et.hasChildren=O;function I(b,P){P===void 0&&(P=!1);var C;if(m(b))C=new o(b.data);else if(S(b))C=new i(b.data);else if(c(b)){var y=P?N(b.children):[],L=new _(b.name,t({},b.attribs),y);y.forEach(function(Y){return Y.parent=L}),b.namespace!=null&&(L.namespace=b.namespace),b["x-attribsNamespace"]&&(L["x-attribsNamespace"]=t({},b["x-attribsNamespace"])),b["x-attribsPrefix"]&&(L["x-attribsPrefix"]=t({},b["x-attribsPrefix"])),C=L}else if(T(b)){var y=P?N(b.children):[],w=new l(y);y.forEach(function(he){return he.parent=w}),C=w}else if(h(b)){var y=P?N(b.children):[],D=new d(y);y.forEach(function(he){return he.parent=D}),b["x-mode"]&&(D["x-mode"]=b["x-mode"]),C=D}else if(R(b)){var W=new r(b.name,b.data);b["x-name"]!=null&&(W["x-name"]=b["x-name"],W["x-publicId"]=b["x-publicId"],W["x-systemId"]=b["x-systemId"]),C=W}else throw new Error("Not implemented yet: ".concat(b.type));return C.startIndex=b.startIndex,C.endIndex=b.endIndex,b.sourceCodeLocation!=null&&(C.sourceCodeLocation=b.sourceCodeLocation),C}et.cloneNode=I;function N(b){for(var P=b.map(function(y){return I(y,!0)}),C=1;C$\x80-\uFFFF]/g;var t=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);e.getCodePoint=String.prototype.codePointAt!=null?function(a,o){return a.codePointAt(o)}:function(a,o){return(a.charCodeAt(o)&64512)===55296?(a.charCodeAt(o)-55296)*1024+a.charCodeAt(o+1)-56320+65536:a.charCodeAt(o)};function n(a){for(var o="",i=0,r;(r=e.xmlReplacer.exec(a))!==null;){var u=r.index,l=a.charCodeAt(u),d=t.get(l);d!==void 0?(o+=a.substring(i,u)+d,i=u+1):(o+="".concat(a.substring(i,u),"&#x").concat((0,e.getCodePoint)(a,u).toString(16),";"),i=e.xmlReplacer.lastIndex+=+((l&64512)===55296))}return o+a.substr(i)}e.encodeXML=n,e.escape=n;function s(a,o){return function(r){for(var u,l=0,d="";u=a.exec(r);)l!==u.index&&(d+=r.substring(l,u.index)),d+=o.get(u[0].charCodeAt(0)),l=u.index+1;return d+r.substring(l)}}e.escapeUTF8=s(/[&<>'"]/g,t),e.escapeAttribute=s(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),e.escapeText=s(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))}(Lc)),Lc}var pf;function mf(){if(pf)return $s;pf=1;var e=$s&&$s.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty($s,"__esModule",{value:!0}),$s.encodeNonAsciiHTML=$s.encodeHTML=void 0;var t=e(cst()),n=pE(),s=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function a(r){return i(s,r)}$s.encodeHTML=a;function o(r){return i(n.xmlReplacer,r)}$s.encodeNonAsciiHTML=o;function i(r,u){for(var l="",d=0,_;(_=r.exec(u))!==null;){var c=_.index;l+=u.substring(d,c);var T=u.charCodeAt(c),m=t.default.get(T);if(typeof m=="object"){if(c+10&&(C+=_(N.children,b)),(b.xmlMode||!d.has(N.name))&&(C+=""))),C}function R(N){return"<".concat(N.data,">")}function h(N,b){var P,C=N.data||"";return((P=b.encodeEntities)!==null&&P!==void 0?P:b.decodeEntities)!==!1&&!(!b.xmlMode&&N.parent&&r.has(N.parent.name))&&(C=b.xmlMode||b.encodeEntities!=="utf8"?(0,o.encodeXML)(C):(0,o.escapeText)(C)),C}function O(N){return"")}function I(N){return"")}return Rn}var hf;function d1(){if(hf)return ln;hf=1;var e=ln&&ln.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(ln,"__esModule",{value:!0}),ln.innerText=ln.textContent=ln.getText=ln.getInnerHTML=ln.getOuterHTML=void 0;var t=_a(),n=e(_st()),s=ur();function a(l,d){return(0,n.default)(l,d)}ln.getOuterHTML=a;function o(l,d){return(0,t.hasChildren)(l)?l.children.map(function(_){return a(_,d)}).join(""):""}ln.getInnerHTML=o;function i(l){return Array.isArray(l)?l.map(i).join(""):(0,t.isTag)(l)?l.name==="br"?` -`:i(l.children):(0,t.isCDATA)(l)?i(l.children):(0,t.isText)(l)?l.data:""}ln.getText=i;function r(l){return Array.isArray(l)?l.map(r).join(""):(0,t.hasChildren)(l)&&!(0,t.isComment)(l)?r(l.children):(0,t.isText)(l)?l.data:""}ln.textContent=r;function u(l){return Array.isArray(l)?l.map(u).join(""):(0,t.hasChildren)(l)&&(l.type===s.ElementType.Tag||(0,t.isCDATA)(l))?u(l.children):(0,t.isText)(l)?l.data:""}return ln.innerText=u,ln}var xt={},Of;function Tst(){if(Of)return xt;Of=1,Object.defineProperty(xt,"__esModule",{value:!0}),xt.prevElementSibling=xt.nextElementSibling=xt.getName=xt.hasAttrib=xt.getAttributeValue=xt.getSiblings=xt.getParent=xt.getChildren=void 0;var e=_a();function t(l){return(0,e.hasChildren)(l)?l.children:[]}xt.getChildren=t;function n(l){return l.parent||null}xt.getParent=n;function s(l){var d,_,c=n(l);if(c!=null)return t(c);for(var T=[l],m=l.prev,S=l.next;m!=null;)T.unshift(m),d=m,m=d.prev;for(;S!=null;)T.push(S),_=S,S=_.next;return T}xt.getSiblings=s;function a(l,d){var _;return(_=l.attribs)===null||_===void 0?void 0:_[d]}xt.getAttributeValue=a;function o(l,d){return l.attribs!=null&&Object.prototype.hasOwnProperty.call(l.attribs,d)&&l.attribs[d]!=null}xt.hasAttrib=o;function i(l){return l.name}xt.getName=i;function r(l){for(var d,_=l.next;_!==null&&!(0,e.isTag)(_);)d=_,_=d.next;return _}xt.nextElementSibling=r;function u(l){for(var d,_=l.prev;_!==null&&!(0,e.isTag)(_);)d=_,_=d.prev;return _}return xt.prevElementSibling=u,xt}var cn={},If;function pst(){if(If)return cn;If=1,Object.defineProperty(cn,"__esModule",{value:!0}),cn.prepend=cn.prependChild=cn.append=cn.appendChild=cn.replaceElement=cn.removeElement=void 0;function e(i){if(i.prev&&(i.prev.next=i.next),i.next&&(i.next.prev=i.prev),i.parent){var r=i.parent.children,u=r.lastIndexOf(i);u>=0&&r.splice(u,1)}i.next=null,i.prev=null,i.parent=null}cn.removeElement=e;function t(i,r){var u=r.prev=i.prev;u&&(u.next=r);var l=r.next=i.next;l&&(l.prev=r);var d=r.parent=i.parent;if(d){var _=d.children;_[_.lastIndexOf(i)]=r,i.parent=null}}cn.replaceElement=t;function n(i,r){if(e(r),r.next=null,r.parent=i,i.children.push(r)>1){var u=i.children[i.children.length-2];u.next=r,r.prev=u}else r.prev=null}cn.appendChild=n;function s(i,r){e(r);var u=i.parent,l=i.next;if(r.next=l,r.prev=i,i.next=r,r.parent=u,l){if(l.prev=r,u){var d=u.children;d.splice(d.lastIndexOf(l),0,r)}}else u&&u.children.push(r)}cn.append=s;function a(i,r){if(e(r),r.parent=i,r.prev=null,i.children.unshift(r)!==1){var u=i.children[1];u.prev=r,r.next=u}else r.next=null}cn.prependChild=a;function o(i,r){e(r);var u=i.parent;if(u){var l=u.children;l.splice(l.indexOf(i),0,r)}i.prev&&(i.prev.next=r),r.parent=u,r.prev=i.prev,r.next=i,i.prev=r}return cn.prepend=o,cn}var dn={},Rf;function E1(){if(Rf)return dn;Rf=1,Object.defineProperty(dn,"__esModule",{value:!0}),dn.findAll=dn.existsOne=dn.findOne=dn.findOneChild=dn.find=dn.filter=void 0;var e=_a();function t(r,u,l,d){return l===void 0&&(l=!0),d===void 0&&(d=1/0),n(r,Array.isArray(u)?u:[u],l,d)}dn.filter=t;function n(r,u,l,d){for(var _=[],c=[u],T=[0];;){if(T[0]>=c[0].length){if(T.length===1)return _;c.shift(),T.shift();continue}var m=c[0][T[0]++];if(r(m)&&(_.push(m),--d<=0))return _;l&&(0,e.hasChildren)(m)&&m.children.length>0&&(T.unshift(0),c.unshift(m.children))}}dn.find=n;function s(r,u){return u.find(r)}dn.findOneChild=s;function a(r,u,l){l===void 0&&(l=!0);for(var d=null,_=0;_0&&(d=a(r,c.children,!0));else continue}return d}dn.findOne=a;function o(r,u){return u.some(function(l){return(0,e.isTag)(l)&&(r(l)||o(r,l.children))})}dn.existsOne=o;function i(r,u){for(var l=[],d=[u],_=[0];;){if(_[0]>=d[0].length){if(d.length===1)return l;d.shift(),_.shift();continue}var c=d[0][_[0]++];(0,e.isTag)(c)&&(r(c)&&l.push(c),c.children.length>0&&(_.unshift(0),d.unshift(c.children)))}}return dn.findAll=i,dn}var vn={},Nf;function _1(){if(Nf)return vn;Nf=1,Object.defineProperty(vn,"__esModule",{value:!0}),vn.getElementsByTagType=vn.getElementsByTagName=vn.getElementById=vn.getElements=vn.testElement=void 0;var e=_a(),t=E1(),n={tag_name:function(_){return typeof _=="function"?function(c){return(0,e.isTag)(c)&&_(c.name)}:_==="*"?e.isTag:function(c){return(0,e.isTag)(c)&&c.name===_}},tag_type:function(_){return typeof _=="function"?function(c){return _(c.type)}:function(c){return c.type===_}},tag_contains:function(_){return typeof _=="function"?function(c){return(0,e.isText)(c)&&_(c.data)}:function(c){return(0,e.isText)(c)&&c.data===_}}};function s(_,c){return typeof c=="function"?function(T){return(0,e.isTag)(T)&&c(T.attribs[_])}:function(T){return(0,e.isTag)(T)&&T.attribs[_]===c}}function a(_,c){return function(T){return _(T)||c(T)}}function o(_){var c=Object.keys(_).map(function(T){var m=_[T];return Object.prototype.hasOwnProperty.call(n,T)?n[T](m):s(T,m)});return c.length===0?null:c.reduce(a)}function i(_,c){var T=o(_);return T?T(c):!0}vn.testElement=i;function r(_,c,T,m){m===void 0&&(m=1/0);var S=o(_);return S?(0,t.filter)(S,c,T,m):[]}vn.getElements=r;function u(_,c,T){return T===void 0&&(T=!0),Array.isArray(c)||(c=[c]),(0,t.findOne)(s("id",_),c,T)}vn.getElementById=u;function l(_,c,T,m){return T===void 0&&(T=!0),m===void 0&&(m=1/0),(0,t.filter)(n.tag_name(_),c,T,m)}vn.getElementsByTagName=l;function d(_,c,T,m){return T===void 0&&(T=!0),m===void 0&&(m=1/0),(0,t.filter)(n.tag_type(_),c,T,m)}return vn.getElementsByTagType=d,vn}var vc={},gf;function mst(){return gf||(gf=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.uniqueSort=e.compareDocumentPosition=e.DocumentPosition=e.removeSubsets=void 0;var t=_a();function n(i){for(var r=i.length;--r>=0;){var u=i[r];if(r>0&&i.lastIndexOf(u,r-1)>=0){i.splice(r,1);continue}for(var l=u.parent;l;l=l.parent)if(i.includes(l)){i.splice(r,1);break}}return i}e.removeSubsets=n;var s;(function(i){i[i.DISCONNECTED=1]="DISCONNECTED",i[i.PRECEDING=2]="PRECEDING",i[i.FOLLOWING=4]="FOLLOWING",i[i.CONTAINS=8]="CONTAINS",i[i.CONTAINED_BY=16]="CONTAINED_BY"})(s=e.DocumentPosition||(e.DocumentPosition={}));function a(i,r){var u=[],l=[];if(i===r)return 0;for(var d=(0,t.hasChildren)(i)?i:i.parent;d;)u.unshift(d),d=d.parent;for(d=(0,t.hasChildren)(r)?r:r.parent;d;)l.unshift(d),d=d.parent;for(var _=Math.min(u.length,l.length),c=0;c<_&&u[c]===l[c];)c++;if(c===0)return s.DISCONNECTED;var T=u[c-1],m=T.children,S=u[c],R=l[c];return m.indexOf(S)>m.indexOf(R)?T===r?s.FOLLOWING|s.CONTAINED_BY:s.FOLLOWING:T===i?s.PRECEDING|s.CONTAINS:s.PRECEDING}e.compareDocumentPosition=a;function o(i){return i=i.filter(function(r,u,l){return!l.includes(r,u+1)}),i.sort(function(r,u){var l=a(r,u);return l&s.PRECEDING?-1:l&s.FOLLOWING?1:0}),i}e.uniqueSort=o}(vc)),vc}var si={},bf;function fst(){if(bf)return si;bf=1,Object.defineProperty(si,"__esModule",{value:!0}),si.getFeed=void 0;var e=d1(),t=_1();function n(c){var T=u(_,c);return T?T.name==="feed"?s(T):a(T):null}si.getFeed=n;function s(c){var T,m=c.children,S={type:"atom",items:(0,t.getElementsByTagName)("entry",m).map(function(O){var I,N=O.children,b={media:r(N)};d(b,"id","id",N),d(b,"title","title",N);var P=(I=u("link",N))===null||I===void 0?void 0:I.attribs.href;P&&(b.link=P);var C=l("summary",N)||l("content",N);C&&(b.description=C);var y=l("updated",N);return y&&(b.pubDate=new Date(y)),b})};d(S,"id","id",m),d(S,"title","title",m);var R=(T=u("link",m))===null||T===void 0?void 0:T.attribs.href;R&&(S.link=R),d(S,"description","subtitle",m);var h=l("updated",m);return h&&(S.updated=new Date(h)),d(S,"author","email",m,!0),S}function a(c){var T,m,S=(m=(T=u("channel",c.children))===null||T===void 0?void 0:T.children)!==null&&m!==void 0?m:[],R={type:c.name.substr(0,3),id:"",items:(0,t.getElementsByTagName)("item",c.children).map(function(O){var I=O.children,N={media:r(I)};d(N,"id","guid",I),d(N,"title","title",I),d(N,"link","link",I),d(N,"description","description",I);var b=l("pubDate",I)||l("dc:date",I);return b&&(N.pubDate=new Date(b)),N})};d(R,"title","title",S),d(R,"link","link",S),d(R,"description","description",S);var h=l("lastBuildDate",S);return h&&(R.updated=new Date(h)),d(R,"author","managingEditor",S,!0),R}var o=["url","type","lang"],i=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function r(c){return(0,t.getElementsByTagName)("media:content",c).map(function(T){for(var m=T.attribs,S={medium:m.medium,isDefault:!!m.isDefault},R=0,h=o;R{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}),Uc}var Lr={},Lf;function hst(){if(Lf)return Lr;Lf=1,Object.defineProperty(Lr,"__esModule",{value:!0});/*! +`}strong({tokens:t}){return`${this.parser.parseInline(t)}`}em({tokens:t}){return`${this.parser.parseInline(t)}`}codespan({text:t}){return`${fs(t,!0)}`}br(t){return"
    "}del({tokens:t}){return`${this.parser.parseInline(t)}`}link({href:t,title:n,tokens:s}){const a=this.parser.parseInline(s),o=Zm(t);if(o===null)return a;t=o;let i='
    ",i}image({href:t,title:n,text:s}){const a=Zm(t);if(a===null)return fs(s);t=a;let o=`${s}{const l=r[u].flat(1/0);s=s.concat(this.walkTokens(l,n))}):r.tokens&&(s=s.concat(this.walkTokens(r.tokens,n)))}}return s}use(...t){const n=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(s=>{const a={...s};if(a.async=this.defaults.async||a.async||!1,s.extensions&&(s.extensions.forEach(o=>{if(!o.name)throw new Error("extension name required");if("renderer"in o){const i=n.renderers[o.name];i?n.renderers[o.name]=function(...r){let u=o.renderer.apply(this,r);return u===!1&&(u=i.apply(this,r)),u}:n.renderers[o.name]=o.renderer}if("tokenizer"in o){if(!o.level||o.level!=="block"&&o.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const i=n[o.level];i?i.unshift(o.tokenizer):n[o.level]=[o.tokenizer],o.start&&(o.level==="block"?n.startBlock?n.startBlock.push(o.start):n.startBlock=[o.start]:o.level==="inline"&&(n.startInline?n.startInline.push(o.start):n.startInline=[o.start]))}"childTokens"in o&&o.childTokens&&(n.childTokens[o.name]=o.childTokens)}),a.extensions=n),s.renderer){const o=this.defaults.renderer||new ju(this.defaults);for(const i in s.renderer){if(!(i in o))throw new Error(`renderer '${i}' does not exist`);if(["options","parser"].includes(i))continue;const r=i,u=s.renderer[r],l=o[r];o[r]=(...d)=>{let _=u.apply(o,d);return _===!1&&(_=l.apply(o,d)),_||""}}a.renderer=o}if(s.tokenizer){const o=this.defaults.tokenizer||new qu(this.defaults);for(const i in s.tokenizer){if(!(i in o))throw new Error(`tokenizer '${i}' does not exist`);if(["options","rules","lexer"].includes(i))continue;const r=i,u=s.tokenizer[r],l=o[r];o[r]=(...d)=>{let _=u.apply(o,d);return _===!1&&(_=l.apply(o,d)),_}}a.tokenizer=o}if(s.hooks){const o=this.defaults.hooks||new Ni;for(const i in s.hooks){if(!(i in o))throw new Error(`hook '${i}' does not exist`);if(["options","block"].includes(i))continue;const r=i,u=s.hooks[r],l=o[r];Ni.passThroughHooks.has(i)?o[r]=d=>{if(this.defaults.async)return Promise.resolve(u.call(o,d)).then(c=>l.call(o,c));const _=u.call(o,d);return l.call(o,_)}:o[r]=(...d)=>{let _=u.apply(o,d);return _===!1&&(_=l.apply(o,d)),_}}a.hooks=o}if(s.walkTokens){const o=this.defaults.walkTokens,i=s.walkTokens;a.walkTokens=function(r){let u=[];return u.push(i.call(this,r)),o&&(u=u.concat(o.call(this,r))),u}}this.defaults={...this.defaults,...a}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,n){return zn.lex(t,n??this.defaults)}parser(t,n){return Bn.parse(t,n??this.defaults)}parseMarkdown(t){return(s,a)=>{const o={...a},i={...this.defaults,...o},r=this.onError(!!i.silent,!!i.async);if(this.defaults.async===!0&&o.async===!1)return r(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof s>"u"||s===null)return r(new Error("marked(): input parameter is undefined or null"));if(typeof s!="string")return r(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(s)+", string expected"));i.hooks&&(i.hooks.options=i,i.hooks.block=t);const u=i.hooks?i.hooks.provideLexer():t?zn.lex:zn.lexInline,l=i.hooks?i.hooks.provideParser():t?Bn.parse:Bn.parseInline;if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(s):s).then(d=>u(d,i)).then(d=>i.hooks?i.hooks.processAllTokens(d):d).then(d=>i.walkTokens?Promise.all(this.walkTokens(d,i.walkTokens)).then(()=>d):d).then(d=>l(d,i)).then(d=>i.hooks?i.hooks.postprocess(d):d).catch(r);try{i.hooks&&(s=i.hooks.preprocess(s));let d=u(s,i);i.hooks&&(d=i.hooks.processAllTokens(d)),i.walkTokens&&this.walkTokens(d,i.walkTokens);let _=l(d,i);return i.hooks&&(_=i.hooks.postprocess(_)),_}catch(d){return r(d)}}}onError(t,n){return s=>{if(s.message+=` +Please report this to https://github.com/markedjs/marked.`,t){const a="

    An error occurred:

    "+fs(s.message+"",!0)+"
    ";return n?Promise.resolve(a):a}if(n)return Promise.reject(s);throw s}}}const Va=new Ist;function St(e,t){return Va.parse(e,t)}St.options=St.setOptions=function(e){return Va.setOptions(e),St.defaults=Va.defaults,e1(St.defaults),St};St.getDefaults=A_;St.defaults=qa;St.use=function(...e){return Va.use(...e),St.defaults=Va.defaults,e1(St.defaults),St};St.walkTokens=function(e,t){return Va.walkTokens(e,t)};St.parseInline=Va.parseInline;St.Parser=Bn;St.parser=Bn.parse;St.Renderer=ju;St.TextRenderer=v_;St.Lexer=zn;St.lexer=zn.lex;St.Tokenizer=qu;St.Hooks=Ni;St.parse=St;St.options;St.setOptions;St.use;St.walkTokens;St.parseInline;Bn.parse;zn.lex;var jn={},Xn={},vc={},Qn={},vr={},tf;function Rst(){return tf||(tf=1,Object.defineProperty(vr,"__esModule",{value:!0}),vr.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(function(e){return e.charCodeAt(0)}))),vr}var Cr={},nf;function Nst(){return nf||(nf=1,Object.defineProperty(Cr,"__esModule",{value:!0}),Cr.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(e){return e.charCodeAt(0)}))),Cr}var Cc={},sf;function af(){return sf||(sf=1,function(e){var t;Object.defineProperty(e,"__esModule",{value:!0}),e.replaceCodePoint=e.fromCodePoint=void 0;var n=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);e.fromCodePoint=(t=String.fromCodePoint)!==null&&t!==void 0?t:function(o){var i="";return o>65535&&(o-=65536,i+=String.fromCharCode(o>>>10&1023|55296),o=56320|o&1023),i+=String.fromCharCode(o),i};function s(o){var i;return o>=55296&&o<=57343||o>1114111?65533:(i=n.get(o))!==null&&i!==void 0?i:o}e.replaceCodePoint=s;function a(o){return(0,e.fromCodePoint)(s(o))}e.default=a}(Cc)),Cc}var of;function Xu(){return of||(of=1,function(e){var t=Qn&&Qn.__createBinding||(Object.create?function(P,W,Y,he){he===void 0&&(he=Y);var ie=Object.getOwnPropertyDescriptor(W,Y);(!ie||("get"in ie?!W.__esModule:ie.writable||ie.configurable))&&(ie={enumerable:!0,get:function(){return W[Y]}}),Object.defineProperty(P,he,ie)}:function(P,W,Y,he){he===void 0&&(he=Y),P[he]=W[Y]}),n=Qn&&Qn.__setModuleDefault||(Object.create?function(P,W){Object.defineProperty(P,"default",{enumerable:!0,value:W})}:function(P,W){P.default=W}),s=Qn&&Qn.__importStar||function(P){if(P&&P.__esModule)return P;var W={};if(P!=null)for(var Y in P)Y!=="default"&&Object.prototype.hasOwnProperty.call(P,Y)&&t(W,P,Y);return n(W,P),W},a=Qn&&Qn.__importDefault||function(P){return P&&P.__esModule?P:{default:P}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXML=e.decodeHTMLStrict=e.decodeHTMLAttribute=e.decodeHTML=e.determineBranch=e.EntityDecoder=e.DecodingMode=e.BinTrieFlags=e.fromCodePoint=e.replaceCodePoint=e.decodeCodePoint=e.xmlDecodeTree=e.htmlDecodeTree=void 0;var o=a(Rst());e.htmlDecodeTree=o.default;var i=a(Nst());e.xmlDecodeTree=i.default;var r=s(af());e.decodeCodePoint=r.default;var u=af();Object.defineProperty(e,"replaceCodePoint",{enumerable:!0,get:function(){return u.replaceCodePoint}}),Object.defineProperty(e,"fromCodePoint",{enumerable:!0,get:function(){return u.fromCodePoint}});var l;(function(P){P[P.NUM=35]="NUM",P[P.SEMI=59]="SEMI",P[P.EQUALS=61]="EQUALS",P[P.ZERO=48]="ZERO",P[P.NINE=57]="NINE",P[P.LOWER_A=97]="LOWER_A",P[P.LOWER_F=102]="LOWER_F",P[P.LOWER_X=120]="LOWER_X",P[P.LOWER_Z=122]="LOWER_Z",P[P.UPPER_A=65]="UPPER_A",P[P.UPPER_F=70]="UPPER_F",P[P.UPPER_Z=90]="UPPER_Z"})(l||(l={}));var d=32,_;(function(P){P[P.VALUE_LENGTH=49152]="VALUE_LENGTH",P[P.BRANCH_LENGTH=16256]="BRANCH_LENGTH",P[P.JUMP_TABLE=127]="JUMP_TABLE"})(_=e.BinTrieFlags||(e.BinTrieFlags={}));function c(P){return P>=l.ZERO&&P<=l.NINE}function T(P){return P>=l.UPPER_A&&P<=l.UPPER_F||P>=l.LOWER_A&&P<=l.LOWER_F}function m(P){return P>=l.UPPER_A&&P<=l.UPPER_Z||P>=l.LOWER_A&&P<=l.LOWER_Z||c(P)}function f(P){return P===l.EQUALS||m(P)}var R;(function(P){P[P.EntityStart=0]="EntityStart",P[P.NumericStart=1]="NumericStart",P[P.NumericDecimal=2]="NumericDecimal",P[P.NumericHex=3]="NumericHex",P[P.NamedEntity=4]="NamedEntity"})(R||(R={}));var h;(function(P){P[P.Legacy=0]="Legacy",P[P.Strict=1]="Strict",P[P.Attribute=2]="Attribute"})(h=e.DecodingMode||(e.DecodingMode={}));var O=function(){function P(W,Y,he){this.decodeTree=W,this.emitCodePoint=Y,this.errors=he,this.state=R.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=h.Strict}return P.prototype.startEntity=function(W){this.decodeMode=W,this.state=R.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},P.prototype.write=function(W,Y){switch(this.state){case R.EntityStart:return W.charCodeAt(Y)===l.NUM?(this.state=R.NumericStart,this.consumed+=1,this.stateNumericStart(W,Y+1)):(this.state=R.NamedEntity,this.stateNamedEntity(W,Y));case R.NumericStart:return this.stateNumericStart(W,Y);case R.NumericDecimal:return this.stateNumericDecimal(W,Y);case R.NumericHex:return this.stateNumericHex(W,Y);case R.NamedEntity:return this.stateNamedEntity(W,Y)}},P.prototype.stateNumericStart=function(W,Y){return Y>=W.length?-1:(W.charCodeAt(Y)|d)===l.LOWER_X?(this.state=R.NumericHex,this.consumed+=1,this.stateNumericHex(W,Y+1)):(this.state=R.NumericDecimal,this.stateNumericDecimal(W,Y))},P.prototype.addToNumericResult=function(W,Y,he,ie){if(Y!==he){var me=he-Y;this.result=this.result*Math.pow(ie,me)+parseInt(W.substr(Y,me),ie),this.consumed+=me}},P.prototype.stateNumericHex=function(W,Y){for(var he=Y;Y>14;Y>14,me!==0){if(Ie===l.SEMI)return this.emitNamedEntityData(this.treeIndex,me,this.consumed+this.excess);this.decodeMode!==h.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},P.prototype.emitNotTerminatedNamedEntity=function(){var W,Y=this,he=Y.result,ie=Y.decodeTree,me=(ie[he]&_.VALUE_LENGTH)>>14;return this.emitNamedEntityData(he,me,this.consumed),(W=this.errors)===null||W===void 0||W.missingSemicolonAfterCharacterReference(),this.consumed},P.prototype.emitNamedEntityData=function(W,Y,he){var ie=this.decodeTree;return this.emitCodePoint(Y===1?ie[W]&~_.VALUE_LENGTH:ie[W+1],he),Y===3&&this.emitCodePoint(ie[W+2],he),he},P.prototype.end=function(){var W;switch(this.state){case R.NamedEntity:return this.result!==0&&(this.decodeMode!==h.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case R.NumericDecimal:return this.emitNumericEntity(0,2);case R.NumericHex:return this.emitNumericEntity(0,3);case R.NumericStart:return(W=this.errors)===null||W===void 0||W.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case R.EntityStart:return 0}},P}();e.EntityDecoder=O;function I(P){var W="",Y=new O(P,function(he){return W+=(0,r.fromCodePoint)(he)});return function(ie,me){for(var Ie=0,Le=0;(Le=ie.indexOf("&",Le))>=0;){W+=ie.slice(Ie,Le),Y.startEntity(me);var Ke=Y.write(ie,Le+1);if(Ke<0){Ie=Le+Y.end();break}Ie=Le+Ke,Le=Ke===0?Ie+1:Ie}var Je=W+ie.slice(Ie);return W="",Je}}function N(P,W,Y,he){var ie=(W&_.BRANCH_LENGTH)>>7,me=W&_.JUMP_TABLE;if(ie===0)return me!==0&&he===me?Y:-1;if(me){var Ie=he-me;return Ie<0||Ie>=ie?-1:P[Y+Ie]-1}for(var Le=Y,Ke=Le+ie-1;Le<=Ke;){var Je=Le+Ke>>>1,He=P[Je];if(Hehe)Ke=Je-1;else return P[Je+ie]}return-1}e.determineBranch=N;var b=I(o.default),C=I(i.default);function v(P,W){return W===void 0&&(W=h.Legacy),b(P,W)}e.decodeHTML=v;function y(P){return b(P,h.Attribute)}e.decodeHTMLAttribute=y;function D(P){return b(P,h.Strict)}e.decodeHTMLStrict=D;function w(P){return C(P,h.Strict)}e.decodeXML=w}(Qn)),Qn}var rf;function d1(){return rf||(rf=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.QuoteType=void 0;var t=Xu(),n;(function(c){c[c.Tab=9]="Tab",c[c.NewLine=10]="NewLine",c[c.FormFeed=12]="FormFeed",c[c.CarriageReturn=13]="CarriageReturn",c[c.Space=32]="Space",c[c.ExclamationMark=33]="ExclamationMark",c[c.Number=35]="Number",c[c.Amp=38]="Amp",c[c.SingleQuote=39]="SingleQuote",c[c.DoubleQuote=34]="DoubleQuote",c[c.Dash=45]="Dash",c[c.Slash=47]="Slash",c[c.Zero=48]="Zero",c[c.Nine=57]="Nine",c[c.Semi=59]="Semi",c[c.Lt=60]="Lt",c[c.Eq=61]="Eq",c[c.Gt=62]="Gt",c[c.Questionmark=63]="Questionmark",c[c.UpperA=65]="UpperA",c[c.LowerA=97]="LowerA",c[c.UpperF=70]="UpperF",c[c.LowerF=102]="LowerF",c[c.UpperZ=90]="UpperZ",c[c.LowerZ=122]="LowerZ",c[c.LowerX=120]="LowerX",c[c.OpeningSquareBracket=91]="OpeningSquareBracket"})(n||(n={}));var s;(function(c){c[c.Text=1]="Text",c[c.BeforeTagName=2]="BeforeTagName",c[c.InTagName=3]="InTagName",c[c.InSelfClosingTag=4]="InSelfClosingTag",c[c.BeforeClosingTagName=5]="BeforeClosingTagName",c[c.InClosingTagName=6]="InClosingTagName",c[c.AfterClosingTagName=7]="AfterClosingTagName",c[c.BeforeAttributeName=8]="BeforeAttributeName",c[c.InAttributeName=9]="InAttributeName",c[c.AfterAttributeName=10]="AfterAttributeName",c[c.BeforeAttributeValue=11]="BeforeAttributeValue",c[c.InAttributeValueDq=12]="InAttributeValueDq",c[c.InAttributeValueSq=13]="InAttributeValueSq",c[c.InAttributeValueNq=14]="InAttributeValueNq",c[c.BeforeDeclaration=15]="BeforeDeclaration",c[c.InDeclaration=16]="InDeclaration",c[c.InProcessingInstruction=17]="InProcessingInstruction",c[c.BeforeComment=18]="BeforeComment",c[c.CDATASequence=19]="CDATASequence",c[c.InSpecialComment=20]="InSpecialComment",c[c.InCommentLike=21]="InCommentLike",c[c.BeforeSpecialS=22]="BeforeSpecialS",c[c.SpecialStartSequence=23]="SpecialStartSequence",c[c.InSpecialTag=24]="InSpecialTag",c[c.BeforeEntity=25]="BeforeEntity",c[c.BeforeNumericEntity=26]="BeforeNumericEntity",c[c.InNamedEntity=27]="InNamedEntity",c[c.InNumericEntity=28]="InNumericEntity",c[c.InHexEntity=29]="InHexEntity"})(s||(s={}));function a(c){return c===n.Space||c===n.NewLine||c===n.Tab||c===n.FormFeed||c===n.CarriageReturn}function o(c){return c===n.Slash||c===n.Gt||a(c)}function i(c){return c>=n.Zero&&c<=n.Nine}function r(c){return c>=n.LowerA&&c<=n.LowerZ||c>=n.UpperA&&c<=n.UpperZ}function u(c){return c>=n.UpperA&&c<=n.UpperF||c>=n.LowerA&&c<=n.LowerF}var l;(function(c){c[c.NoValue=0]="NoValue",c[c.Unquoted=1]="Unquoted",c[c.Single=2]="Single",c[c.Double=3]="Double"})(l=e.QuoteType||(e.QuoteType={}));var d={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},_=function(){function c(T,m){var f=T.xmlMode,R=f===void 0?!1:f,h=T.decodeEntities,O=h===void 0?!0:h;this.cbs=m,this.state=s.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=s.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=R,this.decodeEntities=O,this.entityTrie=R?t.xmlDecodeTree:t.htmlDecodeTree}return c.prototype.reset=function(){this.state=s.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=s.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},c.prototype.write=function(T){this.offset+=this.buffer.length,this.buffer=T,this.parse()},c.prototype.end=function(){this.running&&this.finish()},c.prototype.pause=function(){this.running=!1},c.prototype.resume=function(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=s.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&T===n.Amp&&(this.state=s.BeforeEntity)},c.prototype.stateSpecialStartSequence=function(T){var m=this.sequenceIndex===this.currentSequence.length,f=m?o(T):(T|32)===this.currentSequence[this.sequenceIndex];if(!f)this.isSpecial=!1;else if(!m){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=s.InTagName,this.stateInTagName(T)},c.prototype.stateInSpecialTag=function(T){if(this.sequenceIndex===this.currentSequence.length){if(T===n.Gt||a(T)){var m=this.index-this.currentSequence.length;if(this.sectionStart>14)-1;if(!this.allowLegacyEntity()&&T!==n.Semi)this.trieIndex+=f;else{var R=this.index-this.entityExcess+1;R>this.sectionStart&&this.emitPartial(this.sectionStart,R),this.entityResult=this.trieIndex,this.trieIndex+=f,this.entityExcess=0,this.sectionStart=this.index+1,f===0&&this.emitNamedEntity()}}},c.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var T=(this.entityTrie[this.entityResult]&t.BinTrieFlags.VALUE_LENGTH)>>14;switch(T){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~t.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},c.prototype.stateBeforeNumericEntity=function(T){(T|32)===n.LowerX?(this.entityExcess++,this.state=s.InHexEntity):(this.state=s.InNumericEntity,this.stateInNumericEntity(T))},c.prototype.emitNumericEntity=function(T){var m=this.index-this.entityExcess-1,f=m+2+ +(this.state===s.InHexEntity);f!==this.index&&(m>this.sectionStart&&this.emitPartial(this.sectionStart,m),this.sectionStart=this.index+Number(T),this.emitCodePoint((0,t.replaceCodePoint)(this.entityResult))),this.state=this.baseState},c.prototype.stateInNumericEntity=function(T){T===n.Semi?this.emitNumericEntity(!0):i(T)?(this.entityResult=this.entityResult*10+(T-n.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},c.prototype.stateInHexEntity=function(T){T===n.Semi?this.emitNumericEntity(!0):i(T)?(this.entityResult=this.entityResult*16+(T-n.Zero),this.entityExcess++):u(T)?(this.entityResult=this.entityResult*16+((T|32)-n.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},c.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===s.Text||this.baseState===s.InSpecialTag)},c.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===s.Text||this.state===s.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===s.InAttributeValueDq||this.state===s.InAttributeValueSq||this.state===s.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},c.prototype.shouldContinue=function(){return this.index0&&C.has(this.stack[this.stack.length-1]);){var v=this.stack.pop();(I=(O=this.cbs).onclosetag)===null||I===void 0||I.call(O,v,!0)}this.isVoidElement(h)||(this.stack.push(h),c.has(h)?this.foreignContext.push(!0):T.has(h)&&this.foreignContext.push(!1)),(b=(N=this.cbs).onopentagname)===null||b===void 0||b.call(N,h),this.cbs.onopentag&&(this.attribs={})},R.prototype.endOpenTag=function(h){var O,I;this.startIndex=this.openTagStart,this.attribs&&((I=(O=this.cbs).onopentag)===null||I===void 0||I.call(O,this.tagname,this.attribs,h),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},R.prototype.onopentagend=function(h){this.endIndex=h,this.endOpenTag(!1),this.startIndex=h+1},R.prototype.onclosetag=function(h,O){var I,N,b,C,v,y;this.endIndex=O;var D=this.getSlice(h,O);if(this.lowerCaseTagNames&&(D=D.toLowerCase()),(c.has(D)||T.has(D))&&this.foreignContext.pop(),this.isVoidElement(D))!this.options.xmlMode&&D==="br"&&((N=(I=this.cbs).onopentagname)===null||N===void 0||N.call(I,"br"),(C=(b=this.cbs).onopentag)===null||C===void 0||C.call(b,"br",{},!0),(y=(v=this.cbs).onclosetag)===null||y===void 0||y.call(v,"br",!1));else{var w=this.stack.lastIndexOf(D);if(w!==-1)if(this.cbs.onclosetag)for(var P=this.stack.length-w;P--;)this.cbs.onclosetag(this.stack.pop(),P!==0);else this.stack.length=w;else!this.options.xmlMode&&D==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=O+1},R.prototype.onselfclosingtag=function(h){this.endIndex=h,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=h+1):this.onopentagend(h)},R.prototype.closeCurrentTag=function(h){var O,I,N=this.tagname;this.endOpenTag(h),this.stack[this.stack.length-1]===N&&((I=(O=this.cbs).onclosetag)===null||I===void 0||I.call(O,N,!h),this.stack.pop())},R.prototype.onattribname=function(h,O){this.startIndex=h;var I=this.getSlice(h,O);this.attribname=this.lowerCaseAttributeNames?I.toLowerCase():I},R.prototype.onattribdata=function(h,O){this.attribvalue+=this.getSlice(h,O)},R.prototype.onattribentity=function(h){this.attribvalue+=(0,a.fromCodePoint)(h)},R.prototype.onattribend=function(h,O){var I,N;this.endIndex=O,(N=(I=this.cbs).onattribute)===null||N===void 0||N.call(I,this.attribname,this.attribvalue,h===s.QuoteType.Double?'"':h===s.QuoteType.Single?"'":h===s.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},R.prototype.getInstructionName=function(h){var O=h.search(m),I=O<0?h:h.substr(0,O);return this.lowerCaseTagNames&&(I=I.toLowerCase()),I},R.prototype.ondeclaration=function(h,O){this.endIndex=O;var I=this.getSlice(h,O);if(this.cbs.onprocessinginstruction){var N=this.getInstructionName(I);this.cbs.onprocessinginstruction("!".concat(N),"!".concat(I))}this.startIndex=O+1},R.prototype.onprocessinginstruction=function(h,O){this.endIndex=O;var I=this.getSlice(h,O);if(this.cbs.onprocessinginstruction){var N=this.getInstructionName(I);this.cbs.onprocessinginstruction("?".concat(N),"?".concat(I))}this.startIndex=O+1},R.prototype.oncomment=function(h,O,I){var N,b,C,v;this.endIndex=O,(b=(N=this.cbs).oncomment)===null||b===void 0||b.call(N,this.getSlice(h,O-I)),(v=(C=this.cbs).oncommentend)===null||v===void 0||v.call(C),this.startIndex=O+1},R.prototype.oncdata=function(h,O,I){var N,b,C,v,y,D,w,P,W,Y;this.endIndex=O;var he=this.getSlice(h,O-I);this.options.xmlMode||this.options.recognizeCDATA?((b=(N=this.cbs).oncdatastart)===null||b===void 0||b.call(N),(v=(C=this.cbs).ontext)===null||v===void 0||v.call(C,he),(D=(y=this.cbs).oncdataend)===null||D===void 0||D.call(y)):((P=(w=this.cbs).oncomment)===null||P===void 0||P.call(w,"[CDATA[".concat(he,"]]")),(Y=(W=this.cbs).oncommentend)===null||Y===void 0||Y.call(W)),this.startIndex=O+1},R.prototype.onend=function(){var h,O;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var I=this.stack.length;I>0;this.cbs.onclosetag(this.stack[--I],!0));}(O=(h=this.cbs).onend)===null||O===void 0||O.call(h)},R.prototype.reset=function(){var h,O,I,N;(O=(h=this.cbs).onreset)===null||O===void 0||O.call(h),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(N=(I=this.cbs).onparserinit)===null||N===void 0||N.call(I,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},R.prototype.parseComplete=function(h){this.reset(),this.end(h)},R.prototype.getSlice=function(h,O){for(;h-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var I=this.buffers[0].slice(h-this.bufferOffset,O-this.bufferOffset);O-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),I+=this.buffers[0].slice(0,O-this.bufferOffset);return I},R.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},R.prototype.write=function(h){var O,I;if(this.ended){(I=(O=this.cbs).onerror)===null||I===void 0||I.call(O,new Error(".write() after done!"));return}this.buffers.push(h),this.tokenizer.running&&(this.tokenizer.write(h),this.writeIndex++)},R.prototype.end=function(h){var O,I;if(this.ended){(I=(O=this.cbs).onerror)===null||I===void 0||I.call(O,new Error(".end() after done!"));return}h&&this.write(h),this.ended=!0,this.tokenizer.end()},R.prototype.pause=function(){this.tokenizer.pause()},R.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"childNodes",{get:function(){return this.children},set:function(v){this.children=v},enumerable:!1,configurable:!0}),C}(s);et.NodeWithChildren=u;var l=function(b){e(C,b);function C(){var v=b!==null&&b.apply(this,arguments)||this;return v.type=n.ElementType.CDATA,v}return Object.defineProperty(C.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),C}(u);et.CDATA=l;var d=function(b){e(C,b);function C(){var v=b!==null&&b.apply(this,arguments)||this;return v.type=n.ElementType.Root,v}return Object.defineProperty(C.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),C}(u);et.Document=d;var _=function(b){e(C,b);function C(v,y,D,w){D===void 0&&(D=[]),w===void 0&&(w=v==="script"?n.ElementType.Script:v==="style"?n.ElementType.Style:n.ElementType.Tag);var P=b.call(this,D)||this;return P.name=v,P.attribs=y,P.type=w,P}return Object.defineProperty(C.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"tagName",{get:function(){return this.name},set:function(v){this.name=v},enumerable:!1,configurable:!0}),Object.defineProperty(C.prototype,"attributes",{get:function(){var v=this;return Object.keys(this.attribs).map(function(y){var D,w;return{name:y,value:v.attribs[y],namespace:(D=v["x-attribsNamespace"])===null||D===void 0?void 0:D[y],prefix:(w=v["x-attribsPrefix"])===null||w===void 0?void 0:w[y]}})},enumerable:!1,configurable:!0}),C}(u);et.Element=_;function c(b){return(0,n.isTag)(b)}et.isTag=c;function T(b){return b.type===n.ElementType.CDATA}et.isCDATA=T;function m(b){return b.type===n.ElementType.Text}et.isText=m;function f(b){return b.type===n.ElementType.Comment}et.isComment=f;function R(b){return b.type===n.ElementType.Directive}et.isDirective=R;function h(b){return b.type===n.ElementType.Root}et.isDocument=h;function O(b){return Object.prototype.hasOwnProperty.call(b,"children")}et.hasChildren=O;function I(b,C){C===void 0&&(C=!1);var v;if(m(b))v=new o(b.data);else if(f(b))v=new i(b.data);else if(c(b)){var y=C?N(b.children):[],D=new _(b.name,t({},b.attribs),y);y.forEach(function(Y){return Y.parent=D}),b.namespace!=null&&(D.namespace=b.namespace),b["x-attribsNamespace"]&&(D["x-attribsNamespace"]=t({},b["x-attribsNamespace"])),b["x-attribsPrefix"]&&(D["x-attribsPrefix"]=t({},b["x-attribsPrefix"])),v=D}else if(T(b)){var y=C?N(b.children):[],w=new l(y);y.forEach(function(he){return he.parent=w}),v=w}else if(h(b)){var y=C?N(b.children):[],P=new d(y);y.forEach(function(he){return he.parent=P}),b["x-mode"]&&(P["x-mode"]=b["x-mode"]),v=P}else if(R(b)){var W=new r(b.name,b.data);b["x-name"]!=null&&(W["x-name"]=b["x-name"],W["x-publicId"]=b["x-publicId"],W["x-systemId"]=b["x-systemId"]),v=W}else throw new Error("Not implemented yet: ".concat(b.type));return v.startIndex=b.startIndex,v.endIndex=b.endIndex,b.sourceCodeLocation!=null&&(v.sourceCodeLocation=b.sourceCodeLocation),v}et.cloneNode=I;function N(b){for(var C=b.map(function(y){return I(y,!0)}),v=1;v$\x80-\uFFFF]/g;var t=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);e.getCodePoint=String.prototype.codePointAt!=null?function(a,o){return a.codePointAt(o)}:function(a,o){return(a.charCodeAt(o)&64512)===55296?(a.charCodeAt(o)-55296)*1024+a.charCodeAt(o+1)-56320+65536:a.charCodeAt(o)};function n(a){for(var o="",i=0,r;(r=e.xmlReplacer.exec(a))!==null;){var u=r.index,l=a.charCodeAt(u),d=t.get(l);d!==void 0?(o+=a.substring(i,u)+d,i=u+1):(o+="".concat(a.substring(i,u),"&#x").concat((0,e.getCodePoint)(a,u).toString(16),";"),i=e.xmlReplacer.lastIndex+=+((l&64512)===55296))}return o+a.substr(i)}e.encodeXML=n,e.escape=n;function s(a,o){return function(r){for(var u,l=0,d="";u=a.exec(r);)l!==u.index&&(d+=r.substring(l,u.index)),d+=o.get(u[0].charCodeAt(0)),l=u.index+1;return d+r.substring(l)}}e.escapeUTF8=s(/[&<>'"]/g,t),e.escapeAttribute=s(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),e.escapeText=s(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))}(Lc)),Lc}var mf;function ff(){if(mf)return Ls;mf=1;var e=Ls&&Ls.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ls,"__esModule",{value:!0}),Ls.encodeNonAsciiHTML=Ls.encodeHTML=void 0;var t=e(gst()),n=pE(),s=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function a(r){return i(s,r)}Ls.encodeHTML=a;function o(r){return i(n.xmlReplacer,r)}Ls.encodeNonAsciiHTML=o;function i(r,u){for(var l="",d=0,_;(_=r.exec(u))!==null;){var c=_.index;l+=u.substring(d,c);var T=u.charCodeAt(c),m=t.default.get(T);if(typeof m=="object"){if(c+10&&(v+=_(N.children,b)),(b.xmlMode||!d.has(N.name))&&(v+=""))),v}function R(N){return"<".concat(N.data,">")}function h(N,b){var C,v=N.data||"";return((C=b.encodeEntities)!==null&&C!==void 0?C:b.decodeEntities)!==!1&&!(!b.xmlMode&&N.parent&&r.has(N.parent.name))&&(v=b.xmlMode||b.encodeEntities!=="utf8"?(0,o.encodeXML)(v):(0,o.escapeText)(v)),v}function O(N){return"")}function I(N){return"")}return An}var Of;function E1(){if(Of)return ps;Of=1;var e=ps&&ps.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(ps,"__esModule",{value:!0}),ps.getOuterHTML=a,ps.getInnerHTML=o,ps.getText=i,ps.textContent=r,ps.innerText=u;var t=Ta(),n=e(Cst()),s=ur();function a(l,d){return(0,n.default)(l,d)}function o(l,d){return(0,t.hasChildren)(l)?l.children.map(function(_){return a(_,d)}).join(""):""}function i(l){return Array.isArray(l)?l.map(i).join(""):(0,t.isTag)(l)?l.name==="br"?` +`:i(l.children):(0,t.isCDATA)(l)?i(l.children):(0,t.isText)(l)?l.data:""}function r(l){return Array.isArray(l)?l.map(r).join(""):(0,t.hasChildren)(l)&&!(0,t.isComment)(l)?r(l.children):(0,t.isText)(l)?l.data:""}function u(l){return Array.isArray(l)?l.map(u).join(""):(0,t.hasChildren)(l)&&(l.type===s.ElementType.Tag||(0,t.isCDATA)(l))?u(l.children):(0,t.isText)(l)?l.data:""}return ps}var Zn={},If;function Pst(){if(If)return Zn;If=1,Object.defineProperty(Zn,"__esModule",{value:!0}),Zn.getChildren=t,Zn.getParent=n,Zn.getSiblings=s,Zn.getAttributeValue=a,Zn.hasAttrib=o,Zn.getName=i,Zn.nextElementSibling=r,Zn.prevElementSibling=u;var e=Ta();function t(l){return(0,e.hasChildren)(l)?l.children:[]}function n(l){return l.parent||null}function s(l){var d,_,c=n(l);if(c!=null)return t(c);for(var T=[l],m=l.prev,f=l.next;m!=null;)T.unshift(m),d=m,m=d.prev;for(;f!=null;)T.push(f),_=f,f=_.next;return T}function a(l,d){var _;return(_=l.attribs)===null||_===void 0?void 0:_[d]}function o(l,d){return l.attribs!=null&&Object.prototype.hasOwnProperty.call(l.attribs,d)&&l.attribs[d]!=null}function i(l){return l.name}function r(l){for(var d,_=l.next;_!==null&&!(0,e.isTag)(_);)d=_,_=d.next;return _}function u(l){for(var d,_=l.prev;_!==null&&!(0,e.isTag)(_);)d=_,_=d.prev;return _}return Zn}var ys={},Rf;function Dst(){if(Rf)return ys;Rf=1,Object.defineProperty(ys,"__esModule",{value:!0}),ys.removeElement=e,ys.replaceElement=t,ys.appendChild=n,ys.append=s,ys.prependChild=a,ys.prepend=o;function e(i){if(i.prev&&(i.prev.next=i.next),i.next&&(i.next.prev=i.prev),i.parent){var r=i.parent.children,u=r.lastIndexOf(i);u>=0&&r.splice(u,1)}i.next=null,i.prev=null,i.parent=null}function t(i,r){var u=r.prev=i.prev;u&&(u.next=r);var l=r.next=i.next;l&&(l.prev=r);var d=r.parent=i.parent;if(d){var _=d.children;_[_.lastIndexOf(i)]=r,i.parent=null}}function n(i,r){if(e(r),r.next=null,r.parent=i,i.children.push(r)>1){var u=i.children[i.children.length-2];u.next=r,r.prev=u}else r.prev=null}function s(i,r){e(r);var u=i.parent,l=i.next;if(r.next=l,r.prev=i,i.next=r,r.parent=u,l){if(l.prev=r,u){var d=u.children;d.splice(d.lastIndexOf(l),0,r)}}else u&&u.children.push(r)}function a(i,r){if(e(r),r.parent=i,r.prev=null,i.children.unshift(r)!==1){var u=i.children[1];u.prev=r,r.next=u}else r.next=null}function o(i,r){e(r);var u=i.parent;if(u){var l=u.children;l.splice(l.indexOf(i),0,r)}i.prev&&(i.prev.next=r),r.parent=u,r.prev=i.prev,r.next=i,i.prev=r}return ys}var Us={},Nf;function _1(){if(Nf)return Us;Nf=1,Object.defineProperty(Us,"__esModule",{value:!0}),Us.filter=t,Us.find=n,Us.findOneChild=s,Us.findOne=a,Us.existsOne=o,Us.findAll=i;var e=Ta();function t(r,u,l,d){return l===void 0&&(l=!0),d===void 0&&(d=1/0),n(r,Array.isArray(u)?u:[u],l,d)}function n(r,u,l,d){for(var _=[],c=[Array.isArray(u)?u:[u]],T=[0];;){if(T[0]>=c[0].length){if(T.length===1)return _;c.shift(),T.shift();continue}var m=c[0][T[0]++];if(r(m)&&(_.push(m),--d<=0))return _;l&&(0,e.hasChildren)(m)&&m.children.length>0&&(T.unshift(0),c.unshift(m.children))}}function s(r,u){return u.find(r)}function a(r,u,l){l===void 0&&(l=!0);for(var d=Array.isArray(u)?u:[u],_=0;_0){var T=a(r,c.children,!0);if(T)return T}}return null}function o(r,u){return(Array.isArray(u)?u:[u]).some(function(l){return(0,e.isTag)(l)&&r(l)||(0,e.hasChildren)(l)&&o(r,l.children)})}function i(r,u){for(var l=[],d=[Array.isArray(u)?u:[u]],_=[0];;){if(_[0]>=d[0].length){if(d.length===1)return l;d.shift(),_.shift();continue}var c=d[0][_[0]++];(0,e.isTag)(c)&&r(c)&&l.push(c),(0,e.hasChildren)(c)&&c.children.length>0&&(_.unshift(0),d.unshift(c.children))}}return Us}var $s={},gf;function T1(){if(gf)return $s;gf=1,Object.defineProperty($s,"__esModule",{value:!0}),$s.testElement=i,$s.getElements=r,$s.getElementById=u,$s.getElementsByTagName=l,$s.getElementsByClassName=d,$s.getElementsByTagType=_;var e=Ta(),t=_1(),n={tag_name:function(c){return typeof c=="function"?function(T){return(0,e.isTag)(T)&&c(T.name)}:c==="*"?e.isTag:function(T){return(0,e.isTag)(T)&&T.name===c}},tag_type:function(c){return typeof c=="function"?function(T){return c(T.type)}:function(T){return T.type===c}},tag_contains:function(c){return typeof c=="function"?function(T){return(0,e.isText)(T)&&c(T.data)}:function(T){return(0,e.isText)(T)&&T.data===c}}};function s(c,T){return typeof T=="function"?function(m){return(0,e.isTag)(m)&&T(m.attribs[c])}:function(m){return(0,e.isTag)(m)&&m.attribs[c]===T}}function a(c,T){return function(m){return c(m)||T(m)}}function o(c){var T=Object.keys(c).map(function(m){var f=c[m];return Object.prototype.hasOwnProperty.call(n,m)?n[m](f):s(m,f)});return T.length===0?null:T.reduce(a)}function i(c,T){var m=o(c);return m?m(T):!0}function r(c,T,m,f){f===void 0&&(f=1/0);var R=o(c);return R?(0,t.filter)(R,T,m,f):[]}function u(c,T,m){return m===void 0&&(m=!0),Array.isArray(T)||(T=[T]),(0,t.findOne)(s("id",c),T,m)}function l(c,T,m,f){return m===void 0&&(m=!0),f===void 0&&(f=1/0),(0,t.filter)(n.tag_name(c),T,m,f)}function d(c,T,m,f){return m===void 0&&(m=!0),f===void 0&&(f=1/0),(0,t.filter)(s("class",c),T,m,f)}function _(c,T,m,f){return m===void 0&&(m=!0),f===void 0&&(f=1/0),(0,t.filter)(n.tag_type(c),T,m,f)}return $s}var ea={},bf;function Lst(){if(bf)return ea;bf=1,Object.defineProperty(ea,"__esModule",{value:!0}),ea.DocumentPosition=void 0,ea.removeSubsets=t,ea.compareDocumentPosition=s,ea.uniqueSort=a;var e=Ta();function t(o){for(var i=o.length;--i>=0;){var r=o[i];if(i>0&&o.lastIndexOf(r,i-1)>=0){o.splice(i,1);continue}for(var u=r.parent;u;u=u.parent)if(o.includes(u)){o.splice(i,1);break}}return o}var n;(function(o){o[o.DISCONNECTED=1]="DISCONNECTED",o[o.PRECEDING=2]="PRECEDING",o[o.FOLLOWING=4]="FOLLOWING",o[o.CONTAINS=8]="CONTAINS",o[o.CONTAINED_BY=16]="CONTAINED_BY"})(n||(ea.DocumentPosition=n={}));function s(o,i){var r=[],u=[];if(o===i)return 0;for(var l=(0,e.hasChildren)(o)?o:o.parent;l;)r.unshift(l),l=l.parent;for(l=(0,e.hasChildren)(i)?i:i.parent;l;)u.unshift(l),l=l.parent;for(var d=Math.min(r.length,u.length),_=0;_T.indexOf(f)?c===i?n.FOLLOWING|n.CONTAINED_BY:n.FOLLOWING:c===o?n.PRECEDING|n.CONTAINS:n.PRECEDING}function a(o){return o=o.filter(function(i,r,u){return!u.includes(i,r+1)}),o.sort(function(i,r){var u=s(i,r);return u&n.PRECEDING?-1:u&n.FOLLOWING?1:0}),o}return ea}var Dr={},vf;function yst(){if(vf)return Dr;vf=1,Object.defineProperty(Dr,"__esModule",{value:!0}),Dr.getFeed=n;var e=E1(),t=T1();function n(c){var T=u(_,c);return T?T.name==="feed"?s(T):a(T):null}function s(c){var T,m=c.children,f={type:"atom",items:(0,t.getElementsByTagName)("entry",m).map(function(O){var I,N=O.children,b={media:r(N)};d(b,"id","id",N),d(b,"title","title",N);var C=(I=u("link",N))===null||I===void 0?void 0:I.attribs.href;C&&(b.link=C);var v=l("summary",N)||l("content",N);v&&(b.description=v);var y=l("updated",N);return y&&(b.pubDate=new Date(y)),b})};d(f,"id","id",m),d(f,"title","title",m);var R=(T=u("link",m))===null||T===void 0?void 0:T.attribs.href;R&&(f.link=R),d(f,"description","subtitle",m);var h=l("updated",m);return h&&(f.updated=new Date(h)),d(f,"author","email",m,!0),f}function a(c){var T,m,f=(m=(T=u("channel",c.children))===null||T===void 0?void 0:T.children)!==null&&m!==void 0?m:[],R={type:c.name.substr(0,3),id:"",items:(0,t.getElementsByTagName)("item",c.children).map(function(O){var I=O.children,N={media:r(I)};d(N,"id","guid",I),d(N,"title","title",I),d(N,"link","link",I),d(N,"description","description",I);var b=l("pubDate",I)||l("dc:date",I);return b&&(N.pubDate=new Date(b)),N})};d(R,"title","title",f),d(R,"link","link",f),d(R,"description","description",f);var h=l("lastBuildDate",f);return h&&(R.updated=new Date(h)),d(R,"author","managingEditor",f,!0),R}var o=["url","type","lang"],i=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function r(c){return(0,t.getElementsByTagName)("media:content",c).map(function(T){for(var m=T.attribs,f={medium:m.medium,isDefault:!!m.isDefault},R=0,h=o;R{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}),Uc}var Lr={},Lf;function kst(){if(Lf)return Lr;Lf=1,Object.defineProperty(Lr,"__esModule",{value:!0});/*! * is-plain-object * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. - */function e(n){return Object.prototype.toString.call(n)==="[object Object]"}function t(n){var s,a;return e(n)===!1?!1:(s=n.constructor,s===void 0?!0:(a=s.prototype,!(e(a)===!1||a.hasOwnProperty("isPrototypeOf")===!1)))}return Lr.isPlainObject=t,Lr}var $c,vf;function Ost(){if(vf)return $c;vf=1;var e=function(O){return t(O)&&!n(O)};function t(h){return!!h&&typeof h=="object"}function n(h){var O=Object.prototype.toString.call(h);return O==="[object RegExp]"||O==="[object Date]"||o(h)}var s=typeof Symbol=="function"&&Symbol.for,a=s?Symbol.for("react.element"):60103;function o(h){return h.$$typeof===a}function i(h){return Array.isArray(h)?[]:{}}function r(h,O){return O.clone!==!1&&O.isMergeableObject(h)?S(i(h),h,O):h}function u(h,O,I){return h.concat(O).map(function(N){return r(N,I)})}function l(h,O){if(!O.customMerge)return S;var I=O.customMerge(h);return typeof I=="function"?I:S}function d(h){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(h).filter(function(O){return Object.propertyIsEnumerable.call(h,O)}):[]}function _(h){return Object.keys(h).concat(d(h))}function c(h,O){try{return O in h}catch{return!1}}function T(h,O){return c(h,O)&&!(Object.hasOwnProperty.call(h,O)&&Object.propertyIsEnumerable.call(h,O))}function m(h,O,I){var N={};return I.isMergeableObject(h)&&_(h).forEach(function(b){N[b]=r(h[b],I)}),_(O).forEach(function(b){T(h,b)||(c(h,b)&&I.isMergeableObject(O[b])?N[b]=l(b,I)(h[b],O[b],I):N[b]=r(O[b],I))}),N}function S(h,O,I){I=I||{},I.arrayMerge=I.arrayMerge||u,I.isMergeableObject=I.isMergeableObject||e,I.cloneUnlessOtherwiseSpecified=r;var N=Array.isArray(O),b=Array.isArray(h),P=N===b;return P?N?I.arrayMerge(h,O,I):m(h,O,I):r(O,I)}S.all=function(O,I){if(!Array.isArray(O))throw new Error("first argument should be an array");return O.reduce(function(N,b){return S(N,b,I)},{})};var R=S;return $c=R,$c}var Qr={exports:{}},Ist=Qr.exports,yf;function Rst(){return yf||(yf=1,function(e){(function(t,n){e.exports?e.exports=n():t.parseSrcset=n()})(Ist,function(){return function(t){function n(N){return N===" "||N===" "||N===` -`||N==="\f"||N==="\r"}function s(N){var b,P=N.exec(t.substring(R));if(P)return b=P[0],R+=b.length,b}for(var a=t.length,o=/^[ \t\n\r\u000c]+/,i=/^[, \t\n\r\u000c]+/,r=/^[^ \t\n\r\u000c]+/,u=/[,]+$/,l=/^\d+$/,d=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,_,c,T,m,S,R=0,h=[];;){if(s(i),R>=a)return h;_=s(r),c=[],_.slice(-1)===","?(_=_.replace(u,""),I()):O()}function O(){for(s(o),T="",m="in descriptor";;){if(S=t.charAt(R),m==="in descriptor")if(n(S))T&&(c.push(T),T="",m="after descriptor");else if(S===","){R+=1,T&&c.push(T),I();return}else if(S==="(")T=T+S,m="in parens";else if(S===""){T&&c.push(T),I();return}else T=T+S;else if(m==="in parens")if(S===")")T=T+S,m="in descriptor";else if(S===""){c.push(T),I();return}else T=T+S;else if(m==="after descriptor"&&!n(S))if(S===""){I();return}else m="in descriptor",R-=1;R+=1}}function I(){var N=!1,b,P,C,y,L={},w,D,W,Y,he;for(y=0;y",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(a){if(!this.source)return"";let o=this.source;a==null&&(a=e.isColorSupported);let i=T=>T,r=T=>T,u=T=>T;if(a){let{bold:T,gray:m,red:S}=e.createColors(!0);r=R=>T(S(R)),i=R=>m(R),t&&(u=R=>t(R))}let l=o.split(/\r?\n/),d=Math.max(this.line-3,0),_=Math.min(this.line+2,l.length),c=String(_).length;return l.slice(d,_).map((T,m)=>{let S=d+1+m,R=" "+(" "+S).slice(-c)+" | ";if(S===this.line){if(T.length>160){let O=20,I=Math.max(0,this.column-O),N=Math.max(this.column+O,this.endColumn+O),b=T.slice(I,N),P=i(R.replace(/\d/g," "))+T.slice(0,Math.min(this.column-1,O-1)).replace(/[^\t]/g," ");return r(">")+i(R)+u(b)+` - `+P+r("^")}let h=i(R.replace(/\d/g," "))+T.slice(0,this.column-1).replace(/[^\t]/g," ");return r(">")+i(R)+u(T)+` + */function e(n){return Object.prototype.toString.call(n)==="[object Object]"}function t(n){var s,a;return e(n)===!1?!1:(s=n.constructor,s===void 0?!0:(a=s.prototype,!(e(a)===!1||a.hasOwnProperty("isPrototypeOf")===!1)))}return Lr.isPlainObject=t,Lr}var $c,yf;function wst(){if(yf)return $c;yf=1;var e=function(O){return t(O)&&!n(O)};function t(h){return!!h&&typeof h=="object"}function n(h){var O=Object.prototype.toString.call(h);return O==="[object RegExp]"||O==="[object Date]"||o(h)}var s=typeof Symbol=="function"&&Symbol.for,a=s?Symbol.for("react.element"):60103;function o(h){return h.$$typeof===a}function i(h){return Array.isArray(h)?[]:{}}function r(h,O){return O.clone!==!1&&O.isMergeableObject(h)?f(i(h),h,O):h}function u(h,O,I){return h.concat(O).map(function(N){return r(N,I)})}function l(h,O){if(!O.customMerge)return f;var I=O.customMerge(h);return typeof I=="function"?I:f}function d(h){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(h).filter(function(O){return Object.propertyIsEnumerable.call(h,O)}):[]}function _(h){return Object.keys(h).concat(d(h))}function c(h,O){try{return O in h}catch{return!1}}function T(h,O){return c(h,O)&&!(Object.hasOwnProperty.call(h,O)&&Object.propertyIsEnumerable.call(h,O))}function m(h,O,I){var N={};return I.isMergeableObject(h)&&_(h).forEach(function(b){N[b]=r(h[b],I)}),_(O).forEach(function(b){T(h,b)||(c(h,b)&&I.isMergeableObject(O[b])?N[b]=l(b,I)(h[b],O[b],I):N[b]=r(O[b],I))}),N}function f(h,O,I){I=I||{},I.arrayMerge=I.arrayMerge||u,I.isMergeableObject=I.isMergeableObject||e,I.cloneUnlessOtherwiseSpecified=r;var N=Array.isArray(O),b=Array.isArray(h),C=N===b;return C?N?I.arrayMerge(h,O,I):m(h,O,I):r(O,I)}f.all=function(O,I){if(!Array.isArray(O))throw new Error("first argument should be an array");return O.reduce(function(N,b){return f(N,b,I)},{})};var R=f;return $c=R,$c}var Zr={exports:{}},Mst=Zr.exports,Uf;function Wst(){return Uf||(Uf=1,function(e){(function(t,n){e.exports?e.exports=n():t.parseSrcset=n()})(Mst,function(){return function(t){function n(N){return N===" "||N===" "||N===` +`||N==="\f"||N==="\r"}function s(N){var b,C=N.exec(t.substring(R));if(C)return b=C[0],R+=b.length,b}for(var a=t.length,o=/^[ \t\n\r\u000c]+/,i=/^[, \t\n\r\u000c]+/,r=/^[^ \t\n\r\u000c]+/,u=/[,]+$/,l=/^\d+$/,d=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,_,c,T,m,f,R=0,h=[];;){if(s(i),R>=a)return h;_=s(r),c=[],_.slice(-1)===","?(_=_.replace(u,""),I()):O()}function O(){for(s(o),T="",m="in descriptor";;){if(f=t.charAt(R),m==="in descriptor")if(n(f))T&&(c.push(T),T="",m="after descriptor");else if(f===","){R+=1,T&&c.push(T),I();return}else if(f==="(")T=T+f,m="in parens";else if(f===""){T&&c.push(T),I();return}else T=T+f;else if(m==="in parens")if(f===")")T=T+f,m="in descriptor";else if(f===""){c.push(T),I();return}else T=T+f;else if(m==="after descriptor"&&!n(f))if(f===""){I();return}else m="in descriptor",R-=1;R+=1}}function I(){var N=!1,b,C,v,y,D={},w,P,W,Y,he;for(y=0;y",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(a){if(!this.source)return"";let o=this.source;a==null&&(a=e.isColorSupported);let i=T=>T,r=T=>T,u=T=>T;if(a){let{bold:T,gray:m,red:f}=e.createColors(!0);r=R=>T(f(R)),i=R=>m(R),t&&(u=R=>t(R))}let l=o.split(/\r?\n/),d=Math.max(this.line-3,0),_=Math.min(this.line+2,l.length),c=String(_).length;return l.slice(d,_).map((T,m)=>{let f=d+1+m,R=" "+(" "+f).slice(-c)+" | ";if(f===this.line){if(T.length>160){let O=20,I=Math.max(0,this.column-O),N=Math.max(this.column+O,this.endColumn+O),b=T.slice(I,N),C=i(R.replace(/\d/g," "))+T.slice(0,Math.min(this.column-1,O-1)).replace(/[^\t]/g," ");return r(">")+i(R)+u(b)+` + `+C+r("^")}let h=i(R.replace(/\d/g," "))+T.slice(0,this.column-1).replace(/[^\t]/g," ");return r(">")+i(R)+u(T)+` `+h+r("^")}return" "+i(R)+u(T)}).join(` `)}toString(){let a=this.showSourceCode();return a&&(a=` `+a+` -`),this.name+": "+this.message+a}}return kc=n,n.default=n,kc}var wc,kf;function T1(){if(kf)return wc;kf=1;const e={after:` +`),this.name+": "+this.message+a}}return kc=n,n.default=n,kc}var wc,wf;function p1(){if(wf)return wc;wf=1;const e={after:` `,beforeClose:` `,beforeComment:` `,beforeDecl:` @@ -332,24 +332,24 @@ Please report this to https://github.com/markedjs/marked.`,t){const a="

    An err `)&&(i=i.replace(/[^\n]+$/,"")),!1}),typeof i>"u"?i=this.raw(o,null,"beforeDecl"):i&&(i=i.replace(/\S/g,"")),i}rawBeforeDecl(a,o){let i;return a.walkDecls(r=>{if(typeof r.raws.before<"u")return i=r.raws.before,i.includes(` `)&&(i=i.replace(/[^\n]+$/,"")),!1}),typeof i>"u"?i=this.raw(o,null,"beforeRule"):i&&(i=i.replace(/\S/g,"")),i}rawBeforeOpen(a){let o;return a.walk(i=>{if(i.type!=="decl"&&(o=i.raws.between,typeof o<"u"))return!1}),o}rawBeforeRule(a){let o;return a.walk(i=>{if(i.nodes&&(i.parent!==a||a.first!==i)&&typeof i.raws.before<"u")return o=i.raws.before,o.includes(` `)&&(o=o.replace(/[^\n]+$/,"")),!1}),o&&(o=o.replace(/\S/g,"")),o}rawColon(a){let o;return a.walkDecls(i=>{if(typeof i.raws.between<"u")return o=i.raws.between.replace(/[^\s:]/g,""),!1}),o}rawEmptyBody(a){let o;return a.walk(i=>{if(i.nodes&&i.nodes.length===0&&(o=i.raws.after,typeof o<"u"))return!1}),o}rawIndent(a){if(a.raws.indent)return a.raws.indent;let o;return a.walk(i=>{let r=i.parent;if(r&&r!==a&&r.parent&&r.parent===a&&typeof i.raws.before<"u"){let u=i.raws.before.split(` -`);return o=u[u.length-1],o=o.replace(/\S/g,""),!1}}),o}rawSemicolon(a){let o;return a.walk(i=>{if(i.nodes&&i.nodes.length&&i.last.type==="decl"&&(o=i.raws.semicolon,typeof o<"u"))return!1}),o}rawValue(a,o){let i=a[o],r=a.raws[o];return r&&r.value===i?r.raw:i}root(a){this.body(a),a.raws.after&&this.builder(a.raws.after)}rule(a){this.block(a,this.rawValue(a,"selector")),a.raws.ownSemicolon&&this.builder(a.raws.ownSemicolon,a,"end")}stringify(a,o){if(!this[a.type])throw new Error("Unknown AST node type "+a.type+". Maybe you need to change PostCSS stringifier.");this[a.type](a,o)}}return wc=n,n.default=n,wc}var Mc,wf;function yl(){if(wf)return Mc;wf=1;let e=T1();function t(n,s){new e(s).stringify(n)}return Mc=t,t.default=t,Mc}var yr={},Mf;function P_(){return Mf||(Mf=1,yr.isClean=Symbol("isClean"),yr.my=Symbol("my")),yr}var Wc,Wf;function Ul(){if(Wf)return Wc;Wf=1;let e=C_(),t=T1(),n=yl(),{isClean:s,my:a}=P_();function o(u,l){let d=new u.constructor;for(let _ in u){if(!Object.prototype.hasOwnProperty.call(u,_)||_==="proxyCache")continue;let c=u[_],T=typeof c;_==="parent"&&T==="object"?l&&(d[_]=l):_==="source"?d[_]=c:Array.isArray(c)?d[_]=c.map(m=>o(m,d)):(T==="object"&&c!==null&&(c=o(c)),d[_]=c)}return d}function i(u,l){if(l&&typeof l.offset<"u")return l.offset;let d=1,_=1,c=0;for(let T=0;Tl.root().toProxy():l[d]},set(l,d,_){return l[d]===_||(l[d]=_,(d==="prop"||d==="value"||d==="name"||d==="params"||d==="important"||d==="text")&&l.markDirty()),!0}}}markClean(){this[s]=!0}markDirty(){if(this[s]){this[s]=!1;let l=this;for(;l=l.parent;)l[s]=!1}}next(){if(!this.parent)return;let l=this.parent.index(this);return this.parent.nodes[l+1]}positionBy(l){let d=this.source.start;if(l.index)d=this.positionInside(l.index);else if(l.word){let c=this.source.input.css.slice(i(this.source.input.css,this.source.start),i(this.source.input.css,this.source.end)).indexOf(l.word);c!==-1&&(d=this.positionInside(c))}return d}positionInside(l){let d=this.source.start.column,_=this.source.start.line,c=i(this.source.input.css,this.source.start),T=c+l;for(let m=c;mtypeof R=="object"&&R.toJSON?R.toJSON(null,d):R);else if(typeof S=="object"&&S.toJSON)_[m]=S.toJSON(null,d);else if(m==="source"){let R=d.get(S.input);R==null&&(R=T,d.set(S.input,T),T++),_[m]={end:S.end,inputId:R,start:S.start}}else _[m]=S}return c&&(_.inputs=[...d.keys()].map(m=>m.toJSON())),_}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(l=n){l.stringify&&(l=l.stringify);let d="";return l(this,_=>{d+=_}),d}warn(l,d,_){let c={node:this};for(let T in _)c[T]=_[T];return l.warn(d,c)}get proxyOf(){return this}}return Wc=r,r.default=r,Wc}var Fc,Ff;function $l(){if(Ff)return Fc;Ff=1;let e=Ul();class t extends e{constructor(s){super(s),this.type="comment"}}return Fc=t,t.default=t,Fc}var zc,zf;function kl(){if(zf)return zc;zf=1;let e=Ul();class t extends e{constructor(s){s&&typeof s.value<"u"&&typeof s.value!="string"&&(s={...s,value:String(s.value)}),super(s),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}return zc=t,t.default=t,zc}var Bc,Bf;function qa(){if(Bf)return Bc;Bf=1;let e=$l(),t=kl(),n=Ul(),{isClean:s,my:a}=P_(),o,i,r,u;function l(c){return c.map(T=>(T.nodes&&(T.nodes=l(T.nodes)),delete T.source,T))}function d(c){if(c[s]=!1,c.proxyOf.nodes)for(let T of c.proxyOf.nodes)d(T)}class _ extends n{append(...T){for(let m of T){let S=this.normalize(m,this.last);for(let R of S)this.proxyOf.nodes.push(R)}return this.markDirty(),this}cleanRaws(T){if(super.cleanRaws(T),this.nodes)for(let m of this.nodes)m.cleanRaws(T)}each(T){if(!this.proxyOf.nodes)return;let m=this.getIterator(),S,R;for(;this.indexes[m]T[m](...S.map(R=>typeof R=="function"?(h,O)=>R(h.toProxy(),O):R)):m==="every"||m==="some"?S=>T[m]((R,...h)=>S(R.toProxy(),...h)):m==="root"?()=>T.root().toProxy():m==="nodes"?T.nodes.map(S=>S.toProxy()):m==="first"||m==="last"?T[m].toProxy():T[m]:T[m]},set(T,m,S){return T[m]===S||(T[m]=S,(m==="name"||m==="params"||m==="selector")&&T.markDirty()),!0}}}index(T){return typeof T=="number"?T:(T.proxyOf&&(T=T.proxyOf),this.proxyOf.nodes.indexOf(T))}insertAfter(T,m){let S=this.index(T),R=this.normalize(m,this.proxyOf.nodes[S]).reverse();S=this.index(T);for(let O of R)this.proxyOf.nodes.splice(S+1,0,O);let h;for(let O in this.indexes)h=this.indexes[O],S"u")T=[];else if(Array.isArray(T)){T=T.slice(0);for(let R of T)R.parent&&R.parent.removeChild(R,"ignore")}else if(T.type==="root"&&this.type!=="document"){T=T.nodes.slice(0);for(let R of T)R.parent&&R.parent.removeChild(R,"ignore")}else if(T.type)T=[T];else if(T.prop){if(typeof T.value>"u")throw new Error("Value field is missed in node creation");typeof T.value!="string"&&(T.value=String(T.value)),T=[new t(T)]}else if(T.selector||T.selectors)T=[new u(T)];else if(T.name)T=[new o(T)];else if(T.text)T=[new e(T)];else throw new Error("Unknown node type in node creation");return T.map(R=>(R[a]||_.rebuild(R),R=R.proxyOf,R.parent&&R.parent.removeChild(R),R[s]&&d(R),R.raws||(R.raws={}),typeof R.raws.before>"u"&&m&&typeof m.raws.before<"u"&&(R.raws.before=m.raws.before.replace(/\S/g,"")),R.parent=this.proxyOf,R))}prepend(...T){T=T.reverse();for(let m of T){let S=this.normalize(m,this.first,"prepend").reverse();for(let R of S)this.proxyOf.nodes.unshift(R);for(let R in this.indexes)this.indexes[R]=this.indexes[R]+S.length}return this.markDirty(),this}push(T){return T.parent=this,this.proxyOf.nodes.push(T),this}removeAll(){for(let T of this.proxyOf.nodes)T.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(T){T=this.index(T),this.proxyOf.nodes[T].parent=void 0,this.proxyOf.nodes.splice(T,1);let m;for(let S in this.indexes)m=this.indexes[S],m>=T&&(this.indexes[S]=m-1);return this.markDirty(),this}replaceValues(T,m,S){return S||(S=m,m={}),this.walkDecls(R=>{m.props&&!m.props.includes(R.prop)||m.fast&&!R.value.includes(m.fast)||(R.value=R.value.replace(T,S))}),this.markDirty(),this}some(T){return this.nodes.some(T)}walk(T){return this.each((m,S)=>{let R;try{R=T(m,S)}catch(h){throw m.addToError(h)}return R!==!1&&m.walk&&(R=m.walk(T)),R})}walkAtRules(T,m){return m?T instanceof RegExp?this.walk((S,R)=>{if(S.type==="atrule"&&T.test(S.name))return m(S,R)}):this.walk((S,R)=>{if(S.type==="atrule"&&S.name===T)return m(S,R)}):(m=T,this.walk((S,R)=>{if(S.type==="atrule")return m(S,R)}))}walkComments(T){return this.walk((m,S)=>{if(m.type==="comment")return T(m,S)})}walkDecls(T,m){return m?T instanceof RegExp?this.walk((S,R)=>{if(S.type==="decl"&&T.test(S.prop))return m(S,R)}):this.walk((S,R)=>{if(S.type==="decl"&&S.prop===T)return m(S,R)}):(m=T,this.walk((S,R)=>{if(S.type==="decl")return m(S,R)}))}walkRules(T,m){return m?T instanceof RegExp?this.walk((S,R)=>{if(S.type==="rule"&&T.test(S.selector))return m(S,R)}):this.walk((S,R)=>{if(S.type==="rule"&&S.selector===T)return m(S,R)}):(m=T,this.walk((S,R)=>{if(S.type==="rule")return m(S,R)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}return _.registerParse=c=>{i=c},_.registerRule=c=>{u=c},_.registerAtRule=c=>{o=c},_.registerRoot=c=>{r=c},Bc=_,_.default=_,_.rebuild=c=>{c.type==="atrule"?Object.setPrototypeOf(c,o.prototype):c.type==="rule"?Object.setPrototypeOf(c,u.prototype):c.type==="decl"?Object.setPrototypeOf(c,t.prototype):c.type==="comment"?Object.setPrototypeOf(c,e.prototype):c.type==="root"&&Object.setPrototypeOf(c,r.prototype),c[a]=!0,c.nodes&&c.nodes.forEach(T=>{_.rebuild(T)})},Bc}var Gc,Gf;function D_(){if(Gf)return Gc;Gf=1;let e=qa();class t extends e{constructor(s){super(s),this.type="atrule"}append(...s){return this.proxyOf.nodes||(this.nodes=[]),super.append(...s)}prepend(...s){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...s)}}return Gc=t,t.default=t,e.registerAtRule(t),Gc}var xc,xf;function L_(){if(xf)return xc;xf=1;let e=qa(),t,n;class s extends e{constructor(o){super({type:"document",...o}),this.nodes||(this.nodes=[])}toResult(o={}){return new t(new n,this,o).stringify()}}return s.registerLazyResult=a=>{t=a},s.registerProcessor=a=>{n=a},xc=s,s.default=s,xc}var Vc,Vf;function Cst(){if(Vf)return Vc;Vf=1;let e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return Vc={nanoid:(s=21)=>{let a="",o=s|0;for(;o--;)a+=e[Math.random()*64|0];return a},customAlphabet:(s,a=21)=>(o=a)=>{let i="",r=o|0;for(;r--;)i+=s[Math.random()*s.length|0];return i}},Vc}var Hc,Hf;function p1(){if(Hf)return Hc;Hf=1;let{existsSync:e,readFileSync:t}=as,{dirname:n,join:s}=as,{SourceMapConsumer:a,SourceMapGenerator:o}=as;function i(u){return Buffer?Buffer.from(u,"base64").toString():window.atob(u)}class r{constructor(l,d){if(d.map===!1)return;this.loadAnnotation(l),this.inline=this.startWith(this.annotation,"data:");let _=d.map?d.map.prev:void 0,c=this.loadMap(d.from,_);!this.mapFile&&d.from&&(this.mapFile=d.from),this.mapFile&&(this.root=n(this.mapFile)),c&&(this.text=c)}consumer(){return this.consumerCache||(this.consumerCache=new a(this.text)),this.consumerCache}decodeInline(l){let d=/^data:application\/json;charset=utf-?8;base64,/,_=/^data:application\/json;base64,/,c=/^data:application\/json;charset=utf-?8,/,T=/^data:application\/json,/,m=l.match(c)||l.match(T);if(m)return decodeURIComponent(l.substr(m[0].length));let S=l.match(d)||l.match(_);if(S)return i(l.substr(S[0].length));let R=l.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+R)}getAnnotationURL(l){return l.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(l){return typeof l!="object"?!1:typeof l.mappings=="string"||typeof l._mappings=="string"||Array.isArray(l.sections)}loadAnnotation(l){let d=l.match(/\/\*\s*# sourceMappingURL=/g);if(!d)return;let _=l.lastIndexOf(d.pop()),c=l.indexOf("*/",_);_>-1&&c>-1&&(this.annotation=this.getAnnotationURL(l.substring(_,c)))}loadFile(l){if(this.root=n(l),e(l))return this.mapFile=l,t(l,"utf-8").toString().trim()}loadMap(l,d){if(d===!1)return!1;if(d){if(typeof d=="string")return d;if(typeof d=="function"){let _=d(l);if(_){let c=this.loadFile(_);if(!c)throw new Error("Unable to load previous source map: "+_.toString());return c}}else{if(d instanceof a)return o.fromSourceMap(d).toString();if(d instanceof o)return d.toString();if(this.isMap(d))return JSON.stringify(d);throw new Error("Unsupported previous source map format: "+d.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let _=this.annotation;return l&&(_=s(n(l),_)),this.loadFile(_)}}}startWith(l,d){return l?l.substr(0,d.length)===d:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return Hc=r,r.default=r,Hc}var Kc,Kf;function wl(){if(Kf)return Kc;Kf=1;let{nanoid:e}=Cst(),{isAbsolute:t,resolve:n}=as,{SourceMapConsumer:s,SourceMapGenerator:a}=as,{fileURLToPath:o,pathToFileURL:i}=as,r=C_(),u=p1(),l=as,d=Symbol("fromOffsetCache"),_=!!(s&&a),c=!!(n&&t);class T{constructor(S,R={}){if(S===null||typeof S>"u"||typeof S=="object"&&!S.toString)throw new Error(`PostCSS received ${S} instead of CSS string`);if(this.css=S.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,R.from&&(!c||/^\w+:\/\//.test(R.from)||t(R.from)?this.file=R.from:this.file=n(R.from)),c&&_){let h=new u(this.css,R);if(h.text){this.map=h;let O=h.consumer().file;!this.file&&O&&(this.file=this.mapResolve(O))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(S,R,h,O={}){let I,N,b;if(R&&typeof R=="object"){let C=R,y=h;if(typeof C.offset=="number"){let L=this.fromOffset(C.offset);R=L.line,h=L.col}else R=C.line,h=C.column;if(typeof y.offset=="number"){let L=this.fromOffset(y.offset);N=L.line,I=L.col}else N=y.line,I=y.column}else if(!h){let C=this.fromOffset(R);R=C.line,h=C.col}let P=this.origin(R,h,N,I);return P?b=new r(S,P.endLine===void 0?P.line:{column:P.column,line:P.line},P.endLine===void 0?P.column:{column:P.endColumn,line:P.endLine},P.source,P.file,O.plugin):b=new r(S,N===void 0?R:{column:h,line:R},N===void 0?h:{column:I,line:N},this.css,this.file,O.plugin),b.input={column:h,endColumn:I,endLine:N,line:R,source:this.css},this.file&&(i&&(b.input.url=i(this.file).toString()),b.input.file=this.file),b}fromOffset(S){let R,h;if(this[d])h=this[d];else{let I=this.css.split(` -`);h=new Array(I.length);let N=0;for(let b=0,P=I.length;b=R)O=h.length-1;else{let I=h.length-2,N;for(;O>1),S=h[N+1])O=N+1;else{O=N;break}}return{col:S-h[O]+1,line:O+1}}mapResolve(S){return/^\w+:\/\//.test(S)?S:n(this.map.consumer().sourceRoot||this.map.root||".",S)}origin(S,R,h,O){if(!this.map)return!1;let I=this.map.consumer(),N=I.originalPositionFor({column:R,line:S});if(!N.source)return!1;let b;typeof h=="number"&&(b=I.originalPositionFor({column:O,line:h}));let P;t(N.source)?P=i(N.source):P=new URL(N.source,this.map.consumer().sourceRoot||i(this.map.mapFile));let C={column:N.column,endColumn:b&&b.column,endLine:b&&b.line,line:N.line,url:P.toString()};if(P.protocol==="file:")if(o)C.file=o(P);else throw new Error("file: protocol is not available in this PostCSS build");let y=I.sourceContentFor(N.source);return y&&(C.source=y),C}toJSON(){let S={};for(let R of["hasBOM","css","file","id"])this[R]!=null&&(S[R]=this[R]);return this.map&&(S.map={...this.map},S.map.consumerCache&&(S.map.consumerCache=void 0)),S}get from(){return this.file||this.id}}return Kc=T,T.default=T,l&&l.registerInput&&l.registerInput(T),Kc}var Yc,Yf;function lr(){if(Yf)return Yc;Yf=1;let e=qa(),t,n;class s extends e{constructor(o){super(o),this.type="root",this.nodes||(this.nodes=[])}normalize(o,i,r){let u=super.normalize(o);if(i){if(r==="prepend")this.nodes.length>1?i.raws.before=this.nodes[1].raws.before:delete i.raws.before;else if(this.first!==i)for(let l of u)l.raws.before=i.raws.before}return u}removeChild(o,i){let r=this.index(o);return!i&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(o)}toResult(o={}){return new t(new n,this,o).stringify()}}return s.registerLazyResult=a=>{t=a},s.registerProcessor=a=>{n=a},Yc=s,s.default=s,e.registerRoot(s),Yc}var qc,qf;function m1(){if(qf)return qc;qf=1;let e={comma(t){return e.split(t,[","],!0)},space(t){let n=[" ",` -`," "];return e.split(t,n)},split(t,n,s){let a=[],o="",i=!1,r=0,u=!1,l="",d=!1;for(let _ of t)d?d=!1:_==="\\"?d=!0:u?_===l&&(u=!1):_==='"'||_==="'"?(u=!0,l=_):_==="("?r+=1:_===")"?r>0&&(r-=1):r===0&&n.includes(_)&&(i=!0),i?(o!==""&&a.push(o.trim()),o="",i=!1):o+=_;return(s||o!=="")&&a.push(o.trim()),a}};return qc=e,e.default=e,qc}var jc,jf;function v_(){if(jf)return jc;jf=1;let e=qa(),t=m1();class n extends e{constructor(a){super(a),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return t.comma(this.selector)}set selectors(a){let o=this.selector?this.selector.match(/,\s*/):null,i=o?o[0]:","+this.raw("between","beforeOpen");this.selector=a.join(i)}}return jc=n,n.default=n,e.registerRule(n),jc}var Xc,Xf;function Pst(){if(Xf)return Xc;Xf=1;let e=D_(),t=$l(),n=kl(),s=wl(),a=p1(),o=lr(),i=v_();function r(u,l){if(Array.isArray(u))return u.map(c=>r(c));let{inputs:d,..._}=u;if(d){l=[];for(let c of d){let T={...c,__proto__:s.prototype};T.map&&(T.map={...T.map,__proto__:a.prototype}),l.push(T)}}if(_.nodes&&(_.nodes=u.nodes.map(c=>r(c,l))),_.source){let{inputId:c,...T}=_.source;_.source=T,c!=null&&(_.source.input=l[c])}if(_.type==="root")return new o(_);if(_.type==="decl")return new n(_);if(_.type==="rule")return new i(_);if(_.type==="comment")return new t(_);if(_.type==="atrule")return new e(_);throw new Error("Unknown node type: "+u.type)}return Xc=r,r.default=r,Xc}var Qc,Qf;function f1(){if(Qf)return Qc;Qf=1;let{dirname:e,relative:t,resolve:n,sep:s}=as,{SourceMapConsumer:a,SourceMapGenerator:o}=as,{pathToFileURL:i}=as,r=wl(),u=!!(a&&o),l=!!(e&&n&&t&&s);class d{constructor(c,T,m,S){this.stringify=c,this.mapOpts=m.map||{},this.root=T,this.opts=m,this.css=S,this.originalCSS=S,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let c;this.isInline()?c="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?c=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?c=this.mapOpts.annotation(this.opts.to,this.root):c=this.outputFile()+".map";let T=` +`);return o=u[u.length-1],o=o.replace(/\S/g,""),!1}}),o}rawSemicolon(a){let o;return a.walk(i=>{if(i.nodes&&i.nodes.length&&i.last.type==="decl"&&(o=i.raws.semicolon,typeof o<"u"))return!1}),o}rawValue(a,o){let i=a[o],r=a.raws[o];return r&&r.value===i?r.raw:i}root(a){this.body(a),a.raws.after&&this.builder(a.raws.after)}rule(a){this.block(a,this.rawValue(a,"selector")),a.raws.ownSemicolon&&this.builder(a.raws.ownSemicolon,a,"end")}stringify(a,o){if(!this[a.type])throw new Error("Unknown AST node type "+a.type+". Maybe you need to change PostCSS stringifier.");this[a.type](a,o)}}return wc=n,n.default=n,wc}var Mc,Mf;function Ul(){if(Mf)return Mc;Mf=1;let e=p1();function t(n,s){new e(s).stringify(n)}return Mc=t,t.default=t,Mc}var Ur={},Wf;function P_(){return Wf||(Wf=1,Ur.isClean=Symbol("isClean"),Ur.my=Symbol("my")),Ur}var Wc,Ff;function $l(){if(Ff)return Wc;Ff=1;let e=C_(),t=p1(),n=Ul(),{isClean:s,my:a}=P_();function o(u,l){let d=new u.constructor;for(let _ in u){if(!Object.prototype.hasOwnProperty.call(u,_)||_==="proxyCache")continue;let c=u[_],T=typeof c;_==="parent"&&T==="object"?l&&(d[_]=l):_==="source"?d[_]=c:Array.isArray(c)?d[_]=c.map(m=>o(m,d)):(T==="object"&&c!==null&&(c=o(c)),d[_]=c)}return d}function i(u,l){if(l&&typeof l.offset<"u")return l.offset;let d=1,_=1,c=0;for(let T=0;Tl.root().toProxy():l[d]},set(l,d,_){return l[d]===_||(l[d]=_,(d==="prop"||d==="value"||d==="name"||d==="params"||d==="important"||d==="text")&&l.markDirty()),!0}}}markClean(){this[s]=!0}markDirty(){if(this[s]){this[s]=!1;let l=this;for(;l=l.parent;)l[s]=!1}}next(){if(!this.parent)return;let l=this.parent.index(this);return this.parent.nodes[l+1]}positionBy(l){let d=this.source.start;if(l.index)d=this.positionInside(l.index);else if(l.word){let _="document"in this.source.input?this.source.input.document:this.source.input.css,T=_.slice(i(_,this.source.start),i(_,this.source.end)).indexOf(l.word);T!==-1&&(d=this.positionInside(T))}return d}positionInside(l){let d=this.source.start.column,_=this.source.start.line,c="document"in this.source.input?this.source.input.document:this.source.input.css,T=i(c,this.source.start),m=T+l;for(let f=T;ftypeof R=="object"&&R.toJSON?R.toJSON(null,d):R);else if(typeof f=="object"&&f.toJSON)_[m]=f.toJSON(null,d);else if(m==="source"){let R=d.get(f.input);R==null&&(R=T,d.set(f.input,T),T++),_[m]={end:f.end,inputId:R,start:f.start}}else _[m]=f}return c&&(_.inputs=[...d.keys()].map(m=>m.toJSON())),_}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(l=n){l.stringify&&(l=l.stringify);let d="";return l(this,_=>{d+=_}),d}warn(l,d,_){let c={node:this};for(let T in _)c[T]=_[T];return l.warn(d,c)}get proxyOf(){return this}}return Wc=r,r.default=r,Wc}var Fc,zf;function kl(){if(zf)return Fc;zf=1;let e=$l();class t extends e{constructor(s){super(s),this.type="comment"}}return Fc=t,t.default=t,Fc}var zc,Bf;function wl(){if(Bf)return zc;Bf=1;let e=$l();class t extends e{constructor(s){s&&typeof s.value<"u"&&typeof s.value!="string"&&(s={...s,value:String(s.value)}),super(s),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}return zc=t,t.default=t,zc}var Bc,Gf;function ja(){if(Gf)return Bc;Gf=1;let e=kl(),t=wl(),n=$l(),{isClean:s,my:a}=P_(),o,i,r,u;function l(c){return c.map(T=>(T.nodes&&(T.nodes=l(T.nodes)),delete T.source,T))}function d(c){if(c[s]=!1,c.proxyOf.nodes)for(let T of c.proxyOf.nodes)d(T)}class _ extends n{append(...T){for(let m of T){let f=this.normalize(m,this.last);for(let R of f)this.proxyOf.nodes.push(R)}return this.markDirty(),this}cleanRaws(T){if(super.cleanRaws(T),this.nodes)for(let m of this.nodes)m.cleanRaws(T)}each(T){if(!this.proxyOf.nodes)return;let m=this.getIterator(),f,R;for(;this.indexes[m]T[m](...f.map(R=>typeof R=="function"?(h,O)=>R(h.toProxy(),O):R)):m==="every"||m==="some"?f=>T[m]((R,...h)=>f(R.toProxy(),...h)):m==="root"?()=>T.root().toProxy():m==="nodes"?T.nodes.map(f=>f.toProxy()):m==="first"||m==="last"?T[m].toProxy():T[m]:T[m]},set(T,m,f){return T[m]===f||(T[m]=f,(m==="name"||m==="params"||m==="selector")&&T.markDirty()),!0}}}index(T){return typeof T=="number"?T:(T.proxyOf&&(T=T.proxyOf),this.proxyOf.nodes.indexOf(T))}insertAfter(T,m){let f=this.index(T),R=this.normalize(m,this.proxyOf.nodes[f]).reverse();f=this.index(T);for(let O of R)this.proxyOf.nodes.splice(f+1,0,O);let h;for(let O in this.indexes)h=this.indexes[O],f"u")T=[];else if(Array.isArray(T)){T=T.slice(0);for(let R of T)R.parent&&R.parent.removeChild(R,"ignore")}else if(T.type==="root"&&this.type!=="document"){T=T.nodes.slice(0);for(let R of T)R.parent&&R.parent.removeChild(R,"ignore")}else if(T.type)T=[T];else if(T.prop){if(typeof T.value>"u")throw new Error("Value field is missed in node creation");typeof T.value!="string"&&(T.value=String(T.value)),T=[new t(T)]}else if(T.selector||T.selectors)T=[new u(T)];else if(T.name)T=[new o(T)];else if(T.text)T=[new e(T)];else throw new Error("Unknown node type in node creation");return T.map(R=>(R[a]||_.rebuild(R),R=R.proxyOf,R.parent&&R.parent.removeChild(R),R[s]&&d(R),R.raws||(R.raws={}),typeof R.raws.before>"u"&&m&&typeof m.raws.before<"u"&&(R.raws.before=m.raws.before.replace(/\S/g,"")),R.parent=this.proxyOf,R))}prepend(...T){T=T.reverse();for(let m of T){let f=this.normalize(m,this.first,"prepend").reverse();for(let R of f)this.proxyOf.nodes.unshift(R);for(let R in this.indexes)this.indexes[R]=this.indexes[R]+f.length}return this.markDirty(),this}push(T){return T.parent=this,this.proxyOf.nodes.push(T),this}removeAll(){for(let T of this.proxyOf.nodes)T.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(T){T=this.index(T),this.proxyOf.nodes[T].parent=void 0,this.proxyOf.nodes.splice(T,1);let m;for(let f in this.indexes)m=this.indexes[f],m>=T&&(this.indexes[f]=m-1);return this.markDirty(),this}replaceValues(T,m,f){return f||(f=m,m={}),this.walkDecls(R=>{m.props&&!m.props.includes(R.prop)||m.fast&&!R.value.includes(m.fast)||(R.value=R.value.replace(T,f))}),this.markDirty(),this}some(T){return this.nodes.some(T)}walk(T){return this.each((m,f)=>{let R;try{R=T(m,f)}catch(h){throw m.addToError(h)}return R!==!1&&m.walk&&(R=m.walk(T)),R})}walkAtRules(T,m){return m?T instanceof RegExp?this.walk((f,R)=>{if(f.type==="atrule"&&T.test(f.name))return m(f,R)}):this.walk((f,R)=>{if(f.type==="atrule"&&f.name===T)return m(f,R)}):(m=T,this.walk((f,R)=>{if(f.type==="atrule")return m(f,R)}))}walkComments(T){return this.walk((m,f)=>{if(m.type==="comment")return T(m,f)})}walkDecls(T,m){return m?T instanceof RegExp?this.walk((f,R)=>{if(f.type==="decl"&&T.test(f.prop))return m(f,R)}):this.walk((f,R)=>{if(f.type==="decl"&&f.prop===T)return m(f,R)}):(m=T,this.walk((f,R)=>{if(f.type==="decl")return m(f,R)}))}walkRules(T,m){return m?T instanceof RegExp?this.walk((f,R)=>{if(f.type==="rule"&&T.test(f.selector))return m(f,R)}):this.walk((f,R)=>{if(f.type==="rule"&&f.selector===T)return m(f,R)}):(m=T,this.walk((f,R)=>{if(f.type==="rule")return m(f,R)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}return _.registerParse=c=>{i=c},_.registerRule=c=>{u=c},_.registerAtRule=c=>{o=c},_.registerRoot=c=>{r=c},Bc=_,_.default=_,_.rebuild=c=>{c.type==="atrule"?Object.setPrototypeOf(c,o.prototype):c.type==="rule"?Object.setPrototypeOf(c,u.prototype):c.type==="decl"?Object.setPrototypeOf(c,t.prototype):c.type==="comment"?Object.setPrototypeOf(c,e.prototype):c.type==="root"&&Object.setPrototypeOf(c,r.prototype),c[a]=!0,c.nodes&&c.nodes.forEach(T=>{_.rebuild(T)})},Bc}var Gc,xf;function D_(){if(xf)return Gc;xf=1;let e=ja();class t extends e{constructor(s){super(s),this.type="atrule"}append(...s){return this.proxyOf.nodes||(this.nodes=[]),super.append(...s)}prepend(...s){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...s)}}return Gc=t,t.default=t,e.registerAtRule(t),Gc}var xc,Vf;function L_(){if(Vf)return xc;Vf=1;let e=ja(),t,n;class s extends e{constructor(o){super({type:"document",...o}),this.nodes||(this.nodes=[])}toResult(o={}){return new t(new n,this,o).stringify()}}return s.registerLazyResult=a=>{t=a},s.registerProcessor=a=>{n=a},xc=s,s.default=s,xc}var Vc,Hf;function Gst(){if(Hf)return Vc;Hf=1;let e="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return Vc={nanoid:(s=21)=>{let a="",o=s|0;for(;o--;)a+=e[Math.random()*64|0];return a},customAlphabet:(s,a=21)=>(o=a)=>{let i="",r=o|0;for(;r--;)i+=s[Math.random()*s.length|0];return i}},Vc}var Hc,Kf;function m1(){if(Kf)return Hc;Kf=1;let{existsSync:e,readFileSync:t}=es,{dirname:n,join:s}=es,{SourceMapConsumer:a,SourceMapGenerator:o}=es;function i(u){return Buffer?Buffer.from(u,"base64").toString():window.atob(u)}class r{constructor(l,d){if(d.map===!1)return;this.loadAnnotation(l),this.inline=this.startWith(this.annotation,"data:");let _=d.map?d.map.prev:void 0,c=this.loadMap(d.from,_);!this.mapFile&&d.from&&(this.mapFile=d.from),this.mapFile&&(this.root=n(this.mapFile)),c&&(this.text=c)}consumer(){return this.consumerCache||(this.consumerCache=new a(this.text)),this.consumerCache}decodeInline(l){let d=/^data:application\/json;charset=utf-?8;base64,/,_=/^data:application\/json;base64,/,c=/^data:application\/json;charset=utf-?8,/,T=/^data:application\/json,/,m=l.match(c)||l.match(T);if(m)return decodeURIComponent(l.substr(m[0].length));let f=l.match(d)||l.match(_);if(f)return i(l.substr(f[0].length));let R=l.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+R)}getAnnotationURL(l){return l.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(l){return typeof l!="object"?!1:typeof l.mappings=="string"||typeof l._mappings=="string"||Array.isArray(l.sections)}loadAnnotation(l){let d=l.match(/\/\*\s*# sourceMappingURL=/g);if(!d)return;let _=l.lastIndexOf(d.pop()),c=l.indexOf("*/",_);_>-1&&c>-1&&(this.annotation=this.getAnnotationURL(l.substring(_,c)))}loadFile(l){if(this.root=n(l),e(l))return this.mapFile=l,t(l,"utf-8").toString().trim()}loadMap(l,d){if(d===!1)return!1;if(d){if(typeof d=="string")return d;if(typeof d=="function"){let _=d(l);if(_){let c=this.loadFile(_);if(!c)throw new Error("Unable to load previous source map: "+_.toString());return c}}else{if(d instanceof a)return o.fromSourceMap(d).toString();if(d instanceof o)return d.toString();if(this.isMap(d))return JSON.stringify(d);throw new Error("Unsupported previous source map format: "+d.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let _=this.annotation;return l&&(_=s(n(l),_)),this.loadFile(_)}}}startWith(l,d){return l?l.substr(0,d.length)===d:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return Hc=r,r.default=r,Hc}var Kc,Yf;function Ml(){if(Yf)return Kc;Yf=1;let{nanoid:e}=Gst(),{isAbsolute:t,resolve:n}=es,{SourceMapConsumer:s,SourceMapGenerator:a}=es,{fileURLToPath:o,pathToFileURL:i}=es,r=C_(),u=m1(),l=es,d=Symbol("fromOffsetCache"),_=!!(s&&a),c=!!(n&&t);class T{constructor(f,R={}){if(f===null||typeof f>"u"||typeof f=="object"&&!f.toString)throw new Error(`PostCSS received ${f} instead of CSS string`);if(this.css=f.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,R.document&&(this.document=R.document.toString()),R.from&&(!c||/^\w+:\/\//.test(R.from)||t(R.from)?this.file=R.from:this.file=n(R.from)),c&&_){let h=new u(this.css,R);if(h.text){this.map=h;let O=h.consumer().file;!this.file&&O&&(this.file=this.mapResolve(O))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(f,R,h,O={}){let I,N,b;if(R&&typeof R=="object"){let v=R,y=h;if(typeof v.offset=="number"){let D=this.fromOffset(v.offset);R=D.line,h=D.col}else R=v.line,h=v.column;if(typeof y.offset=="number"){let D=this.fromOffset(y.offset);N=D.line,I=D.col}else N=y.line,I=y.column}else if(!h){let v=this.fromOffset(R);R=v.line,h=v.col}let C=this.origin(R,h,N,I);return C?b=new r(f,C.endLine===void 0?C.line:{column:C.column,line:C.line},C.endLine===void 0?C.column:{column:C.endColumn,line:C.endLine},C.source,C.file,O.plugin):b=new r(f,N===void 0?R:{column:h,line:R},N===void 0?h:{column:I,line:N},this.css,this.file,O.plugin),b.input={column:h,endColumn:I,endLine:N,line:R,source:this.css},this.file&&(i&&(b.input.url=i(this.file).toString()),b.input.file=this.file),b}fromOffset(f){let R,h;if(this[d])h=this[d];else{let I=this.css.split(` +`);h=new Array(I.length);let N=0;for(let b=0,C=I.length;b=R)O=h.length-1;else{let I=h.length-2,N;for(;O>1),f=h[N+1])O=N+1;else{O=N;break}}return{col:f-h[O]+1,line:O+1}}mapResolve(f){return/^\w+:\/\//.test(f)?f:n(this.map.consumer().sourceRoot||this.map.root||".",f)}origin(f,R,h,O){if(!this.map)return!1;let I=this.map.consumer(),N=I.originalPositionFor({column:R,line:f});if(!N.source)return!1;let b;typeof h=="number"&&(b=I.originalPositionFor({column:O,line:h}));let C;t(N.source)?C=i(N.source):C=new URL(N.source,this.map.consumer().sourceRoot||i(this.map.mapFile));let v={column:N.column,endColumn:b&&b.column,endLine:b&&b.line,line:N.line,url:C.toString()};if(C.protocol==="file:")if(o)v.file=o(C);else throw new Error("file: protocol is not available in this PostCSS build");let y=I.sourceContentFor(N.source);return y&&(v.source=y),v}toJSON(){let f={};for(let R of["hasBOM","css","file","id"])this[R]!=null&&(f[R]=this[R]);return this.map&&(f.map={...this.map},f.map.consumerCache&&(f.map.consumerCache=void 0)),f}get from(){return this.file||this.id}}return Kc=T,T.default=T,l&&l.registerInput&&l.registerInput(T),Kc}var Yc,qf;function lr(){if(qf)return Yc;qf=1;let e=ja(),t,n;class s extends e{constructor(o){super(o),this.type="root",this.nodes||(this.nodes=[])}normalize(o,i,r){let u=super.normalize(o);if(i){if(r==="prepend")this.nodes.length>1?i.raws.before=this.nodes[1].raws.before:delete i.raws.before;else if(this.first!==i)for(let l of u)l.raws.before=i.raws.before}return u}removeChild(o,i){let r=this.index(o);return!i&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(o)}toResult(o={}){return new t(new n,this,o).stringify()}}return s.registerLazyResult=a=>{t=a},s.registerProcessor=a=>{n=a},Yc=s,s.default=s,e.registerRoot(s),Yc}var qc,jf;function f1(){if(jf)return qc;jf=1;let e={comma(t){return e.split(t,[","],!0)},space(t){let n=[" ",` +`," "];return e.split(t,n)},split(t,n,s){let a=[],o="",i=!1,r=0,u=!1,l="",d=!1;for(let _ of t)d?d=!1:_==="\\"?d=!0:u?_===l&&(u=!1):_==='"'||_==="'"?(u=!0,l=_):_==="("?r+=1:_===")"?r>0&&(r-=1):r===0&&n.includes(_)&&(i=!0),i?(o!==""&&a.push(o.trim()),o="",i=!1):o+=_;return(s||o!=="")&&a.push(o.trim()),a}};return qc=e,e.default=e,qc}var jc,Xf;function y_(){if(Xf)return jc;Xf=1;let e=ja(),t=f1();class n extends e{constructor(a){super(a),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return t.comma(this.selector)}set selectors(a){let o=this.selector?this.selector.match(/,\s*/):null,i=o?o[0]:","+this.raw("between","beforeOpen");this.selector=a.join(i)}}return jc=n,n.default=n,e.registerRule(n),jc}var Xc,Qf;function xst(){if(Qf)return Xc;Qf=1;let e=D_(),t=kl(),n=wl(),s=Ml(),a=m1(),o=lr(),i=y_();function r(u,l){if(Array.isArray(u))return u.map(c=>r(c));let{inputs:d,..._}=u;if(d){l=[];for(let c of d){let T={...c,__proto__:s.prototype};T.map&&(T.map={...T.map,__proto__:a.prototype}),l.push(T)}}if(_.nodes&&(_.nodes=u.nodes.map(c=>r(c,l))),_.source){let{inputId:c,...T}=_.source;_.source=T,c!=null&&(_.source.input=l[c])}if(_.type==="root")return new o(_);if(_.type==="decl")return new n(_);if(_.type==="rule")return new i(_);if(_.type==="comment")return new t(_);if(_.type==="atrule")return new e(_);throw new Error("Unknown node type: "+u.type)}return Xc=r,r.default=r,Xc}var Qc,Zf;function S1(){if(Zf)return Qc;Zf=1;let{dirname:e,relative:t,resolve:n,sep:s}=es,{SourceMapConsumer:a,SourceMapGenerator:o}=es,{pathToFileURL:i}=es,r=Ml(),u=!!(a&&o),l=!!(e&&n&&t&&s);class d{constructor(c,T,m,f){this.stringify=c,this.mapOpts=m.map||{},this.root=T,this.opts=m,this.css=f,this.originalCSS=f,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let c;this.isInline()?c="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?c=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?c=this.mapOpts.annotation(this.opts.to,this.root):c=this.outputFile()+".map";let T=` `;this.css.includes(`\r `)&&(T=`\r -`),this.css+=T+"/*# sourceMappingURL="+c+" */"}applyPrevMaps(){for(let c of this.previous()){let T=this.toUrl(this.path(c.file)),m=c.root||e(c.file),S;this.mapOpts.sourcesContent===!1?(S=new a(c.text),S.sourcesContent&&(S.sourcesContent=null)):S=c.consumer(),this.map.applySourceMap(S,T,this.toUrl(this.path(m)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let c;for(let T=this.root.nodes.length-1;T>=0;T--)c=this.root.nodes[T],c.type==="comment"&&c.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(T)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),l&&u&&this.isMap())return this.generateMap();{let c="";return this.stringify(this.root,T=>{c+=T}),[c]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let c=this.previous()[0].consumer();c.file=this.outputFile(),this.map=o.fromSourceMap(c,{ignoreInvalidMapping:!0})}else this.map=new o({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new o({file:this.outputFile(),ignoreInvalidMapping:!0});let c=1,T=1,m="",S={generated:{column:0,line:0},original:{column:0,line:0},source:""},R,h;this.stringify(this.root,(O,I,N)=>{if(this.css+=O,I&&N!=="end"&&(S.generated.line=c,S.generated.column=T-1,I.source&&I.source.start?(S.source=this.sourcePath(I),S.original.line=I.source.start.line,S.original.column=I.source.start.column-1,this.map.addMapping(S)):(S.source=m,S.original.line=1,S.original.column=0,this.map.addMapping(S))),h=O.match(/\n/g),h?(c+=h.length,R=O.lastIndexOf(` -`),T=O.length-R):T+=O.length,I&&N!=="start"){let b=I.parent||{raws:{}};(!(I.type==="decl"||I.type==="atrule"&&!I.nodes)||I!==b.last||b.raws.semicolon)&&(I.source&&I.source.end?(S.source=this.sourcePath(I),S.original.line=I.source.end.line,S.original.column=I.source.end.column-1,S.generated.line=c,S.generated.column=T-2,this.map.addMapping(S)):(S.source=m,S.original.line=1,S.original.column=0,S.generated.line=c,S.generated.column=T-1,this.map.addMapping(S)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(c=>c.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let c=this.mapOpts.annotation;return typeof c<"u"&&c!==!0?!1:this.previous().length?this.previous().some(T=>T.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(c=>c.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(c){if(this.mapOpts.absolute||c.charCodeAt(0)===60||/^\w+:\/\//.test(c))return c;let T=this.memoizedPaths.get(c);if(T)return T;let m=this.opts.to?e(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(m=e(n(m,this.mapOpts.annotation)));let S=t(m,c);return this.memoizedPaths.set(c,S),S}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(c=>{if(c.source&&c.source.input.map){let T=c.source.input.map;this.previousMaps.includes(T)||this.previousMaps.push(T)}});else{let c=new r(this.originalCSS,this.opts);c.map&&this.previousMaps.push(c.map)}return this.previousMaps}setSourcesContent(){let c={};if(this.root)this.root.walk(T=>{if(T.source){let m=T.source.input.from;if(m&&!c[m]){c[m]=!0;let S=this.usesFileUrls?this.toFileUrl(m):this.toUrl(this.path(m));this.map.setSourceContent(S,T.source.input.css)}}});else if(this.css){let T=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(T,this.css)}}sourcePath(c){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(c.source.input.from):this.toUrl(this.path(c.source.input.from))}toBase64(c){return Buffer?Buffer.from(c).toString("base64"):window.btoa(unescape(encodeURIComponent(c)))}toFileUrl(c){let T=this.memoizedFileURLs.get(c);if(T)return T;if(i){let m=i(c).toString();return this.memoizedFileURLs.set(c,m),m}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(c){let T=this.memoizedURLs.get(c);if(T)return T;s==="\\"&&(c=c.replace(/\\/g,"/"));let m=encodeURI(c).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(c,m),m}}return Qc=d,Qc}var Zc,Zf;function Dst(){if(Zf)return Zc;Zf=1;const e=39,t=34,n=92,s=47,a=10,o=32,i=12,r=9,u=13,l=91,d=93,_=40,c=41,T=123,m=125,S=59,R=42,h=58,O=64,I=/[\t\n\f\r "#'()/;[\\\]{}]/g,N=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,b=/.[\r\n"'(/\\]/,P=/[\da-f]/i;return Zc=function(y,L={}){let w=y.css.valueOf(),D=L.ignoreErrors,W,Y,he,ie,me,Ie,ve,Ke,Je,He,Tt=w.length,we=0,se=[],$e=[];function dt(){return we}function _e(oe){throw y.error("Unclosed "+oe,we)}function Z(){return $e.length===0&&we>=Tt}function Ae(oe){if($e.length)return $e.pop();if(we>=Tt)return;let $=oe?oe.ignoreUnclosed:!1;switch(W=w.charCodeAt(we),W){case a:case o:case r:case u:case i:{ie=we;do ie+=1,W=w.charCodeAt(ie);while(W===o||W===a||W===r||W===u||W===i);Ie=["space",w.slice(we,ie)],we=ie-1;break}case l:case d:case T:case m:case h:case S:case c:{let k=String.fromCharCode(W);Ie=[k,k,we];break}case _:{if(He=se.length?se.pop()[1]:"",Je=w.charCodeAt(we+1),He==="url"&&Je!==e&&Je!==t&&Je!==o&&Je!==a&&Je!==r&&Je!==i&&Je!==u){ie=we;do{if(ve=!1,ie=w.indexOf(")",ie+1),ie===-1)if(D||$){ie=we;break}else _e("bracket");for(Ke=ie;w.charCodeAt(Ke-1)===n;)Ke-=1,ve=!ve}while(ve);Ie=["brackets",w.slice(we,ie+1),we,ie],we=ie}else ie=w.indexOf(")",we+1),Y=w.slice(we,ie+1),ie===-1||b.test(Y)?Ie=["(","(",we]:(Ie=["brackets",Y,we,ie],we=ie);break}case e:case t:{me=W===e?"'":'"',ie=we;do{if(ve=!1,ie=w.indexOf(me,ie+1),ie===-1)if(D||$){ie=we+1;break}else _e("string");for(Ke=ie;w.charCodeAt(Ke-1)===n;)Ke-=1,ve=!ve}while(ve);Ie=["string",w.slice(we,ie+1),we,ie],we=ie;break}case O:{I.lastIndex=we+1,I.test(w),I.lastIndex===0?ie=w.length-1:ie=I.lastIndex-2,Ie=["at-word",w.slice(we,ie+1),we,ie],we=ie;break}case n:{for(ie=we,he=!0;w.charCodeAt(ie+1)===n;)ie+=1,he=!he;if(W=w.charCodeAt(ie+1),he&&W!==s&&W!==o&&W!==a&&W!==r&&W!==u&&W!==i&&(ie+=1,P.test(w.charAt(ie)))){for(;P.test(w.charAt(ie+1));)ie+=1;w.charCodeAt(ie+1)===o&&(ie+=1)}Ie=["word",w.slice(we,ie+1),we,ie],we=ie;break}default:{W===s&&w.charCodeAt(we+1)===R?(ie=w.indexOf("*/",we+2)+1,ie===0&&(D||$?ie=w.length:_e("comment")),Ie=["comment",w.slice(we,ie+1),we,ie],we=ie):(N.lastIndex=we+1,N.test(w),N.lastIndex===0?ie=w.length-1:ie=N.lastIndex-2,Ie=["word",w.slice(we,ie+1),we,ie],se.push(Ie),we=ie);break}}return we++,Ie}function Te(oe){$e.push(oe)}return{back:Te,endOfFile:Z,nextToken:Ae,position:dt}},Zc}var Jc,Jf;function Lst(){if(Jf)return Jc;Jf=1;let e=D_(),t=$l(),n=kl(),s=lr(),a=v_(),o=Dst();const i={empty:!0,space:!0};function r(l){for(let d=l.length-1;d>=0;d--){let _=l[d],c=_[3]||_[2];if(c)return c}}class u{constructor(d){this.input=d,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:d,start:{column:1,line:1,offset:0}}}atrule(d){let _=new e;_.name=d[1].slice(1),_.name===""&&this.unnamedAtrule(_,d),this.init(_,d[2]);let c,T,m,S=!1,R=!1,h=[],O=[];for(;!this.tokenizer.endOfFile();){if(d=this.tokenizer.nextToken(),c=d[0],c==="("||c==="["?O.push(c==="("?")":"]"):c==="{"&&O.length>0?O.push("}"):c===O[O.length-1]&&O.pop(),O.length===0)if(c===";"){_.source.end=this.getPosition(d[2]),_.source.end.offset++,this.semicolon=!0;break}else if(c==="{"){R=!0;break}else if(c==="}"){if(h.length>0){for(m=h.length-1,T=h[m];T&&T[0]==="space";)T=h[--m];T&&(_.source.end=this.getPosition(T[3]||T[2]),_.source.end.offset++)}this.end(d);break}else h.push(d);else h.push(d);if(this.tokenizer.endOfFile()){S=!0;break}}_.raws.between=this.spacesAndCommentsFromEnd(h),h.length?(_.raws.afterName=this.spacesAndCommentsFromStart(h),this.raw(_,"params",h),S&&(d=h[h.length-1],_.source.end=this.getPosition(d[3]||d[2]),_.source.end.offset++,this.spaces=_.raws.between,_.raws.between="")):(_.raws.afterName="",_.params=""),R&&(_.nodes=[],this.current=_)}checkMissedSemicolon(d){let _=this.colon(d);if(_===!1)return;let c=0,T;for(let m=_-1;m>=0&&(T=d[m],!(T[0]!=="space"&&(c+=1,c===2)));m--);throw this.input.error("Missed semicolon",T[0]==="word"?T[3]+1:T[2])}colon(d){let _=0,c,T,m;for(let[S,R]of d.entries()){if(T=R,m=T[0],m==="("&&(_+=1),m===")"&&(_-=1),_===0&&m===":")if(!c)this.doubleColon(T);else{if(c[0]==="word"&&c[1]==="progid")continue;return S}c=T}return!1}comment(d){let _=new t;this.init(_,d[2]),_.source.end=this.getPosition(d[3]||d[2]),_.source.end.offset++;let c=d[1].slice(2,-2);if(/^\s*$/.test(c))_.text="",_.raws.left=c,_.raws.right="";else{let T=c.match(/^(\s*)([^]*\S)(\s*)$/);_.text=T[2],_.raws.left=T[1],_.raws.right=T[3]}}createTokenizer(){this.tokenizer=o(this.input)}decl(d,_){let c=new n;this.init(c,d[0][2]);let T=d[d.length-1];for(T[0]===";"&&(this.semicolon=!0,d.pop()),c.source.end=this.getPosition(T[3]||T[2]||r(d)),c.source.end.offset++;d[0][0]!=="word";)d.length===1&&this.unknownWord(d),c.raws.before+=d.shift()[1];for(c.source.start=this.getPosition(d[0][2]),c.prop="";d.length;){let O=d[0][0];if(O===":"||O==="space"||O==="comment")break;c.prop+=d.shift()[1]}c.raws.between="";let m;for(;d.length;)if(m=d.shift(),m[0]===":"){c.raws.between+=m[1];break}else m[0]==="word"&&/\w/.test(m[1])&&this.unknownWord([m]),c.raws.between+=m[1];(c.prop[0]==="_"||c.prop[0]==="*")&&(c.raws.before+=c.prop[0],c.prop=c.prop.slice(1));let S=[],R;for(;d.length&&(R=d[0][0],!(R!=="space"&&R!=="comment"));)S.push(d.shift());this.precheckMissedSemicolon(d);for(let O=d.length-1;O>=0;O--){if(m=d[O],m[1].toLowerCase()==="!important"){c.important=!0;let I=this.stringFrom(d,O);I=this.spacesFromEnd(d)+I,I!==" !important"&&(c.raws.important=I);break}else if(m[1].toLowerCase()==="important"){let I=d.slice(0),N="";for(let b=O;b>0;b--){let P=I[b][0];if(N.trim().startsWith("!")&&P!=="space")break;N=I.pop()[1]+N}N.trim().startsWith("!")&&(c.important=!0,c.raws.important=N,d=I)}if(m[0]!=="space"&&m[0]!=="comment")break}d.some(O=>O[0]!=="space"&&O[0]!=="comment")&&(c.raws.between+=S.map(O=>O[1]).join(""),S=[]),this.raw(c,"value",S.concat(d),_),c.value.includes(":")&&!_&&this.checkMissedSemicolon(d)}doubleColon(d){throw this.input.error("Double colon",{offset:d[2]},{offset:d[2]+d[1].length})}emptyRule(d){let _=new a;this.init(_,d[2]),_.selector="",_.raws.between="",this.current=_}end(d){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(d[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(d)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(d){if(this.spaces+=d[1],this.current.nodes){let _=this.current.nodes[this.current.nodes.length-1];_&&_.type==="rule"&&!_.raws.ownSemicolon&&(_.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(d){let _=this.input.fromOffset(d);return{column:_.col,line:_.line,offset:d}}init(d,_){this.current.push(d),d.source={input:this.input,start:this.getPosition(_)},d.raws.before=this.spaces,this.spaces="",d.type!=="comment"&&(this.semicolon=!1)}other(d){let _=!1,c=null,T=!1,m=null,S=[],R=d[1].startsWith("--"),h=[],O=d;for(;O;){if(c=O[0],h.push(O),c==="("||c==="[")m||(m=O),S.push(c==="("?")":"]");else if(R&&T&&c==="{")m||(m=O),S.push("}");else if(S.length===0)if(c===";")if(T){this.decl(h,R);return}else break;else if(c==="{"){this.rule(h);return}else if(c==="}"){this.tokenizer.back(h.pop()),_=!0;break}else c===":"&&(T=!0);else c===S[S.length-1]&&(S.pop(),S.length===0&&(m=null));O=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(_=!0),S.length>0&&this.unclosedBracket(m),_&&T){if(!R)for(;h.length&&(O=h[h.length-1][0],!(O!=="space"&&O!=="comment"));)this.tokenizer.back(h.pop());this.decl(h,R)}else this.unknownWord(h)}parse(){let d;for(;!this.tokenizer.endOfFile();)switch(d=this.tokenizer.nextToken(),d[0]){case"space":this.spaces+=d[1];break;case";":this.freeSemicolon(d);break;case"}":this.end(d);break;case"comment":this.comment(d);break;case"at-word":this.atrule(d);break;case"{":this.emptyRule(d);break;default:this.other(d);break}this.endFile()}precheckMissedSemicolon(){}raw(d,_,c,T){let m,S,R=c.length,h="",O=!0,I,N;for(let b=0;bP+C[1],"");d.raws[_]={raw:b,value:h}}d[_]=h}rule(d){d.pop();let _=new a;this.init(_,d[0][2]),_.raws.between=this.spacesAndCommentsFromEnd(d),this.raw(_,"selector",d),this.current=_}spacesAndCommentsFromEnd(d){let _,c="";for(;d.length&&(_=d[d.length-1][0],!(_!=="space"&&_!=="comment"));)c=d.pop()[1]+c;return c}spacesAndCommentsFromStart(d){let _,c="";for(;d.length&&(_=d[0][0],!(_!=="space"&&_!=="comment"));)c+=d.shift()[1];return c}spacesFromEnd(d){let _,c="";for(;d.length&&(_=d[d.length-1][0],_==="space");)c=d.pop()[1]+c;return c}stringFrom(d,_){let c="";for(let T=_;Ts.type==="warning")}get content(){return this.css}}return nd=t,t.default=t,nd}var sd,sS;function A1(){if(sS)return sd;sS=1;let e=qa(),t=L_(),n=f1(),s=y_(),a=U_(),o=lr(),i=yl(),{isClean:r,my:u}=P_();const l={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},d={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},_={Once:!0,postcssPlugin:!0,prepare:!0},c=0;function T(I){return typeof I=="object"&&typeof I.then=="function"}function m(I){let N=!1,b=l[I.type];return I.type==="decl"?N=I.prop.toLowerCase():I.type==="atrule"&&(N=I.name.toLowerCase()),N&&I.append?[b,b+"-"+N,c,b+"Exit",b+"Exit-"+N]:N?[b,b+"-"+N,b+"Exit",b+"Exit-"+N]:I.append?[b,c,b+"Exit"]:[b,b+"Exit"]}function S(I){let N;return I.type==="document"?N=["Document",c,"DocumentExit"]:I.type==="root"?N=["Root",c,"RootExit"]:N=m(I),{eventIndex:0,events:N,iterator:0,node:I,visitorIndex:0,visitors:[]}}function R(I){return I[r]=!1,I.nodes&&I.nodes.forEach(N=>R(N)),I}let h={};class O{constructor(N,b,P){this.stringified=!1,this.processed=!1;let C;if(typeof b=="object"&&b!==null&&(b.type==="root"||b.type==="document"))C=R(b);else if(b instanceof O||b instanceof a)C=R(b.root),b.map&&(typeof P.map>"u"&&(P.map={}),P.map.inline||(P.map.inline=!1),P.map.prev=b.map);else{let y=s;P.syntax&&(y=P.syntax.parse),P.parser&&(y=P.parser),y.parse&&(y=y.parse);try{C=y(b,P)}catch(L){this.processed=!0,this.error=L}C&&!C[u]&&e.rebuild(C)}this.result=new a(N,C,P),this.helpers={...h,postcss:h,result:this.result},this.plugins=this.processor.plugins.map(y=>typeof y=="object"&&y.prepare?{...y,...y.prepare(this.result)}:y)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(N){return this.async().catch(N)}finally(N){return this.async().then(N,N)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(N,b){let P=this.result.lastPlugin;try{b&&b.addToError(N),this.error=N,N.name==="CssSyntaxError"&&!N.plugin?(N.plugin=P.postcssPlugin,N.setMessage()):P.postcssVersion}catch(C){console&&console.error&&console.error(C)}return N}prepareVisitors(){this.listeners={};let N=(b,P,C)=>{this.listeners[P]||(this.listeners[P]=[]),this.listeners[P].push([b,C])};for(let b of this.plugins)if(typeof b=="object")for(let P in b){if(!d[P]&&/^[A-Z]/.test(P))throw new Error(`Unknown event ${P} in ${b.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!_[P])if(typeof b[P]=="object")for(let C in b[P])C==="*"?N(b,P,b[P][C]):N(b,P+"-"+C.toLowerCase(),b[P][C]);else typeof b[P]=="function"&&N(b,P,b[P])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let N=0;N0;){let P=this.visitTick(b);if(T(P))try{await P}catch(C){let y=b[b.length-1].node;throw this.handleError(C,y)}}}if(this.listeners.OnceExit)for(let[b,P]of this.listeners.OnceExit){this.result.lastPlugin=b;try{if(N.type==="document"){let C=N.nodes.map(y=>P(y,this.helpers));await Promise.all(C)}else await P(N,this.helpers)}catch(C){throw this.handleError(C)}}}return this.processed=!0,this.stringify()}runOnRoot(N){this.result.lastPlugin=N;try{if(typeof N=="object"&&N.Once){if(this.result.root.type==="document"){let b=this.result.root.nodes.map(P=>N.Once(P,this.helpers));return T(b[0])?Promise.all(b):b}return N.Once(this.result.root,this.helpers)}else if(typeof N=="function")return N(this.result.root,this.result)}catch(b){throw this.handleError(b)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let N=this.result.opts,b=i;N.syntax&&(b=N.syntax.stringify),N.stringifier&&(b=N.stringifier),b.stringify&&(b=b.stringify);let C=new n(b,this.result.root,this.result.opts).generate();return this.result.css=C[0],this.result.map=C[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let N of this.plugins){let b=this.runOnRoot(N);if(T(b))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let N=this.result.root;for(;!N[r];)N[r]=!0,this.walkSync(N);if(this.listeners.OnceExit)if(N.type==="document")for(let b of N.nodes)this.visitSync(this.listeners.OnceExit,b);else this.visitSync(this.listeners.OnceExit,N)}return this.result}then(N,b){return this.async().then(N,b)}toString(){return this.css}visitSync(N,b){for(let[P,C]of N){this.result.lastPlugin=P;let y;try{y=C(b,this.helpers)}catch(L){throw this.handleError(L,b.proxyOf)}if(b.type!=="root"&&b.type!=="document"&&!b.parent)return!0;if(T(y))throw this.getAsyncError()}}visitTick(N){let b=N[N.length-1],{node:P,visitors:C}=b;if(P.type!=="root"&&P.type!=="document"&&!P.parent){N.pop();return}if(C.length>0&&b.visitorIndex{C[r]||this.walkSync(C)});else{let C=this.listeners[P];if(C&&this.visitSync(C,N.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}return O.registerPostcss=I=>{h=I},sd=O,O.default=O,o.registerLazyResult(O),t.registerLazyResult(O),sd}var ad,aS;function vst(){if(aS)return ad;aS=1;let e=f1(),t=y_();const n=U_();let s=yl();class a{constructor(i,r,u){r=r.toString(),this.stringified=!1,this._processor=i,this._css=r,this._opts=u,this._map=void 0;let l,d=s;this.result=new n(this._processor,l,this._opts),this.result.css=r;let _=this;Object.defineProperty(this.result,"root",{get(){return _.root}});let c=new e(d,l,this._opts,r);if(c.isMap()){let[T,m]=c.generate();T&&(this.result.css=T),m&&(this.result.map=m)}else c.clearAnnotation(),this.result.css=c.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(i){return this.async().catch(i)}finally(i){return this.async().then(i,i)}sync(){if(this.error)throw this.error;return this.result}then(i,r){return this.async().then(i,r)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let i,r=t;try{i=r(this._css,this._opts)}catch(u){this.error=u}if(this.error)throw this.error;return this._root=i,i}get[Symbol.toStringTag](){return"NoWorkResult"}}return ad=a,a.default=a,ad}var od,oS;function yst(){if(oS)return od;oS=1;let e=L_(),t=A1(),n=vst(),s=lr();class a{constructor(i=[]){this.version="8.4.49",this.plugins=this.normalize(i)}normalize(i){let r=[];for(let u of i)if(u.postcss===!0?u=u():u.postcss&&(u=u.postcss),typeof u=="object"&&Array.isArray(u.plugins))r=r.concat(u.plugins);else if(typeof u=="object"&&u.postcssPlugin)r.push(u);else if(typeof u=="function")r.push(u);else if(!(typeof u=="object"&&(u.parse||u.stringify)))throw new Error(u+" is not a PostCSS plugin");return r}process(i,r={}){return!this.plugins.length&&!r.parser&&!r.stringifier&&!r.syntax?new n(this,i,r):new t(this,i,r)}use(i){return this.plugins=this.plugins.concat(this.normalize([i])),this}}return od=a,a.default=a,s.registerProcessor(a),e.registerProcessor(a),od}var id,iS;function Ust(){if(iS)return id;iS=1;var e={};let t=D_(),n=$l(),s=qa(),a=C_(),o=kl(),i=L_(),r=Pst(),u=wl(),l=A1(),d=m1(),_=Ul(),c=y_(),T=yst(),m=U_(),S=lr(),R=v_(),h=yl(),O=S1();function I(...N){return N.length===1&&Array.isArray(N[0])&&(N=N[0]),new T(N)}return I.plugin=function(b,P){let C=!1;function y(...w){console&&console.warn&&!C&&(C=!0,console.warn(b+`: postcss.plugin was deprecated. Migration guide: +`),this.css+=T+"/*# sourceMappingURL="+c+" */"}applyPrevMaps(){for(let c of this.previous()){let T=this.toUrl(this.path(c.file)),m=c.root||e(c.file),f;this.mapOpts.sourcesContent===!1?(f=new a(c.text),f.sourcesContent&&(f.sourcesContent=null)):f=c.consumer(),this.map.applySourceMap(f,T,this.toUrl(this.path(m)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let c;for(let T=this.root.nodes.length-1;T>=0;T--)c=this.root.nodes[T],c.type==="comment"&&c.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(T)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),l&&u&&this.isMap())return this.generateMap();{let c="";return this.stringify(this.root,T=>{c+=T}),[c]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let c=this.previous()[0].consumer();c.file=this.outputFile(),this.map=o.fromSourceMap(c,{ignoreInvalidMapping:!0})}else this.map=new o({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new o({file:this.outputFile(),ignoreInvalidMapping:!0});let c=1,T=1,m="",f={generated:{column:0,line:0},original:{column:0,line:0},source:""},R,h;this.stringify(this.root,(O,I,N)=>{if(this.css+=O,I&&N!=="end"&&(f.generated.line=c,f.generated.column=T-1,I.source&&I.source.start?(f.source=this.sourcePath(I),f.original.line=I.source.start.line,f.original.column=I.source.start.column-1,this.map.addMapping(f)):(f.source=m,f.original.line=1,f.original.column=0,this.map.addMapping(f))),h=O.match(/\n/g),h?(c+=h.length,R=O.lastIndexOf(` +`),T=O.length-R):T+=O.length,I&&N!=="start"){let b=I.parent||{raws:{}};(!(I.type==="decl"||I.type==="atrule"&&!I.nodes)||I!==b.last||b.raws.semicolon)&&(I.source&&I.source.end?(f.source=this.sourcePath(I),f.original.line=I.source.end.line,f.original.column=I.source.end.column-1,f.generated.line=c,f.generated.column=T-2,this.map.addMapping(f)):(f.source=m,f.original.line=1,f.original.column=0,f.generated.line=c,f.generated.column=T-1,this.map.addMapping(f)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(c=>c.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let c=this.mapOpts.annotation;return typeof c<"u"&&c!==!0?!1:this.previous().length?this.previous().some(T=>T.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(c=>c.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(c){if(this.mapOpts.absolute||c.charCodeAt(0)===60||/^\w+:\/\//.test(c))return c;let T=this.memoizedPaths.get(c);if(T)return T;let m=this.opts.to?e(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(m=e(n(m,this.mapOpts.annotation)));let f=t(m,c);return this.memoizedPaths.set(c,f),f}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(c=>{if(c.source&&c.source.input.map){let T=c.source.input.map;this.previousMaps.includes(T)||this.previousMaps.push(T)}});else{let c=new r(this.originalCSS,this.opts);c.map&&this.previousMaps.push(c.map)}return this.previousMaps}setSourcesContent(){let c={};if(this.root)this.root.walk(T=>{if(T.source){let m=T.source.input.from;if(m&&!c[m]){c[m]=!0;let f=this.usesFileUrls?this.toFileUrl(m):this.toUrl(this.path(m));this.map.setSourceContent(f,T.source.input.css)}}});else if(this.css){let T=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(T,this.css)}}sourcePath(c){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(c.source.input.from):this.toUrl(this.path(c.source.input.from))}toBase64(c){return Buffer?Buffer.from(c).toString("base64"):window.btoa(unescape(encodeURIComponent(c)))}toFileUrl(c){let T=this.memoizedFileURLs.get(c);if(T)return T;if(i){let m=i(c).toString();return this.memoizedFileURLs.set(c,m),m}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(c){let T=this.memoizedURLs.get(c);if(T)return T;s==="\\"&&(c=c.replace(/\\/g,"/"));let m=encodeURI(c).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(c,m),m}}return Qc=d,Qc}var Zc,Jf;function Vst(){if(Jf)return Zc;Jf=1;const e=39,t=34,n=92,s=47,a=10,o=32,i=12,r=9,u=13,l=91,d=93,_=40,c=41,T=123,m=125,f=59,R=42,h=58,O=64,I=/[\t\n\f\r "#'()/;[\\\]{}]/g,N=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,b=/.[\r\n"'(/\\]/,C=/[\da-f]/i;return Zc=function(y,D={}){let w=y.css.valueOf(),P=D.ignoreErrors,W,Y,he,ie,me,Ie,Le,Ke,Je,He,Tt=w.length,we=0,se=[],$e=[];function dt(){return we}function _e(oe){throw y.error("Unclosed "+oe,we)}function Z(){return $e.length===0&&we>=Tt}function Ae(oe){if($e.length)return $e.pop();if(we>=Tt)return;let $=oe?oe.ignoreUnclosed:!1;switch(W=w.charCodeAt(we),W){case a:case o:case r:case u:case i:{ie=we;do ie+=1,W=w.charCodeAt(ie);while(W===o||W===a||W===r||W===u||W===i);Ie=["space",w.slice(we,ie)],we=ie-1;break}case l:case d:case T:case m:case h:case f:case c:{let k=String.fromCharCode(W);Ie=[k,k,we];break}case _:{if(He=se.length?se.pop()[1]:"",Je=w.charCodeAt(we+1),He==="url"&&Je!==e&&Je!==t&&Je!==o&&Je!==a&&Je!==r&&Je!==i&&Je!==u){ie=we;do{if(Le=!1,ie=w.indexOf(")",ie+1),ie===-1)if(P||$){ie=we;break}else _e("bracket");for(Ke=ie;w.charCodeAt(Ke-1)===n;)Ke-=1,Le=!Le}while(Le);Ie=["brackets",w.slice(we,ie+1),we,ie],we=ie}else ie=w.indexOf(")",we+1),Y=w.slice(we,ie+1),ie===-1||b.test(Y)?Ie=["(","(",we]:(Ie=["brackets",Y,we,ie],we=ie);break}case e:case t:{me=W===e?"'":'"',ie=we;do{if(Le=!1,ie=w.indexOf(me,ie+1),ie===-1)if(P||$){ie=we+1;break}else _e("string");for(Ke=ie;w.charCodeAt(Ke-1)===n;)Ke-=1,Le=!Le}while(Le);Ie=["string",w.slice(we,ie+1),we,ie],we=ie;break}case O:{I.lastIndex=we+1,I.test(w),I.lastIndex===0?ie=w.length-1:ie=I.lastIndex-2,Ie=["at-word",w.slice(we,ie+1),we,ie],we=ie;break}case n:{for(ie=we,he=!0;w.charCodeAt(ie+1)===n;)ie+=1,he=!he;if(W=w.charCodeAt(ie+1),he&&W!==s&&W!==o&&W!==a&&W!==r&&W!==u&&W!==i&&(ie+=1,C.test(w.charAt(ie)))){for(;C.test(w.charAt(ie+1));)ie+=1;w.charCodeAt(ie+1)===o&&(ie+=1)}Ie=["word",w.slice(we,ie+1),we,ie],we=ie;break}default:{W===s&&w.charCodeAt(we+1)===R?(ie=w.indexOf("*/",we+2)+1,ie===0&&(P||$?ie=w.length:_e("comment")),Ie=["comment",w.slice(we,ie+1),we,ie],we=ie):(N.lastIndex=we+1,N.test(w),N.lastIndex===0?ie=w.length-1:ie=N.lastIndex-2,Ie=["word",w.slice(we,ie+1),we,ie],se.push(Ie),we=ie);break}}return we++,Ie}function Te(oe){$e.push(oe)}return{back:Te,endOfFile:Z,nextToken:Ae,position:dt}},Zc}var Jc,eS;function Hst(){if(eS)return Jc;eS=1;let e=D_(),t=kl(),n=wl(),s=lr(),a=y_(),o=Vst();const i={empty:!0,space:!0};function r(l){for(let d=l.length-1;d>=0;d--){let _=l[d],c=_[3]||_[2];if(c)return c}}class u{constructor(d){this.input=d,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:d,start:{column:1,line:1,offset:0}}}atrule(d){let _=new e;_.name=d[1].slice(1),_.name===""&&this.unnamedAtrule(_,d),this.init(_,d[2]);let c,T,m,f=!1,R=!1,h=[],O=[];for(;!this.tokenizer.endOfFile();){if(d=this.tokenizer.nextToken(),c=d[0],c==="("||c==="["?O.push(c==="("?")":"]"):c==="{"&&O.length>0?O.push("}"):c===O[O.length-1]&&O.pop(),O.length===0)if(c===";"){_.source.end=this.getPosition(d[2]),_.source.end.offset++,this.semicolon=!0;break}else if(c==="{"){R=!0;break}else if(c==="}"){if(h.length>0){for(m=h.length-1,T=h[m];T&&T[0]==="space";)T=h[--m];T&&(_.source.end=this.getPosition(T[3]||T[2]),_.source.end.offset++)}this.end(d);break}else h.push(d);else h.push(d);if(this.tokenizer.endOfFile()){f=!0;break}}_.raws.between=this.spacesAndCommentsFromEnd(h),h.length?(_.raws.afterName=this.spacesAndCommentsFromStart(h),this.raw(_,"params",h),f&&(d=h[h.length-1],_.source.end=this.getPosition(d[3]||d[2]),_.source.end.offset++,this.spaces=_.raws.between,_.raws.between="")):(_.raws.afterName="",_.params=""),R&&(_.nodes=[],this.current=_)}checkMissedSemicolon(d){let _=this.colon(d);if(_===!1)return;let c=0,T;for(let m=_-1;m>=0&&(T=d[m],!(T[0]!=="space"&&(c+=1,c===2)));m--);throw this.input.error("Missed semicolon",T[0]==="word"?T[3]+1:T[2])}colon(d){let _=0,c,T,m;for(let[f,R]of d.entries()){if(T=R,m=T[0],m==="("&&(_+=1),m===")"&&(_-=1),_===0&&m===":")if(!c)this.doubleColon(T);else{if(c[0]==="word"&&c[1]==="progid")continue;return f}c=T}return!1}comment(d){let _=new t;this.init(_,d[2]),_.source.end=this.getPosition(d[3]||d[2]),_.source.end.offset++;let c=d[1].slice(2,-2);if(/^\s*$/.test(c))_.text="",_.raws.left=c,_.raws.right="";else{let T=c.match(/^(\s*)([^]*\S)(\s*)$/);_.text=T[2],_.raws.left=T[1],_.raws.right=T[3]}}createTokenizer(){this.tokenizer=o(this.input)}decl(d,_){let c=new n;this.init(c,d[0][2]);let T=d[d.length-1];for(T[0]===";"&&(this.semicolon=!0,d.pop()),c.source.end=this.getPosition(T[3]||T[2]||r(d)),c.source.end.offset++;d[0][0]!=="word";)d.length===1&&this.unknownWord(d),c.raws.before+=d.shift()[1];for(c.source.start=this.getPosition(d[0][2]),c.prop="";d.length;){let O=d[0][0];if(O===":"||O==="space"||O==="comment")break;c.prop+=d.shift()[1]}c.raws.between="";let m;for(;d.length;)if(m=d.shift(),m[0]===":"){c.raws.between+=m[1];break}else m[0]==="word"&&/\w/.test(m[1])&&this.unknownWord([m]),c.raws.between+=m[1];(c.prop[0]==="_"||c.prop[0]==="*")&&(c.raws.before+=c.prop[0],c.prop=c.prop.slice(1));let f=[],R;for(;d.length&&(R=d[0][0],!(R!=="space"&&R!=="comment"));)f.push(d.shift());this.precheckMissedSemicolon(d);for(let O=d.length-1;O>=0;O--){if(m=d[O],m[1].toLowerCase()==="!important"){c.important=!0;let I=this.stringFrom(d,O);I=this.spacesFromEnd(d)+I,I!==" !important"&&(c.raws.important=I);break}else if(m[1].toLowerCase()==="important"){let I=d.slice(0),N="";for(let b=O;b>0;b--){let C=I[b][0];if(N.trim().startsWith("!")&&C!=="space")break;N=I.pop()[1]+N}N.trim().startsWith("!")&&(c.important=!0,c.raws.important=N,d=I)}if(m[0]!=="space"&&m[0]!=="comment")break}d.some(O=>O[0]!=="space"&&O[0]!=="comment")&&(c.raws.between+=f.map(O=>O[1]).join(""),f=[]),this.raw(c,"value",f.concat(d),_),c.value.includes(":")&&!_&&this.checkMissedSemicolon(d)}doubleColon(d){throw this.input.error("Double colon",{offset:d[2]},{offset:d[2]+d[1].length})}emptyRule(d){let _=new a;this.init(_,d[2]),_.selector="",_.raws.between="",this.current=_}end(d){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(d[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(d)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(d){if(this.spaces+=d[1],this.current.nodes){let _=this.current.nodes[this.current.nodes.length-1];_&&_.type==="rule"&&!_.raws.ownSemicolon&&(_.raws.ownSemicolon=this.spaces,this.spaces="",_.source.end=this.getPosition(d[2]),_.source.end.offset+=_.raws.ownSemicolon.length)}}getPosition(d){let _=this.input.fromOffset(d);return{column:_.col,line:_.line,offset:d}}init(d,_){this.current.push(d),d.source={input:this.input,start:this.getPosition(_)},d.raws.before=this.spaces,this.spaces="",d.type!=="comment"&&(this.semicolon=!1)}other(d){let _=!1,c=null,T=!1,m=null,f=[],R=d[1].startsWith("--"),h=[],O=d;for(;O;){if(c=O[0],h.push(O),c==="("||c==="[")m||(m=O),f.push(c==="("?")":"]");else if(R&&T&&c==="{")m||(m=O),f.push("}");else if(f.length===0)if(c===";")if(T){this.decl(h,R);return}else break;else if(c==="{"){this.rule(h);return}else if(c==="}"){this.tokenizer.back(h.pop()),_=!0;break}else c===":"&&(T=!0);else c===f[f.length-1]&&(f.pop(),f.length===0&&(m=null));O=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(_=!0),f.length>0&&this.unclosedBracket(m),_&&T){if(!R)for(;h.length&&(O=h[h.length-1][0],!(O!=="space"&&O!=="comment"));)this.tokenizer.back(h.pop());this.decl(h,R)}else this.unknownWord(h)}parse(){let d;for(;!this.tokenizer.endOfFile();)switch(d=this.tokenizer.nextToken(),d[0]){case"space":this.spaces+=d[1];break;case";":this.freeSemicolon(d);break;case"}":this.end(d);break;case"comment":this.comment(d);break;case"at-word":this.atrule(d);break;case"{":this.emptyRule(d);break;default:this.other(d);break}this.endFile()}precheckMissedSemicolon(){}raw(d,_,c,T){let m,f,R=c.length,h="",O=!0,I,N;for(let b=0;bC+v[1],"");d.raws[_]={raw:b,value:h}}d[_]=h}rule(d){d.pop();let _=new a;this.init(_,d[0][2]),_.raws.between=this.spacesAndCommentsFromEnd(d),this.raw(_,"selector",d),this.current=_}spacesAndCommentsFromEnd(d){let _,c="";for(;d.length&&(_=d[d.length-1][0],!(_!=="space"&&_!=="comment"));)c=d.pop()[1]+c;return c}spacesAndCommentsFromStart(d){let _,c="";for(;d.length&&(_=d[0][0],!(_!=="space"&&_!=="comment"));)c+=d.shift()[1];return c}spacesFromEnd(d){let _,c="";for(;d.length&&(_=d[d.length-1][0],_==="space");)c=d.pop()[1]+c;return c}stringFrom(d,_){let c="";for(let T=_;Ts.type==="warning")}get content(){return this.css}}return nd=t,t.default=t,nd}var sd,aS;function h1(){if(aS)return sd;aS=1;let e=ja(),t=L_(),n=S1(),s=U_(),a=$_(),o=lr(),i=Ul(),{isClean:r,my:u}=P_();const l={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},d={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},_={Once:!0,postcssPlugin:!0,prepare:!0},c=0;function T(I){return typeof I=="object"&&typeof I.then=="function"}function m(I){let N=!1,b=l[I.type];return I.type==="decl"?N=I.prop.toLowerCase():I.type==="atrule"&&(N=I.name.toLowerCase()),N&&I.append?[b,b+"-"+N,c,b+"Exit",b+"Exit-"+N]:N?[b,b+"-"+N,b+"Exit",b+"Exit-"+N]:I.append?[b,c,b+"Exit"]:[b,b+"Exit"]}function f(I){let N;return I.type==="document"?N=["Document",c,"DocumentExit"]:I.type==="root"?N=["Root",c,"RootExit"]:N=m(I),{eventIndex:0,events:N,iterator:0,node:I,visitorIndex:0,visitors:[]}}function R(I){return I[r]=!1,I.nodes&&I.nodes.forEach(N=>R(N)),I}let h={};class O{constructor(N,b,C){this.stringified=!1,this.processed=!1;let v;if(typeof b=="object"&&b!==null&&(b.type==="root"||b.type==="document"))v=R(b);else if(b instanceof O||b instanceof a)v=R(b.root),b.map&&(typeof C.map>"u"&&(C.map={}),C.map.inline||(C.map.inline=!1),C.map.prev=b.map);else{let y=s;C.syntax&&(y=C.syntax.parse),C.parser&&(y=C.parser),y.parse&&(y=y.parse);try{v=y(b,C)}catch(D){this.processed=!0,this.error=D}v&&!v[u]&&e.rebuild(v)}this.result=new a(N,v,C),this.helpers={...h,postcss:h,result:this.result},this.plugins=this.processor.plugins.map(y=>typeof y=="object"&&y.prepare?{...y,...y.prepare(this.result)}:y)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(N){return this.async().catch(N)}finally(N){return this.async().then(N,N)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(N,b){let C=this.result.lastPlugin;try{b&&b.addToError(N),this.error=N,N.name==="CssSyntaxError"&&!N.plugin?(N.plugin=C.postcssPlugin,N.setMessage()):C.postcssVersion}catch(v){console&&console.error&&console.error(v)}return N}prepareVisitors(){this.listeners={};let N=(b,C,v)=>{this.listeners[C]||(this.listeners[C]=[]),this.listeners[C].push([b,v])};for(let b of this.plugins)if(typeof b=="object")for(let C in b){if(!d[C]&&/^[A-Z]/.test(C))throw new Error(`Unknown event ${C} in ${b.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!_[C])if(typeof b[C]=="object")for(let v in b[C])v==="*"?N(b,C,b[C][v]):N(b,C+"-"+v.toLowerCase(),b[C][v]);else typeof b[C]=="function"&&N(b,C,b[C])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let N=0;N0;){let C=this.visitTick(b);if(T(C))try{await C}catch(v){let y=b[b.length-1].node;throw this.handleError(v,y)}}}if(this.listeners.OnceExit)for(let[b,C]of this.listeners.OnceExit){this.result.lastPlugin=b;try{if(N.type==="document"){let v=N.nodes.map(y=>C(y,this.helpers));await Promise.all(v)}else await C(N,this.helpers)}catch(v){throw this.handleError(v)}}}return this.processed=!0,this.stringify()}runOnRoot(N){this.result.lastPlugin=N;try{if(typeof N=="object"&&N.Once){if(this.result.root.type==="document"){let b=this.result.root.nodes.map(C=>N.Once(C,this.helpers));return T(b[0])?Promise.all(b):b}return N.Once(this.result.root,this.helpers)}else if(typeof N=="function")return N(this.result.root,this.result)}catch(b){throw this.handleError(b)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let N=this.result.opts,b=i;N.syntax&&(b=N.syntax.stringify),N.stringifier&&(b=N.stringifier),b.stringify&&(b=b.stringify);let v=new n(b,this.result.root,this.result.opts).generate();return this.result.css=v[0],this.result.map=v[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let N of this.plugins){let b=this.runOnRoot(N);if(T(b))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let N=this.result.root;for(;!N[r];)N[r]=!0,this.walkSync(N);if(this.listeners.OnceExit)if(N.type==="document")for(let b of N.nodes)this.visitSync(this.listeners.OnceExit,b);else this.visitSync(this.listeners.OnceExit,N)}return this.result}then(N,b){return this.async().then(N,b)}toString(){return this.css}visitSync(N,b){for(let[C,v]of N){this.result.lastPlugin=C;let y;try{y=v(b,this.helpers)}catch(D){throw this.handleError(D,b.proxyOf)}if(b.type!=="root"&&b.type!=="document"&&!b.parent)return!0;if(T(y))throw this.getAsyncError()}}visitTick(N){let b=N[N.length-1],{node:C,visitors:v}=b;if(C.type!=="root"&&C.type!=="document"&&!C.parent){N.pop();return}if(v.length>0&&b.visitorIndex{v[r]||this.walkSync(v)});else{let v=this.listeners[C];if(v&&this.visitSync(v,N.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}return O.registerPostcss=I=>{h=I},sd=O,O.default=O,o.registerLazyResult(O),t.registerLazyResult(O),sd}var ad,oS;function Kst(){if(oS)return ad;oS=1;let e=S1(),t=U_();const n=$_();let s=Ul();class a{constructor(i,r,u){r=r.toString(),this.stringified=!1,this._processor=i,this._css=r,this._opts=u,this._map=void 0;let l,d=s;this.result=new n(this._processor,l,this._opts),this.result.css=r;let _=this;Object.defineProperty(this.result,"root",{get(){return _.root}});let c=new e(d,l,this._opts,r);if(c.isMap()){let[T,m]=c.generate();T&&(this.result.css=T),m&&(this.result.map=m)}else c.clearAnnotation(),this.result.css=c.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(i){return this.async().catch(i)}finally(i){return this.async().then(i,i)}sync(){if(this.error)throw this.error;return this.result}then(i,r){return this.async().then(i,r)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let i,r=t;try{i=r(this._css,this._opts)}catch(u){this.error=u}if(this.error)throw this.error;return this._root=i,i}get[Symbol.toStringTag](){return"NoWorkResult"}}return ad=a,a.default=a,ad}var od,iS;function Yst(){if(iS)return od;iS=1;let e=L_(),t=h1(),n=Kst(),s=lr();class a{constructor(i=[]){this.version="8.5.2",this.plugins=this.normalize(i)}normalize(i){let r=[];for(let u of i)if(u.postcss===!0?u=u():u.postcss&&(u=u.postcss),typeof u=="object"&&Array.isArray(u.plugins))r=r.concat(u.plugins);else if(typeof u=="object"&&u.postcssPlugin)r.push(u);else if(typeof u=="function")r.push(u);else if(!(typeof u=="object"&&(u.parse||u.stringify)))throw new Error(u+" is not a PostCSS plugin");return r}process(i,r={}){return!this.plugins.length&&!r.parser&&!r.stringifier&&!r.syntax?new n(this,i,r):new t(this,i,r)}use(i){return this.plugins=this.plugins.concat(this.normalize([i])),this}}return od=a,a.default=a,s.registerProcessor(a),e.registerProcessor(a),od}var id,rS;function qst(){if(rS)return id;rS=1;var e={};let t=D_(),n=kl(),s=ja(),a=C_(),o=wl(),i=L_(),r=xst(),u=Ml(),l=h1(),d=f1(),_=$l(),c=U_(),T=Yst(),m=$_(),f=lr(),R=y_(),h=Ul(),O=A1();function I(...N){return N.length===1&&Array.isArray(N[0])&&(N=N[0]),new T(N)}return I.plugin=function(b,C){let v=!1;function y(...w){console&&console.warn&&!v&&(v=!0,console.warn(b+`: postcss.plugin was deprecated. Migration guide: https://evilmartians.com/chronicles/postcss-8-plugin-migration`),e.LANG&&e.LANG.startsWith("cn")&&console.warn(b+`: 里面 postcss.plugin 被弃用. 迁移指南: -https://www.w3ctech.com/topic/2226`));let D=P(...w);return D.postcssPlugin=b,D.postcssVersion=new T().version,D}let L;return Object.defineProperty(y,"postcss",{get(){return L||(L=y()),L}}),y.process=function(w,D,W){return I([y(W)]).process(w,D)},y},I.stringify=h,I.parse=c,I.fromJSON=r,I.list=d,I.comment=N=>new n(N),I.atRule=N=>new t(N),I.decl=N=>new o(N),I.rule=N=>new R(N),I.root=N=>new S(N),I.document=N=>new i(N),I.CssSyntaxError=a,I.Declaration=o,I.Container=s,I.Processor=T,I.Document=i,I.Comment=n,I.Warning=O,I.AtRule=t,I.Result=m,I.Input=u,I.Rule=R,I.Root=S,I.Node=_,l.registerPostcss(I),id=I,I.default=I,id}var rd,rS;function $st(){if(rS)return rd;rS=1;const e=Sst(),t=Ast(),{isPlainObject:n}=hst(),s=Ost(),a=Rst(),{parse:o}=Ust(),i=["img","audio","video","picture","svg","object","map","iframe","embed"],r=["script","style"];function u(R,h){R&&Object.keys(R).forEach(function(O){h(R[O],O)})}function l(R,h){return{}.hasOwnProperty.call(R,h)}function d(R,h){const O=[];return u(R,function(I){h(I)&&O.push(I)}),O}function _(R){for(const h in R)if(l(R,h))return!1;return!0}function c(R){return R.map(function(h){if(!h.url)throw new Error("URL missing");return h.url+(h.w?` ${h.w}w`:"")+(h.h?` ${h.h}h`:"")+(h.d?` ${h.d}x`:"")}).join(", ")}rd=m;const T=/^[^\0\t\n\f\r /<=>]+$/;function m(R,h,O){if(R==null)return"";typeof R=="number"&&(R=R.toString());let I="",N="";function b(oe,$){const k=this;this.tag=oe,this.attribs=$||{},this.tagPosition=I.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(me.length){const x=me[me.length-1];x.text+=k.text}},this.updateParentNodeMediaChildren=function(){me.length&&i.includes(this.tag)&&me[me.length-1].mediaChildren.push(this.tag)}}h=Object.assign({},m.defaults,h),h.parser=Object.assign({},S,h.parser);const P=function(oe){return h.allowedTags===!1||(h.allowedTags||[]).indexOf(oe)>-1};r.forEach(function(oe){P(oe)&&!h.allowVulnerableTags&&console.warn(` +https://www.w3ctech.com/topic/2226`));let P=C(...w);return P.postcssPlugin=b,P.postcssVersion=new T().version,P}let D;return Object.defineProperty(y,"postcss",{get(){return D||(D=y()),D}}),y.process=function(w,P,W){return I([y(W)]).process(w,P)},y},I.stringify=h,I.parse=c,I.fromJSON=r,I.list=d,I.comment=N=>new n(N),I.atRule=N=>new t(N),I.decl=N=>new o(N),I.rule=N=>new R(N),I.root=N=>new f(N),I.document=N=>new i(N),I.CssSyntaxError=a,I.Declaration=o,I.Container=s,I.Processor=T,I.Document=i,I.Comment=n,I.Warning=O,I.AtRule=t,I.Result=m,I.Input=u,I.Rule=R,I.Root=f,I.Node=_,l.registerPostcss(I),id=I,I.default=I,id}var rd,uS;function jst(){if(uS)return rd;uS=1;const e=Ust(),t=$st(),{isPlainObject:n}=kst(),s=wst(),a=Wst(),{parse:o}=qst(),i=["img","audio","video","picture","svg","object","map","iframe","embed"],r=["script","style"];function u(R,h){R&&Object.keys(R).forEach(function(O){h(R[O],O)})}function l(R,h){return{}.hasOwnProperty.call(R,h)}function d(R,h){const O=[];return u(R,function(I){h(I)&&O.push(I)}),O}function _(R){for(const h in R)if(l(R,h))return!1;return!0}function c(R){return R.map(function(h){if(!h.url)throw new Error("URL missing");return h.url+(h.w?` ${h.w}w`:"")+(h.h?` ${h.h}h`:"")+(h.d?` ${h.d}x`:"")}).join(", ")}rd=m;const T=/^[^\0\t\n\f\r /<=>]+$/;function m(R,h,O){if(R==null)return"";typeof R=="number"&&(R=R.toString());let I="",N="";function b(oe,$){const k=this;this.tag=oe,this.attribs=$||{},this.tagPosition=I.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(me.length){const x=me[me.length-1];x.text+=k.text}},this.updateParentNodeMediaChildren=function(){me.length&&i.includes(this.tag)&&me[me.length-1].mediaChildren.push(this.tag)}}h=Object.assign({},m.defaults,h),h.parser=Object.assign({},f,h.parser);const C=function(oe){return h.allowedTags===!1||(h.allowedTags||[]).indexOf(oe)>-1};r.forEach(function(oe){C(oe)&&!h.allowVulnerableTags&&console.warn(` ⚠️ Your \`allowedTags\` option includes, \`${oe}\`, which is inherently vulnerable to XSS attacks. Please remove it from \`allowedTags\`. Or, to disable this warning, add the \`allowVulnerableTags\` option and ensure you are accounting for this risk. -`)});const C=h.nonTextTags||["script","style","textarea","option"];let y,L;h.allowedAttributes&&(y={},L={},u(h.allowedAttributes,function(oe,$){y[$]=[];const k=[];oe.forEach(function(x){typeof x=="string"&&x.indexOf("*")>=0?k.push(t(x).replace(/\\\*/g,".*")):y[$].push(x)}),k.length&&(L[$]=new RegExp("^("+k.join("|")+")$"))}));const w={},D={},W={};u(h.allowedClasses,function(oe,$){if(y&&(l(y,$)||(y[$]=[]),y[$].push("class")),w[$]=oe,Array.isArray(oe)){const k=[];w[$]=[],W[$]=[],oe.forEach(function(x){typeof x=="string"&&x.indexOf("*")>=0?k.push(t(x).replace(/\\\*/g,".*")):x instanceof RegExp?W[$].push(x):w[$].push(x)}),k.length&&(D[$]=new RegExp("^("+k.join("|")+")$"))}});const Y={};let he;u(h.transformTags,function(oe,$){let k;typeof oe=="function"?k=oe:typeof oe=="string"&&(k=m.simpleTransform(oe)),$==="*"?he=k:Y[$]=k});let ie,me,Ie,ve,Ke,Je,He=!1;we();const Tt=new e.Parser({onopentag:function(oe,$){if(h.enforceHtmlBoundary&&oe==="html"&&we(),Ke){Je++;return}const k=new b(oe,$);me.push(k);let x=!1;const le=!!k.text;let Ee;if(l(Y,oe)&&(Ee=Y[oe](oe,$),k.attribs=$=Ee.attribs,Ee.text!==void 0&&(k.innerText=Ee.text),oe!==Ee.tagName&&(k.name=oe=Ee.tagName,ve[ie]=Ee.tagName)),he&&(Ee=he(oe,$),k.attribs=$=Ee.attribs,oe!==Ee.tagName&&(k.name=oe=Ee.tagName,ve[ie]=Ee.tagName)),(!P(oe)||h.disallowedTagsMode==="recursiveEscape"&&!_(Ie)||h.nestingLimit!=null&&ie>=h.nestingLimit)&&(x=!0,Ie[ie]=!0,(h.disallowedTagsMode==="discard"||h.disallowedTagsMode==="completelyDiscard")&&C.indexOf(oe)!==-1&&(Ke=!0,Je=1),Ie[ie]=!0),ie++,x){if(h.disallowedTagsMode==="discard"||h.disallowedTagsMode==="completelyDiscard"){if(k.innerText&&!le){const re=se(k.innerText);h.textFilter?I+=h.textFilter(re,oe):I+=se(k.innerText),He=!0}return}N=I,I=""}I+="<"+oe,oe==="script"&&(h.allowedScriptHostnames||h.allowedScriptDomains)&&(k.innerText=""),(!y||l(y,oe)||y["*"])&&u($,function(re,U){if(!T.test(U)){delete k.attribs[U];return}if(re===""&&!h.allowedEmptyAttributes.includes(U)&&(h.nonBooleanAttributes.includes(U)||h.nonBooleanAttributes.includes("*"))){delete k.attribs[U];return}let z=!1;if(!y||l(y,oe)&&y[oe].indexOf(U)!==-1||y["*"]&&y["*"].indexOf(U)!==-1||l(L,oe)&&L[oe].test(U)||L["*"]&&L["*"].test(U))z=!0;else if(y&&y[oe]){for(const V of y[oe])if(n(V)&&V.name&&V.name===U){z=!0;let q="";if(V.multiple===!0){const Ce=re.split(" ");for(const Se of Ce)V.values.indexOf(Se)!==-1&&(q===""?q=Se:q+=" "+Se)}else V.values.indexOf(re)>=0&&(q=re);re=q}}if(z){if(h.allowedSchemesAppliedToAttributes.indexOf(U)!==-1&&$e(oe,re)){delete k.attribs[U];return}if(oe==="script"&&U==="src"){let V=!0;try{const q=dt(re);if(h.allowedScriptHostnames||h.allowedScriptDomains){const Ce=(h.allowedScriptHostnames||[]).find(function(H){return H===q.url.hostname}),Se=(h.allowedScriptDomains||[]).find(function(H){return q.url.hostname===H||q.url.hostname.endsWith(`.${H}`)});V=Ce||Se}}catch{V=!1}if(!V){delete k.attribs[U];return}}if(oe==="iframe"&&U==="src"){let V=!0;try{const q=dt(re);if(q.isRelativeUrl)V=l(h,"allowIframeRelativeUrls")?h.allowIframeRelativeUrls:!h.allowedIframeHostnames&&!h.allowedIframeDomains;else if(h.allowedIframeHostnames||h.allowedIframeDomains){const Ce=(h.allowedIframeHostnames||[]).find(function(H){return H===q.url.hostname}),Se=(h.allowedIframeDomains||[]).find(function(H){return q.url.hostname===H||q.url.hostname.endsWith(`.${H}`)});V=Ce||Se}}catch{V=!1}if(!V){delete k.attribs[U];return}}if(U==="srcset")try{let V=a(re);if(V.forEach(function(q){$e("srcset",q.url)&&(q.evil=!0)}),V=d(V,function(q){return!q.evil}),V.length)re=c(d(V,function(q){return!q.evil})),k.attribs[U]=re;else{delete k.attribs[U];return}}catch{delete k.attribs[U];return}if(U==="class"){const V=w[oe],q=w["*"],Ce=D[oe],Se=W[oe],H=W["*"],ce=D["*"],Me=[Ce,ce].concat(Se,H).filter(function(xe){return xe});if(V&&q?re=Te(re,s(V,q),Me):re=Te(re,V||q,Me),!re.length){delete k.attribs[U];return}}if(U==="style"){if(h.parseStyleAttributes)try{const V=o(oe+" {"+re+"}",{map:!1}),q=_e(V,h.allowedStyles);if(re=Z(q),re.length===0){delete k.attribs[U];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+oe+" {"+re+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete k.attribs[U];return}else if(h.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}I+=" "+U,re&&re.length?I+='="'+se(re,!0)+'"':h.allowedEmptyAttributes.includes(U)&&(I+='=""')}else delete k.attribs[U]}),h.selfClosing.indexOf(oe)!==-1?I+=" />":(I+=">",k.innerText&&!le&&!h.textFilter&&(I+=se(k.innerText),He=!0)),x&&(I=N+se(I),N="")},ontext:function(oe){if(Ke)return;const $=me[me.length-1];let k;if($&&(k=$.tag,oe=$.innerText!==void 0?$.innerText:oe),h.disallowedTagsMode==="completelyDiscard"&&!P(k))oe="";else if((h.disallowedTagsMode==="discard"||h.disallowedTagsMode==="completelyDiscard")&&(k==="script"||k==="style"))I+=oe;else{const x=se(oe,!1);h.textFilter&&!He?I+=h.textFilter(x,k):He||(I+=x)}if(me.length){const x=me[me.length-1];x.text+=oe}},onclosetag:function(oe,$){if(Ke)if(Je--,!Je)Ke=!1;else return;const k=me.pop();if(!k)return;if(k.tag!==oe){me.push(k);return}Ke=h.enforceHtmlBoundary?oe==="html":!1,ie--;const x=Ie[ie];if(x){if(delete Ie[ie],h.disallowedTagsMode==="discard"||h.disallowedTagsMode==="completelyDiscard"){k.updateParentNodeText();return}N=I,I=""}if(ve[ie]&&(oe=ve[ie],delete ve[ie]),h.exclusiveFilter&&h.exclusiveFilter(k)){I=I.substr(0,k.tagPosition);return}if(k.updateParentNodeMediaChildren(),k.updateParentNodeText(),h.selfClosing.indexOf(oe)!==-1||$&&!P(oe)&&["escape","recursiveEscape"].indexOf(h.disallowedTagsMode)>=0){x&&(I=N,N="");return}I+="",x&&(I=N+se(I),N=""),He=!1}},h.parser);return Tt.write(R),Tt.end(),I;function we(){I="",ie=0,me=[],Ie={},ve={},Ke=!1,Je=0}function se(oe,$){return typeof oe!="string"&&(oe=oe+""),h.parser.decodeEntities&&(oe=oe.replace(/&/g,"&").replace(//g,">"),$&&(oe=oe.replace(/"/g,"""))),oe=oe.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(//g,">"),$&&(oe=oe.replace(/"/g,""")),oe}function $e(oe,$){for($=$.replace(/[\x00-\x20]+/g,"");;){const le=$.indexOf("",le+4);if(Ee===-1)break;$=$.substring(0,le)+$.substring(Ee+3)}const k=$.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!k)return $.match(/^[/\\]{2}/)?!h.allowProtocolRelative:!1;const x=k[1].toLowerCase();return l(h.allowedSchemesByTag,oe)?h.allowedSchemesByTag[oe].indexOf(x)===-1:!h.allowedSchemes||h.allowedSchemes.indexOf(x)===-1}function dt(oe){if(oe=oe.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),oe.startsWith("relative:"))throw new Error("relative: exploit attempt");let $="relative://relative-site";for(let le=0;le<100;le++)$+=`/${le}`;const k=new URL(oe,$);return{isRelativeUrl:k&&k.hostname==="relative-site"&&k.protocol==="relative:",url:k}}function _e(oe,$){if(!$)return oe;const k=oe.nodes[0];let x;return $[k.selector]&&$["*"]?x=s($[k.selector],$["*"]):x=$[k.selector]||$["*"],x&&(oe.nodes[0].nodes=k.nodes.reduce(Ae(x),[])),oe}function Z(oe){return oe.nodes[0].nodes.reduce(function($,k){return $.push(`${k.prop}:${k.value}${k.important?" !important":""}`),$},[]).join(";")}function Ae(oe){return function($,k){return l(oe,k.prop)&&oe[k.prop].some(function(le){return le.test(k.value)})&&$.push(k),$}}function Te(oe,$,k){return $?(oe=oe.split(/\s+/),oe.filter(function(x){return $.indexOf(x)!==-1||k.some(function(le){return le.test(x)})}).join(" ")):oe}}const S={decodeEntities:!0};return m.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0},m.simpleTransform=function(R,h,O){return O=O===void 0?!0:O,h=h||{},function(I,N){let b;if(O)for(b in h)N[b]=h[b];else N=h;return{tagName:R,attribs:N}}},rd}var kst=$st();const h1=jI(kst),O1=e=>h1(Ont(St.parseInline(e,{pedantic:!0}),{target:"_blank",validate:{email:()=>!1}}),{allowedTags:["a","p","span","strong","em","img"]}),wst=e=>{const{value:t,selectionStart:n}=e,s=t.slice(0,n).search(/@\S+$/),a=t.slice(n).search(/\s/),o=s<0?"":a<0?t.slice(s+1):t.slice(s+1,a+n);return o.trim().length>1?{position:s,usernameQuery:o}:{position:null,usernameQuery:null}},Mst=(e,t,n,s)=>e.substring(0,t+1)+s+" "+e.substring(t+n.length+2),Vi=e=>{const t=St.parse(e,{breaks:!0});return h1(t)},$_=()=>["private","followers_only","public"],Xu=(e,t)=>t==="private"||t==="followers_only"&&e=="public"?t:e,Qu=e=>{switch(e){case"public":return["private","followers_only","public"];case"followers_only":return["private","followers_only"];case"private":return["private"]}},Wst=e=>{switch(e){case"public":return["private","followers_only","public"];case"followers_only":return["private","followers_only"];case"private":return["private"]}},Fst={class:"add-comment"},zst={class:"form-items"},Bst={class:"form-item add-comment-label"},Gst={for:"comment",class:"visually-hidden"},xst={class:"markdown-hints info-box"},Vst={key:0,class:"users-suggestions"},Hst=["onClick","onKeydown"],Kst={class:"form-select-buttons"},Yst={key:0,class:"form-item text-visibility"},qst={for:"text_visibility"},jst=["value"],Xst={key:1},Qst={key:2,class:"comment-buttons"},Zst={class:"confirm",type:"submit"},Jst=Q({__name:"CommentEdition",props:{workout:{},commentsLoading:{},authUser:{},comment:{default:null},name:{default:"text"},mentions:{default:()=>[]}},setup(e){var b;const t=e,{authUser:n,comment:s,commentsLoading:a,mentions:o,name:i,workout:r}=pe(t),u=ye(),{errorMessages:l}=Ge();let d={position:null,usernameQuery:null};const _=Oe(S()),c=Oe(s!=null&&s.value?s.value.text_visibility:(b=r.value)==null?void 0:b.workout_visibility),T=F(()=>s.value?s.value.id===a.value:a.value==="new"),m=F(()=>u.getters[ue.GETTERS.USERS]);function S(){var P,C,y;if(s!=null&&s.value)return s.value.text||"";if(o.value.length>0){const L=o.value.filter(w=>w.username!==n.value.username);if(L.length>0)return L.map(w=>`@${w.username}`).join(" ")+" "}return(P=r.value)!=null&&P.user&&((C=r.value)==null?void 0:C.user.username)!==n.value.username?`@${(y=r.value)==null?void 0:y.user.username} `:""}function R(P){u.dispatch(ue.ACTIONS.GET_USERS,{per_page:5,q:P,with_following:"true"})}function h(P){_.value=P.value,d=wst(P),d.usernameQuery?R(d.usernameQuery):u.dispatch(ue.ACTIONS.EMPTY_USERS)}function O(P,C,y){P.preventDefault(),P.stopPropagation();const L=`text${y?`-${y.id}`:""}`;if(d.position!==null&&d.usernameQuery){const w=Mst(_.value,d.position,d.usernameQuery,C.username),D=document.getElementById(L);D&&D instanceof HTMLTextAreaElement&&(D.value=w,D.focus(),D.selectionStart=w.length,_.value=w)}u.dispatch(ue.ACTIONS.EMPTY_USERS)}function I(){h({value:"",selectionStart:0}),u.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{})}function N(){if(r.value)if(s!=null&&s.value&&s.value.id){const P={id:s.value.id,text:_.value,workout_id:r.value.id};u.dispatch(J.ACTIONS.EDIT_WORKOUT_COMMENT,P)}else{const P={text:_.value,text_visibility:c.value,workout_id:r.value.id};u.dispatch(J.ACTIONS.ADD_COMMENT,P),h({value:"",selectionStart:0})}}return ut(()=>{u.dispatch(ue.ACTIONS.EMPTY_USERS)}),(P,C)=>{const y=j("CustomTextArea"),L=j("Loader"),w=j("ErrorMessage");return f(),g("div",Fst,[E("form",{onSubmit:Ne(N,["prevent"])},[E("div",zst,[E("div",Bst,[E("label",Gst,A(P.$t("workouts.COMMENTS.ADD")),1),M(y,{id:"comment",class:"comment",name:p(i),input:_.value,required:!0,placeholder:P.$t("workouts.COMMENTS.ADD"),onUpdateValue:h},null,8,["name","input","placeholder"]),E("div",xst,[C[1]||(C[1]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(P.$t("workouts.MARKDOWN_SYNTAX")),1)]),m.value.length>0?(f(),g("ul",Vst,[(f(!0),g(ae,null,be(m.value,D=>(f(),g("li",{key:D.username,tabindex:"0",onClick:W=>O(W,D,p(s)),onKeydown:Xe(W=>O(W,D,p(s)),["enter"])},[M(Ht,{user:D},null,8,["user"]),E("span",null,A(D.username),1)],40,Hst))),128))])):v("",!0)])]),E("div",Kst,[!p(s)&&p(r)&&p(r).workout_visibility?(f(),g("div",Yst,[E("label",qst,A(P.$t("visibility_levels.VISIBILITY"))+": ",1),We(E("select",{id:"text_visibility","onUpdate:modelValue":C[0]||(C[0]=D=>c.value=D)},[(f(!0),g(ae,null,be(p(Wst)(p(r).workout_visibility),D=>(f(),g("option",{value:D,key:D},A(P.$t(`visibility_levels.COMMENT_LEVELS.${D}`)),9,jst))),128))],512),[[jt,c.value]])])):v("",!0),C[2]||(C[2]=E("div",{class:"spacer"},null,-1)),T.value?(f(),g("div",Xst,[M(L)])):(f(),g("div",Qst,[E("button",Zst,A(P.$t("buttons.SUBMIT")),1),E("button",{class:"cancel",onClick:Ne(I,["prevent"])},A(P.$t("buttons.CANCEL")),1)]))]),p(l)?(f(),G(w,{key:0,message:p(l)},null,8,["message"])):v("",!0)],32)])}}}),I1=ne(Jst,[["__scopeId","data-v-9d576c8a"]]),eat={class:"report-form"},tat={class:"form-items"},nat={class:"form-item"},sat={for:"report"},aat={class:"form-select-buttons"},oat={key:0},iat={key:1,class:"report-buttons"},rat={class:"confirm",type:"submit"},uat=Q({__name:"ReportForm",props:{objectId:{},objectType:{}},setup(e){const t=e,{objectId:n,objectType:s}=pe(t),a=ye(),o={comment:"workouts.COMMENTS.REPORT",user:"user.REPORT",workout:"workouts.REPORT_WORKOUT"},i=Oe(""),r=F(()=>a.getters[ee.GETTERS.ERROR_MESSAGES]),u=F(()=>a.getters[Ue.GETTERS.REPORT_STATUS]),l=F(()=>o[s.value]);function d(T){i.value=T.value}function _(){i.value="",a.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),a.commit(Ue.MUTATIONS.SET_REPORT_STATUS,null),s.value==="comment"?a.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{}):s.value==="workout"?a.commit(J.MUTATIONS.SET_CURRENT_REPORTING,!1):a.commit(ue.MUTATIONS.UPDATE_USER_CURRENT_REPORTING,!1)}function c(){a.dispatch(Ue.ACTIONS.SUBMIT_REPORT,{object_id:n.value,object_type:s.value,note:i.value})}return(T,m)=>{const S=j("CustomTextArea"),R=j("Loader"),h=j("ErrorMessage");return f(),g("div",eat,[E("form",{onSubmit:Ne(c,["prevent"])},[E("div",tat,[E("div",nat,[E("label",sat,A(T.$t(l.value)),1),M(S,{class:"report-textarea",name:"report",required:!0,placeholder:T.$t("common.REPORT_PLACEHOLDER"),onUpdateValue:d},null,8,["placeholder"])])]),E("div",aat,[m[0]||(m[0]=E("div",{class:"spacer"},null,-1)),u.value==="loading"?(f(),g("div",oat,[M(R)])):(f(),g("div",iat,[E("button",rat,A(T.$t("buttons.SUBMIT")),1),E("button",{class:"cancel",onClick:Ne(_,["prevent"])},A(T.$t("buttons.CANCEL")),1)]))]),r.value?(f(),G(h,{key:0,message:r.value,"no-margin":!0},null,8,["message"])):v("",!0)],32)])}}}),k_=ne(uat,[["__scopeId","data-v-33590e30"]]),lat=Q({__name:"Username",props:{user:{}},setup(e){const t=e,{user:n}=pe(t);return(s,a)=>{const o=j("router-link");return p(n).username?(f(),G(o,{key:0,class:"user-name",to:{name:s.$route.path.startsWith("/admin")?"UserFromAdmin":"User",params:{username:p(n).username}},title:p(n).username},{default:X(()=>[B(A(p(n).username),1)]),_:1},8,["to","title"])):v("",!0)}}}),uo=ne(lat,[["__scopeId","data-v-145b3e52"]]),cat=["id"],dat={class:"comment-detail"},Eat={class:"comment-info"},_at=["title"],Tat=["innerHTML"],pat={key:1,class:"suspended info-box"},mat={key:3,class:"comment-actions"},fat=["disabled","title"],Sat=["title"],Aat=["title"],hat=["title"],Oat=["title"],Iat={key:6,class:"report-submitted"},Rat={class:"info-box"},Nat=Q({__name:"Comment",props:{comment:{},workout:{default:null},authUser:{},commentsLoading:{},currentCommentEdition:{default:null},forNotification:{type:Boolean,default:!1},forAdmin:{type:Boolean,default:!1},displayAppeal:{type:Boolean,default:!1},hideSuspensionAppeal:{type:Boolean,default:!1},action:{default:null}},emits:["commentLinkClicked"],setup(e){const t=e,{action:n,authUser:s,comment:a,currentCommentEdition:o,forAdmin:i,forNotification:r,workout:u}=pe(t),l=at(),d=ye(),{displayAppealForm:_}=c_(),{displayOptions:c,locale:T}=Ge(),m=F(()=>d.getters[Ue.GETTERS.REPORT_STATUS]),S=F(()=>l.params.commentId),R=F(()=>{var D,W,Y,he;return a.value.id===S.value||(((D=o.value)==null?void 0:D.type)==="delete"||((W=o.value)==null?void 0:W.type)==="report")&&((he=(Y=o.value)==null?void 0:Y.comment)==null?void 0:he.id)===a.value.id}),h=F(()=>{var D,W,Y,he;return a.value.user.username===(s==null?void 0:s.value.username)&&((D=n.value)==null?void 0:D.action_type)==="comment_suspension"&&(!n.value.appeal||((W=n.value.appeal)==null?void 0:W.approved)===!1||((Y=n.value.appeal)==null?void 0:Y.approved)===null&&!((he=n.value.appeal)!=null&&he.updated_at))&&a.value.suspended_at!==null&&a.value.suspension!==void 0&&_.value!==a.value.id}),O=F(()=>!r.value&&!a.value.suspended&&!I(s.value,a.value.user)&&!b()&&m.value!==`comment-${a.value.id}-created`);function I(D,W){return D&&D.username===W.username}function N(){var D,W,Y;return((D=o.value)==null?void 0:D.type)==="edit"&&((Y=(W=o.value)==null?void 0:W.comment)==null?void 0:Y.id)===a.value.id}function b(){var D,W,Y;return((D=o.value)==null?void 0:D.type)==="report"&&((Y=(W=o.value)==null?void 0:W.comment)==null?void 0:Y.id)===a.value.id}function P(D){d.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{type:"delete",comment:D})}function C(D){d.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{type:"report",comment:D}),d.commit(Ue.MUTATIONS.SET_REPORT_STATUS,null)}function y(D){d.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{type:D,comment:a.value}),setTimeout(()=>{const W=document.getElementById(`text-${a.value.id}`);W&&W.focus()},100)}function L(D){d.dispatch(D.liked?J.ACTIONS.UNDO_LIKE_COMMENT:J.ACTIONS.LIKE_COMMENT,D)}function w(){let D=`/comments/${a.value.id}/likes`;return a.value.workout_id&&(D=`/workouts/${a.value.workout_id}${D}`),D}return Pe(()=>l.params.workoutId,()=>{d.commit(Ue.MUTATIONS.SET_REPORT_STATUS,null)}),ut(()=>d.commit(Ue.MUTATIONS.SET_REPORT_STATUS,null)),(D,W)=>{const Y=j("router-link"),he=j("VisibilityIcon");return f(),g("div",{class:"workout-comment",id:p(a).id},[M(Ht,{user:p(a).user},null,8,["user"]),E("div",dat,[E("div",Eat,[M(uo,{user:p(a).user},null,8,["user"]),W[5]||(W[5]=E("div",{class:"spacer"},null,-1)),M(Y,{class:"comment-date",to:`${p(a).workout_id?`/workouts/${p(a).workout_id}`:""}/comments/${p(a).id}`,title:p(Ut)(p(a).created_at,p(c).timezone,p(c).dateFormat),onClick:W[0]||(W[0]=ie=>D.$emit("commentLinkClicked"))},{default:X(()=>[B(A(p(Ba)(new Date(p(a).created_at),new Date,{addSuffix:!0,locale:p(T)})),1)]),_:1},8,["to","title"]),p(a).modification_date?(f(),g("div",{key:0,class:"comment-edited",title:p(Ut)(p(a).modification_date,p(c).timezone,p(c).dateFormat)}," ("+A(D.$t("common.EDITED"))+") ",9,_at)):v("",!0),M(he,{visibility:p(a).text_visibility,"is-comment":!0},null,8,["visibility"])]),p(a).text_html?(f(),g(ae,{key:0},[N()?(f(),G(I1,{key:1,workout:p(u),comment:p(a),"comments-loading":D.commentsLoading,name:`text-${p(a).id}`,authUser:p(s)},null,8,["workout","comment","comments-loading","name","authUser"])):(f(),g("span",{key:0,class:fe(["comment-text",{highlight:R.value}]),innerHTML:p(O1)(p(a).text_html)},null,10,Tat))],64)):v("",!0),p(a).suspended&&!p(a).suspension?(f(),g("div",pat,[W[6]||(W[6]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(D.$t("workouts.COMMENTS.SUSPENDED_COMMENT_BY_ADMIN")),1)])):v("",!0),h.value&&p(n)&&p(a).suspended?(f(),G(Ktt,{key:2,"hide-suspension-appeal":D.hideSuspensionAppeal,action:p(n),comment:p(a)},null,8,["hide-suspension-appeal","action","comment"])):v("",!0),p(s).username&&!p(i)?(f(),g("div",mat,[!p(a).suspended&&!p(r)?(f(),g("button",{key:0,class:"transparent icon-button likes",onClick:W[1]||(W[1]=ie=>p(r)?null:L(p(a))),disabled:p(r),title:`${D.$t(`workouts.${p(a).liked?"REMOVE_LIKE":"COMMENTS.LIKE_COMMENT"}`)} (${p(a).likes_count} ${D.$t("workouts.LIKES",p(a).likes_count)})`},[E("i",{class:fe(["fa",{"fa-heart":p(a).likes_count>0,"fa-heart-o":p(a).likes_count===0,liked:p(a).liked}]),"aria-hidden":"true"},null,2)],8,fat)):v("",!0),!p(a).suspended&&!p(r)&&p(a).likes_count>0?(f(),G(Y,{key:1,to:w(),class:"likes-count"},{default:X(()=>[B(A(p(a).likes_count),1)]),_:1},8,["to"])):v("",!0),O.value?(f(),g("button",{key:2,class:"transparent icon-button",onClick:W[2]||(W[2]=ie=>C(p(a))),title:D.$t("workouts.COMMENTS.REPORT")},W[7]||(W[7]=[E("i",{class:"fa fa-flag","aria-hidden":"true"},null,-1)]),8,Sat)):v("",!0),I(p(s),p(a).user)&&!p(r)?(f(),g("button",{key:3,class:"transparent icon-button",onClick:W[3]||(W[3]=()=>y("edit")),title:D.$t("workouts.COMMENTS.EDIT")},W[8]||(W[8]=[E("i",{class:"fa fa-edit","aria-hidden":"true"},null,-1)]),8,Aat)):v("",!0),I(p(s),p(a).user)&&!p(r)?(f(),g("button",{key:4,class:"transparent icon-button",onClick:W[4]||(W[4]=ie=>P(p(a))),title:D.$t("workouts.COMMENTS.DELETE")},W[9]||(W[9]=[E("i",{class:"fa fa-trash","aria-hidden":"true"},null,-1)]),8,hat)):v("",!0)])):v("",!0),p(s).username?v("",!0):(f(),g("div",{key:4,class:"comment-likes",title:`${p(a).likes_count} ${D.$t("workouts.LIKES",p(a).likes_count)}`},[E("i",{class:fe(["fa",{"fa-heart":p(a).likes_count>0,"fa-heart-o":p(a).likes_count===0}]),"aria-hidden":"true"},null,2),p(a).likes_count>0?(f(),G(Y,{key:0,to:w(),class:"likes-count"},{default:X(()=>[B(A(p(a).likes_count),1)]),_:1},8,["to"])):v("",!0)],8,Oat)),b()?(f(),G(k_,{key:5,"object-id":p(a).id,"object-type":"comment"},null,8,["object-id"])):v("",!0),m.value===`comment-${p(a).id}-created`?(f(),g("div",Iat,[E("div",Rat,[E("span",null,[W[10]||(W[10]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(D.$t("common.REPORT_SUBMITTED")),1)])])])):v("",!0)])],8,cat)}}}),w_=ne(Nat,[["__scopeId","data-v-5982abd5"]]),gat={class:"alert-message"},bat={key:0},Cat=["innerHTML"],Pat=Q({__name:"AlertMessage",props:{message:{},param:{default:()=>""}},setup(e){const t=e,{message:n,param:s}=pe(t);return(a,o)=>{const i=j("i18n-t");return f(),g("div",gat,[p(s)?(f(),g("span",bat,[M(i,{keypath:p(n)},{default:X(()=>[E("span",null,A(p(s)),1)]),_:1},8,["keypath"])])):(f(),g("span",{key:1,innerHTML:a.$t(p(n))},null,8,Cat)),yt(a.$slots,"additionalMessage",{},void 0,!0)])}}}),Dat=ne(Pat,[["__scopeId","data-v-533c7883"]]),Lat={},vat={class:"card"},yat={class:"card-title"},Uat={class:"card-content"};function $at(e,t){return f(),g("div",vat,[E("div",yat,[yt(e.$slots,"title")]),E("div",Uat,[yt(e.$slots,"content")])])}const M_=ne(Lat,[["render",$at]]),kat={class:"custom-textarea"},wat=["id","name","maxLength","disabled","rows","required","placeholder"],Mat={class:"remaining-chars"},Wat=Q({__name:"CustomTextArea",props:{name:{},charLimit:{default:500},disabled:{type:Boolean,default:!1},input:{default:""},rows:{default:2},required:{type:Boolean,default:!1},placeholder:{default:""}},emits:["updateValue"],setup(e,{emit:t}){const n=e,s=t,{input:a}=pe(n),o=Oe(a.value?a.value:"");function i(r){const u=r.target;s("updateValue",{value:u.value,selectionStart:u.selectionStart})}return Pe(()=>n.input,r=>{o.value=r===null?"":r}),(r,u)=>(f(),g("div",kat,[We(E("textarea",{id:r.name,name:r.name,maxLength:r.charLimit,disabled:r.disabled,rows:r.rows,required:r.required,placeholder:r.placeholder,"onUpdate:modelValue":u[0]||(u[0]=l=>o.value=l),onInput:i},null,40,wat),[[st,o.value]]),E("div",Mat,A(r.$t("workouts.REMAINING_CHARS"))+": "+A(o.value.length)+"/"+A(r.charLimit),1)]))}}),R1=ne(Wat,[["__scopeId","data-v-8d139e95"]]),gn={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"}},Fat={metric:{imperial:3.280839895,metric:1},imperial:{metric:1/3.280839895,imperial:1}},Xt=(e,t,n,s=3)=>{const a=gn[t],o=gn[n],i=e*a.multiplier*Fat[a.system][o.system]/o.multiplier;return s!==null?parseFloat(i.toFixed(s)):i},Zr=(e,t,n)=>{const s=n?gn[e].defaultTarget:e;return n?Xt(t,e,s,2):t},uS=(e,t)=>{const n=t?e*1.8+32:e,s=t?" °F":"°C";return`${n===0?0:Number(n).toFixed(1)}${s}`},zat=(e,t)=>{const n=t?e*2.2369363:e,s=t?" mph":"m/s";return`${n===0?0:Number(n).toFixed(1)}${s}`},Bat=Q({__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:s,distance:a,speed:o,strong:i,unitFrom:r,useImperialUnits:u}=pe(t),l=F(()=>u.value?gn[r.value].defaultTarget:r.value),d=F(()=>u.value?Xt(a.value,r.value,l.value,n.value):parseFloat(a.value.toFixed(n.value)));return(_,c)=>(f(),g(ae,null,[E("span",{class:fe(["distance",{strong:p(i)}])},A(d.value),3),c[0]||(c[0]=B(" "+A(" ")+" ")),p(s)?(f(),g("span",{key:0,class:fe(["unit",{strong:p(i)}])},A(l.value)+A(p(o)?"/h":""),3)):v("",!0)],64))}}),Gat=ne(Bat,[["__scopeId","data-v-3aadc3cb"]]),xat={class:"dropdown-wrapper"},Vat=["aria-expanded","aria-label"],Hat=["aria-labelledby"],Kat=["id","onClick","onKeydown","onMouseover"],Yat=Q({__name:"Dropdown",props:{options:{},selected:{},buttonLabel:{},listLabel:{},isMenuOpen:{type:Boolean}},emits:{selected:e=>e},setup(e,{emit:t}){const n=e,{isMenuOpen:s,options:a,selected:o}=pe(n),i=t,r=at(),u=Oe(!1),l=Oe(null),d=Oe(m(o.value));function _(){if(u.value)c();else{u.value=!0;const h=document.getElementById(`dropdown-item-${d.value}`);h==null||h.focus()}}function c(){var h;u.value=!1,d.value=m(o.value),(h=l.value)==null||h.focus()}function T(h){i("selected",h),u.value=!1}function m(h){const O=a.value.findIndex(I=>I.value===h);return O>=0?O:0}function S(h){let O=!1;u.value&&(h.key==="ArrowDown"&&(O=!0,d.value+=1,d.value>a.value.length&&(d.value=0)),h.key==="ArrowUp"&&(O=!0,d.value-=1,d.value<0&&(d.value=a.value.length-1)),h.key==="Home"&&(O=!0,d.value=0),h.key==="End"&&(O=!0,d.value=a.value.length-1),h.key==="Enter"&&(O=!0,T(a.value[d.value])),(h.key==="Escape"||h.key==="Tab")&&(O=h.key==="Escape",c())),O&&(h.stopPropagation(),h.preventDefault())}function R(h){d.value=h}return Pe(()=>r.path,()=>u.value=!1),Pe(()=>o.value,h=>d.value=m(h)),Pe(()=>s.value,h=>{h||c()}),Et(()=>{document.addEventListener("keydown",S)}),ut(()=>{document.removeEventListener("keydown",S)}),(h,O)=>(f(),g("div",xat,[E("button",{"aria-controls":"dropdown-list","aria-expanded":u.value,"aria-haspopup":"true","aria-label":h.buttonLabel,class:"dropdown-selector transparent",onClick:O[0]||(O[0]=I=>_()),ref_key:"dropdownButton",ref:l},[yt(h.$slots,"default",{},void 0,!0)],8,Vat),u.value?(f(),g("ul",{key:0,"aria-labelledby":h.listLabel,class:"dropdown-list",id:"dropdown-list",role:"menu"},[(f(!0),g(ae,null,be(p(a),(I,N)=>(f(),g("li",{class:fe(["dropdown-item",{selected:I.value===p(o),focused:N===d.value}]),key:N,id:`dropdown-item-${N}`,tabindex:"-1",onClick:b=>T(I),onKeydown:Xe(b=>T(I),["enter"]),onMouseover:b=>R(N),role:"menuitem"},A(I.label),43,Kat))),128))],8,Hat)):v("",!0)]))}}),qat=ne(Yat,[["__scopeId","data-v-6bfc5e83"]]),jat={key:0},Xat={key:1},Qat={key:2},Zat=Q({__name:"ErrorMessage",props:{message:{},noMargin:{type:Boolean,default:!1}},setup(e){const t=e,{message:n}=pe(t);return(s,a)=>(f(),g("div",{class:fe(["error-message",{"no-margin":s.noMargin}])},[Array.isArray(p(n))?(f(),g("ul",jat,[(f(!0),g(ae,null,be(p(n),(o,i)=>(f(),g("li",{key:i},A(s.$t(o)),1))),128))])):typeof p(n)=="string"?(f(),g("div",Xat,A(s.$t(p(n)).replace("api.ERROR.","")),1)):(f(),g("div",Qat,A(s.$t(`equipments.ERRORS.${p(n).status}`,{equipmentId:p(n).equipmentId,equipmentLabel:p(n).equipmentLabel})),1))],2))}}),Jat=ne(Zat,[["__scopeId","data-v-0c9e6dff"]]),eot={name:"Bike"},tot={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 not(e,t,n,s,a,o){return f(),g("svg",tot,t[0]||(t[0]=[E("desc",{id:"BikeEquipmentDescription"},"bike",-1),E("g",null,[E("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 v=h.nonTextTags||["script","style","textarea","option"];let y,D;h.allowedAttributes&&(y={},D={},u(h.allowedAttributes,function(oe,$){y[$]=[];const k=[];oe.forEach(function(x){typeof x=="string"&&x.indexOf("*")>=0?k.push(t(x).replace(/\\\*/g,".*")):y[$].push(x)}),k.length&&(D[$]=new RegExp("^("+k.join("|")+")$"))}));const w={},P={},W={};u(h.allowedClasses,function(oe,$){if(y&&(l(y,$)||(y[$]=[]),y[$].push("class")),w[$]=oe,Array.isArray(oe)){const k=[];w[$]=[],W[$]=[],oe.forEach(function(x){typeof x=="string"&&x.indexOf("*")>=0?k.push(t(x).replace(/\\\*/g,".*")):x instanceof RegExp?W[$].push(x):w[$].push(x)}),k.length&&(P[$]=new RegExp("^("+k.join("|")+")$"))}});const Y={};let he;u(h.transformTags,function(oe,$){let k;typeof oe=="function"?k=oe:typeof oe=="string"&&(k=m.simpleTransform(oe)),$==="*"?he=k:Y[$]=k});let ie,me,Ie,Le,Ke,Je,He=!1;we();const Tt=new e.Parser({onopentag:function(oe,$){if(h.enforceHtmlBoundary&&oe==="html"&&we(),Ke){Je++;return}const k=new b(oe,$);me.push(k);let x=!1;const le=!!k.text;let Ee;if(l(Y,oe)&&(Ee=Y[oe](oe,$),k.attribs=$=Ee.attribs,Ee.text!==void 0&&(k.innerText=Ee.text),oe!==Ee.tagName&&(k.name=oe=Ee.tagName,Le[ie]=Ee.tagName)),he&&(Ee=he(oe,$),k.attribs=$=Ee.attribs,oe!==Ee.tagName&&(k.name=oe=Ee.tagName,Le[ie]=Ee.tagName)),(!C(oe)||h.disallowedTagsMode==="recursiveEscape"&&!_(Ie)||h.nestingLimit!=null&&ie>=h.nestingLimit)&&(x=!0,Ie[ie]=!0,(h.disallowedTagsMode==="discard"||h.disallowedTagsMode==="completelyDiscard")&&v.indexOf(oe)!==-1&&(Ke=!0,Je=1),Ie[ie]=!0),ie++,x){if(h.disallowedTagsMode==="discard"||h.disallowedTagsMode==="completelyDiscard"){if(k.innerText&&!le){const re=se(k.innerText);h.textFilter?I+=h.textFilter(re,oe):I+=se(k.innerText),He=!0}return}N=I,I=""}I+="<"+oe,oe==="script"&&(h.allowedScriptHostnames||h.allowedScriptDomains)&&(k.innerText=""),(!y||l(y,oe)||y["*"])&&u($,function(re,U){if(!T.test(U)){delete k.attribs[U];return}if(re===""&&!h.allowedEmptyAttributes.includes(U)&&(h.nonBooleanAttributes.includes(U)||h.nonBooleanAttributes.includes("*"))){delete k.attribs[U];return}let z=!1;if(!y||l(y,oe)&&y[oe].indexOf(U)!==-1||y["*"]&&y["*"].indexOf(U)!==-1||l(D,oe)&&D[oe].test(U)||D["*"]&&D["*"].test(U))z=!0;else if(y&&y[oe]){for(const V of y[oe])if(n(V)&&V.name&&V.name===U){z=!0;let q="";if(V.multiple===!0){const ve=re.split(" ");for(const Se of ve)V.values.indexOf(Se)!==-1&&(q===""?q=Se:q+=" "+Se)}else V.values.indexOf(re)>=0&&(q=re);re=q}}if(z){if(h.allowedSchemesAppliedToAttributes.indexOf(U)!==-1&&$e(oe,re)){delete k.attribs[U];return}if(oe==="script"&&U==="src"){let V=!0;try{const q=dt(re);if(h.allowedScriptHostnames||h.allowedScriptDomains){const ve=(h.allowedScriptHostnames||[]).find(function(H){return H===q.url.hostname}),Se=(h.allowedScriptDomains||[]).find(function(H){return q.url.hostname===H||q.url.hostname.endsWith(`.${H}`)});V=ve||Se}}catch{V=!1}if(!V){delete k.attribs[U];return}}if(oe==="iframe"&&U==="src"){let V=!0;try{const q=dt(re);if(q.isRelativeUrl)V=l(h,"allowIframeRelativeUrls")?h.allowIframeRelativeUrls:!h.allowedIframeHostnames&&!h.allowedIframeDomains;else if(h.allowedIframeHostnames||h.allowedIframeDomains){const ve=(h.allowedIframeHostnames||[]).find(function(H){return H===q.url.hostname}),Se=(h.allowedIframeDomains||[]).find(function(H){return q.url.hostname===H||q.url.hostname.endsWith(`.${H}`)});V=ve||Se}}catch{V=!1}if(!V){delete k.attribs[U];return}}if(U==="srcset")try{let V=a(re);if(V.forEach(function(q){$e("srcset",q.url)&&(q.evil=!0)}),V=d(V,function(q){return!q.evil}),V.length)re=c(d(V,function(q){return!q.evil})),k.attribs[U]=re;else{delete k.attribs[U];return}}catch{delete k.attribs[U];return}if(U==="class"){const V=w[oe],q=w["*"],ve=P[oe],Se=W[oe],H=W["*"],ce=P["*"],Me=[ve,ce].concat(Se,H).filter(function(xe){return xe});if(V&&q?re=Te(re,s(V,q),Me):re=Te(re,V||q,Me),!re.length){delete k.attribs[U];return}}if(U==="style"){if(h.parseStyleAttributes)try{const V=o(oe+" {"+re+"}",{map:!1}),q=_e(V,h.allowedStyles);if(re=Z(q),re.length===0){delete k.attribs[U];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+oe+" {"+re+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete k.attribs[U];return}else if(h.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}I+=" "+U,re&&re.length?I+='="'+se(re,!0)+'"':h.allowedEmptyAttributes.includes(U)&&(I+='=""')}else delete k.attribs[U]}),h.selfClosing.indexOf(oe)!==-1?I+=" />":(I+=">",k.innerText&&!le&&!h.textFilter&&(I+=se(k.innerText),He=!0)),x&&(I=N+se(I),N="")},ontext:function(oe){if(Ke)return;const $=me[me.length-1];let k;if($&&(k=$.tag,oe=$.innerText!==void 0?$.innerText:oe),h.disallowedTagsMode==="completelyDiscard"&&!C(k))oe="";else if((h.disallowedTagsMode==="discard"||h.disallowedTagsMode==="completelyDiscard")&&(k==="script"||k==="style"))I+=oe;else{const x=se(oe,!1);h.textFilter&&!He?I+=h.textFilter(x,k):He||(I+=x)}if(me.length){const x=me[me.length-1];x.text+=oe}},onclosetag:function(oe,$){if(Ke)if(Je--,!Je)Ke=!1;else return;const k=me.pop();if(!k)return;if(k.tag!==oe){me.push(k);return}Ke=h.enforceHtmlBoundary?oe==="html":!1,ie--;const x=Ie[ie];if(x){if(delete Ie[ie],h.disallowedTagsMode==="discard"||h.disallowedTagsMode==="completelyDiscard"){k.updateParentNodeText();return}N=I,I=""}if(Le[ie]&&(oe=Le[ie],delete Le[ie]),h.exclusiveFilter&&h.exclusiveFilter(k)){I=I.substr(0,k.tagPosition);return}if(k.updateParentNodeMediaChildren(),k.updateParentNodeText(),h.selfClosing.indexOf(oe)!==-1||$&&!C(oe)&&["escape","recursiveEscape"].indexOf(h.disallowedTagsMode)>=0){x&&(I=N,N="");return}I+="",x&&(I=N+se(I),N=""),He=!1}},h.parser);return Tt.write(R),Tt.end(),I;function we(){I="",ie=0,me=[],Ie={},Le={},Ke=!1,Je=0}function se(oe,$){return typeof oe!="string"&&(oe=oe+""),h.parser.decodeEntities&&(oe=oe.replace(/&/g,"&").replace(//g,">"),$&&(oe=oe.replace(/"/g,"""))),oe=oe.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(//g,">"),$&&(oe=oe.replace(/"/g,""")),oe}function $e(oe,$){for($=$.replace(/[\x00-\x20]+/g,"");;){const le=$.indexOf("",le+4);if(Ee===-1)break;$=$.substring(0,le)+$.substring(Ee+3)}const k=$.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!k)return $.match(/^[/\\]{2}/)?!h.allowProtocolRelative:!1;const x=k[1].toLowerCase();return l(h.allowedSchemesByTag,oe)?h.allowedSchemesByTag[oe].indexOf(x)===-1:!h.allowedSchemes||h.allowedSchemes.indexOf(x)===-1}function dt(oe){if(oe=oe.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),oe.startsWith("relative:"))throw new Error("relative: exploit attempt");let $="relative://relative-site";for(let le=0;le<100;le++)$+=`/${le}`;const k=new URL(oe,$);return{isRelativeUrl:k&&k.hostname==="relative-site"&&k.protocol==="relative:",url:k}}function _e(oe,$){if(!$)return oe;const k=oe.nodes[0];let x;return $[k.selector]&&$["*"]?x=s($[k.selector],$["*"]):x=$[k.selector]||$["*"],x&&(oe.nodes[0].nodes=k.nodes.reduce(Ae(x),[])),oe}function Z(oe){return oe.nodes[0].nodes.reduce(function($,k){return $.push(`${k.prop}:${k.value}${k.important?" !important":""}`),$},[]).join(";")}function Ae(oe){return function($,k){return l(oe,k.prop)&&oe[k.prop].some(function(le){return le.test(k.value)})&&$.push(k),$}}function Te(oe,$,k){return $?(oe=oe.split(/\s+/),oe.filter(function(x){return $.indexOf(x)!==-1||k.some(function(le){return le.test(x)})}).join(" ")):oe}}const f={decodeEntities:!0};return m.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0},m.simpleTransform=function(R,h,O){return O=O===void 0?!0:O,h=h||{},function(I,N){let b;if(O)for(b in h)N[b]=h[b];else N=h;return{tagName:R,attribs:N}}},rd}var Xst=jst();const O1=XI(Xst),I1=e=>O1(knt(St.parseInline(e,{pedantic:!0}),{target:"_blank",validate:{email:()=>!1}}),{allowedTags:["a","p","span","strong","em","img"]}),Qst=e=>{const{value:t,selectionStart:n}=e,s=t.slice(0,n).search(/@\S+$/),a=t.slice(n).search(/\s/),o=s<0?"":a<0?t.slice(s+1):t.slice(s+1,a+n);return o.trim().length>1?{position:s,usernameQuery:o}:{position:null,usernameQuery:null}},Zst=(e,t,n,s)=>e.substring(0,t+1)+s+" "+e.substring(t+n.length+2),Vi=e=>{const t=St.parse(e,{breaks:!0});return O1(t)},k_=()=>["private","followers_only","public"],Qu=(e,t)=>t==="private"||t==="followers_only"&&e=="public"?t:e,Zu=e=>{switch(e){case"public":return["private","followers_only","public"];case"followers_only":return["private","followers_only"];case"private":return["private"]}},Jst=e=>{switch(e){case"public":return["private","followers_only","public"];case"followers_only":return["private","followers_only"];case"private":return["private"]}},eat={class:"add-comment"},tat={class:"form-items"},nat={class:"form-item add-comment-label"},sat={for:"comment",class:"visually-hidden"},aat={class:"markdown-hints info-box"},oat={key:0,class:"users-suggestions"},iat=["onClick","onKeydown"],rat={class:"form-select-buttons"},uat={key:0,class:"form-item text-visibility"},lat={for:"text_visibility"},cat=["value"],dat={key:1},Eat={key:2,class:"comment-buttons"},_at={class:"confirm",type:"submit"},Tat=Q({__name:"CommentEdition",props:{workout:{},commentsLoading:{},authUser:{},comment:{default:null},name:{default:"text"},mentions:{default:()=>[]}},setup(e){var b;const t=e,{authUser:n,comment:s,commentsLoading:a,mentions:o,name:i,workout:r}=pe(t),u=ye(),{errorMessages:l}=Ge();let d={position:null,usernameQuery:null};const _=Oe(f()),c=Oe(s!=null&&s.value?s.value.text_visibility:(b=r.value)==null?void 0:b.workout_visibility),T=F(()=>s.value?s.value.id===a.value:a.value==="new"),m=F(()=>u.getters[ue.GETTERS.USERS]);function f(){var C,v,y;if(s!=null&&s.value)return s.value.text||"";if(o.value.length>0){const D=o.value.filter(w=>w.username!==n.value.username);if(D.length>0)return D.map(w=>`@${w.username}`).join(" ")+" "}return(C=r.value)!=null&&C.user&&((v=r.value)==null?void 0:v.user.username)!==n.value.username?`@${(y=r.value)==null?void 0:y.user.username} `:""}function R(C){u.dispatch(ue.ACTIONS.GET_USERS,{per_page:5,q:C,with_following:"true"})}function h(C){_.value=C.value,d=Qst(C),d.usernameQuery?R(d.usernameQuery):u.dispatch(ue.ACTIONS.EMPTY_USERS)}function O(C,v,y){C.preventDefault(),C.stopPropagation();const D=`text${y?`-${y.id}`:""}`;if(d.position!==null&&d.usernameQuery){const w=Zst(_.value,d.position,d.usernameQuery,v.username),P=document.getElementById(D);P&&P instanceof HTMLTextAreaElement&&(P.value=w,P.focus(),P.selectionStart=w.length,_.value=w)}u.dispatch(ue.ACTIONS.EMPTY_USERS)}function I(){h({value:"",selectionStart:0}),u.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{})}function N(){if(r.value)if(s!=null&&s.value&&s.value.id){const C={id:s.value.id,text:_.value,workout_id:r.value.id};u.dispatch(J.ACTIONS.EDIT_WORKOUT_COMMENT,C)}else{const C={text:_.value,text_visibility:c.value,workout_id:r.value.id};u.dispatch(J.ACTIONS.ADD_COMMENT,C),h({value:"",selectionStart:0})}}return ut(()=>{u.dispatch(ue.ACTIONS.EMPTY_USERS)}),(C,v)=>{const y=j("CustomTextArea"),D=j("Loader"),w=j("ErrorMessage");return S(),g("div",eat,[E("form",{onSubmit:Ne(N,["prevent"])},[E("div",tat,[E("div",nat,[E("label",sat,A(C.$t("workouts.COMMENTS.ADD")),1),M(y,{id:"comment",class:"comment",name:p(i),input:_.value,required:!0,placeholder:C.$t("workouts.COMMENTS.ADD"),onUpdateValue:h},null,8,["name","input","placeholder"]),E("div",aat,[v[1]||(v[1]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(C.$t("workouts.MARKDOWN_SYNTAX")),1)]),m.value.length>0?(S(),g("ul",oat,[(S(!0),g(ae,null,be(m.value,P=>(S(),g("li",{key:P.username,tabindex:"0",onClick:W=>O(W,P,p(s)),onKeydown:Xe(W=>O(W,P,p(s)),["enter"])},[M(Vt,{user:P},null,8,["user"]),E("span",null,A(P.username),1)],40,iat))),128))])):L("",!0)])]),E("div",rat,[!p(s)&&p(r)&&p(r).workout_visibility?(S(),g("div",uat,[E("label",lat,A(C.$t("visibility_levels.VISIBILITY"))+": ",1),We(E("select",{id:"text_visibility","onUpdate:modelValue":v[0]||(v[0]=P=>c.value=P)},[(S(!0),g(ae,null,be(p(Jst)(p(r).workout_visibility),P=>(S(),g("option",{value:P,key:P},A(C.$t(`visibility_levels.COMMENT_LEVELS.${P}`)),9,cat))),128))],512),[[qt,c.value]])])):L("",!0),v[2]||(v[2]=E("div",{class:"spacer"},null,-1)),T.value?(S(),g("div",dat,[M(D)])):(S(),g("div",Eat,[E("button",_at,A(C.$t("buttons.SUBMIT")),1),E("button",{class:"cancel",onClick:Ne(I,["prevent"])},A(C.$t("buttons.CANCEL")),1)]))]),p(l)?(S(),G(w,{key:0,message:p(l)},null,8,["message"])):L("",!0)],32)])}}}),R1=ne(Tat,[["__scopeId","data-v-9d576c8a"]]),pat={class:"report-form"},mat={class:"form-items"},fat={class:"form-item"},Sat={for:"report"},Aat={class:"form-select-buttons"},hat={key:0},Oat={key:1,class:"report-buttons"},Iat={class:"confirm",type:"submit"},Rat=Q({__name:"ReportForm",props:{objectId:{},objectType:{}},setup(e){const t=e,{objectId:n,objectType:s}=pe(t),a=ye(),o={comment:"workouts.COMMENTS.REPORT",user:"user.REPORT",workout:"workouts.REPORT_WORKOUT"},i=Oe(""),r=F(()=>a.getters[ee.GETTERS.ERROR_MESSAGES]),u=F(()=>a.getters[Ue.GETTERS.REPORT_STATUS]),l=F(()=>o[s.value]);function d(T){i.value=T.value}function _(){i.value="",a.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),a.commit(Ue.MUTATIONS.SET_REPORT_STATUS,null),s.value==="comment"?a.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{}):s.value==="workout"?a.commit(J.MUTATIONS.SET_CURRENT_REPORTING,!1):a.commit(ue.MUTATIONS.UPDATE_USER_CURRENT_REPORTING,!1)}function c(){a.dispatch(Ue.ACTIONS.SUBMIT_REPORT,{object_id:n.value,object_type:s.value,note:i.value})}return(T,m)=>{const f=j("CustomTextArea"),R=j("Loader"),h=j("ErrorMessage");return S(),g("div",pat,[E("form",{onSubmit:Ne(c,["prevent"])},[E("div",mat,[E("div",fat,[E("label",Sat,A(T.$t(l.value)),1),M(f,{class:"report-textarea",name:"report",required:!0,placeholder:T.$t("common.REPORT_PLACEHOLDER"),onUpdateValue:d},null,8,["placeholder"])])]),E("div",Aat,[m[0]||(m[0]=E("div",{class:"spacer"},null,-1)),u.value==="loading"?(S(),g("div",hat,[M(R)])):(S(),g("div",Oat,[E("button",Iat,A(T.$t("buttons.SUBMIT")),1),E("button",{class:"cancel",onClick:Ne(_,["prevent"])},A(T.$t("buttons.CANCEL")),1)]))]),r.value?(S(),G(h,{key:0,message:r.value,"no-margin":!0},null,8,["message"])):L("",!0)],32)])}}}),w_=ne(Rat,[["__scopeId","data-v-33590e30"]]),Nat=Q({__name:"Username",props:{user:{}},setup(e){const t=e,{user:n}=pe(t);return(s,a)=>{const o=j("router-link");return p(n).username?(S(),G(o,{key:0,class:"user-name",to:{name:s.$route.path.startsWith("/admin")?"UserFromAdmin":"User",params:{username:p(n).username}},title:p(n).username},{default:X(()=>[B(A(p(n).username),1)]),_:1},8,["to","title"])):L("",!0)}}}),lo=ne(Nat,[["__scopeId","data-v-145b3e52"]]),gat=["id"],bat={class:"comment-detail"},vat={class:"comment-info"},Cat=["title"],Pat=["innerHTML"],Dat={key:1,class:"suspended info-box"},Lat={key:3,class:"comment-actions"},yat=["disabled","title"],Uat=["title"],$at=["title"],kat=["title"],wat=["title"],Mat={key:6,class:"report-submitted"},Wat={class:"info-box"},Fat=Q({__name:"Comment",props:{comment:{},workout:{default:null},authUser:{},commentsLoading:{},currentCommentEdition:{default:null},forNotification:{type:Boolean,default:!1},forAdmin:{type:Boolean,default:!1},displayAppeal:{type:Boolean,default:!1},hideSuspensionAppeal:{type:Boolean,default:!1},action:{default:null}},emits:["commentLinkClicked"],setup(e){const t=e,{action:n,authUser:s,comment:a,currentCommentEdition:o,forAdmin:i,forNotification:r,workout:u}=pe(t),l=at(),d=ye(),{displayAppealForm:_}=c_(),{displayOptions:c,locale:T}=Ge(),m=F(()=>d.getters[Ue.GETTERS.REPORT_STATUS]),f=F(()=>l.params.commentId),R=F(()=>{var P,W,Y,he;return a.value.id===f.value||(((P=o.value)==null?void 0:P.type)==="delete"||((W=o.value)==null?void 0:W.type)==="report")&&((he=(Y=o.value)==null?void 0:Y.comment)==null?void 0:he.id)===a.value.id}),h=F(()=>{var P,W,Y,he;return a.value.user.username===(s==null?void 0:s.value.username)&&((P=n.value)==null?void 0:P.action_type)==="comment_suspension"&&(!n.value.appeal||((W=n.value.appeal)==null?void 0:W.approved)===!1||((Y=n.value.appeal)==null?void 0:Y.approved)===null&&!((he=n.value.appeal)!=null&&he.updated_at))&&a.value.suspended_at!==null&&a.value.suspension!==void 0&&_.value!==a.value.id}),O=F(()=>!r.value&&!a.value.suspended&&!I(s.value,a.value.user)&&!b()&&m.value!==`comment-${a.value.id}-created`);function I(P,W){return P&&P.username===W.username}function N(){var P,W,Y;return((P=o.value)==null?void 0:P.type)==="edit"&&((Y=(W=o.value)==null?void 0:W.comment)==null?void 0:Y.id)===a.value.id}function b(){var P,W,Y;return((P=o.value)==null?void 0:P.type)==="report"&&((Y=(W=o.value)==null?void 0:W.comment)==null?void 0:Y.id)===a.value.id}function C(P){d.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{type:"delete",comment:P})}function v(P){d.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{type:"report",comment:P}),d.commit(Ue.MUTATIONS.SET_REPORT_STATUS,null)}function y(P){d.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{type:P,comment:a.value}),setTimeout(()=>{const W=document.getElementById(`text-${a.value.id}`);W&&W.focus()},100)}function D(P){d.dispatch(P.liked?J.ACTIONS.UNDO_LIKE_COMMENT:J.ACTIONS.LIKE_COMMENT,P)}function w(){let P=`/comments/${a.value.id}/likes`;return a.value.workout_id&&(P=`/workouts/${a.value.workout_id}${P}`),P}return Ce(()=>l.params.workoutId,()=>{d.commit(Ue.MUTATIONS.SET_REPORT_STATUS,null)}),ut(()=>d.commit(Ue.MUTATIONS.SET_REPORT_STATUS,null)),(P,W)=>{const Y=j("router-link"),he=j("VisibilityIcon");return S(),g("div",{class:"workout-comment",id:p(a).id},[M(Vt,{user:p(a).user},null,8,["user"]),E("div",bat,[E("div",vat,[M(lo,{user:p(a).user},null,8,["user"]),W[5]||(W[5]=E("div",{class:"spacer"},null,-1)),M(Y,{class:"comment-date",to:`${p(a).workout_id?`/workouts/${p(a).workout_id}`:""}/comments/${p(a).id}`,title:p(Ut)(p(a).created_at,p(c).timezone,p(c).dateFormat),onClick:W[0]||(W[0]=ie=>P.$emit("commentLinkClicked"))},{default:X(()=>[B(A(p(Ga)(new Date(p(a).created_at),new Date,{addSuffix:!0,locale:p(T)})),1)]),_:1},8,["to","title"]),p(a).modification_date?(S(),g("div",{key:0,class:"comment-edited",title:p(Ut)(p(a).modification_date,p(c).timezone,p(c).dateFormat)}," ("+A(P.$t("common.EDITED"))+") ",9,Cat)):L("",!0),M(he,{visibility:p(a).text_visibility,"is-comment":!0},null,8,["visibility"])]),p(a).text_html?(S(),g(ae,{key:0},[N()?(S(),G(R1,{key:1,workout:p(u),comment:p(a),"comments-loading":P.commentsLoading,name:`text-${p(a).id}`,authUser:p(s)},null,8,["workout","comment","comments-loading","name","authUser"])):(S(),g("span",{key:0,class:fe(["comment-text",{highlight:R.value}]),innerHTML:p(I1)(p(a).text_html)},null,10,Pat))],64)):L("",!0),p(a).suspended&&!p(a).suspension?(S(),g("div",Dat,[W[6]||(W[6]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(P.$t("workouts.COMMENTS.SUSPENDED_COMMENT_BY_ADMIN")),1)])):L("",!0),h.value&&p(n)&&p(a).suspended?(S(),G(int,{key:2,"hide-suspension-appeal":P.hideSuspensionAppeal,action:p(n),comment:p(a)},null,8,["hide-suspension-appeal","action","comment"])):L("",!0),p(s).username&&!p(i)?(S(),g("div",Lat,[!p(a).suspended&&!p(r)?(S(),g("button",{key:0,class:"transparent icon-button likes",onClick:W[1]||(W[1]=ie=>p(r)?null:D(p(a))),disabled:p(r),title:`${P.$t(`workouts.${p(a).liked?"REMOVE_LIKE":"COMMENTS.LIKE_COMMENT"}`)} (${p(a).likes_count} ${P.$t("workouts.LIKES",p(a).likes_count)})`},[E("i",{class:fe(["fa",{"fa-heart":p(a).likes_count>0,"fa-heart-o":p(a).likes_count===0,liked:p(a).liked}]),"aria-hidden":"true"},null,2)],8,yat)):L("",!0),!p(a).suspended&&!p(r)&&p(a).likes_count>0?(S(),G(Y,{key:1,to:w(),class:"likes-count"},{default:X(()=>[B(A(p(a).likes_count),1)]),_:1},8,["to"])):L("",!0),O.value?(S(),g("button",{key:2,class:"transparent icon-button",onClick:W[2]||(W[2]=ie=>v(p(a))),title:P.$t("workouts.COMMENTS.REPORT")},W[7]||(W[7]=[E("i",{class:"fa fa-flag","aria-hidden":"true"},null,-1)]),8,Uat)):L("",!0),I(p(s),p(a).user)&&!p(r)?(S(),g("button",{key:3,class:"transparent icon-button",onClick:W[3]||(W[3]=()=>y("edit")),title:P.$t("workouts.COMMENTS.EDIT")},W[8]||(W[8]=[E("i",{class:"fa fa-edit","aria-hidden":"true"},null,-1)]),8,$at)):L("",!0),I(p(s),p(a).user)&&!p(r)?(S(),g("button",{key:4,class:"transparent icon-button",onClick:W[4]||(W[4]=ie=>C(p(a))),title:P.$t("workouts.COMMENTS.DELETE")},W[9]||(W[9]=[E("i",{class:"fa fa-trash","aria-hidden":"true"},null,-1)]),8,kat)):L("",!0)])):L("",!0),p(s).username?L("",!0):(S(),g("div",{key:4,class:"comment-likes",title:`${p(a).likes_count} ${P.$t("workouts.LIKES",p(a).likes_count)}`},[E("i",{class:fe(["fa",{"fa-heart":p(a).likes_count>0,"fa-heart-o":p(a).likes_count===0}]),"aria-hidden":"true"},null,2),p(a).likes_count>0?(S(),G(Y,{key:0,to:w(),class:"likes-count"},{default:X(()=>[B(A(p(a).likes_count),1)]),_:1},8,["to"])):L("",!0)],8,wat)),b()?(S(),G(w_,{key:5,"object-id":p(a).id,"object-type":"comment"},null,8,["object-id"])):L("",!0),m.value===`comment-${p(a).id}-created`?(S(),g("div",Mat,[E("div",Wat,[E("span",null,[W[10]||(W[10]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(P.$t("common.REPORT_SUBMITTED")),1)])])])):L("",!0)])],8,gat)}}}),M_=ne(Fat,[["__scopeId","data-v-5982abd5"]]),zat={class:"alert-message"},Bat={key:0},Gat=["innerHTML"],xat=Q({__name:"AlertMessage",props:{message:{},param:{default:()=>""}},setup(e){const t=e,{message:n,param:s}=pe(t);return(a,o)=>{const i=j("i18n-t");return S(),g("div",zat,[p(s)?(S(),g("span",Bat,[M(i,{keypath:p(n)},{default:X(()=>[E("span",null,A(p(s)),1)]),_:1},8,["keypath"])])):(S(),g("span",{key:1,innerHTML:a.$t(p(n))},null,8,Gat)),yt(a.$slots,"additionalMessage",{},void 0,!0)])}}}),Vat=ne(xat,[["__scopeId","data-v-533c7883"]]),Hat={},Kat={class:"card"},Yat={class:"card-title"},qat={class:"card-content"};function jat(e,t){return S(),g("div",Kat,[E("div",Yat,[yt(e.$slots,"title")]),E("div",qat,[yt(e.$slots,"content")])])}const W_=ne(Hat,[["render",jat]]),Xat={class:"custom-textarea"},Qat=["id","name","maxLength","disabled","rows","required","placeholder"],Zat={class:"remaining-chars"},Jat=Q({__name:"CustomTextArea",props:{name:{},charLimit:{default:500},disabled:{type:Boolean,default:!1},input:{default:""},rows:{default:2},required:{type:Boolean,default:!1},placeholder:{default:""}},emits:["updateValue"],setup(e,{emit:t}){const n=e,s=t,{input:a}=pe(n),o=Oe(a.value?a.value:"");function i(r){const u=r.target;s("updateValue",{value:u.value,selectionStart:u.selectionStart})}return Ce(()=>n.input,r=>{o.value=r===null?"":r}),(r,u)=>(S(),g("div",Xat,[We(E("textarea",{id:r.name,name:r.name,maxLength:r.charLimit,disabled:r.disabled,rows:r.rows,required:r.required,placeholder:r.placeholder,"onUpdate:modelValue":u[0]||(u[0]=l=>o.value=l),onInput:i},null,40,Qat),[[st,o.value]]),E("div",Zat,A(r.$t("workouts.REMAINING_CHARS"))+": "+A(o.value.length)+"/"+A(r.charLimit),1)]))}}),N1=ne(Jat,[["__scopeId","data-v-8d139e95"]]),On={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"}},eot={metric:{imperial:3.280839895,metric:1},imperial:{metric:1/3.280839895,imperial:1}},jt=(e,t,n,s=3)=>{const a=On[t],o=On[n],i=e*a.multiplier*eot[a.system][o.system]/o.multiplier;return s!==null?parseFloat(i.toFixed(s)):i},Jr=(e,t,n)=>{const s=n?On[e].defaultTarget:e;return n?jt(t,e,s,2):t},lS=(e,t)=>{const n=t?e*1.8+32:e,s=t?" °F":"°C";return`${n===0?0:Number(n).toFixed(1)}${s}`},tot=(e,t)=>{const n=t?e*2.2369363:e,s=t?" mph":"m/s";return`${n===0?0:Number(n).toFixed(1)}${s}`},not=Q({__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:s,distance:a,speed:o,strong:i,unitFrom:r,useImperialUnits:u}=pe(t),l=F(()=>u.value?On[r.value].defaultTarget:r.value),d=F(()=>u.value?jt(a.value,r.value,l.value,n.value):parseFloat(a.value.toFixed(n.value)));return(_,c)=>(S(),g(ae,null,[E("span",{class:fe(["distance",{strong:p(i)}])},A(d.value),3),c[0]||(c[0]=B(" "+A(" ")+" ")),p(s)?(S(),g("span",{key:0,class:fe(["unit",{strong:p(i)}])},A(l.value)+A(p(o)?"/h":""),3)):L("",!0)],64))}}),sot=ne(not,[["__scopeId","data-v-3aadc3cb"]]),aot={class:"dropdown-wrapper"},oot=["aria-expanded","aria-label"],iot=["aria-labelledby"],rot=["id","onClick","onKeydown","onMouseover"],uot=Q({__name:"Dropdown",props:{options:{},selected:{},buttonLabel:{},listLabel:{},isMenuOpen:{type:Boolean}},emits:{selected:e=>e},setup(e,{emit:t}){const n=e,{isMenuOpen:s,options:a,selected:o}=pe(n),i=t,r=at(),u=Oe(!1),l=Oe(null),d=Oe(m(o.value));function _(){if(u.value)c();else{u.value=!0;const h=document.getElementById(`dropdown-item-${d.value}`);h==null||h.focus()}}function c(){var h;u.value=!1,d.value=m(o.value),(h=l.value)==null||h.focus()}function T(h){i("selected",h),u.value=!1}function m(h){const O=a.value.findIndex(I=>I.value===h);return O>=0?O:0}function f(h){let O=!1;u.value&&(h.key==="ArrowDown"&&(O=!0,d.value+=1,d.value>a.value.length&&(d.value=0)),h.key==="ArrowUp"&&(O=!0,d.value-=1,d.value<0&&(d.value=a.value.length-1)),h.key==="Home"&&(O=!0,d.value=0),h.key==="End"&&(O=!0,d.value=a.value.length-1),h.key==="Enter"&&(O=!0,T(a.value[d.value])),(h.key==="Escape"||h.key==="Tab")&&(O=h.key==="Escape",c())),O&&(h.stopPropagation(),h.preventDefault())}function R(h){d.value=h}return Ce(()=>r.path,()=>u.value=!1),Ce(()=>o.value,h=>d.value=m(h)),Ce(()=>s.value,h=>{h||c()}),Et(()=>{document.addEventListener("keydown",f)}),ut(()=>{document.removeEventListener("keydown",f)}),(h,O)=>(S(),g("div",aot,[E("button",{"aria-controls":"dropdown-list","aria-expanded":u.value,"aria-haspopup":"true","aria-label":h.buttonLabel,class:"dropdown-selector transparent",onClick:O[0]||(O[0]=I=>_()),ref_key:"dropdownButton",ref:l},[yt(h.$slots,"default",{},void 0,!0)],8,oot),u.value?(S(),g("ul",{key:0,"aria-labelledby":h.listLabel,class:"dropdown-list",id:"dropdown-list",role:"menu"},[(S(!0),g(ae,null,be(p(a),(I,N)=>(S(),g("li",{class:fe(["dropdown-item",{selected:I.value===p(o),focused:N===d.value}]),key:N,id:`dropdown-item-${N}`,tabindex:"-1",onClick:b=>T(I),onKeydown:Xe(b=>T(I),["enter"]),onMouseover:b=>R(N),role:"menuitem"},A(I.label),43,rot))),128))],8,iot)):L("",!0)]))}}),lot=ne(uot,[["__scopeId","data-v-6bfc5e83"]]),cot={key:0},dot={key:1},Eot={key:2},_ot=Q({__name:"ErrorMessage",props:{message:{},noMargin:{type:Boolean,default:!1}},setup(e){const t=e,{message:n}=pe(t);return(s,a)=>(S(),g("div",{class:fe(["error-message",{"no-margin":s.noMargin}])},[Array.isArray(p(n))?(S(),g("ul",cot,[(S(!0),g(ae,null,be(p(n),(o,i)=>(S(),g("li",{key:i},A(s.$t(o)),1))),128))])):typeof p(n)=="string"?(S(),g("div",dot,A(s.$t(p(n)).replace("api.ERROR.","")),1)):(S(),g("div",Eot,A(s.$t(`equipments.ERRORS.${p(n).status}`,{equipmentId:p(n).equipmentId,equipmentLabel:p(n).equipmentLabel})),1))],2))}}),Tot=ne(_ot,[["__scopeId","data-v-0c9e6dff"]]),pot={name:"Bike"},mot={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 fot(e,t,n,s,a,o){return S(),g("svg",mot,t[0]||(t[0]=[E("desc",{id:"BikeEquipmentDescription"},"bike",-1),E("g",null,[E("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 @@ -359,7 +359,7 @@ and ensure you are accounting for this risk. 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 sot=ne(eot,[["render",not]]),aot={name:"BikeTrainer"},oot={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 iot(e,t,n,s,a,o){return f(),g("svg",oot,t[0]||(t[0]=[Pn(`bike trainerbike trainer`,7)]))}const rot=ne(aot,[["render",iot]]),uot={name:"Kayak_Boat"},lot={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 cot(e,t,n,s,a,o){return f(),g("svg",lot,t[0]||(t[0]=[E("desc",{id:"kayakBoatEquipmentDescription"},"kayak",-1),E("g",null,[E("g",null,[E("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 Iot=ne(Aot,[["render",Oot]]),Rot={name:"Kayak_Boat"},Not={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 got(e,t,n,s,a,o){return S(),g("svg",Not,t[0]||(t[0]=[E("desc",{id:"kayakBoatEquipmentDescription"},"kayak",-1),E("g",null,[E("g",null,[E("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 @@ -388,7 +388,7 @@ and ensure you are accounting for this risk. 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),E("g",null,[E("g",null,[E("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 dot=ne(uot,[["render",cot]]),Eot={name:"Shoes"},_ot={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 Tot(e,t,n,s,a,o){return f(),g("svg",_ot,t[0]||(t[0]=[Pn(`shoesshoes`,4)]))}const pot=ne(Eot,[["render",Tot]]),mot={name:"Shoes"},fot={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 Sot(e,t,n,s,a,o){return f(),g("svg",fot,t[0]||(t[0]=[E("desc",{id:"skisEquipmentDescription"},"skis",-1),E("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 Dot=ne(vot,[["render",Pot]]),Lot={name:"Shoes"},yot={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 Uot(e,t,n,s,a,o){return S(),g("svg",yot,t[0]||(t[0]=[E("desc",{id:"skisEquipmentDescription"},"skis",-1),E("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 @@ -416,7 +416,7 @@ and ensure you are accounting for this risk. 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 Aot=ne(mot,[["render",Sot]]),hot={name:"Shoes"},Oot={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 Iot(e,t,n,s,a,o){return f(),g("svg",Oot,t[0]||(t[0]=[Pn(`snowshoessnowshoes`,3)]))}const Rot=ne(hot,[["render",Iot]]),Not=["title"],got=Q({__name:"index",props:{equipmentTypeLabel:{},title:{}},setup(e){const t=e,{equipmentTypeLabel:n,title:s}=pe(t),{darkTheme:a}=Ge();return(o,i)=>(f(),g("div",{class:"equipment-type-img",style:Yn({fill:p(a)?"#cfd0d0":"#2c3e50"}),title:p(s)},[p(n)==="Bike"?(f(),G(sot,{key:0})):v("",!0),p(n)==="Bike Trainer"?(f(),G(rot,{key:1})):v("",!0),p(n)==="Kayak_Boat"?(f(),G(dot,{key:2})):v("",!0),p(n)==="Shoes"?(f(),G(pot,{key:3})):v("",!0),p(n)==="Skis"?(f(),G(Aot,{key:4})):v("",!0),p(n)==="Snowshoes"?(f(),G(Rot,{key:5})):v("",!0)],12,Not))}}),bot={name:"CyclingSport"},Cot={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 Pot(e,t,n,s,a,o){return f(),g("svg",Cot,t[0]||(t[0]=[E("desc",{id:"cyclingSportDescription"}," silhouette of a person riding a bicycle ",-1),E("g",null,[E("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 Wot=ne(kot,[["render",Mot]]),Fot=["title"],zot=Q({__name:"index",props:{equipmentTypeLabel:{},title:{}},setup(e){const t=e,{equipmentTypeLabel:n,title:s}=pe(t),{darkTheme:a}=Ge();return(o,i)=>(S(),g("div",{class:"equipment-type-img",style:Gn({fill:p(a)?"#cfd0d0":"#2c3e50"}),title:p(s)},[p(n)==="Bike"?(S(),G(Sot,{key:0})):L("",!0),p(n)==="Bike Trainer"?(S(),G(Iot,{key:1})):L("",!0),p(n)==="Kayak_Boat"?(S(),G(bot,{key:2})):L("",!0),p(n)==="Shoes"?(S(),G(Dot,{key:3})):L("",!0),p(n)==="Skis"?(S(),G($ot,{key:4})):L("",!0),p(n)==="Snowshoes"?(S(),G(Wot,{key:5})):L("",!0)],12,Fot))}}),Bot={name:"CyclingSport"},Got={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 xot(e,t,n,s,a,o){return S(),g("svg",Got,t[0]||(t[0]=[E("desc",{id:"cyclingSportDescription"}," silhouette of a person riding a bicycle ",-1),E("g",null,[E("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`}),E("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 @@ -494,7 +494,7 @@ and ensure you are accounting for this risk. 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 Dot=ne(bot,[["render",Pot]]),Lot={name:"CyclingTransport"},vot={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 yot(e,t,n,s,a,o){return f(),g("svg",vot,t[0]||(t[0]=[E("desc",{id:"cyclingTransportDescription"}," silhouette of a person riding a bicycle (for transportation) ",-1),E("g",{id:"g147"},[E("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"}),E("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 Uot=ne(Lot,[["render",yot]]),$ot={name:"CyclingTransport"},kot={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 wot(e,t,n,s,a,o){return f(),g("svg",kot,t[0]||(t[0]=[Pn(' silhouette of a person riding a bicycle for touring/trekking ',2)]))}const Mot=ne($ot,[["render",wot]]),Wot={name:"CyclingVirtual"},Fot={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 zot(e,t,n,s,a,o){return f(),g("svg",Fot,t[0]||(t[0]=[Pn(' silhouette of a person riding a bicycle with virtual indicator ',4)]))}const Bot=ne(Wot,[["render",zot]]),Got={name:"Hiking"},xot={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 Vot(e,t,n,s,a,o){return f(),g("svg",xot,t[0]||(t[0]=[E("desc",{id:"hikingDescription"},"silhouette of a person hiking",-1),E("g",null,[E("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 Vot=ne(Bot,[["render",xot]]),Hot={name:"CyclingTransport"},Kot={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 Yot(e,t,n,s,a,o){return S(),g("svg",Kot,t[0]||(t[0]=[E("desc",{id:"cyclingTransportDescription"}," silhouette of a person riding a bicycle (for transportation) ",-1),E("g",{id:"g147"},[E("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"}),E("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 qot=ne(Hot,[["render",Yot]]),jot={name:"CyclingTransport"},Xot={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 Qot(e,t,n,s,a,o){return S(),g("svg",Xot,t[0]||(t[0]=[Nn(' silhouette of a person riding a bicycle for touring/trekking ',2)]))}const Zot=ne(jot,[["render",Qot]]),Jot={name:"CyclingVirtual"},eit={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 tit(e,t,n,s,a,o){return S(),g("svg",eit,t[0]||(t[0]=[Nn(' silhouette of a person riding a bicycle with virtual indicator ',4)]))}const nit=ne(Jot,[["render",tit]]),sit={name:"Hiking"},ait={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 oit(e,t,n,s,a,o){return S(),g("svg",ait,t[0]||(t[0]=[E("desc",{id:"hikingDescription"},"silhouette of a person hiking",-1),E("g",null,[E("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`}),E("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 @@ -503,7 +503,7 @@ and ensure you are accounting for this risk. 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 Hot=ne(Got,[["render",Vot]]),Kot={name:"MountainBiking"},Yot={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 qot(e,t,n,s,a,o){return f(),g("svg",Yot,t[0]||(t[0]=[E("desc",{id:"mountainBikingDescription"}," silhouette of a person riding a mountain bike ",-1),E("g",null,[E("g",null,[E("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 iit=ne(sit,[["render",oit]]),rit={name:"MountainBiking"},uit={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 lit(e,t,n,s,a,o){return S(),g("svg",uit,t[0]||(t[0]=[E("desc",{id:"mountainBikingDescription"}," silhouette of a person riding a mountain bike ",-1),E("g",null,[E("g",null,[E("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`}),E("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 @@ -518,7 +518,7 @@ and ensure you are accounting for this risk. 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 jot=ne(Kot,[["render",qot]]),Xot={name:"MountainBikingElectric"},Qot={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 Zot(e,t,n,s,a,o){return f(),g("svg",Qot,t[0]||(t[0]=[Pn(' silhouette of a person riding an electric mountain bike ',18)]))}const Jot=ne(Xot,[["render",Zot]]),eit={name:"Mountaineering"},tit={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 nit(e,t,n,s,a,o){return f(),g("svg",tit,t[0]||(t[0]=[Pn(` silhouette of a person doing mountaineering silhouette of a person riding an electric mountain bike ',18)]))}const Tit=ne(dit,[["render",_it]]),pit={name:"Mountaineering"},mit={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 fit(e,t,n,s,a,o){return S(),g("svg",mit,t[0]||(t[0]=[Nn(` silhouette of a person doing mountaineering `,2)]))}const sit=ne(eit,[["render",nit]]),ait={name:"OpenWaterSwimming"},oit={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 iit(e,t,n,s,a,o){return f(),g("svg",oit,t[0]||(t[0]=[Pn(` silhouette of a person swimming in open water `,2)]))}const Sit=ne(pit,[["render",fit]]),Ait={name:"OpenWaterSwimming"},hit={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 Oit(e,t,n,s,a,o){return S(),g("svg",hit,t[0]||(t[0]=[Nn(` silhouette of a person swimming in open water `,3)]))}const rit=ne(ait,[["render",iit]]),uit={name:"Paragliding"},lit={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 cit(e,t,n,s,a,o){return f(),g("svg",lit,t[0]||(t[0]=[Pn('silhouette of a person paragliding',3)]))}const dit=ne(uit,[["render",cit]]),Eit={name:"Rowing"},_it={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 Tit(e,t,n,s,a,o){return f(),g("svg",_it,t[0]||(t[0]=[E("desc",{id:"rowingDescription"},"silhouette of a person rowing",-1),E("g",null,[E("g",null,[E("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 Iit=ne(Ait,[["render",Oit]]),Rit={name:"Paragliding"},Nit={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 git(e,t,n,s,a,o){return S(),g("svg",Nit,t[0]||(t[0]=[Nn('silhouette of a person paragliding',3)]))}const bit=ne(Rit,[["render",git]]),vit={name:"Rowing"},Cit={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 Pit(e,t,n,s,a,o){return S(),g("svg",Cit,t[0]||(t[0]=[E("desc",{id:"rowingDescription"},"silhouette of a person rowing",-1),E("g",null,[E("g",null,[E("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 @@ -610,7 +610,7 @@ and ensure you are accounting for this risk. 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`}),E("circle",{cx:"248.953",cy:"109.842",r:"52.326"})])],-1)]))}const pit=ne(Eit,[["render",Tit]]),mit={name:"Running"},fit={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 Sit(e,t,n,s,a,o){return f(),g("svg",fit,t[0]||(t[0]=[E("desc",{id:"runningDescription"},"silhouette of a running person",-1),E("g",null,[E("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`}),E("circle",{cx:"248.953",cy:"109.842",r:"52.326"})])],-1)]))}const Dit=ne(vit,[["render",Pit]]),Lit={name:"Running"},yit={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 Uit(e,t,n,s,a,o){return S(),g("svg",yit,t[0]||(t[0]=[E("desc",{id:"runningDescription"},"silhouette of a running person",-1),E("g",null,[E("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`}),E("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 @@ -619,7 +619,7 @@ and ensure you are accounting for this risk. 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 Ait=ne(mit,[["render",Sit]]),hit={name:"SkiingAlpine"},Oit={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 Iit(e,t,n,s,a,o){return f(),g("svg",Oit,t[0]||(t[0]=[E("desc",{id:"alpineSkiingDescription"},"silhouette of a person skiing",-1),E("g",null,[E("g",null,[E("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 $it=ne(Lit,[["render",Uit]]),kit={name:"SkiingAlpine"},wit={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 Mit(e,t,n,s,a,o){return S(),g("svg",wit,t[0]||(t[0]=[E("desc",{id:"alpineSkiingDescription"},"silhouette of a person skiing",-1),E("g",null,[E("g",null,[E("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 @@ -630,7 +630,7 @@ and ensure you are accounting for this risk. 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`}),E("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 Rit=ne(hit,[["render",Iit]]),Nit={name:"SkiingCrossCountry"},git={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 bit(e,t,n,s,a,o){return f(),g("svg",git,t[0]||(t[0]=[E("desc",{id:"crossCountrySkiingDescription"}," silhouette of a person skiing (cross country) ",-1),E("g",null,[E("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 Wit=ne(kit,[["render",Mit]]),Fit={name:"SkiingCrossCountry"},zit={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 Bit(e,t,n,s,a,o){return S(),g("svg",zit,t[0]||(t[0]=[E("desc",{id:"crossCountrySkiingDescription"}," silhouette of a person skiing (cross country) ",-1),E("g",null,[E("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 @@ -640,7 +640,7 @@ and ensure you are accounting for this risk. 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 Cit=ne(Nit,[["render",bit]]),Pit={name:"Snowshoes"},Dit={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 Lit(e,t,n,s,a,o){return f(),g("svg",Dit,t[0]||(t[0]=[Pn('silhouette of a person with snowshoes',6)]))}const vit=ne(Pit,[["render",Lit]]),yit={name:"Swimrun"},Uit={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 $it(e,t,n,s,a,o){return f(),g("svg",Uit,t[0]||(t[0]=[Pn(' silhouette of a person swimming in open water and another silhouette of a person running ',4)]))}const kit=ne(yit,[["render",$it]]),wit={name:"Trail"},Mit={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 Wit(e,t,n,s,a,o){return f(),g("svg",Mit,t[0]||(t[0]=[E("desc",{id:"trailDescription"},"silhouette of a person running (trail)",-1),E("g",null,[E("g",null,[E("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 Git=ne(Fit,[["render",Bit]]),xit={name:"Snowshoes"},Vit={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 Hit(e,t,n,s,a,o){return S(),g("svg",Vit,t[0]||(t[0]=[Nn('silhouette of a person with snowshoes',6)]))}const Kit=ne(xit,[["render",Hit]]),Yit={name:"Swimrun"},qit={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 jit(e,t,n,s,a,o){return S(),g("svg",qit,t[0]||(t[0]=[Nn(' silhouette of a person swimming in open water and another silhouette of a person running ',4)]))}const Xit=ne(Yit,[["render",jit]]),Qit={name:"Trail"},Zit={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 Jit(e,t,n,s,a,o){return S(),g("svg",Zit,t[0]||(t[0]=[E("desc",{id:"trailDescription"},"silhouette of a person running (trail)",-1),E("g",null,[E("g",null,[E("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 @@ -653,8 +653,8 @@ and ensure you are accounting for this risk. 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`}),E("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 Fit=ne(wit,[["render",Wit]]),zit={name:"Walking"},Bit={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 Git(e,t,n,s,a,o){return f(),g("svg",Bit,t[0]||(t[0]=[Pn('silhouette of a walking person',3)]))}const xit=ne(zit,[["render",Git]]),W_={"Cycling (Sport)":"#4c9792","Cycling (Trekking)":"#a8af88","Cycling (Transport)":"#88af98","Cycling (Virtual)":"#64a360",Hiking:"#bb757c","Mountain Biking":"#d4b371","Mountain Biking (Electric)":"#fc9d6f",Mountaineering:"#48b3b7","Open Water Swimming":"#4058a4",Paragliding:"#c23c50",Rowing:"#fcce72",Running:"#835b83","Skiing (Alpine)":"#67a4bd","Skiing (Cross Country)":"#9498d0",Snowshoes:"#5780a8",Swimrun:"#3d9fc9",Trail:"#09a98a",Walking:"#838383"},Vit=e=>{const t={};return e.map(n=>t[n.id]=n.color?n.color:W_[n.label]),t},Hit=(e,t)=>{const n=e.translatedLabel.toLowerCase(),s=t.translatedLabel.toLowerCase();return n>s?1:ne.filter(a=>n==="all"?!0:s.includes(a.id)||a[n]).map(a=>({...a,translatedLabel:t(`sports.${a.label}.LABEL`)})).sort(Hit),F_=(e,t)=>t.filter(n=>n.id===e.sport_id).map(n=>n.label)[0],z_=(e,t)=>t.filter(n=>n.id===e.sport_id).map(n=>n.color)[0];function en(){const e=ye(),{t}=vt(),n=$t("sportColors"),s="#838383",a=Oe(!1),o=Oe(""),i=F(()=>e.getters[Vt.GETTERS.SPORTS]),r=F(()=>ds(i.value,t)),u=Lt({sport_id:0,color:null,is_active:!0,stopped_speed_threshold:1,fromSport:!1});function l(m){u.is_active=m.target.checked}function d(m){a.value=m}function _(m){const S={...u};S.stopped_speed_threshold=m.imperial_units?Xt(u.stopped_speed_threshold,"mi","km",2):u.stopped_speed_threshold,e.dispatch(K.ACTIONS.UPDATE_USER_SPORT_PREFERENCES,S)}function c(m,S=!1){e.dispatch(K.ACTIONS.RESET_USER_SPORT_PREFERENCES,{sportId:m,fromSport:S})}function T(m){return m?i.value.filter(S=>S.id===m.sport_id)[0]:null}return{defaultColor:s,defaultEquipmentId:o,displayModal:a,sportColors:n,sportPayload:u,sports:i,translatedSports:r,getWorkoutSport:T,resetSport:c,updateDisplayModal:d,updateIsActive:l,updateSport:_}}const Kit=["title"],Yit=Q({__name:"index",props:{sportLabel:{},color:{},title:{default:""}},setup(e){const t=e,{color:n,sportLabel:s,title:a}=pe(t),{sportColors:o}=en();return(i,r)=>(f(),g("div",{class:"sport-img",style:Yn({fill:p(n)?p(n):p(o)[p(s)]}),title:p(a)?p(a):i.$t(`sports.${p(s)}.LABEL`)},[p(s)==="Cycling (Sport)"?(f(),G(Dot,{key:0})):v("",!0),p(s)==="Cycling (Trekking)"?(f(),G(Mot,{key:1})):v("",!0),p(s)==="Cycling (Transport)"?(f(),G(Uot,{key:2})):v("",!0),p(s)==="Cycling (Virtual)"?(f(),G(Bot,{key:3})):v("",!0),p(s)==="Hiking"?(f(),G(Hot,{key:4})):v("",!0),p(s)==="Mountain Biking"?(f(),G(jot,{key:5})):v("",!0),p(s)==="Mountain Biking (Electric)"?(f(),G(Jot,{key:6})):v("",!0),p(s)==="Mountaineering"?(f(),G(sit,{key:7})):v("",!0),p(s)==="Paragliding"?(f(),G(dit,{key:8})):v("",!0),p(s)==="Open Water Swimming"?(f(),G(rit,{key:9})):v("",!0),p(s)==="Rowing"?(f(),G(pit,{key:10})):v("",!0),p(s)==="Running"?(f(),G(Ait,{key:11})):v("",!0),p(s)==="Skiing (Alpine)"?(f(),G(Rit,{key:12})):v("",!0),p(s)==="Skiing (Cross Country)"?(f(),G(Cit,{key:13})):v("",!0),p(s)==="Snowshoes"?(f(),G(vit,{key:14})):v("",!0),p(s)==="Swimrun"?(f(),G(kit,{key:15})):v("",!0),p(s)==="Trail"?(f(),G(Fit,{key:16})):v("",!0),p(s)==="Walking"?(f(),G(xit,{key:17})):v("",!0)],12,Kit))}}),qit={},jit={class:"loader"};function Xit(e,t){return f(),g("div",jit)}const Ml=ne(qit,[["render",Xit],["__scopeId","data-v-8b613881"]]),Qit={class:"custom-modal"},Zit={key:0,class:"modal-message"},Jit={key:1,class:"modal-message"},ert={key:2,class:"info-box"},trt={key:4},nrt={key:5,class:"modal-buttons"},srt=Q({__name:"Modal",props:{title:{},message:{},strongMessage:{default:()=>""},loading:{type:Boolean,default:!1},warning:{default:()=>""},hideErrorMessage:{type:Boolean,default:!1}},emits:["cancelAction","confirmAction"],setup(e,{emit:t}){const n=e,{title:s,message:a,strongMessage:o}=pe(n),i=t,{errorMessages:r}=Ge();let u=null,l=null,d=null;function _(c){var T;(c.key==="Tab"||c.keyCode===9)&&(c.preventDefault(),((T=document.activeElement)==null?void 0:T.id)==="cancel-button"?u==null||u.focus():l==null||l.focus())}return Et(()=>{d=document.activeElement,l=document.getElementById("cancel-button"),u=document.getElementById("confirm-button"),l&&l.focus(),document.addEventListener("keydown",_)}),ut(()=>{document.removeEventListener("keydown",_),d==null||d.focus()}),(c,T)=>{const m=j("i18n-t"),S=j("ErrorMessage"),R=j("Loader"),h=j("Card");return f(),g("div",{id:"modal",role:"dialog",onClick:T[2]||(T[2]=Ne(O=>i("cancelAction"),["self"]))},[E("div",Qit,[M(h,null,{title:X(()=>[B(A(p(s)),1)]),content:X(()=>[p(o)?(f(),g("div",Zit,[M(m,{keypath:p(a)},{default:X(()=>[E("span",null,A(p(o)),1)]),_:1},8,["keypath"])])):(f(),g("div",Jit,A(p(a)),1)),c.warning?(f(),g("div",ert,[T[3]||(T[3]=E("i",{class:"fa fa-exclamation-triangle","aria-hidden":"true"},null,-1)),B(" "+A(c.warning),1)])):v("",!0),p(r)&&!c.hideErrorMessage?(f(),G(S,{key:3,message:p(r)},null,8,["message"])):v("",!0),c.loading?(f(),g("div",trt,[M(R)])):(f(),g("div",nrt,[p(r)?v("",!0):(f(),g("button",{key:0,class:fe(["confirm",{danger:c.warning}]),id:"confirm-button",onClick:T[0]||(T[0]=O=>i("confirmAction"))},A(c.$t("buttons.YES")),3)),E("button",{tabindex:"0",id:"cancel-button",class:"cancel",onClick:T[1]||(T[1]=O=>i("cancelAction"))},A(c.$t(`buttons.${p(r)?"CANCEL":"NO"}`)),1)]))]),_:1})])])}}}),art=ne(srt,[["__scopeId","data-v-d246e1cf"]]),ort={class:"visibility"},irt=["title"],rrt=Q({__name:"VisibilityIcon",props:{visibility:{},isComment:{type:Boolean,default:!1}},setup(e){const t=e,{visibility:n,isComment:s}=pe(t);function a(o){switch(o){case"public":return"globe";case"followers_only":return"users";default:case"private":return"lock"}}return(o,i)=>(f(),g("span",ort,[E("i",{class:fe(`fa fa-${a(p(n))}`),"aria-hidden":"true",title:o.$t(`visibility_levels.${p(s)?"COMMENT_":""}LEVELS.${p(n)}`)},null,10,irt)]))}}),urt=[{target:Dat,name:"AlertMessage"},{target:M_,name:"Card"},{target:R1,name:"CustomTextArea"},{target:Gat,name:"Distance"},{target:qat,name:"Dropdown"},{target:Jat,name:"ErrorMessage"},{target:Ml,name:"Loader"},{target:art,name:"Modal"},{target:Yit,name:"SportImage"},{target:got,name:"EquipmentTypeImage"},{target:rrt,name:"VisibilityIcon"},{target:w_,name:"Comment"}],lrt={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)}},crt=["bytes","KB","MB","GB","TB"],N1=e=>{if(!e)return{size:"0",suffix:"bytes"};const t=Math.floor(Math.log(e)/Math.log(1024)),n=(e/Math.pow(1024,t)).toFixed(1),s=crt[t];return{size:n,suffix:s}},Zu=e=>{if(!e)return"0 bytes";const t=N1(e);return`${t.size}${t.suffix}`},drt=e=>+(e/1048576).toFixed(2),Ert={id:"admin-app",class:"admin-card"},_rt={for:"admin_contact"},Trt=["value"],prt=["disabled"],mrt={for:"max_users"},frt=["disabled"],Srt={class:"admin-help"},Art={class:"info-box"},hrt={for:"max_single_file_size"},Ort=["disabled"],Irt={for:"max_zip_file_size"},Rrt=["disabled"],Nrt={for:"gpx_limit_import"},grt=["disabled"],brt={for:"stats_workouts_limit"},Crt=["disabled"],Prt={class:"admin-help"},Drt={class:"info-box"},Lrt={class:"about-label",for:"about"},vrt={class:"textarea-description"},yrt=["innerHTML"],Urt={class:"privacy-policy-label",for:"privacy_policy"},$rt={class:"textarea-description"},krt=["innerHTML"],wrt={key:5,class:"form-buttons"},Mrt={class:"confirm",type:"submit"},Wrt={key:6,class:"form-buttons"},Frt=Q({__name:"AdminApplication",props:{edition:{type:Boolean,default:!1}},setup(e){const t=e,{edition:n}=pe(t),s=On(),a=ye(),{appConfig:o,errorMessages:i}=Ge(),r=Lt({admin_contact:"",max_users:0,max_single_file_size:0,max_zip_file_size:0,gpx_limit_import:0,about:"",privacy_policy:"",stats_workouts_limit:0});function u(_){Object.keys(r).map(c=>{["max_single_file_size","max_zip_file_size"].includes(c)?r[c]=drt(_[c]):["about","privacy_policy"].includes(c)?r[c]=_[c]!==null?_[c]:"":r[c]=_[c]})}function l(){u(o.value),a.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),s.push("/admin/application")}function d(){const _=Object.assign({},r);_.max_single_file_size*=1048576,_.max_zip_file_size*=1048576,a.dispatch(ee.ACTIONS.UPDATE_APPLICATION_CONFIG,_)}return Ze(()=>{o.value&&u(o.value)}),(_,c)=>{const T=j("ErrorMessage"),m=j("Card");return f(),g("div",Ert,[M(m,null,{title:X(()=>[B(A(_.$t("admin.APP_CONFIG.TITLE")),1)]),content:X(()=>[E("form",{class:"admin-form",onSubmit:Ne(d,["prevent"])},[E("label",_rt,[B(A(_.$t("admin.APP_CONFIG.ADMIN_CONTACT"))+": ",1),!p(n)&&!r.admin_contact?(f(),g("input",{key:0,class:"no-contact",value:_.$t("admin.APP_CONFIG.NO_CONTACT_EMAIL"),disabled:""},null,8,Trt)):We((f(),g("input",{key:1,id:"admin_contact",name:"admin_contact",type:"email","onUpdate:modelValue":c[0]||(c[0]=S=>r.admin_contact=S),disabled:!p(n)},null,8,prt)),[[st,r.admin_contact]])]),E("label",mrt,[B(A(_.$t("admin.APP_CONFIG.MAX_USERS_LABEL"))+": ",1),We(E("input",{id:"max_users",name:"max_users",type:"number",min:"0","onUpdate:modelValue":c[1]||(c[1]=S=>r.max_users=S),disabled:!p(n)},null,8,frt),[[st,r.max_users]])]),E("div",Srt,[E("span",Art,[c[10]||(c[10]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(_.$t("admin.APP_CONFIG.MAX_USERS_HELP")),1)])]),E("label",hrt,[B(A(_.$t("admin.APP_CONFIG.SINGLE_UPLOAD_MAX_SIZE_LABEL"))+": ",1),We(E("input",{id:"max_single_file_size",name:"max_single_file_size",type:"number",step:"0.1",min:"0","onUpdate:modelValue":c[2]||(c[2]=S=>r.max_single_file_size=S),disabled:!p(n)},null,8,Ort),[[st,r.max_single_file_size]])]),E("label",Irt,[B(A(_.$t("admin.APP_CONFIG.ZIP_UPLOAD_MAX_SIZE_LABEL"))+": ",1),We(E("input",{id:"max_zip_file_size",name:"max_zip_file_size",type:"number",step:"0.1",min:"0","onUpdate:modelValue":c[3]||(c[3]=S=>r.max_zip_file_size=S),disabled:!p(n)},null,8,Rrt),[[st,r.max_zip_file_size]])]),E("label",Nrt,[B(A(_.$t("admin.APP_CONFIG.MAX_FILES_IN_ZIP_LABEL"))+": ",1),We(E("input",{id:"gpx_limit_import",name:"gpx_limit_import",type:"number",min:"0","onUpdate:modelValue":c[4]||(c[4]=S=>r.gpx_limit_import=S),disabled:!p(n)},null,8,grt),[[st,r.gpx_limit_import]])]),E("label",brt,[B(A(_.$t("admin.APP_CONFIG.STATS_WORKOUTS_LIMIT_LABEL"))+": ",1),We(E("input",{id:"stats_workouts_limit",name:"stats_workouts_limit",type:"number",min:"0","onUpdate:modelValue":c[5]||(c[5]=S=>r.stats_workouts_limit=S),disabled:!p(n)},null,8,Crt),[[st,r.stats_workouts_limit]])]),E("div",Prt,[E("span",Drt,[c[11]||(c[11]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(_.$t("admin.APP_CONFIG.STATS_WORKOUTS_LIMIT_HELP")),1)])]),E("label",Lrt,A(_.$t("admin.ABOUT.TEXT"))+": ",1),E("span",vrt,A(_.$t("admin.ABOUT.DESCRIPTION")),1),p(n)?We((f(),g("textarea",{key:0,id:"about",name:"about",rows:"10","onUpdate:modelValue":c[6]||(c[6]=S=>r.about=S)},null,512)),[[st,r.about]]):(f(),g("div",{key:1,innerHTML:r.about?p(Vi)(r.about):_.$t("admin.NO_TEXT_ENTERED"),class:"textarea-content"},null,8,yrt)),E("label",Urt,A(Fe(_.$t("privacy_policy.TITLE")))+": ",1),E("span",$rt,A(_.$t("admin.PRIVACY_POLICY_DESCRIPTION")),1),p(n)?We((f(),g("textarea",{key:2,id:"privacy_policy",name:"privacy_policy",rows:"20","onUpdate:modelValue":c[7]||(c[7]=S=>r.privacy_policy=S)},null,512)),[[st,r.privacy_policy]]):(f(),g("div",{key:3,innerHTML:r.privacy_policy?p(Vi)(r.privacy_policy):_.$t("admin.NO_TEXT_ENTERED"),class:"textarea-content"},null,8,krt)),p(i)?(f(),G(T,{key:4,message:p(i)},null,8,["message"])):v("",!0),p(n)?(f(),g("div",wrt,[E("button",Mrt,A(_.$t("buttons.SUBMIT")),1),E("button",{class:"cancel",onClick:Ne(l,["prevent"])},A(_.$t("buttons.CANCEL")),1)])):(f(),g("div",Wrt,[E("button",{class:"confirm",onClick:c[8]||(c[8]=Ne(S=>_.$router.push("/admin/application/edit"),["prevent"]))},A(_.$t("buttons.EDIT")),1),E("button",{class:"cancel",onClick:c[9]||(c[9]=Ne(S=>_.$router.push("/admin"),["prevent"]))},A(_.$t("admin.BACK_TO_ADMIN")),1)]))],32)]),_:1})])}}}),lS=ne(Frt,[["__scopeId","data-v-784037c3"]]),zrt=(e,t)=>{const n=e.translatedLabel.toLowerCase(),s=t.translatedLabel.toLowerCase();return n>s?1:ne.map(n=>({...n,translatedLabel:t(`equipment_types.${n.label}.LABEL`)})).sort(zrt),B_=(e,t)=>{const n=e.label.toLowerCase(),s=t.label.toLowerCase();return n>s?1:ns?e.filter(o=>b1[o.equipment_type.label].includes(s.label)).filter(o=>n=="all"?!0:n=="withIncludedIds"&&a.includes(o.id)||o.is_active).map(o=>({...o,label:o.is_active?o.label:`${o.label} (${t("common.INACTIVE")})`})).sort(B_):[],Brt={id:"admin-equipment-types",class:"admin-card"},Grt={class:"responsive-table"},xrt={class:"text-left"},Vrt={class:"text-left equipment-type-action"},Hrt={class:"text-center"},Krt={class:"cell-heading"},Yrt={class:"equipment-type-label"},qrt={class:"cell-heading"},jrt={class:"text-center"},Xrt={class:"cell-heading"},Qrt={class:"equipment-type-action"},Zrt={class:"cell-heading"},Jrt={class:"action-button"},eut=["onClick"],tut={key:0,class:"has-equipments"},nut=Q({__name:"AdminEquipmentTypes",setup(e){const t=ye(),{t:n}=vt(),{errorMessages:s}=Ge(),a=F(()=>g1(t.getters[Be.GETTERS.EQUIPMENT_TYPES],n));function o(){t.dispatch(Be.ACTIONS.GET_EQUIPMENT_TYPES)}function i(r,u){t.dispatch(Be.ACTIONS.UPDATE_EQUIPMENT_TYPE,{id:r,isActive:u})}return Ze(()=>o()),(r,u)=>{const l=j("EquipmentTypeImage"),d=j("ErrorMessage"),_=j("Card");return f(),g("div",Brt,[M(_,null,{title:X(()=>[B(A(r.$t("admin.EQUIPMENT_TYPES.TITLE")),1)]),content:X(()=>[E("button",{class:"top-button",onClick:u[0]||(u[0]=Ne(c=>r.$router.push("/admin"),["prevent"]))},A(r.$t("admin.BACK_TO_ADMIN")),1),E("div",Grt,[E("table",null,[E("thead",null,[E("tr",null,[u[2]||(u[2]=E("th",null,"#",-1)),E("th",null,A(r.$t("admin.EQUIPMENT_TYPES.TABLE.IMAGE")),1),E("th",xrt,A(r.$t("admin.EQUIPMENT_TYPES.TABLE.LABEL")),1),E("th",null,A(r.$t("admin.EQUIPMENT_TYPES.TABLE.ACTIVE")),1),E("th",Vrt,A(r.$t("admin.ACTION")),1)])]),E("tbody",null,[(f(!0),g(ae,null,be(a.value,c=>(f(),g("tr",{key:c.id},[E("td",Hrt,[u[3]||(u[3]=E("span",{class:"cell-heading"},"id",-1)),B(" "+A(c.id),1)]),E("td",null,[E("span",Krt,A(r.$t("admin.EQUIPMENT_TYPES.TABLE.IMAGE")),1),M(l,{title:c.translatedLabel,"equipment-type-label":c.label},null,8,["title","equipment-type-label"])]),E("td",Yrt,[E("span",qrt,A(r.$t("admin.EQUIPMENT_TYPES.TABLE.LABEL")),1),B(" "+A(c.translatedLabel),1)]),E("td",jrt,[E("span",Xrt,A(r.$t("admin.EQUIPMENT_TYPES.TABLE.ACTIVE")),1),E("i",{class:fe(`fa fa${c.is_active?"-check":""}`),"aria-hidden":"true"},null,2)]),E("td",Qrt,[E("span",Zrt,A(r.$t("admin.ACTION")),1),E("div",Jrt,[E("button",{class:fe({danger:c.is_active}),onClick:T=>i(c.id,!c.is_active)},A(r.$t(`buttons.${c.is_active?"DIS":"EN"}ABLE`)),11,eut),c.has_equipments?(f(),g("span",tut,[u[4]||(u[4]=E("i",{class:"fa fa-warning","aria-hidden":"true"},null,-1)),B(" "+A(r.$t("admin.EQUIPMENT_TYPES.TABLE.HAS_EQUIPMENTS")),1)])):v("",!0)])])]))),128))])]),p(s)?(f(),G(d,{key:0,message:p(s)},null,8,["message"])):v("",!0),E("button",{onClick:u[1]||(u[1]=Ne(c=>r.$router.push("/admin"),["prevent"]))},A(r.$t("admin.BACK_TO_ADMIN")),1)])]),_:1})])}}}),sut=ne(nut,[["__scopeId","data-v-608cc91f"]]),aut={class:"stat-card"},out={class:"stat-content box"},iut={class:"stat-icon"},rut={class:"stat-details"},uut={class:"stat-huge"},lut={class:"stat"},Bs=Q({__name:"StatCard",props:{icon:{},text:{},value:{}},setup(e){const t=e,{icon:n,text:s,value:a}=pe(t);return(o,i)=>(f(),g("div",aut,[E("div",out,[E("div",iut,[E("i",{class:fe(["fa",`fa-${p(n)}`])},null,2)]),E("div",rut,[E("div",uut,A(p(a)),1),E("div",lut,A(p(s)),1)])])]))}}),cut={id:"user-stats"},dut=Q({__name:"AppStatsCards",props:{appStatistics:{}},setup(e){const t=e,{appStatistics:n}=pe(t),s=F(()=>N1(n.value.uploads_dir_size));return(a,o)=>(f(),g("div",cut,[M(Bs,{icon:"users",value:p(n).users,text:a.$t("user.ACTIVE_USER",p(n).users)},null,8,["value","text"]),M(Bs,{icon:"tags",value:p(n).sports,text:a.$t("workouts.SPORT",p(n).sports)},null,8,["value","text"]),M(Bs,{icon:"calendar",value:p(n).workouts,text:a.$t("workouts.WORKOUT",p(n).workouts)},null,8,["value","text"]),M(Bs,{icon:"folder-open",value:s.value.size,text:s.value.suffix},null,8,["value","text"])]))}}),Eut={id:"admin-menu",class:"center-card"},_ut={class:"admin-menu description-list"},Tut={class:"application-config-details"},put={class:"registration-status"},mut={key:0,class:"email-sending-status"},fut={class:"application-config-details"},Sut=Q({__name:"AdminMenu",setup(e){const t=ye(),{appConfig:n}=Ge(),{authUserHasAdminRights:s}=Ye(),a=F(()=>t.getters[ee.GETTERS.APP_STATS]),o=F(()=>t.getters[Ue.GETTERS.UNRESOLVED_REPORTS_STATUS]);return Ze(()=>t.dispatch(Ue.ACTIONS.GET_UNRESOLVED_REPORTS_STATUS)),Et(()=>{const i=document.getElementById("adminLink");i&&i.focus()}),(i,r)=>{const u=j("router-link");return f(),g("div",Eut,[M(M_,null,{title:X(()=>[B(A(i.$t("admin.ADMINISTRATION")),1)]),content:X(()=>[M(dut,{appStatistics:a.value},null,8,["appStatistics"]),E("div",_ut,[E("dl",null,[p(s)?(f(),g(ae,{key:0},[E("dt",null,[M(u,{id:"adminLink",to:"/admin/application"},{default:X(()=>[B(A(i.$t("admin.APPLICATION")),1)]),_:1})]),E("dd",Tut,[B(A(i.$t("admin.UPDATE_APPLICATION_DESCRIPTION"))+" ",1),E("span",put,A(i.$t(`admin.REGISTRATION_${p(n).is_registration_enabled?"ENABLED":"DISABLED"}`)),1),p(n).is_email_sending_enabled?v("",!0):(f(),g("span",mut,[r[0]||(r[0]=E("i",{class:"fa fa-exclamation-triangle","aria-hidden":"true"},null,-1)),B(" "+A(i.$t("admin.EMAIL_SENDING_DISABLED")),1)]))]),E("dt",null,[M(u,{to:"/admin/equipment-types"},{default:X(()=>[B(A(Fe(i.$t("equipments.EQUIPMENT_TYPE",0))),1)]),_:1})]),E("dd",null,A(i.$t("admin.ENABLE_DISABLE_EQUIPMENT_TYPES")),1)],64)):v("",!0),E("dt",null,[M(u,{id:"adminLink",to:"/admin/reports"},{default:X(()=>[B(A(i.$t("admin.APP_MODERATION.TITLE")),1)]),_:1})]),E("dd",fut,[B(A(i.$t("admin.APP_MODERATION.DESCRIPTION"))+" ",1),o.value?(f(),G(u,{key:0,to:"/admin/reports?resolved=false"},{default:X(()=>[B(A(i.$t("admin.APP_MODERATION.UNRESOLVED_REPORTS_EXIST")),1)]),_:1})):v("",!0)]),p(s)?(f(),g(ae,{key:1},[E("dt",null,[M(u,{to:"/admin/sports"},{default:X(()=>[B(A(Fe(i.$t("workouts.SPORT",0))),1)]),_:1})]),E("dd",null,A(i.$t("admin.ENABLE_DISABLE_SPORTS")),1),E("dt",null,[M(u,{to:"/admin/users"},{default:X(()=>[B(A(Fe(i.$t("user.USER",0))),1)]),_:1})]),E("dd",null,A(i.$t("admin.ADMIN_RIGHTS_DELETE_USER_ACCOUNT")),1)],64)):v("",!0)])])]),_:1})])}}}),Aut=ne(Sut,[["__scopeId","data-v-a4e50f89"]]),hut=["id"],Out={class:"appeal-text"},Iut=["title"],Rut={for:"appeal-reason",class:"visually-hidden"},Nut={class:"appeal-actions-buttons"},gut={class:"small approve",value:"approve"},but={class:"small reject",value:"reject"},Cut={key:1,class:"automatically-approved"},Put={key:2,class:"description-list"},Dut=["title"],Lut=Q({__name:"AdminReportActionAppeal",props:{appeal:{},authUser:{}},emits:["updateAppeal","closeAppeal"],setup(e,{emit:t}){const n=e,{appeal:s,authUser:a}=pe(n),o=t,{errorMessages:i,locale:r}=Ge(),u=Oe("");function l(c){c.preventDefault(),o("updateAppeal",{approved:c.submitter.value==="approve",appealId:s.value.id,reason:u.value})}function d(c){u.value=c.value}function _(){o("closeAppeal")}return(c,T)=>{const m=j("ErrorMessage"),S=j("i18n-t");return f(),g("div",{class:"appeal box",id:`appeal-${p(s).id}`},[E("div",Out,A(p(s).text),1),E("span",{class:"appeal-date",title:p(Ut)(p(s).created_at,p(a).timezone,p(a).date_format)},A(p(Ba)(new Date(p(s).created_at),new Date,{addSuffix:!0,locale:p(r)})),9,Iut),p(s).updated_at===null?(f(),g(ae,{key:0},[p(s).approved===null?(f(),g("form",{key:0,onSubmit:Ne(l,["prevent"]),class:"appeal-actions"},[E("label",Rut,A(c.$t("administration.REASON")),1),M(R1,{name:"appeal-reason",required:!0,placeholder:c.$t("admin.APP_MODERATION.TEXTAREA_PLACEHOLDER.UPDATE_APPEAL"),onUpdateValue:d},null,8,["placeholder"]),p(i)?(f(),G(m,{key:0,message:p(i),"no-margin":!0},null,8,["message"])):v("",!0),E("div",Nut,[E("button",gut,A(c.$t("buttons.APPROVE")),1),E("button",but,A(c.$t("buttons.REJECT")),1),E("button",{class:"small reject",type:"button",onClick:_},A(c.$t("buttons.CANCEL")),1)])],32)):v("",!0)],64)):p(s).approved===null?(f(),g("div",Cut,A(c.$t("admin.APP_MODERATION.APPEAL.AUTOMATICALLY_APPROVED_BY_UNSUSPENSION")),1)):(f(),g("div",Put,[M(S,{keypath:`admin.APP_MODERATION.APPEAL.${p(s).approved?"APPROVED":"REJECTED"}`,tag:"p"},{default:X(()=>[E("span",{class:"report-action-date",title:p(Ut)(p(s).updated_at,p(a).timezone,p(a).date_format)},A(p(Ba)(new Date(p(s).updated_at),new Date,{addSuffix:!0,locale:p(r)})),9,Dut)]),_:1},8,["keypath"]),E("dl",null,[E("dt",null,A(c.$t("admin.APP_MODERATION.APPEAL.REASON_IS")),1),E("dd",null,A(p(s).reason),1)])]))],8,hut)}}}),vut=ne(Lut,[["__scopeId","data-v-e8f7bf44"]]),yut={id:"error"},Uut={class:"error-content"},$ut=Q({__name:"Error",props:{title:{},message:{},buttonText:{},path:{default:"/"}},setup(e){const t=e,{buttonText:n,title:s,message:a,path:o}=pe(t);return(i,r)=>(f(),g("div",yut,[E("div",Uut,[E("h1",null,A(p(s)),1),E("p",null,A(p(a)),1),p(n)?(f(),g("button",{key:0,onClick:r[0]||(r[0]=u=>i.$router.push(p(o))),class:"upper"},A(p(n)),1)):v("",!0)])]))}}),kut=ne($ut,[["__scopeId","data-v-48ec856d"]]),Fo=Q({__name:"NotFound",props:{target:{default:"PAGE"}},setup(e){const t=e,{target:n}=pe(t),s=Oe(),a=Oe(!1);function o(){s.value=setTimeout(()=>{a.value=!0},500)}return Et(()=>o()),ut(()=>{s.value&&clearTimeout(s.value)}),(i,r)=>a.value?(f(),G(kut,{key:0,title:"404",message:i.$t(`error.NOT_FOUND.${p(n)}`),"button-text":i.$t("common.HOME")},null,8,["message","button-text"])):v("",!0)}}),wut={key:0,class:"user-actions"},Mut={key:0,class:"blocked-user"},Wut={class:"blocked"},Fut={key:1,class:"actions-buttons"},zut={key:2},But={key:3,class:"follows-you"},Gut={key:1,class:"user-actions"},xut={class:"follows-you"},Vut=Q({__name:"UserRelationshipActions",props:{authUser:{},user:{},from:{},displayFollowsYou:{type:Boolean,default:!1}},emits:["updatedUser"],setup(e,{emit:t}){const n=e,{authUser:s,from:a,user:o,displayFollowsYou:i}=pe(n),r=t,u=ye();function l(_,c){r("updatedUser",_),u.dispatch(ue.ACTIONS.UPDATE_RELATIONSHIP,{username:_,action:`${c?"un":""}follow`,from:a.value})}function d(_,c){r("updatedUser",_),u.dispatch(ue.ACTIONS.UPDATE_RELATIONSHIP,{username:_,action:`${c?"":"un"}block`,from:a.value})}return(_,c)=>(f(),g(ae,null,[p(o).username!==p(s).username?(f(),g("div",wut,[p(o).blocked?(f(),g("div",Mut,[E("div",Wut,A(_.$t("user.RELATIONSHIPS.BLOCKED")),1),E("button",{onClick:c[0]||(c[0]=T=>d(p(o).username,!1))},A(_.$t("buttons.UNBLOCK")),1)])):p(o).is_followed_by!=="pending"?(f(),g("div",Fut,[E("button",{onClick:c[1]||(c[1]=T=>l(p(o).username,p(o).is_followed_by==="true")),class:fe({danger:p(o).is_followed_by==="true"})},A(_.$t(`buttons.${p(o).is_followed_by==="true"?"UN":""}FOLLOW`)),3),E("button",{onClick:c[2]||(c[2]=T=>d(p(o).username,!0))},A(_.$t("buttons.BLOCK")),1)])):(f(),g("div",zut,[E("button",{onClick:c[3]||(c[3]=T=>l(p(o).username,!0))},A(_.$t("buttons.CANCEL_FOLLOW_REQUEST")),1)])),p(i)&&p(o).follows==="true"&&p(a)!=="notifications"?(f(),g("div",But,A(_.$t("user.RELATIONSHIPS.FOLLOWS_YOU")),1)):v("",!0)])):v("",!0),p(o).username===p(s).username&&p(a)!=="userInfos"?(f(),g("div",Gut,[E("div",xut,A(_.$t("user.YOU")),1)])):v("",!0)],64))}}),Ju=ne(Vut,[["__scopeId","data-v-9c719b9a"]]),Hut={class:"user-stats"},Kut={class:"user-stat"},Yut={class:"stat-number"},qut={class:"stat-label"},jut={class:"user-stat"},Xut={key:1,class:"stat-number"},Qut={class:"stat-label"},Zut={class:"user-stat"},Jut={key:1,class:"stat-number"},elt={class:"stat-label"},tlt=Q({__name:"UserStats",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),{authUser:s}=Ye(),a=F(()=>s.value.username?n.value.username===s.value.username?!s.value.suspended_at:!0:!1);function o(i,r,u){return i.username===(r==null?void 0:r.username)&&u.includes("/profile")?"profile":`users/${i.username}`}return(i,r)=>{const u=j("router-link");return f(),g("div",Hut,[E("div",Kut,[E("span",Yut,A(p(n).nb_workouts),1),E("span",qut,A(i.$t("workouts.WORKOUT",p(n).nb_workouts)),1)]),E("div",jut,[a.value?(f(),G(u,{key:0,to:`/${o(p(n),p(s),i.$route.path)}/following`,class:"stat-number"},{default:X(()=>[B(A(p(n).following),1)]),_:1},8,["to"])):(f(),g("span",Xut,A(p(n).following),1)),E("span",Qut,A(i.$t("user.RELATIONSHIPS.FOLLOWING",p(n).following)),1)]),E("div",Zut,[a.value?(f(),G(u,{key:0,to:`/${o(p(n),p(s),i.$route.path)}/followers`,class:"stat-number"},{default:X(()=>[B(A(p(n).followers),1)]),_:1},8,["to"])):(f(),g("span",Jut,A(p(n).followers),1)),E("span",elt,A(i.$t("user.RELATIONSHIPS.FOLLOWER",p(n).followers)),1)])])}}}),G_=ne(tlt,[["__scopeId","data-v-cb5a693b"]]),nlt={class:"box"},slt={class:"user-card"},alt={class:"user-header"},olt={class:"stats-role"},ilt={key:0,class:"role"},rlt={class:"user-role"},ult=Q({__name:"UserCard",props:{authUser:{},user:{},updatedUser:{},from:{default:null},hideRelationship:{type:Boolean,default:!1}},emits:["updatedUserRelationship"],setup(e,{emit:t}){const n=e,{authUser:s,from:a,hideRelationship:o,updatedUser:i,user:r}=pe(n),u=at(),{authUserHasModeratorRights:l}=Ye(),{errorMessages:d}=Ge(),_=t,c=F(()=>r.value.suspended_at?Ut(r.value.suspended_at,s.value.timezone,s.value.date_format):null),T=F(()=>{var R;return l.value&&u.params.reportId!=((R=r.value.suspension_report_id)==null?void 0:R.toString())}),m=F(()=>r.value.role!=="user"?`user.ROLES.${r.value.role}`:"");function S(R){_("updatedUserRelationship",R)}return(R,h)=>{const O=j("router-link"),I=j("AlertMessage"),N=j("i18n-t"),b=j("ErrorMessage");return f(),g("div",nlt,[E("div",slt,[E("div",alt,[M(Ht,{user:p(r)},null,8,["user"]),M(O,{class:"user-name",to:R.$route.path.startsWith("/admin")?`/admin/users/${p(r).username}`:`/users/${p(r).username}?from=users`,title:p(r).username},{default:X(()=>[B(A(p(r).username),1)]),_:1},8,["to","title"])]),E("div",olt,[M(G_,{user:p(r)},null,8,["user"]),m.value?(f(),g("div",ilt,[E("div",rlt,A(R.$t(m.value)),1)])):v("",!0)])]),p(o)!==!0?(f(),G(Ju,{key:0,authUser:p(s),user:p(r),from:p(a)?p(a):"userCard",displayFollowsYou:!0,onUpdatedUser:S},null,8,["authUser","user","from"])):v("",!0),"is_active"in p(r)&&!p(r).is_active?(f(),G(I,{key:1,message:"user.THIS_USER_ACCOUNT_IS_INACTIVE"})):v("",!0),"suspended_at"in p(r)&&p(r).suspended_at!==null?(f(),G(I,{key:2,message:"user.ACCOUNT_SUSPENDED_AT",param:c.value},Ao({_:2},[T.value?{name:"additionalMessage",fn:X(()=>[M(N,{keypath:"common.SEE_REPORT",tag:"span"},{default:X(()=>[M(O,{to:`/admin/reports/${p(r).suspension_report_id}`},{default:X(()=>[B(" #"+A(p(r).suspension_report_id),1)]),_:1},8,["to"])]),_:1})]),key:"0"}:void 0]),1032,["param"])):v("",!0),p(d)&&p(i)&&p(i)===p(r).username?(f(),G(b,{key:3,message:p(d),"no-margin":!0},null,8,["message"])):v("",!0)])}}}),Wl=ne(ult,[["__scopeId","data-v-3e3f7ff2"]]),P1="/img/workouts/mountains.svg",llt=["alt"],D1=Q({__name:"StaticMap",props:{workout:{},displayHover:{type:Boolean,default:!1}},setup(e){const t=e,{displayHover:n}=pe(t),s=`${nr()}workouts/map/${t.workout.map}`;return(a,o)=>{const i=j("router-link");return f(),g("div",{class:fe(["static-map",{"display-hover":p(n)}])},[p(n)?(f(),g("img",{key:0,src:s,alt:a.$t("workouts.WORKOUT_MAP")},null,8,llt)):(f(),G(i,{key:1,class:"bg-map-image",to:{name:"Workout",params:{workoutId:a.workout.id}},style:Yn({backgroundImage:`url(${s})`}),"aria-label":a.$t("workouts.WORKOUT_MAP"),onClick:o[0]||(o[0]=r=>a.$emit("workoutLinkClicked"))},null,8,["to","style","aria-label"])),o[1]||(o[1]=E("div",{class:"map-attribution"},[E("a",{class:"map-attribution-text",href:"https://www.openstreetmap.org/copyright",target:"_blank",rel:"noopener noreferrer"}," © OpenStreetMap ")],-1))],2)}}}),clt={class:"timeline-workout workout-card"},dlt={class:"box"},Elt={class:"workout-card-title"},_lt={class:"workout-user-date"},Tlt={class:"workout-user"},plt={class:"workout-date-visibility"},mlt=["datetime","title"],flt={class:"workout-map"},Slt={class:"no-map"},Alt={class:"img"},hlt={class:"data"},Olt={key:0},Ilt={class:"data"},Rlt={key:0,class:"data elevation"},Nlt=["alt"],glt={class:"data-values"},blt={key:1,class:"data altitude"},Clt={class:"data-values"},Plt=Q({__name:"WorkoutCard",props:{user:{},useImperialUnits:{type:Boolean},dateFormat:{},timezone:{},workout:{default:()=>({})},sport:{default:()=>({})}},emits:["workoutLinkClicked"],setup(e,{emit:t}){const n=e,{dateFormat:s,sport:a,timezone:o,user:i,useImperialUnits:r,workout:u}=pe(n),{locale:l}=Ge(),d=t,_=F(()=>Ut(u.value.workout_date,o.value,s.value));function c(S){return S.with_gpx&&S.min_alt!==null&&S.max_alt!==null}function T(S){return S.ascent!==null&&S.descent!==null}function m(S){S.id&&(it.push({name:"Workout",params:{workoutId:S.id}}),d("workoutLinkClicked"))}return(S,R)=>{var b;const h=j("router-link"),O=j("VisibilityIcon"),I=j("SportImage"),N=j("Distance");return f(),g("div",clt,[E("div",dlt,[E("div",Elt,[E("div",_lt,[E("div",Tlt,[M(Ht,{user:p(i)},null,8,["user"]),M(uo,{user:p(i)},null,8,["user"])]),p(u).id?(f(),G(h,{key:0,class:"workout-title",to:{name:"Workout",params:{workoutId:p(u).id}},onClick:R[0]||(R[0]=P=>S.$emit("workoutLinkClicked"))},{default:X(()=>[B(A(p(u).title),1)]),_:1},8,["to"])):v("",!0),E("div",plt,[p(u).workout_date&&p(i)?(f(),g("time",{key:0,class:"workout-date",datetime:_.value,title:_.value},A(p(Ba)(new Date(p(u).workout_date),new Date,{addSuffix:!0,locale:p(l)})),9,mlt)):v("",!0),p(u).workout_visibility?(f(),G(O,{key:1,visibility:p(u).workout_visibility},null,8,["visibility"])):v("",!0)])])]),E("div",flt,[p(u).with_gpx?(f(),G(D1,{key:0,workout:p(u),onWorkoutLinkClicked:R[1]||(R[1]=P=>S.$emit("workoutLinkClicked"))},null,8,["workout"])):p(u).id?(f(),G(h,{key:1,to:{name:"Workout",params:{workoutId:p(u).id}},onClick:R[2]||(R[2]=P=>S.$emit("workoutLinkClicked"))},{default:X(()=>[E("div",Slt,A(S.$t("workouts.NO_MAP")),1)]),_:1},8,["to"])):v("",!0)]),E("div",{class:fe(["workout-data",{"without-elevation":!c(p(u))}]),onClick:R[3]||(R[3]=P=>m(p(u))),role:"link",tabindex:"0"},[E("div",Alt,[(b=p(a))!=null&&b.label?(f(),G(I,{key:0,"sport-label":p(a).label,color:p(a).color},null,8,["sport-label","color"])):v("",!0)]),E("div",hlt,[R[4]||(R[4]=E("i",{class:"fa fa-clock-o","aria-hidden":"true"},null,-1)),p(u)?(f(),g("span",Olt,A(p(u).moving),1)):v("",!0)]),E("div",Ilt,[R[5]||(R[5]=E("i",{class:"fa fa-road","aria-hidden":"true"},null,-1)),p(u).id?(f(),G(N,{key:0,distance:p(u).distance,digits:3,unitFrom:"km",useImperialUnits:p(r)},null,8,["distance","useImperialUnits"])):v("",!0)]),c(p(u))?(f(),g("div",Rlt,[E("img",{class:"mountains",src:P1,alt:S.$t("workouts.ELEVATION")},null,8,Nlt),E("div",glt,[p(u).id?(f(),G(N,{key:0,distance:p(u).min_alt,unitFrom:"m",displayUnit:!1,useImperialUnits:p(r)},null,8,["distance","useImperialUnits"])):v("",!0),R[6]||(R[6]=B("/ ")),p(u).id?(f(),G(N,{key:1,distance:p(u).max_alt,unitFrom:"m",useImperialUnits:p(r)},null,8,["distance","useImperialUnits"])):v("",!0)])])):v("",!0),T(p(u))?(f(),g("div",blt,[R[9]||(R[9]=E("i",{class:"fa fa-location-arrow","aria-hidden":"true"},null,-1)),E("div",Clt,[R[7]||(R[7]=B(" +")),p(u).id?(f(),G(N,{key:0,distance:p(u).ascent,unitFrom:"m",displayUnit:!1,useImperialUnits:p(r)},null,8,["distance","useImperialUnits"])):v("",!0),R[8]||(R[8]=B("/- ")),p(u).id?(f(),G(N,{key:1,distance:p(u).descent,unitFrom:"m",useImperialUnits:p(r)},null,8,["distance","useImperialUnits"])):v("",!0)])])):v("",!0)],2)])])}}}),Hi=ne(Plt,[["__scopeId","data-v-4a2fbc03"]]),Dlt={key:0,class:"report-loading"},Llt={key:0,id:"admin-report",class:"admin-card"},vlt={key:0,class:"report-status"},ylt={class:"report-data"},Ult={class:"report-detail"},$lt={key:1,class:"deleted-object"},klt={key:2,class:"deleted-object"},wlt={key:1,class:"deleted-object"},Mlt={key:2,class:"deleted-object"},Wlt={key:1,class:"deleted-object"},Flt={key:1,class:"deleted-object"},zlt={class:"report-info"},Blt={key:0,class:"report-comment-user"},Glt={key:1,class:"deleted-object"},xlt={key:0,class:"report-comment-user"},Vlt={key:1,class:"deleted-object"},Hlt={key:0},Klt={key:1},Ylt={key:2},qlt={key:3},jlt={class:"resolver-user"},Xlt={key:4},Qlt={key:5},Zlt={key:0,class:"report-comment"},Jlt={class:"report-comment-info"},ect={class:"report-comment-user"},tct=["title"],nct={class:"report-comment-comment"},sct={key:1,class:"report-action"},act=["title"],oct=["onClick"],ict={key:0,class:"report-action-note"},rct={key:0,class:"no-notes"},uct={key:0,class:"comment-textarea"},lct={for:"report-comment"},cct={class:"comment-buttons"},dct=["disabled"],Ect=["disabled"],_ct={class:"action-loading"},Tct={key:0,class:"fa fa-spinner fa-pulse","aria-hidden":"true"},pct={key:1,class:"actions-buttons"},mct={key:1,class:"container"},fct={key:2,class:"container"},Sct=Q({__name:"AdminReport",setup(e){const t=at(),n=On(),s=ye(),{t:a}=vt(),{errorMessages:o,locale:i}=Ge(),{authUser:r,authUserSuccess:u,dateFormat:l}=Ye(),{sports:d}=en(),_=Oe(""),c=Oe(null),T=Oe(""),m=Oe([]),S=F(()=>s.getters[Ue.GETTERS.REPORT]),R=F(()=>S.value.reported_comment||S.value.reported_workout),h=F(()=>s.getters[Ue.GETTERS.REPORT_LOADING]),O=F(()=>s.getters[Ue.GETTERS.REPORT_UPDATE_LOADING]),I=Oe(!1),N=F(()=>we()),b=F(()=>c.value!==null&&["ADD_COMMENT","MARK_AS_RESOLVED","MARK_AS_UNRESOLVED"].includes(c.value)),P=F(()=>{var Z,Ae;return(Z=S.value.reported_user)!=null&&Z.suspended_at?Ut((Ae=S.value.reported_user)==null?void 0:Ae.suspended_at,r.value.timezone,r.value.date_format):null}),C=F(()=>{var Z,Ae;return t.params.reportId!=((Ae=(Z=S.value.reported_user)==null?void 0:Z.suspension_report_id)==null?void 0:Ae.toString())});function y(){s.dispatch(Ue.ACTIONS.GET_REPORT,{reportId:+t.params.reportId,loader:"REPORT"})}function L(Z=null){_e(),c.value=Z,I.value=!0}function w(Z){_.value=Z.value}function D(){I.value=!1,_.value="",c.value=null,s.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES)}function W(){const Z={reportId:S.value.id,comment:_.value};c.value&&["MARK_AS_RESOLVED","MARK_AS_UNRESOLVED"].includes(c.value)&&(Z.resolved=c.value==="MARK_AS_RESOLVED"),s.dispatch(Ue.ACTIONS.UPDATE_REPORT,Z)}function Y(){switch(c.value){case"SEND_WARNING_EMAIL":Ke();break;case"SUSPEND_ACCOUNT":case"SUSPEND_CONTENT":ve("suspension");break;case"UNSUSPEND_ACCOUNT":ie();break;case"UNSUSPEND_CONTENT":me();break;default:return W()}}function he(){switch(c.value){case"MARK_AS_RESOLVED":return`admin.APP_MODERATION.ACTIONS.${c.value}`;default:return"buttons.SUBMIT"}}function ie(){if(S.value.reported_user&&c.value){const Ae={action_type:`user_${c.value==="SUSPEND_ACCOUNT"?"":"un"}suspension`,report_id:S.value.id,username:S.value.reported_user.username};_.value&&(Ae.reason=_.value),s.dispatch(Ue.ACTIONS.SUBMIT_ADMIN_ACTION,Ae)}}function me(){var Z;if(R.value&&c.value){const Te={action_type:`${S.value.reported_comment?"comment":"workout"}_${(Z=c.value)!=null&&Z.startsWith("SUSPEND")?"":"un"}suspension`,report_id:S.value.id};S.value.reported_comment?Te.comment_id=S.value.reported_comment.id:S.value.reported_workout&&(Te.workout_id=S.value.reported_workout.id),_.value&&(Te.reason=_.value),s.dispatch(Ue.ACTIONS.SUBMIT_ADMIN_ACTION,Te)}}function Ie(){ve(""),c.value==="SUSPEND_CONTENT"?me():ie()}function ve(Z){T.value=Z,Z!==""&&s.commit(ue.MUTATIONS.UPDATE_IS_SUCCESS,!1)}function Ke(){var Ae;const Z={action_type:"user_warning",report_id:S.value.id,username:(Ae=S.value.reported_user)==null?void 0:Ae.username};_.value&&(Z.reason=_.value),s.dispatch(Ue.ACTIONS.SUBMIT_ADMIN_ACTION,Z)}function Je(){n.go(-1),s.commit(Ue.MUTATIONS.EMPTY_REPORT)}function He(Z){return Ut(Z,r.value.timezone,r.value.date_format)}function Tt(Z,Ae){return mi(new Date(Z.created_at),new Date(Ae.created_at))}function we(){return!S.value.report_actions&&!S.value.comments?[]:[...S.value.report_actions,...S.value.comments].sort(Tt)}function se(Z){m.value.includes(Z)?(m.value.splice(m.value.indexOf(Z),1),s.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES)):m.value.push(Z)}function $e(Z){s.dispatch(Ue.ACTIONS.PROCESS_APPEAL,{...Z,reportId:S.value.id})}function dt(){var oe,$;const Z=(oe=c.value)!=null&&oe.includes("SUSPEND")?($=c.value)==null?void 0:$.split("_")[0]:c.value,Ae=a(`admin.APP_MODERATION.TEXTAREA_PLACEHOLDER.${Z}`);let Te="";return Z&&(Te=["ADD_COMMENT","MARK_AS_RESOLVED","MARK_AS_UNRESOLVED"].includes(Z)?"":` ${a("admin.APP_MODERATION.TEXTAREA_PLACEHOLDER.INFORMATION_VISIBLE_TO_USER")}`),`${Ae}${Te}`}function _e(){s.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),m.value=[]}return Pe(()=>S.value.comments,()=>{I.value=!1,_.value=""}),Pe(()=>t.params.reportId,()=>{y()}),Pe(()=>u.value,Z=>{Z&&ve("")}),Ze(async()=>y()),ut(()=>s.commit(ue.MUTATIONS.UPDATE_IS_SUCCESS,!1)),(Z,Ae)=>{var re;const Te=j("Modal"),oe=j("router-link"),$=j("i18n-t"),k=j("AlertMessage"),x=j("Card"),le=j("CustomTextArea"),Ee=j("ErrorMessage");return h.value?(f(),g("div",Dlt,[M(Ml)])):(f(),g(ae,{key:1},[(re=S.value)!=null&&re.id?(f(),g("div",Llt,[T.value&&S.value.reported_user?(f(),G(Te,{key:0,title:Z.$t("common.CONFIRMATION"),message:`admin.CONFIRM_${c.value}`,strongMessage:S.value.reported_user.username,onConfirmAction:Ie,onCancelAction:Ae[0]||(Ae[0]=U=>ve("")),onKeydown:Ae[1]||(Ae[1]=Xe(U=>ve(""),["esc"]))},null,8,["title","message","strongMessage"])):v("",!0),M(x,null,{title:X(()=>[B(A(Z.$t("admin.APP_MODERATION.REPORT"))+" #"+A(S.value.id)+" ",1),S.value.resolved?(f(),g("span",vlt," ("+A(Z.$t("admin.APP_MODERATION.RESOLVED.TRUE"))+") ",1)):v("",!0)]),content:X(()=>[E("div",ylt,[E("div",Ult,[M(x,{class:"report-detail-card"},{title:X(()=>[B(A(Z.$t("admin.APP_MODERATION.REPORTED_CONTENT")),1)]),content:X(()=>{var U,z;return[S.value.object_type==="comment"?(f(),g(ae,{key:0},[S.value.reported_comment?(f(),G(w_,{key:0,"auth-user":p(r),comment:S.value.reported_comment,"comments-loading":null,"for-admin":!0},null,8,["auth-user","comment"])):(f(),g("span",$lt,A(Z.$t("admin.DELETED_COMMENT")),1)),S.value.reported_user?v("",!0):(f(),g("span",klt," ("+A(Z.$t("admin.DELETED_USER").toLocaleLowerCase())+") ",1))],64)):v("",!0),S.value.object_type==="workout"?(f(),g(ae,{key:1},[S.value.reported_workout?(f(),G(Hi,{workout:S.value.reported_workout,sport:p(d).filter(V=>{var q;return V.id===((q=S.value.reported_workout)==null?void 0:q.sport_id)})[0],user:S.value.reported_workout.user,useImperialUnits:p(r).imperial_units,dateFormat:p(l),timezone:p(r).timezone,key:S.value.reported_workout.id},null,8,["workout","sport","user","useImperialUnits","dateFormat","timezone"])):(f(),g("span",wlt,A(Z.$t("admin.DELETED_WORKOUT")),1)),S.value.reported_user?(z=(U=S.value.reported_workout)==null?void 0:U.suspension)!=null&&z.report_id?(f(),G(k,{key:3,message:"workouts.SUSPENDED_BY_ADMIN"},Ao({_:2},[S.value.reported_workout.suspension.report_id!==parseInt(p(t).params.reportId)?{name:"additionalMessage",fn:X(()=>[M($,{keypath:"common.SEE_REPORT",tag:"span"},{default:X(()=>[M(oe,{to:`/admin/reports/${S.value.reported_workout.suspension.report_id}`},{default:X(()=>[B(" #"+A(S.value.reported_workout.suspension.report_id),1)]),_:1},8,["to"])]),_:1})]),key:"0"}:void 0]),1024)):v("",!0):(f(),g("span",Mlt," ("+A(Z.$t("admin.DELETED_USER").toLocaleLowerCase())+") ",1))],64)):v("",!0),S.value.object_type==="user"?(f(),g(ae,{key:2},[S.value.reported_user?(f(),G(Wl,{key:0,authUser:p(r),user:S.value.reported_user,hideRelationship:!0},null,8,["authUser","user"])):(f(),g("span",Wlt,A(Z.$t("admin.DELETED_USER")),1))],64)):S.value.reported_user&&S.value.reported_user.suspended_at!==null?(f(),G(k,{key:3,message:"user.ACCOUNT_SUSPENDED_AT",param:P.value},Ao({_:2},[C.value?{name:"additionalMessage",fn:X(()=>[M($,{keypath:"common.SEE_REPORT"},{default:X(()=>{var V;return[M(oe,{to:`/admin/reports/${(V=S.value.reported_user)==null?void 0:V.suspension_report_id}`},{default:X(()=>{var q;return[B(A((q=S.value.reported_user)==null?void 0:q.suspension_report_id),1)]}),_:1},8,["to"])]}),_:1})]),key:"0"}:void 0]),1032,["param"])):v("",!0)]}),_:1}),M(x,{class:"report-detail-card"},{title:X(()=>[B(A(Z.$t("admin.APP_MODERATION.REPORT_NOTE"))+" ",1),S.value.reported_by?(f(),g(ae,{key:0},[M(oe,{class:"link-with-image",to:`/admin/users/${S.value.reported_by.username}`},{default:X(()=>[B(A(S.value.reported_by.username),1)]),_:1},8,["to"]),B(" ("+A(Z.$t("admin.APP_MODERATION.REPORTER"))+") ",1)],64)):(f(),g("span",Flt,A(Z.$t("admin.DELETED_USER").toLocaleLowerCase()),1))]),content:X(()=>[B(A(S.value.note),1)]),_:1})]),E("dl",zlt,[E("dt",null,A(Z.$t("admin.APP_MODERATION.ORDER_BY.CREATED_AT"))+":",1),E("dd",null,A(He(S.value.created_at)),1),E("dt",null,A(Z.$t("admin.APP_MODERATION.REPORTED_BY"))+":",1),E("dd",null,[S.value.reported_by?(f(),g("div",Blt,[M(Ht,{user:S.value.reported_by},null,8,["user"]),M(uo,{user:S.value.reported_by},null,8,["user"])])):(f(),g("span",Glt,A(Z.$t("admin.DELETED_USER")),1))]),E("dt",null,A(Z.$t("admin.APP_MODERATION.REPORTED_USER"))+":",1),E("dd",null,[S.value.reported_user?(f(),g("div",xlt,[M(Ht,{user:S.value.reported_user},null,8,["user"]),M(uo,{user:S.value.reported_user},null,8,["user"])])):(f(),g("span",Vlt,A(Z.$t("admin.DELETED_USER")),1))]),E("dt",null,A(Z.$t("admin.APP_MODERATION.STATUS"))+":",1),E("dd",null,A(Z.$t(`admin.APP_MODERATION.RESOLVED.${S.value.resolved?"TRUE":"FALSE"}`)),1),S.value.resolved_at?(f(),g("dt",Hlt,A(Z.$t("admin.APP_MODERATION.RESOLVED_AT"))+": ",1)):v("",!0),S.value.resolved_at?(f(),g("dd",Klt,[E("time",null,A(He(S.value.resolved_at)),1)])):v("",!0),S.value.resolved_by?(f(),g("dt",Ylt,A(Z.$t("admin.APP_MODERATION.RESOLVED_BY"))+": ",1)):v("",!0),S.value.resolved_by?(f(),g("dd",qlt,[E("div",jlt,[M(Ht,{user:S.value.resolved_by},null,8,["user"]),M(uo,{user:S.value.resolved_by},null,8,["user"])])])):v("",!0),S.value.updated_at?(f(),g("dt",Xlt,A(Z.$t("common.LAST_UPDATED_ON"))+": ",1)):v("",!0),S.value.updated_at?(f(),g("dd",Qlt,[E("time",null,A(He(S.value.updated_at)),1)])):v("",!0)])]),M(x,{class:"report-action-and-comments"},{title:X(()=>[B(A(Z.$t("admin.APP_MODERATION.NOTES_AND_ACTIONS")),1)]),content:X(()=>[(f(!0),g(ae,null,be(N.value,U=>(f(),g("div",{key:U.id},["comment"in U&&!("action_type"in U)?(f(),g("div",Zlt,[E("div",Jlt,[E("div",ect,[M(Ht,{user:U.user},null,8,["user"]),M(uo,{user:U.user},null,8,["user"])]),E("div",{class:"report-comment-date",title:He(U.created_at)},A(p(Ba)(new Date(U.created_at),new Date,{addSuffix:!0,locale:p(i)})),9,tct)]),E("div",nct,A(U.comment),1)])):v("",!0),"action_type"in U?(f(),g("div",sct,[E("div",null,[Ae[7]||(Ae[7]=B(" • ")),M($,{keypath:`admin.APP_MODERATION.REPORT_ACTIONS.${U.action_type}`},{default:X(()=>[U.action_type.startsWith("user_")&&U.user?(f(),G(oe,{key:0,class:"user-name",to:`/admin/users/${U.user.username}`,title:U.user.username},{default:X(()=>[B(A(U.user.username),1)]),_:2},1032,["to","title"])):v("",!0),M(oe,{class:"user-name",to:`/admin/users/${U.moderator.username}`,title:U.moderator.username},{default:X(()=>[B(A(U.moderator.username),1)]),_:2},1032,["to","title"]),E("span",{class:"report-action-date",title:He(U.created_at)},A(p(Ba)(new Date(U.created_at),new Date,{addSuffix:!0,locale:p(i)})),9,act)]),_:2},1032,["keypath"]),U.appeal?(f(),g("button",{key:0,class:"appeal-button small transparent",onClick:z=>se(U.appeal.id)},A(Z.$t(`admin.APP_MODERATION.APPEAL.${m.value.includes(U.appeal.id)?"HIDE":"SEE"}`)),9,oct)):v("",!0)]),U.reason?(f(),g("div",ict,[E("span",null,A(Z.$t("admin.APP_MODERATION.REASON"))+":",1),B(" "+A(U.reason),1)])):v("",!0),U.appeal&&m.value.includes(U.appeal.id)?(f(),G(vut,{key:1,appeal:U.appeal,"auth-user":p(r),onUpdateAppeal:$e,onCloseAppeal:z=>se(U.appeal.id)},null,8,["appeal","auth-user","onCloseAppeal"])):v("",!0)])):v("",!0)]))),128)),N.value.length==0?(f(),g("div",rct,A(Z.$t("common.NO_NOTES")),1)):v("",!0)]),_:1}),M(x,{class:"report-detail-card"},{title:X(()=>[B(A(Z.$t("admin.ACTION",0)),1)]),content:X(()=>[I.value?(f(),g("div",uct,[E("form",{onSubmit:Ne(Y,["prevent"])},[E("label",lct,A(Z.$t(`admin.APP_MODERATION.ACTIONS.${c.value}`)),1),M(le,{class:"report-comment-textarea",name:"report-comment",required:b.value,placeholder:dt(),disabled:O.value,onUpdateValue:w},null,8,["required","placeholder","disabled"]),E("div",cct,[E("button",{class:"confirm",type:"submit",disabled:O.value},A(Z.$t(he())),9,dct),E("button",{class:"cancel",onClick:Ne(D,["prevent"]),disabled:O.value},A(Z.$t("buttons.CANCEL")),9,Ect),E("div",_ct,[O.value?(f(),g("i",Tct)):v("",!0)])]),p(o)?(f(),G(Ee,{key:0,message:p(o)},null,8,["message"])):v("",!0)],32)])):(f(),g("div",pct,[E("button",{onClick:Ae[2]||(Ae[2]=U=>L("ADD_COMMENT"))},A(Z.$t("admin.APP_MODERATION.ACTIONS.ADD_COMMENT")),1),!S.value.resolved&&S.value.reported_user&&!S.value.is_reported_user_warned?(f(),g("button",{key:0,onClick:Ae[3]||(Ae[3]=U=>L("SEND_WARNING_EMAIL"))},A(Z.$t("admin.APP_MODERATION.ACTIONS.SEND_WARNING_EMAIL")),1)):v("",!0),!S.value.resolved&&R.value?(f(),g("button",{key:1,class:fe({danger:R.value.suspended_at===null}),onClick:Ae[4]||(Ae[4]=U=>L(`${R.value.suspended_at===null?"":"UN"}SUSPEND_CONTENT`))},A(Z.$t(`admin.APP_MODERATION.ACTIONS.${R.value.suspended_at===null?"":"UN"}SUSPEND_CONTENT`)),3)):v("",!0),!S.value.resolved&&S.value.reported_user?(f(),g("button",{key:2,class:fe({danger:S.value.reported_user.suspended_at===null}),onClick:Ae[5]||(Ae[5]=U=>L(`${S.value.reported_user.suspended_at?"UN":""}SUSPEND_ACCOUNT`))},A(Z.$t(`admin.APP_MODERATION.ACTIONS.${S.value.reported_user.suspended_at?"UN":""}SUSPEND_ACCOUNT`)),3)):v("",!0),E("button",{onClick:Ae[6]||(Ae[6]=U=>L(`MARK_AS_${S.value.resolved?"UN":""}RESOLVED`))},A(Z.$t(`admin.APP_MODERATION.ACTIONS.MARK_AS_${S.value.resolved?"UN":""}RESOLVED`)),1)]))]),_:1}),E("button",{onClick:Ne(Je,["prevent"])},A(Z.$t("buttons.BACK")),1)]),_:1})])):h.value?(f(),g("div",mct)):(f(),g("div",fct,[M(Fo,{target:"REPORT"})]))],64))}}}),Act=ne(Sct,[["__scopeId","data-v-3e520891"]]),hct={class:"table-selects"},Oct=["value"],Ict=["value"],Rct=["value"],Nct=["value"],gct=["value"],bct=["value"],x_=Q({__name:"FilterSelects",props:{order_by:{},query:{},sort:{},message:{}},emits:["updateSelect"],setup(e,{emit:t}){const n=e,{order_by:s,query:a,sort:o,message:i}=pe(n),r=t,u=[10,25,50,100];function l(d){r("updateSelect",d.target.id,d.target.value)}return(d,_)=>(f(),g("div",hct,[E("label",null,[B(A(d.$t("common.SELECTS.ORDER_BY.LABEL"))+": ",1),E("select",{name:"order_by",id:"order_by",value:p(a).order_by,onChange:l},[(f(!0),g(ae,null,be(p(s),c=>(f(),g("option",{value:c,key:c},A(d.$t(`${p(i)}.${c.toUpperCase()}`)),9,Ict))),128))],40,Oct)]),E("label",null,[B(A(d.$t("common.SELECTS.ORDER.LABEL"))+": ",1),E("select",{name:"order",id:"order",value:p(a).order,onChange:l},[(f(!0),g(ae,null,be(p(o),c=>(f(),g("option",{value:c,key:c},A(d.$t(`common.SELECTS.ORDER.${c.toUpperCase()}`)),9,Nct))),128))],40,Rct)]),yt(d.$slots,"additionalFilters"),E("label",null,[B(A(d.$t("common.SELECTS.PER_PAGE.LABEL"))+": ",1),E("select",{name:"per_page",id:"per_page",value:p(a).per_page,onChange:l},[(f(),g(ae,null,be(u,c=>E("option",{value:c,key:c},A(c),9,bct)),64))],40,gct)])]))}}),Fl=["asc","desc"],cr=1,Cct=10,Do=(e,t)=>e&&typeof e=="string"&&+e>0?+e:t,cS=(e,t,n)=>e&&typeof e=="string"&&t.includes(e)?e:n,Lo=(e,t,n,s)=>{const o=(s||{}).defaultSort||"asc",i={};return i.page=Do(e.page,cr),i.per_page=Do(e.per_page,Cct),i.order=cS(e.order,Fl,o),i.order_by=cS(e.order_by,t,n),typeof e.q=="string"?i.q=e.q:delete i.q,typeof e.notes=="string"?i.notes=e.notes:delete i.notes,typeof e.description=="string"?i.description=e.description:delete i.description,typeof e.object_type=="string"?i.object_type=e.object_type:delete i.object_type,typeof e.resolved=="string"?i.resolved=e.resolved:delete i.resolved,i},Pct=["equipment_id","from","to","ave_speed_from","ave_speed_to","max_speed_from","max_speed_to","distance_from","distance_to","duration_from","duration_to","sport_id","title"],to=(e,t=1)=>Array.from({length:e-t+1},(n,s)=>t+s),Dct=(e,t)=>{if(e<0)return[];if(e<9)return to(e);let n=[1,2];return t<4?n=n.concat([3,4,5]):t<6?n=n.concat(to(t+2,3)):(n=n.concat(["..."]),t=e-2&&+n[n.length-1]{const u=j("router-link");return f(),g("nav",Lct,[E("ul",vct,[E("li",{class:fe(["page-prev",{disabled:!p(n).has_prev}])},[p(n).has_prev?(f(),G(u,{key:0,class:"page-link",to:{path:p(s),query:o(p(n).page,-1)}},{default:X(()=>[B(A(i.$t("common.PREVIOUS"))+" ",1),r[0]||(r[0]=E("i",{class:"fa fa-chevron-left","aria-hidden":"true"},null,-1))]),_:1},8,["to"])):(f(),g("span",yct,A(i.$t("common.PREVIOUS")),1))],2),(f(!0),g(ae,null,be(p(Dct)(p(n).pages,p(n).page),l=>(f(),g("li",{key:l,class:fe(["page",{active:l===p(n).page}])},[l==="..."?(f(),g("span",Uct," ... ")):(f(),G(u,{key:1,class:"page-link",to:{path:p(s),query:o(+l)}},{default:X(()=>[B(A(l),1)]),_:2},1032,["to"]))],2))),128)),E("li",{class:fe(["page-next",{disabled:!p(n).has_next}])},[p(n).has_next?(f(),G(u,{key:0,class:"page-link",to:{path:p(s),query:o(p(n).page,1)}},{default:X(()=>[B(A(i.$t("common.NEXT"))+" ",1),r[1]||(r[1]=E("i",{class:"fa fa-chevron-right","aria-hidden":"true"},null,-1))]),_:1},8,["to"])):(f(),g("span",$ct,A(i.$t("common.NEXT")),1))],2)])])}}}),Zn=ne(kct,[["__scopeId","data-v-84c721a3"]]),wct={id:"admin-reports",class:"admin-card"},Mct=["value"],Wct=["value"],Fct=["value"],zct={value:"true"},Bct={value:"false"},Gct={key:0,class:"no-reports"},xct={key:1,class:"responsive-table"},Vct={class:"left-text"},Hct={class:"left-text"},Kct={class:"left-text"},Yct={class:"left-text"},qct={class:"left-text"},jct={class:"left-text"},Xct={class:"left-text"},Qct={class:"cell-heading"},Zct={key:1,class:"deleted-object"},Jct={class:"cell-heading"},edt={key:0},tdt={class:"cell-heading"},ndt={key:1,class:"deleted-object"},sdt={class:"cell-heading"},adt={class:"cell-heading"},odt={class:"cell-heading"},idt={key:0},rdt=["onClick"],dS=20,ES="created_at",udt=Q({__name:"AdminReports",setup(e){const t=at(),n=On(),s=ye(),{errorMessages:a}=Ge(),{authUser:o}=Ye(),i=["created_at","updated_at"],r={comment:"workouts.COMMENTS.COMMENT",user:"user.USER",workout:"workouts.WORKOUT"};let u=Lt(Lo(t.query,i,ES,{defaultSort:"desc"}));const l=F(()=>s.getters[Ue.GETTERS.REPORTS]),d=F(()=>s.getters[Ue.GETTERS.REPORTS_PAGINATION]);function _(O){s.dispatch(Ue.ACTIONS.GET_REPORTS,O)}function c(O){const I=O.target;I.value?u.object_type=I.value:delete u.object_type,n.push({path:"/admin/reports",query:u})}function T(O){const I=O.target;I.value?u.resolved=I.value:delete u.resolved,n.push({path:"/admin/reports",query:u})}function m(O,I){u[O]=I,O==="per_page"&&(u.page=1),n.push({path:"/admin/reports",query:u})}function S(O){return Ut(O,o.value.timezone,o.value.date_format)}function R(O){return O=="user.USER"?"user.USER_PROFILE":O}function h(O){var N,b;let I;switch(O.object_type){case"workout":I=(N=O.reported_workout)==null?void 0:N.title;break;case"comment":I=((b=O.reported_comment)==null?void 0:b.text)||"";break;default:I=""}return I?I.length>dS?`${I.substring(0,dS-1)}…`:I:""}return Pe(()=>t.query,O=>{u=Lo(O,i,ES,{}),_(u)}),Ze(()=>_(u)),(O,I)=>{const N=j("router-link"),b=j("ErrorMessage"),P=j("Card");return f(),g("div",wct,[M(P,null,{title:X(()=>[B(A(O.$t("admin.APP_MODERATION.TITLE")),1)]),content:X(()=>[E("button",{class:"top-button",onClick:I[0]||(I[0]=Ne(C=>O.$router.push("/admin"),["prevent"]))},A(O.$t("admin.BACK_TO_ADMIN")),1),M(x_,{sort:p(Fl),order_by:i,query:p(u),message:"admin.APP_MODERATION.ORDER_BY",onUpdateSelect:m},{additionalFilters:X(()=>[E("label",null,[B(A(O.$t("common.TYPE"))+": ",1),E("select",{name:"object_type",id:"object_type",value:p(u).object_type,onChange:c},[I[2]||(I[2]=E("option",{value:""},null,-1)),(f(!0),g(ae,null,be(Object.keys(r),C=>(f(),g("option",{value:C,key:C},A(O.$t(r[C])),9,Wct))),128))],40,Mct)]),E("label",null,[B(A(O.$t("admin.APP_MODERATION.STATUS"))+": ",1),E("select",{name:"resolved",id:"resolved",value:p(u).resolved,onChange:T},[I[3]||(I[3]=E("option",{value:""},null,-1)),E("option",zct,A(O.$t("admin.APP_MODERATION.RESOLVED.TRUE")),1),E("option",Bct,A(O.$t("admin.APP_MODERATION.RESOLVED.FALSE")),1)],40,Fct)])]),_:1},8,["sort","query"]),l.value.length===0?(f(),g("div",Gct,A(O.$t("admin.APP_MODERATION.NO_REPORTS_FOUND")),1)):(f(),g("div",xct,[E("table",null,[E("thead",null,[E("tr",null,[I[4]||(I[4]=E("th",{class:"left-text"},"#",-1)),E("th",Vct,A(O.$t("admin.APP_MODERATION.REPORTED_USER")),1),E("th",Hct,A(O.$t("admin.APP_MODERATION.REPORTED_CONTENT")),1),E("th",Kct,A(O.$t("admin.APP_MODERATION.REPORTED_BY")),1),E("th",Yct,A(Fe(O.$t("admin.APP_MODERATION.ORDER_BY.CREATED_AT"))),1),E("th",qct,A(O.$t("admin.APP_MODERATION.RESOLVED.TRUE")),1),E("th",jct,A(Fe(O.$t("common.LAST_UPDATED_ON"))),1),E("th",Xct,A(O.$t("admin.ACTION")),1)])]),E("tbody",null,[(f(!0),g(ae,null,be(l.value,C=>(f(),g("tr",{key:C.created_at},[E("td",null,[M(N,{to:`/admin/reports/${C.id}`},{default:X(()=>[B(A(C.id),1)]),_:2},1032,["to"])]),E("td",null,[E("span",Qct,A(O.$t("admin.APP_MODERATION.REPORTED_USER")),1),C.reported_user?(f(),G(N,{key:0,class:"link-with-image",to:`/admin/users/${C.reported_user.username}`},{default:X(()=>[M(Ht,{user:C.reported_user},null,8,["user"]),B(" "+A(C.reported_user.username),1)]),_:2},1032,["to"])):(f(),g("span",Zct,A(O.$t("admin.DELETED_USER")),1))]),E("td",null,[E("span",Jct,A(O.$t("admin.APP_MODERATION.REPORTED_CONTENT")),1),B(" "+A(O.$t(R(r[C.object_type])))+" ",1),h(C)?(f(),g("span",edt," ("+A(h(C))+") ",1)):v("",!0)]),E("td",null,[E("span",tdt,A(O.$t("admin.APP_MODERATION.REPORTED_BY")),1),C.reported_by?(f(),G(N,{key:0,class:"link-with-image",to:`/admin/users/${C.reported_by.username}`},{default:X(()=>[M(Ht,{user:C.reported_by},null,8,["user"]),B(" "+A(C.reported_by.username),1)]),_:2},1032,["to"])):(f(),g("span",ndt,A(O.$t("admin.DELETED_USER")),1))]),E("td",null,[E("span",sdt,A(Fe(O.$t("admin.APP_MODERATION.ORDER_BY.CREATED_AT"))),1),E("time",null,A(S(C.created_at)),1)]),E("td",null,[E("span",adt,A(O.$t("admin.APP_MODERATION.RESOLVED.TRUE")),1),E("i",{class:fe(`fa fa${C.resolved?"-check":""}-square-o`),"aria-hidden":"true"},null,2)]),E("td",null,[E("span",odt,A(Fe(O.$t("common.LAST_UPDATED_ON"))),1),C.updated_at?(f(),g("time",idt,A(S(C.updated_at)),1)):v("",!0)]),E("td",null,[E("button",{onClick:y=>O.$router.push(`/admin/reports/${C.id}`)},A(O.$t("admin.APP_MODERATION.VIEW_REPORT")),9,rdt)])]))),128))])]),d.value.page?(f(),G(Zn,{key:0,path:"/admin/users",pagination:d.value,query:p(u)},null,8,["pagination","query"])):v("",!0),p(a)?(f(),G(b,{key:1,message:p(a)},null,8,["message"])):v("",!0),E("button",{onClick:I[1]||(I[1]=Ne(C=>O.$router.push("/admin"),["prevent"]))},A(O.$t("admin.BACK_TO_ADMIN")),1)]))]),_:1})])}}}),ldt=ne(udt,[["__scopeId","data-v-79ddf542"]]),cdt={id:"admin-sports",class:"admin-card"},ddt={class:"responsive-table"},Edt={class:"text-left"},_dt={class:"text-left sport-action"},Tdt={class:"text-center"},pdt={class:"cell-heading"},mdt={class:"sport-label"},fdt={class:"cell-heading"},Sdt={class:"text-center"},Adt={class:"cell-heading"},hdt={class:"sport-action"},Odt={class:"cell-heading"},Idt={class:"action-button"},Rdt=["onClick"],Ndt={key:0,class:"has-workouts"},gdt=Q({__name:"AdminSports",setup(e){const t=ye(),{errorMessages:n}=Ge(),{translatedSports:s}=en();function a(o,i){t.dispatch(Vt.ACTIONS.UPDATE_SPORTS,{id:o,isActive:i})}return Ze(()=>t.dispatch(Vt.ACTIONS.GET_SPORTS,!0)),(o,i)=>{const r=j("SportImage"),u=j("ErrorMessage"),l=j("Card");return f(),g("div",cdt,[M(l,null,{title:X(()=>[B(A(o.$t("admin.SPORTS.TITLE")),1)]),content:X(()=>[E("button",{class:"top-button",onClick:i[0]||(i[0]=Ne(d=>o.$router.push("/admin"),["prevent"]))},A(o.$t("admin.BACK_TO_ADMIN")),1),E("div",ddt,[E("table",null,[E("thead",null,[E("tr",null,[i[2]||(i[2]=E("th",null,"#",-1)),E("th",null,A(o.$t("admin.SPORTS.TABLE.IMAGE")),1),E("th",Edt,A(o.$t("admin.SPORTS.TABLE.LABEL")),1),E("th",null,A(o.$t("admin.SPORTS.TABLE.ACTIVE")),1),E("th",_dt,A(o.$t("admin.ACTION")),1)])]),E("tbody",null,[(f(!0),g(ae,null,be(p(s),d=>(f(),g("tr",{key:d.id},[E("td",Tdt,[i[3]||(i[3]=E("span",{class:"cell-heading"},"id",-1)),B(" "+A(d.id),1)]),E("td",null,[E("span",pdt,A(o.$t("admin.SPORTS.TABLE.IMAGE")),1),M(r,{title:d.translatedLabel,"sport-label":d.label,color:d.color},null,8,["title","sport-label","color"])]),E("td",mdt,[E("span",fdt,A(o.$t("admin.SPORTS.TABLE.LABEL")),1),B(" "+A(d.translatedLabel),1)]),E("td",Sdt,[E("span",Adt,A(o.$t("admin.SPORTS.TABLE.ACTIVE")),1),E("i",{class:fe(`fa fa${d.is_active?"-check":""}`),"aria-hidden":"true"},null,2)]),E("td",hdt,[E("span",Odt,A(o.$t("admin.ACTION")),1),E("div",Idt,[E("button",{class:fe({danger:d.is_active}),onClick:_=>a(d.id,!d.is_active)},A(o.$t(`buttons.${d.is_active?"DIS":"EN"}ABLE`)),11,Rdt),d.has_workouts?(f(),g("span",Ndt,[i[4]||(i[4]=E("i",{class:"fa fa-warning","aria-hidden":"true"},null,-1)),B(" "+A(o.$t("admin.SPORTS.TABLE.HAS_WORKOUTS")),1)])):v("",!0)])])]))),128))])]),p(n)?(f(),G(u,{key:0,message:p(n)},null,8,["message"])):v("",!0),E("button",{onClick:i[1]||(i[1]=Ne(d=>o.$router.push("/admin"),["prevent"]))},A(o.$t("admin.BACK_TO_ADMIN")),1)])]),_:1})])}}}),bdt=ne(gdt,[["__scopeId","data-v-0df47c43"]]),Cdt={class:"users-filters"},Pdt={class:"search-username"},Ddt={for:"username",class:"visually-hidden"},Ldt=["placeholder"],vdt=["title"],ydt=["title"],Udt=Q({__name:"UsersNameFilter",emits:["filterOnUsername"],setup(e,{emit:t}){const n=t,s=at(),a=Oe(s.query.q?s.query.q:"");function o(){a.value!==""&&n("filterOnUsername",a)}function i(){a.value="",n("filterOnUsername",a.value)}return(r,u)=>(f(),g("div",Cdt,[E("div",Pdt,[E("label",Ddt,A(r.$t("user.USERNAME")),1),We(E("input",{id:"username",name:"username","onUpdate:modelValue":u[0]||(u[0]=l=>a.value=l),onKeyup:Xe(o,["enter"]),placeholder:r.$t("user.FILTER_ON_USERNAME")},null,40,Ldt),[[st,a.value,void 0,{trim:!0}]]),a.value!==""?(f(),g("button",{key:0,class:"transparent search-buttons",title:r.$t("buttons.CLEAR_FILTER")},[E("i",{class:"fa fa-times","aria-hidden":"true",onClick:i})],8,vdt)):v("",!0)]),E("button",{class:"transparent search-buttons",title:r.$t("buttons.SEARCH")},[E("i",{class:fe(["fa fa-search",{"fa-disabled":a.value===""}]),"aria-hidden":"true",onClick:o},null,2)],8,ydt)]))}}),L1=ne(Udt,[["__scopeId","data-v-a6bec70a"]]),$dt={id:"admin-users",class:"admin-card"},kdt={key:0,class:"no-users"},wdt={key:1,class:"responsive-table"},Mdt={class:"left-text"},Wdt={class:"left-text"},Fdt={class:"cell-heading"},zdt={class:"cell-heading"},Bdt={class:"cell-heading"},Gdt={class:"text-center"},xdt={class:"cell-heading"},Vdt={class:"text-center"},Hdt={class:"cell-heading"},Kdt={class:"text-center"},Ydt={class:"cell-heading"},qdt={class:"text-center"},jdt={class:"cell-heading"},Xdt={class:"text-center"},Qdt={class:"cell-heading"},Zdt={class:"roles"},Jdt={key:0,class:"roles-buttons"},eEt=["onClick"],tEt={key:1},nEt=["disabled","onClick"],_S="created_at",sEt=Q({__name:"AdminUsers",setup(e){const t=ye(),n=at(),s=On(),{errorMessages:a}=Ge(),{authUser:o}=Ye(),i=["is_active","role","created_at","username","workouts_count"];let r=Lt(Lo(n.query,i,_S));const u=F(()=>t.getters[ue.GETTERS.USERS]),l=F(()=>t.getters[ue.GETTERS.USERS_PAGINATION]),d=F(()=>t.getters[ue.GETTERS.USERS_IS_SUCCESS]),_=Oe("");function c(I){t.dispatch(ue.ACTIONS.GET_USERS_FOR_ADMIN,I)}function T(I){h("q",I.value)}function m(I){return _.value===I}function S(I){switch(I){case"admin":return["moderator","user"];case"moderator":return["admin","user"];case"user":return["admin","moderator"];default:return[]}}function R(I,N){t.dispatch(ue.ACTIONS.UPDATE_USER,{username:I,role:N})}function h(I,N){r[I]=N,I==="per_page"&&(r.page=1),s.push({path:"/admin/users",query:r})}function O(I){return I.username===o.value.username||I.suspended_at!==null||I.role==="owner"}return Pe(()=>n.query,I=>{r=Lo(I,i,_S,{}),c(r)}),Pe(()=>d.value,I=>{I&&(_.value="")}),Ze(()=>c(r)),ut(()=>{t.dispatch(ue.ACTIONS.EMPTY_USERS),t.commit(ue.MUTATIONS.UPDATE_IS_SUCCESS,!1)}),(I,N)=>{const b=j("router-link"),P=j("ErrorMessage"),C=j("Card");return f(),g("div",$dt,[M(C,null,{title:X(()=>[B(A(Fe(I.$t("user.USER",0))),1)]),content:X(()=>[E("button",{class:"top-button",onClick:N[0]||(N[0]=Ne(y=>I.$router.push("/admin"),["prevent"]))},A(I.$t("admin.BACK_TO_ADMIN")),1),M(L1,{onFilterOnUsername:T}),M(x_,{sort:p(Fl),order_by:i,query:p(r),message:"admin.USERS.SELECTS.ORDER_BY",onUpdateSelect:h},null,8,["sort","query"]),u.value.length===0?(f(),g("div",kdt,A(I.$t("user.NO_USERS_FOUND")),1)):(f(),g("div",wdt,[E("table",null,[E("thead",null,[E("tr",null,[N[3]||(N[3]=E("th",null,"#",-1)),E("th",Mdt,A(I.$t("user.USERNAME")),1),E("th",Wdt,A(I.$t("user.PROFILE.REGISTRATION_DATE")),1),E("th",null,A(Fe(I.$t("workouts.WORKOUT",0))),1),E("th",null,A(I.$t("admin.ACTIVE")),1),E("th",null,A(I.$t("user.ROLE")),1),E("th",null,A(I.$t("user.SUSPENDED")),1),E("th",null,A(I.$t("admin.ACTION")),1)])]),E("tbody",null,[(f(!0),g(ae,null,be(u.value,y=>(f(),g("tr",{key:y.username},[E("td",null,[E("span",Fdt,A(I.$t("user.PROFILE.PICTURE")),1),M(Ht,{user:y},null,8,["user"])]),E("td",null,[E("span",zdt,A(I.$t("user.USERNAME")),1),M(b,{to:`/admin/users/${y.username}`},{default:X(()=>[B(A(y.username),1)]),_:2},1032,["to"]),p(a)&&_.value===y.username?(f(),G(P,{key:0,message:p(a)},null,8,["message"])):v("",!0)]),E("td",null,[E("span",Bdt,A(I.$t("user.PROFILE.REGISTRATION_DATE")),1),E("time",null,A(p(Ut)(y.created_at,p(o).timezone,p(o).date_format)),1)]),E("td",Gdt,[E("span",xdt,A(Fe(I.$t("workouts.WORKOUT",0))),1),B(" "+A(y.nb_workouts),1)]),E("td",Vdt,[E("span",Hdt,A(I.$t("admin.ACTIVE")),1),E("i",{class:fe(`fa fa${y.is_active?"-check":""}-square-o`),"aria-hidden":"true"},null,2)]),E("td",Kdt,[E("span",Ydt,A(I.$t("user.ROLE")),1),B(" "+A(I.$t(`user.ROLES.${y.role}`)),1)]),E("td",qdt,[E("span",jdt,A(I.$t("user.SUSPENDED")),1),E("i",{class:fe(`fa fa${y.suspended_at!==null?"-check":""}-square-o`),"aria-hidden":"true"},null,2)]),E("td",Xdt,[E("span",Qdt,A(I.$t("admin.ACTION")),1),E("div",Zdt,[m(y.username)?(f(),g("div",Jdt,[(f(!0),g(ae,null,be(S(y.role),L=>(f(),g("button",{class:fe({danger:y.role==="admin"||L==="user"}),key:L,onClick:w=>R(y.username,L)},A(I.$t(`admin.USERS.TABLE.CHANGE_TO_${L.toUpperCase()}`)),11,eEt))),128)),E("button",{onClick:N[1]||(N[1]=L=>_.value="")},A(I.$t("buttons.CANCEL")),1)])):(f(),g("div",tEt,[E("button",{disabled:O(y),onClick:L=>_.value=y.username},A(I.$t("admin.USERS.TABLE.CHANGE_ROLE")),9,nEt)]))])])]))),128))])]),l.value.page?(f(),G(Zn,{key:0,path:"/admin/users",pagination:l.value,query:p(r)},null,8,["pagination","query"])):v("",!0),_.value===""&&p(a)?(f(),G(P,{key:1,message:p(a)},null,8,["message"])):v("",!0),E("button",{onClick:N[2]||(N[2]=Ne(y=>I.$router.push("/admin"),["prevent"]))},A(I.$t("admin.BACK_TO_ADMIN")),1)]))]),_:1})])}}}),aEt=ne(sEt,[["__scopeId","data-v-c5c9e5fb"]]),oEt={class:"box"},iEt={class:"user-header"},rEt={key:0,class:"follows-you"},uEt={key:1,class:"follows-you"},lEt={class:"user-details"},cEt={class:"user-name"},dEt={key:2,class:"user-role"},EEt=Q({__name:"UserHeader",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),s=at(),{displayOptions:a}=Ge(),{authUser:o,authUserHasModeratorRights:i}=Ye(),r=F(()=>n.value.suspended_at?Ut(n.value.suspended_at,a.value.timezone,a.value.dateFormat):""),u=F(()=>n.value.suspended_at!==null&&s.name!=="AuthUserAccountSuspension"&&n.value.username===(o==null?void 0:o.value.username)),l=F(()=>i.value&&n.value.suspension_report_id!==void 0),d=F(()=>n.value.role!=="user"?`user.ROLES.${n.value.role}`:"");return(_,c)=>{const T=j("router-link"),m=j("i18n-t"),S=j("AlertMessage");return f(),g("div",oEt,[E("div",iEt,[p(n).follows==="true"?(f(),g("div",rEt,A(_.$t("user.RELATIONSHIPS.FOLLOWS_YOU")),1)):p(n).username===p(o).username&&!_.$route.path.startsWith("/profile")?(f(),g("div",uEt,A(_.$t("user.YOU")),1)):v("",!0),M(Ht,{user:p(n)},null,8,["user"]),E("div",lEt,[E("div",cEt,A(p(n).username),1),M(G_,{user:p(n)},null,8,["user"])]),d.value?(f(),g("div",dEt,A(_.$t(d.value)),1)):v("",!0)]),"suspended_at"in p(n)&&p(n).suspended_at!==null?(f(),G(S,{key:0,message:"user.ACCOUNT_SUSPENDED_AT",param:r.value},Ao({_:2},[u.value||l.value?{name:"additionalMessage",fn:X(()=>[u.value?(f(),G(T,{key:0,to:"/profile/suspension",class:"appeal-link"},{default:X(()=>[B(A(_.$t("user.APPEAL")),1)]),_:1})):v("",!0),l.value?(f(),G(m,{key:1,keypath:"common.SEE_REPORT"},{default:X(()=>[M(T,{to:`/admin/reports/${p(n).suspension_report_id}`},{default:X(()=>[B(A(p(n).suspension_report_id),1)]),_:1},8,["to"])]),_:1})):v("",!0)]),key:"0"}:void 0]),1032,["param"])):v("",!0)])}}}),v1=ne(EEt,[["__scopeId","data-v-9ec164a8"]]),_Et={class:"profile-tabs"},TEt={class:"profile-tabs-links"},y1=Q({__name:"UserProfileTabs",props:{tabs:{},selectedTab:{},edition:{type:Boolean}},setup(e){const t=e,{edition:n,selectedTab:s,tabs:a}=pe(t);Et(()=>{const i=document.getElementById(`tab-${a.value[0]}`);i&&i.focus()});function o(i){switch(i){case"ACCOUNT":case"PICTURE":case"PRIVACY-POLICY":return`/profile/edit/${i.toLocaleLowerCase()}`;case"APPS":case"BLOCKED-USERS":case"EQUIPMENTS":case"FOLLOW-REQUESTS":case"MODERATION":case"NOTIFICATIONS":case"PREFERENCES":case"SPORTS":return`/profile${n.value?"/edit":""}/${i.toLocaleLowerCase()}`;default:case"PROFILE":return`/profile${n.value?"/edit":""}`}}return(i,r)=>{const u=j("router-link");return f(),g("div",_Et,[E("div",TEt,[(f(!0),g(ae,null,be(p(a),l=>(f(),G(u,{class:fe(["profile-tab",{selected:l===p(s)}]),to:o(l),key:l},{default:X(()=>[B(A(i.$t(`user.PROFILE.TABS.${l}`)),1)]),_:2},1032,["class","to"]))),128))])])}}}),pEt={id:"user-profile"},mEt={class:"box"},fEt=Q({__name:"index",props:{user:{},tab:{}},setup(e){const t=e,{user:n,tab:s}=pe(t),a=ye(),o=F(()=>a.getters[K.GETTERS.IS_SUSPENDED]),i=F(()=>o.value?["PROFILE","PREFERENCES","SPORTS","EQUIPMENTS","APPS","MODERATION"]:["PROFILE","PREFERENCES","SPORTS","EQUIPMENTS","APPS","FOLLOW-REQUESTS","BLOCKED-USERS","NOTIFICATIONS","MODERATION"]);return(r,u)=>{const l=j("router-view");return f(),g("div",pEt,[M(v1,{user:p(n)},null,8,["user"]),E("div",mEt,[M(y1,{tabs:i.value,selectedTab:p(s),edition:!1},null,8,["tabs","selectedTab"]),M(l,{user:p(n)},null,8,["user"])])])}}}),SEt=ne(fEt,[["__scopeId","data-v-f954c58a"]]),AEt={id:"user-moderation-detail"},hEt={id:"user-reports",class:"description-list"},OEt={key:0,id:"user-sanctions"},IEt={key:0},REt={class:"last-sanctions"},NEt=Q({__name:"UserAdminReports",props:{authUser:{},user:{}},setup(e){const t=e,{authUser:n,user:s}=pe(t),a=at(),o=ye();let i=Lt(d(a.query));const r=F(()=>o.getters[ue.GETTERS.USER_SANCTIONS]),u=F(()=>o.getters[ue.GETTERS.USER_SANCTIONS_LOADING]),l=F(()=>o.getters[ue.GETTERS.USER_SANCTIONS_PAGINATION]);function d(T){const m={};return T.page&&(m.page=Do(T.page,cr)),m}function _(T){if(T.updated_at)switch(T.approved){case!0:return"APPROVED";case!1:return"REJECTED";default:return"IN_PROGRESS"}return"IN_PROGRESS"}function c(T){o.dispatch(ue.ACTIONS.GET_USER_SANCTIONS,{username:s.value.username,...T})}return Pe(()=>a.query,async T=>{i=d(T),c(i)}),Ze(()=>c({})),ut(()=>o.commit(ue.MUTATIONS.UPDATE_USER_SANCTIONS,[])),(T,m)=>{const S=j("router-link");return f(),g("div",AEt,[E("div",hEt,[E("dl",null,[E("dt",null,A(T.$t("user.PROFILE.CREATED_REPORTS"))+":",1),E("dd",null,A(p(s).created_reports_count),1),E("dt",null,A(T.$t("user.PROFILE.REPORTS_FROM_OTHER_USERS"))+":",1),E("dd",null,A(p(s).reported_count),1)])]),p(s).sanctions_count?(f(),g("div",OEt,[E("strong",null,A(T.$t("user.PROFILE.LATEST_SANCTIONS_RECEIVED"))+":",1),E("div",null,A(T.$t("user.PROFILE.USER_RECEIVED_SANCTIONS",{count:p(s).sanctions_count})),1),u.value?(f(),g("div",IEt,[M(Ml)])):(f(),g(ae,{key:1},[E("ul",REt,[(f(!0),g(ae,null,be(r.value,R=>(f(),g("li",{key:R.id},[E("div",null,[B(A(T.$t(`user.PROFILE.SANCTIONS.${R.action_type}`,{date:p(Ut)(R.created_at,p(n).timezone,p(n).date_format)}))+" ",1),R.appeal?(f(),g("span",{key:0,class:fe(["info-box appeal",{approved:_(R.appeal)==="APPROVED",rejected:_(R.appeal)==="REJECTED"}])},[E("i",{class:fe(["fa",{"fa-info-circle":_(R.appeal)!=="REJECTED","fa-times":_(R.appeal)==="REJECTED"}]),"aria-hidden":"true"},null,2),B(" "+A(T.$t(`user.APPEAL_${_(R.appeal)}`)),1)],2)):v("",!0)]),M(S,{to:`/admin/reports/${R.report_id}`},{default:X(()=>[B(A(T.$t("admin.APP_MODERATION.VIEW_REPORT"))+" #"+A(R.report_id),1)]),_:2},1032,["to"])]))),128))]),M(Zn,{pagination:l.value,path:`/admin/users/${p(s).username}`,query:p(i)},null,8,["pagination","path","query"])],64))])):v("",!0)])}}}),gEt=ne(NEt,[["__scopeId","data-v-1f8ba78e"]]),bEt={id:"user-infos",class:"description-list"},CEt={key:1,class:"info-box success-message"},PEt={key:4,class:"email-form form-box"},DEt={class:"form-items",for:"email"},LEt={class:"form-items",for:"email"},vEt={class:"form-buttons"},yEt={class:"confirm",type:"submit"},UEt={key:5},$Et={key:0},kEt={key:1},wEt={key:2},MEt={key:3},WEt={key:4},FEt={key:5},zEt={key:6},BEt={key:7},GEt={key:8},xEt={key:9},VEt={key:10},HEt={key:11,class:"user-bio"},KEt={key:0,class:"report-submitted"},YEt={class:"info-box"},qEt={key:0},jEt={key:0,class:"profile-buttons"},XEt={key:1,class:"profile-buttons"},QEt=Q({__name:"UserInfos",props:{user:{},authUser:{},fromAdmin:{type:Boolean,default:!1}},setup(e){const t=e,{authUser:n,user:s,fromAdmin:a}=pe(t),o=ye(),{appConfig:i,appLanguage:r,displayOptions:u,errorMessages:l}=Ge(),{authUserHasModeratorRights:d,authUserHasAdminRights:_,isAuthenticated:c}=Ye(),T=Oe(""),m=Oe(!1),S=Oe(!1),R=Oe(""),h=Oe(""),O=F(()=>o.getters[ue.GETTERS.USER_CURRENT_REPORTING]),I=F(()=>o.getters[Ue.GETTERS.REPORT_STATUS]),N=F(()=>s.value.created_at?Ut(s.value.created_at,u.value.timezone,u.value.dateFormat):""),b=F(()=>s.value.birth_date?hn(new Date(s.value.birth_date),`${ha(u.value.dateFormat,r.value)}`,{locale:Ga[r.value]}):""),P=F(()=>o.getters[ue.GETTERS.USERS_IS_SUCCESS]);function C(me){T.value=me,me!==""&&o.commit(ue.MUTATIONS.UPDATE_IS_SUCCESS,!1)}function y(me){o.dispatch(ue.ACTIONS.DELETE_USER_ACCOUNT,{username:me})}function L(me){h.value="password-reset",o.dispatch(ue.ACTIONS.UPDATE_USER,{username:me,resetPassword:!0})}function w(me){o.dispatch(ue.ACTIONS.UPDATE_USER,{username:me,activate:!0})}function D(){he(),R.value=s.value.email_to_confirm?s.value.email_to_confirm:"",S.value=!0,h.value="email-update"}function W(){R.value="",S.value=!1}function Y(me){o.dispatch(ue.ACTIONS.UPDATE_USER,{username:me,new_email:R.value})}function he(){o.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),o.commit(ue.MUTATIONS.UPDATE_IS_SUCCESS,!1),o.commit(ue.MUTATIONS.UPDATE_USER_CURRENT_REPORTING,!1),o.commit(Ue.MUTATIONS.SET_REPORT_STATUS,null),h.value=""}function ie(){o.commit(ue.MUTATIONS.UPDATE_USER_CURRENT_REPORTING,!0)}return Pe(()=>P.value,me=>{me&&(C(""),W())}),ut(()=>he()),(me,Ie)=>{var He,Tt,we,se,$e,dt,_e;const ve=j("Modal"),Ke=j("AlertMessage"),Je=j("ErrorMessage");return f(),g("div",bEt,[T.value?(f(),G(ve,{key:0,title:me.$t("common.CONFIRMATION"),message:T.value==="delete"?"admin.CONFIRM_USER_ACCOUNT_DELETION":"admin.CONFIRM_USER_PASSWORD_RESET",strongMessage:p(s).username,onConfirmAction:Ie[0]||(Ie[0]=Z=>T.value==="delete"?y(p(s).username):L(p(s).username)),onCancelAction:Ie[1]||(Ie[1]=Z=>C("")),onKeydown:Ie[2]||(Ie[2]=Xe(Z=>C(""),["esc"]))},null,8,["title","message","strongMessage"])):v("",!0),P.value?(f(),g("div",CEt,A(me.$t(`admin.${h.value==="password-reset"?"PASSWORD_RESET":"USER_EMAIL_UPDATE"}_SUCCESSFUL`)),1)):v("",!0),p(d)&&!p(s).is_active?(f(),G(Ke,{key:2,message:"user.THIS_USER_ACCOUNT_IS_INACTIVE"})):v("",!0),p(l)&&!O.value?(f(),G(Je,{key:3,message:p(l),"no-margin":!0},null,8,["message"])):v("",!0),S.value?(f(),g("div",PEt,[E("form",{class:fe({errors:m.value}),onSubmit:Ie[5]||(Ie[5]=Ne(Z=>Y(p(s).username),["prevent"]))},[E("label",DEt,[B(A(me.$t("admin.CURRENT_EMAIL"))+" ",1),We(E("input",{id:"email",type:"email","onUpdate:modelValue":Ie[3]||(Ie[3]=Z=>p(s).email=Z),disabled:""},null,512),[[st,p(s).email]])]),E("label",LEt,[B(A(me.$t("admin.NEW_EMAIL"))+"* ",1),We(E("input",{id:"new-email",type:"email",required:"","onUpdate:modelValue":Ie[4]||(Ie[4]=Z=>R.value=Z)},null,512),[[st,R.value]])]),E("div",vEt,[E("button",yEt,A(me.$t("buttons.SUBMIT")),1),E("button",{class:"cancel",onClick:Ne(W,["prevent"])},A(me.$t("buttons.CANCEL")),1)])],34)])):(f(),g("div",UEt,[E("dl",null,[E("dt",null,A(me.$t("user.PROFILE.REGISTRATION_DATE"))+":",1),E("dd",null,[E("time",null,A(N.value),1)]),p(c)?(f(),g(ae,{key:0},[p(a)?(f(),g("dt",$Et,A(me.$t("user.EMAIL"))+":",1)):v("",!0),p(a)?(f(),g("dd",kEt,A(p(s).email),1)):v("",!0),p(s).first_name?(f(),g("dt",wEt,A(me.$t("user.PROFILE.FIRST_NAME"))+":",1)):v("",!0),p(s).first_name?(f(),g("dd",MEt,A(p(s).first_name),1)):v("",!0),p(s).last_name?(f(),g("dt",WEt,A(me.$t("user.PROFILE.LAST_NAME"))+":",1)):v("",!0),p(s).last_name?(f(),g("dd",FEt,A(p(s).last_name),1)):v("",!0),b.value?(f(),g("dt",zEt,A(me.$t("user.PROFILE.BIRTH_DATE"))+":",1)):v("",!0),b.value?(f(),g("dd",BEt,[E("time",null,A(b.value),1)])):v("",!0),p(s).location?(f(),g("dt",GEt,A(me.$t("user.PROFILE.LOCATION"))+":",1)):v("",!0),p(s).location?(f(),g("dd",xEt,A(p(s).location),1)):v("",!0),p(s).bio?(f(),g("dt",VEt,A(me.$t("user.PROFILE.BIO"))+":",1)):v("",!0),p(s).bio?(f(),g("dd",HEt,A(p(s).bio),1)):v("",!0)],64)):v("",!0)]),I.value===`user-${p(s).username}-created`?(f(),g("div",KEt,[E("div",YEt,[E("span",null,[Ie[12]||(Ie[12]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(me.$t("common.REPORT_SUBMITTED")),1)])])])):v("",!0),O.value?(f(),G(k_,{key:1,"object-id":p(s).username,"object-type":"user"},null,8,["object-id"])):(f(),g(ae,{key:2},[p(n)&&p(d)&&p(a)?(f(),g("div",qEt,[M(gEt,{authUser:p(n),user:p(s)},null,8,["authUser","user"])])):v("",!0),p(c)?(f(),g(ae,{key:1},[p(a)?(f(),g("div",jEt,[p(s).role!=="owner"&&p(_)?(f(),g(ae,{key:0},[((He=p(n))==null?void 0:He.username)!==p(s).username?(f(),g("button",{key:0,class:"danger",onClick:Ie[6]||(Ie[6]=Ne(Z=>C("delete"),["prevent"]))},A(me.$t("admin.DELETE_USER")),1)):v("",!0),p(s).is_active?v("",!0):(f(),g("button",{key:1,onClick:Ie[7]||(Ie[7]=Ne(Z=>w(p(s).username),["prevent"]))},A(me.$t("admin.ACTIVATE_USER_ACCOUNT")),1)),((Tt=p(n))==null?void 0:Tt.username)!==p(s).username?(f(),g("button",{key:2,onClick:Ne(D,["prevent"])},A(me.$t("admin.UPDATE_USER_EMAIL")),1)):v("",!0),((we=p(n))==null?void 0:we.username)!==p(s).username&&p(i).is_email_sending_enabled?(f(),g("button",{key:3,onClick:Ie[8]||(Ie[8]=Ne(Z=>C("reset"),["prevent"]))},A(me.$t("admin.RESET_USER_PASSWORD")),1)):v("",!0),(se=p(n))!=null&&se.username?(f(),G(Ju,{key:4,authUser:p(n),user:p(s),from:"userInfos"},null,8,["authUser","user"])):v("",!0)],64)):v("",!0),E("button",{onClick:Ie[9]||(Ie[9]=Z=>me.$router.go(-1))},A(me.$t("buttons.BACK")),1)])):(f(),g("div",XEt,[me.$route.path==="/profile"||p(s).username===(($e=p(n))==null?void 0:$e.username)?(f(),g("button",{key:0,onClick:Ie[10]||(Ie[10]=Z=>me.$router.push("/profile/edit"))},A(me.$t("user.PROFILE.EDIT")),1)):v("",!0),(dt=p(n))!=null&&dt.username?(f(),G(Ju,{key:1,authUser:p(n),user:p(s),from:"userInfos"},null,8,["authUser","user"])):v("",!0),me.$route.name==="User"&&p(s).username!==((_e=p(n))==null?void 0:_e.username)&&p(s).suspended_at===null&&I.value!==`user-${p(s).username}-created`?(f(),g("button",{key:2,onClick:ie},A(me.$t("user.REPORT")),1)):v("",!0),E("button",{onClick:Ie[11]||(Ie[11]=Z=>me.$router.go(-1))},A(me.$t("buttons.BACK")),1)]))],64)):v("",!0)],64))]))])}}}),U1=ne(QEt,[["__scopeId","data-v-36075dfc"]]),$1=e=>{const t=["follow","follow_request","follow_request_approved","workout_like","workout_comment","comment_like","mention"];return(e==="admin"||e==="owner")&&t.push("account_creation"),t},ZEt={id:"user-notifications",class:"description-list"},JEt={class:"profile-buttons"},e_t=Q({__name:"UserNotifications",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),s=F(()=>$1(n.value.role));function a(o){return o in n.value.notification_preferences?n.value.notification_preferences[o]:!0}return(o,i)=>(f(),g(ae,null,[E("h1",null,A(o.$t("user.PROFILE.NOTIFICATION_PREFERENCES")),1),E("div",ZEt,[E("dl",null,[(f(!0),g(ae,null,be(s.value,r=>(f(),g(ae,{key:r},[E("dt",null,A(Fe(o.$t(`user.PROFILE.NOTIFICATIONS.${r}`)))+":",1),E("dd",null,[E("i",{class:fe(`fa fa-${a(r)?"check":"times"} fa-padding`),"aria-hidden":"true"},null,2),B(" "+A(o.$t(`common.${a(r)?"EN":"DIS"}ABLED`)),1)])],64))),128))]),E("div",JEt,[E("button",{onClick:i[0]||(i[0]=r=>o.$router.push("/profile/edit/notifications"))},A(o.$t("user.PROFILE.EDIT_NOTIFICATION_PREFERENCES")),1),E("button",{onClick:i[1]||(i[1]=r=>o.$router.push("/notifications"))},A(Fe(o.$t("notifications.NOTIFICATIONS",0))),1),E("button",{onClick:i[2]||(i[2]=r=>o.$router.push("/"))},A(o.$t("common.HOME")),1)])])],64))}}),t_t=ne(e_t,[["__scopeId","data-v-4eef7be8"]]),n_t={id:"user-preferences",class:"description-list"},s_t={class:"preferences-section"},a_t={class:"preferences-section"},o_t={class:"preferences-section"},i_t={class:"info-box raw-speed-help"},r_t={class:"profile-buttons"},u_t=Q({__name:"UserPreferences",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),{dateFormat:s,timezone:a}=Ye(),o=F(()=>n.value.language&&n.value.language in fo?fo[n.value.language]:fo.en),i=F(()=>n.value.weekm?"MONDAY":"SUNDAY"),r=F(()=>n.value.display_ascent?"DISPLAYED":"HIDDEN"),u=F(()=>n.value.use_dark_mode===!0?"DARK":n.value.use_dark_mode===!1?"LIGHT":"DEFAULT");return(l,d)=>(f(),g("div",n_t,[E("div",s_t,A(l.$t("user.PROFILE.INTERFACE")),1),E("dl",null,[E("dt",null,A(l.$t("user.PROFILE.LANGUAGE"))+":",1),E("dd",null,A(o.value),1),E("dt",null,A(l.$t("user.PROFILE.THEME_MODE.LABEL"))+":",1),E("dd",null,A(l.$t(`user.PROFILE.THEME_MODE.VALUES.${u.value}`)),1),E("dt",null,A(l.$t("user.PROFILE.TIMEZONE"))+":",1),E("dd",null,A(p(a)),1),E("dt",null,A(l.$t("user.PROFILE.DATE_FORMAT"))+":",1),E("dd",null,A(p(s)),1),E("dt",null,A(l.$t("user.PROFILE.FIRST_DAY_OF_WEEK"))+":",1),E("dd",null,A(l.$t(`user.PROFILE.${i.value}`)),1)]),E("div",a_t,A(l.$t("user.PROFILE.TABS.ACCOUNT")),1),E("dl",null,[E("dt",null,A(l.$t("user.PROFILE.FOLLOW_REQUESTS_APPROVAL.LABEL"))+":",1),E("dd",null,A(l.$t(`user.PROFILE.FOLLOW_REQUESTS_APPROVAL.${p(n).manually_approves_followers?"MANUALLY":"AUTOMATICALLY"}`)),1),E("dt",null,A(l.$t("user.PROFILE.PROFILE_IN_USERS_DIRECTORY.LABEL"))+":",1),E("dd",null,A(l.$t(`user.PROFILE.PROFILE_IN_USERS_DIRECTORY.${p(n).hide_profile_in_users_directory?"HIDDEN":"DISPLAYED"}`)),1)]),E("div",o_t,A(l.$t("workouts.WORKOUT",0)),1),E("dl",null,[E("dt",null,A(l.$t("user.PROFILE.UNITS.LABEL"))+":",1),E("dd",null,A(l.$t(`user.PROFILE.UNITS.${p(n).imperial_units?"IMPERIAL":"METRIC"}`)),1),E("dt",null,A(l.$t("user.PROFILE.ASCENT_DATA"))+":",1),E("dd",null,A(l.$t(`common.${r.value}`)),1),E("dt",null,A(l.$t("user.PROFILE.ELEVATION_CHART_START.LABEL"))+":",1),E("dd",null,A(l.$t(`user.PROFILE.ELEVATION_CHART_START.${p(n).start_elevation_at_zero?"ZERO":"MIN_ALT"}`)),1),E("dt",null,A(l.$t("user.PROFILE.USE_RAW_GPX_SPEED.LABEL"))+":",1),E("dd",null,A(l.$t(`user.PROFILE.USE_RAW_GPX_SPEED.${p(n).use_raw_gpx_speed?"RAW_SPEED":"FILTERED_SPEED"}`)),1),E("div",i_t,[E("span",null,[d[2]||(d[2]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(l.$t("user.PROFILE.USE_RAW_GPX_SPEED.HELP")),1)])])]),E("dl",null,[E("dt",null,A(l.$t("visibility_levels.WORKOUTS_VISIBILITY"))+":",1),E("dd",null,A(l.$t(`visibility_levels.LEVELS.${p(n).workouts_visibility}`)),1),E("dt",null,A(l.$t("visibility_levels.ANALYSIS_VISIBILITY"))+":",1),E("dd",null,A(l.$t(`visibility_levels.LEVELS.${p(n).analysis_visibility}`)),1),E("dt",null,A(l.$t("visibility_levels.MAP_VISIBILITY"))+":",1),E("dd",null,A(l.$t(`visibility_levels.LEVELS.${p(n).map_visibility}`)),1)]),E("div",r_t,[E("button",{onClick:d[0]||(d[0]=_=>l.$router.push("/profile/edit/preferences"))},A(l.$t("user.PROFILE.EDIT_PREFERENCES")),1),E("button",{onClick:d[1]||(d[1]=_=>l.$router.push("/"))},A(l.$t("common.HOME")),1)])]))}}),l_t=ne(u_t,[["__scopeId","data-v-52e1fc82"]]),c_t={class:"users-list"},d_t={key:0},E_t={class:"item"},__t={class:"user-name"},T_t={key:0,class:"blocked-user"},p_t=["onClick"],m_t={key:1,class:"follow-requests-list-actions"},f_t=["onClick"],S_t=["onClick"],A_t={key:1,class:"no-users-list"},h_t={class:"profile-buttons"},O_t=Q({__name:"UsersList",props:{itemType:{}},setup(e){const t=e,{itemType:n}=pe(t),s=at(),a=ye(),{errorMessages:o}=Ge(),i={page:1},r=Oe(null),u=F(()=>a.getters[K.GETTERS[n.value==="follow-requests"?"FOLLOW_REQUESTS":"BLOCKED_USERS"]]),l=F(()=>a.getters[ue.GETTERS.USERS_PAGINATION]);function d(S){a.dispatch(K.ACTIONS[n.value==="follow-requests"?"GET_FOLLOW_REQUESTS":"GET_BLOCKED_USERS"],S)}function _(S,R){m(S),a.dispatch(K.ACTIONS.UPDATE_FOLLOW_REQUESTS,{username:S,action:R,getFollowRequests:!0})}function c(S,R){m(S);const h={username:S,action:"unblock",from:n.value,payload:T(s.query)};a.dispatch(ue.ACTIONS.UPDATE_RELATIONSHIP,h)}function T(S){return i.page=S.page?+S.page:1,i}function m(S){r.value=S}return Pe(()=>s.query,S=>{s.path==="/profile/follow-requests"&&a.dispatch(K.ACTIONS.GET_FOLLOW_REQUESTS,T(S)),s.path==="/profile/blocked-users"&&a.dispatch(K.ACTIONS.GET_BLOCKED_USERS,T(S))}),Ze(()=>d(T(s.query))),ut(()=>{a.commit(K.MUTATIONS[n.value==="follow-requests"?"UPDATE_FOLLOW_REQUESTS":"UPDATE_BLOCKED_USERS"],[])}),(S,R)=>{const h=j("router-link"),O=j("ErrorMessage");return f(),g("div",c_t,[u.value.length>0?(f(),g("div",d_t,[(f(!0),g(ae,null,be(u.value,I=>(f(),g("div",{key:I.username,class:"box user-item"},[E("div",E_t,[M(Ht,{user:I},null,8,["user"]),E("div",__t,[M(h,{to:`/users/${I.username}?from=users`},{default:X(()=>[B(A(I.username),1)]),_:2},1032,["to"])]),I.blocked?(f(),g("div",T_t,[E("button",{onClick:N=>c(I.username)},A(S.$t("buttons.UNBLOCK")),9,p_t)])):(f(),g("div",m_t,[E("button",{onClick:N=>_(I.username,"accept")},[R[1]||(R[1]=E("i",{class:"fa fa-check","aria-hidden":"true"},null,-1)),B(" "+A(S.$t("buttons.ACCEPT")),1)],8,f_t),E("button",{onClick:N=>_(I.username,"reject"),class:"danger"},[R[2]||(R[2]=E("i",{class:"fa fa-times","aria-hidden":"true"},null,-1)),B(" "+A(S.$t("buttons.REJECT")),1)],8,S_t)]))]),p(o)&&r.value&&r.value===I.username?(f(),G(O,{key:0,message:p(o),"no-margin":!0},null,8,["message"])):v("",!0)]))),128))])):(f(),g("p",A_t,A(S.$t(p(n)==="follow-requests"?"user.RELATIONSHIPS.NO_FOLLOW_REQUESTS":"user.NO_USERS_FOUND")),1)),l.value.total>0?(f(),G(Zn,{key:2,path:`/profile/${p(n)}`,pagination:l.value,query:{}},null,8,["path","pagination"])):v("",!0),p(o)?(f(),G(O,{key:3,message:p(o),"no-margin":!0},null,8,["message"])):v("",!0),E("div",h_t,[E("button",{onClick:R[0]||(R[0]=I=>S.$router.push("/"))},A(S.$t("common.HOME")),1)])])}}}),TS=ne(O_t,[["__scopeId","data-v-e57bd03a"]]),I_t={id:"user-profile-edition",class:"center-card"},R_t=Q({__name:"index",props:{user:{},tab:{}},setup(e){const t=e,{user:n,tab:s}=pe(t),{isAuthUserSuspended:a}=Ye(),o=F(()=>a.value?["PROFILE","ACCOUNT","PICTURE","PREFERENCES","PRIVACY-POLICY"]:["PROFILE","ACCOUNT","PICTURE","PREFERENCES","SPORTS","NOTIFICATIONS","EQUIPMENTS","PRIVACY-POLICY"]);return(i,r)=>{const u=j("router-view"),l=j("Card");return f(),g("div",I_t,[M(l,null,{title:X(()=>[B(A(i.$t(`user.PROFILE.${p(s)}_EDITION`)),1)]),content:X(()=>[M(y1,{tabs:o.value,selectedTab:p(s),edition:!0},null,8,["tabs","selectedTab"]),M(u,{user:p(n)},null,8,["user"])]),_:1})])}}}),gi=new Map,N_t=e=>{const{method:t,url:n,params:s={},data:a={}}=e;return[t,n,JSON.stringify(s),JSON.stringify(a)].join("")},vo=e=>{const t=N_t(e);if(gi.has(t)){const n=gi.get(t)||{};n==null||n.abort(),gi.delete(t)}return t},oa=Wt.create({baseURL:nr()});oa.interceptors.request.use(e=>{const t=new AbortController;e.signal=t.signal;const n=vo(e);return gi.set(n,t),e},e=>Promise.reject(e));oa.interceptors.response.use(e=>(vo(e.config),e),e=>(e.message!=="canceled"&&e.response&&vo(e.response.config),Promise.reject(e)));const k1=(e,t)=>{e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.delete(`users/${t.username}`).then(n=>{n.status===204?t.fromAdmin?it.push("/admin/users"):e.dispatch(K.ACTIONS.LOGOUT).then(()=>it.push("/")):te(e,null)}).catch(n=>te(e,n))},pS=(e,t,n=!1)=>{e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_USERS_LOADING,!0),n&&(t.with_inactive="true",t.with_hidden="true",t.with_suspended="true"),ge.get("users",{params:t}).then(s=>{s.data.status==="success"?(e.commit(ue.MUTATIONS.UPDATE_USERS,s.data.data.users),e.commit(ue.MUTATIONS.UPDATE_USERS_PAGINATION,s.data.pagination)):te(e,null)}).catch(s=>te(e,s)).finally(()=>e.commit(ue.MUTATIONS.UPDATE_USERS_LOADING,!1))},g_t={[ue.ACTIONS.EMPTY_USER](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_USER,{})},[ue.ACTIONS.EMPTY_USERS](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_USERS,[]),e.commit(ue.MUTATIONS.UPDATE_USERS_PAGINATION,{})},[ue.ACTIONS.EMPTY_RELATIONSHIPS](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_USER_RELATIONSHIPS,[]),e.commit(ue.MUTATIONS.UPDATE_USERS_PAGINATION,{})},[ue.ACTIONS.GET_USER](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_USERS_LOADING,!0),ge.get(`users/${t}`).then(n=>{n.data.status==="success"?e.commit(ue.MUTATIONS.UPDATE_USER,n.data.data.users[0]):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(ue.MUTATIONS.UPDATE_USERS_LOADING,!1))},[ue.ACTIONS.GET_USER_SANCTIONS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_USER_SANCTIONS_LOADING,!0);const{username:n,...s}=t;ge.get(`users/${n}/sanctions`,{params:s}).then(a=>{a.data.status==="success"?(e.commit(ue.MUTATIONS.UPDATE_USER_SANCTIONS,a.data.data.sanctions),e.commit(ue.MUTATIONS.UPDATE_USER_SANCTIONS_PAGINATION,a.data.pagination)):te(e,null)}).catch(a=>te(e,a)).finally(()=>e.commit(ue.MUTATIONS.UPDATE_USER_SANCTIONS_LOADING,!1))},[ue.ACTIONS.GET_USER_WORKOUTS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_USER_WORKOUTS_LOADING,!0),ge.get(`users/${t}/workouts`).then(n=>{n.data.status==="success"?e.commit(ue.MUTATIONS.UPDATE_USER_WORKOUTS,n.data.data.workouts):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(ue.MUTATIONS.UPDATE_USER_WORKOUTS_LOADING,!1))},[ue.ACTIONS.GET_USERS](e,t){pS(e,t,!1)},[ue.ACTIONS.GET_USERS_FOR_ADMIN](e,t){pS(e,t,!0)},[ue.ACTIONS.UPDATE_USER](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_IS_SUCCESS,!1);const n={};t.role!==void 0&&(n.role=t.role),t.resetPassword&&(n.reset_password=t.resetPassword),"activate"in t&&t.activate!==void 0&&(n.activate=t.activate),t.new_email!==void 0&&(n.new_email=t.new_email),ge.patch(`users/${t.username}`,n).then(s=>{s.data.status==="success"?(e.commit(ue.MUTATIONS.UPDATE_USER_IN_USERS,s.data.data.users[0]),(t.resetPassword||t.new_email||t.role)&&e.commit(ue.MUTATIONS.UPDATE_IS_SUCCESS,!0),(t.activate||t.new_email)&&e.commit(ue.MUTATIONS.UPDATE_USER,s.data.data.users[0])):te(e,null)}).catch(s=>te(e,s)).finally(()=>e.commit(ue.MUTATIONS.UPDATE_USERS_LOADING,!1))},[ue.ACTIONS.UPDATE_RELATIONSHIP](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_USERS_LOADING,!0),ge.post(`users/${t.username}/${t.action}`).then(n=>{n.data.status==="success"?ge.get(`users/${t.username}`).then(s=>{if(s.data.status==="success"){if(t.from==="blocked-users"){e.dispatch(K.ACTIONS.GET_BLOCKED_USERS,t.payload);return}e.commit(t.from==="userInfos"?ue.MUTATIONS.UPDATE_USER:t.from==="userCard"?ue.MUTATIONS.UPDATE_USER_IN_USERS:ue.MUTATIONS.UPDATE_USER_IN_RELATIONSHIPS,s.data.data.users[0]),e.dispatch(K.ACTIONS.GET_USER_PROFILE,{light:!0})}else te(e,null)}):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(ue.MUTATIONS.UPDATE_USERS_LOADING,!1))},[ue.ACTIONS.GET_RELATIONSHIPS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_USERS_LOADING,!0),ge.get(`users/${t.username}/${t.relationship}`,{params:{page:t.page}}).then(n=>{n.data.status==="success"?(e.commit(ue.MUTATIONS.UPDATE_USER_RELATIONSHIPS,n.data.data[t.relationship]),e.commit(ue.MUTATIONS.UPDATE_USERS_PAGINATION,n.data.pagination)):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(ue.MUTATIONS.UPDATE_USERS_LOADING,!1))},[ue.ACTIONS.DELETE_USER_ACCOUNT](e,t){k1(e,{username:t.username,fromAdmin:!0})}},Ur=e=>{localStorage.removeItem("authToken"),e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(wt.MUTATIONS.EMPTY_USER_STATS),e.commit(wt.MUTATIONS.EMPTY_USER_SPORT_STATS),e.commit(K.MUTATIONS.CLEAR_AUTH_USER_TOKEN),e.commit(K.MUTATIONS.UPDATE_FOLLOW_REQUESTS,[]),e.commit(ue.MUTATIONS.UPDATE_USERS,[]),e.commit(J.MUTATIONS.EMPTY_WORKOUTS),e.commit(J.MUTATIONS.EMPTY_WORKOUT),it.push("/login")},b_t={[K.ACTIONS.CHECK_AUTH_USER](e){window.localStorage.authToken&&!e.getters[K.GETTERS.IS_AUTHENTICATED]&&(e.commit(K.MUTATIONS.UPDATE_AUTH_TOKEN,window.localStorage.authToken),e.dispatch(K.ACTIONS.GET_USER_PROFILE,{updateUI:!0})),!window.localStorage.authToken&&e.getters[K.GETTERS.IS_AUTHENTICATED]&&Ur(e)},[K.ACTIONS.CONFIRM_ACCOUNT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),oa.post("auth/account/confirm",{token:t.token}).then(n=>{if(n.data.status==="success"){const s=n.data.auth_token;window.localStorage.setItem("authToken",s),e.commit(K.MUTATIONS.UPDATE_AUTH_TOKEN,s),e.dispatch(K.ACTIONS.GET_USER_PROFILE,{}).then(()=>it.push("/"))}else te(e,null)}).catch(n=>{te(e,n)})},[K.ACTIONS.CONFIRM_EMAIL](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!1),oa.post("/auth/email/update",{token:t.token}).then(n=>{n.data.status==="success"?(e.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!0),t.refreshUser&&e.dispatch(K.ACTIONS.GET_USER_PROFILE,{}).then(()=>it.push("/profile/edit/account")),it.push("/profile/edit/account")):te(e,null)}).catch(n=>{te(e,n)})},[K.ACTIONS.GET_USER_PROFILE](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("auth/profile").then(n=>{if(n.data.status==="success"){const s=e.getters[K.GETTERS.IS_PROFILE_NOT_LOADED];e.commit(K.MUTATIONS.UPDATE_AUTH_USER_PROFILE,n.data.data),n.data.data.accepted_privacy_policy||e.dispatch(ee.ACTIONS.GET_APPLICATION_PRIVACY_POLICY),e.commit(ue.MUTATIONS.UPDATE_USER_IN_USERS,n.data.data),(s||t.updateUI)&&(n.data.data.language&&e.dispatch(ee.ACTIONS.UPDATE_APPLICATION_LANGUAGE,n.data.data.language),e.commit(ee.MUTATIONS.UPDATE_DARK_MODE,n.data.data.use_dark_mode)),(!("light"in t)||!t.light)&&(e.commit(ee.MUTATIONS.UPDATE_DISPLAY_OPTIONS,n.data.data),e.dispatch(Vt.ACTIONS.GET_SPORTS),e.dispatch(Be.ACTIONS.GET_EQUIPMENTS),e.dispatch(Be.ACTIONS.GET_EQUIPMENT_TYPES)),n.data.data.suspended_at===null?Un.dispatch(ct.ACTIONS.GET_UNREAD_STATUS):!it.currentRoute.value.path.startsWith("/profile")&&!it.currentRoute.value.meta.allowedToSuspendedUser&&it.push("/profile")}else te(e,null),Ur(e)}).catch(n=>{n.message!=="canceled"&&(te(e,n),Ur(e))})},[K.ACTIONS.GET_ACCOUNT_SUSPENSION](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),ge.get("auth/account/suspension").then(t=>{t.data.status==="success"?e.commit(K.MUTATIONS.SET_ACCOUNT_SUSPENSION,t.data.user_suspension):te(e,null)}).catch(t=>{t.message!=="canceled"&&te(e,t)}).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.GET_FOLLOW_REQUESTS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),ge.get("follow-requests",{params:t}).then(n=>{n.data.status==="success"?(e.commit(K.MUTATIONS.UPDATE_FOLLOW_REQUESTS,n.data.data.follow_requests),e.commit(ue.MUTATIONS.UPDATE_USERS_PAGINATION,n.data.pagination)):te(e,null)}).catch(n=>{te(e,n)}).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.LOGIN_OR_REGISTER](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_IS_REGISTRATION_SUCCESS,!1),oa.post(`/auth/${t.actionType}`,t.formData).then(n=>{if(n.data.status==="success")if(t.actionType==="login"){const s=n.data.auth_token;window.localStorage.setItem("authToken",s),e.commit(K.MUTATIONS.UPDATE_AUTH_TOKEN,s),e.dispatch(K.ACTIONS.GET_USER_PROFILE,{updateUI:!0}).then(()=>it.push(typeof t.redirectUrl=="string"?t.redirectUrl:"/"))}else it.push("/login").then(()=>e.commit(K.MUTATIONS.UPDATE_IS_REGISTRATION_SUCCESS,!0));else te(e,null)}).catch(n=>te(e,n))},[K.ACTIONS.LOGOUT](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.post("auth/logout").then(t=>{t.data.status==="success"?Ur(e):te(e,null)}).catch(t=>te(e,t))},[K.ACTIONS.APPEAL](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),e.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!1);const n=t.actionType==="user_suspension"?"auth/account/suspension/appeal":`auth/account/sanctions/${t.actionId}/appeal`;ge.post(n,{text:t.text}).then(s=>{s.data.status==="success"?e.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!0):te(e,null)}).catch(s=>{s.message!=="canceled"&&te(e,s)}).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.UPDATE_FOLLOW_REQUESTS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.post(`follow-requests/${t.username}/${t.action}`).then(n=>{n.data.status==="success"?t.getFollowRequests&&e.dispatch(K.ACTIONS.GET_FOLLOW_REQUESTS).then(()=>e.dispatch(K.ACTIONS.GET_USER_PROFILE,{})):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.UPDATE_USER_PROFILE](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),ge.post("auth/profile/edit",t).then(n=>{n.data.status==="success"?(e.commit(K.MUTATIONS.UPDATE_AUTH_USER_PROFILE,n.data.data),it.push("/profile")):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.UPDATE_USER_ACCOUNT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),e.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!1),ge.patch("auth/profile/edit/account",t).then(n=>{n.data.status==="success"?(e.commit(K.MUTATIONS.UPDATE_AUTH_USER_PROFILE,n.data.data),e.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!0)):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.UPDATE_USER_PREFERENCES](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),ge.post("auth/profile/edit/preferences",t).then(n=>{n.data.status==="success"?(e.commit(K.MUTATIONS.UPDATE_AUTH_USER_PROFILE,n.data.data),e.commit(ee.MUTATIONS.UPDATE_DISPLAY_OPTIONS,n.data.data),e.commit(ee.MUTATIONS.UPDATE_DARK_MODE,n.data.data.use_dark_mode),e.dispatch(ee.ACTIONS.UPDATE_APPLICATION_LANGUAGE,n.data.data.language).then(()=>it.push("/profile/preferences"))):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.RESET_USER_SPORT_PREFERENCES](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),ge.delete(`auth/profile/reset/sports/${t.sportId}`).then(n=>{n.status===204?(e.dispatch(Vt.ACTIONS.GET_SPORTS),t.fromSport&&it.push(`/profile/sports/${t.sportId}`)):te(e,null)}).catch(n=>{te(e,n),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1)})},[K.ACTIONS.UPDATE_USER_SPORT_PREFERENCES](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0);const{fromSport:n,...s}=t;ge.post("auth/profile/edit/sports",s).then(a=>{a.data.status==="success"?(e.dispatch(Vt.ACTIONS.GET_SPORTS),n&&it.push(`/profile/sports/${s.sport_id}`)):te(e,null)}).catch(a=>{te(e,a),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1)})},[K.ACTIONS.UPDATE_USER_PICTURE](e,t){if(e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),!t.picture)throw new Error("No file part");const n=new FormData;n.append("file",t.picture),ge.post("auth/picture",n,{headers:{"content-type":"multipart/form-data"}}).then(s=>{s.data.status==="success"?e.dispatch(K.ACTIONS.GET_USER_PROFILE,{}).then(()=>it.push("/profile")):te(e,null)}).catch(s=>te(e,s)).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.DELETE_ACCOUNT](e,t){k1(e,t)},[K.ACTIONS.DELETE_PICTURE](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),ge.delete("auth/picture").then(t=>{t.status===204?e.dispatch(K.ACTIONS.GET_USER_PROFILE,{}).then(()=>it.push("/profile")):te(e,null)}).catch(t=>te(e,t)).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.SEND_PASSWORD_RESET_REQUEST](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),oa.post("auth/password/reset-request",t).then(n=>{n.data.status==="success"?it.push("/password-reset/sent"):te(e,null)}).catch(n=>te(e,n))},[K.ACTIONS.RESEND_ACCOUNT_CONFIRMATION_EMAIL](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),oa.post("auth/account/resend-confirmation",t).then(n=>{n.data.status==="success"?it.push("/account-confirmation/email-sent"):te(e,null)}).catch(n=>te(e,n))},[K.ACTIONS.RESET_USER_PASSWORD](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),oa.post("auth/password/update",t).then(n=>{n.data.status==="success"?it.push("/password-reset/password-updated"):te(e,null)}).catch(n=>te(e,n))},[K.ACTIONS.ACCEPT_PRIVACY_POLICY](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.post("auth/account/privacy-policy",{accepted_policy:t}).then(n=>{n.data.status==="success"?e.dispatch(K.ACTIONS.GET_USER_PROFILE,{}).then(()=>it.push("/profile")):te(e,null)}).catch(n=>te(e,n))},[K.ACTIONS.REQUEST_DATA_EXPORT](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.post("auth/account/export/request").then(t=>{t.data.status==="success"?e.commit(K.MUTATIONS.SET_EXPORT_REQUEST,t.data.request):te(e,null)}).catch(t=>te(e,t))},[K.ACTIONS.GET_REQUEST_DATA_EXPORT](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("auth/account/export").then(t=>{t.data.status==="success"?e.commit(K.MUTATIONS.SET_EXPORT_REQUEST,t.data.request):te(e,null)}).catch(t=>te(e,t))},[K.ACTIONS.GET_BLOCKED_USERS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),ge.get("auth/blocked-users",{params:t}).then(n=>{n.data.status==="success"?(e.commit(K.MUTATIONS.UPDATE_BLOCKED_USERS,n.data.blocked_users),e.commit(ue.MUTATIONS.UPDATE_USERS_PAGINATION,n.data.pagination)):te(e,null)}).catch(n=>{te(e,n)}).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.GET_USER_SANCTION](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),ge.get(`auth/account/sanctions/${t}`).then(n=>{n.data.status==="success"?e.commit(K.MUTATIONS.SET_USER_SANCTION,n.data.sanction):te(e,null)}).catch(n=>{n.message!=="canceled"&&te(e,n)}).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.UPDATE_USER_NOTIFICATIONS_PREFERENCES](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),ge.post("auth/profile/edit/notifications",t).then(n=>{n.data.status==="success"?(e.commit(K.MUTATIONS.UPDATE_AUTH_USER_PROFILE,n.data.data),it.push("/profile/notifications")):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))}},C_t={[K.GETTERS.AUTH_TOKEN]:e=>e.authToken,[K.GETTERS.AUTH_USER_PROFILE]:e=>e.authUserProfile,[K.GETTERS.BLOCKED_USERS]:e=>e.blockedUsers,[K.GETTERS.FOLLOW_REQUESTS]:e=>e.followRequests,[K.GETTERS.EXPORT_REQUEST]:e=>e.exportRequest,[K.GETTERS.IS_AUTHENTICATED]:e=>e.authToken!==null,[K.GETTERS.HAS_ADMIN_RIGHTS]:e=>e.authUserProfile&&["admin","owner"].includes(e.authUserProfile.role),[K.GETTERS.HAS_MODERATOR_RIGHTS]:e=>e.authUserProfile&&["admin","moderator","owner"].includes(e.authUserProfile.role),[K.GETTERS.HAS_OWNER_RIGHTS]:e=>e.authUserProfile&&e.authUserProfile.role==="owner",[K.GETTERS.IS_REGISTRATION_SUCCESS]:e=>e.isRegistrationSuccess,[K.GETTERS.IS_SUCCESS]:e=>e.isSuccess,[K.GETTERS.IS_SUSPENDED]:e=>e.authUserProfile&&e.authUserProfile.suspended_at!==null,[K.GETTERS.IS_PROFILE_LOADED]:e=>{var t;return((t=e.authUserProfile)==null?void 0:t.username)!==void 0},[K.GETTERS.USER_LOADING]:e=>e.loading,[K.GETTERS.IS_PROFILE_NOT_LOADED]:e=>e.authUserProfile.username===void 0,[K.GETTERS.ACCOUNT_SUSPENSION]:e=>e.userReportAction,[K.GETTERS.USER_SANCTION]:e=>e.userReportAction},P_t={[K.MUTATIONS.CLEAR_AUTH_USER_TOKEN](e){e.authToken=null,e.authUserProfile={}},[K.MUTATIONS.UPDATE_AUTH_TOKEN](e,t){e.authToken=t},[K.MUTATIONS.UPDATE_AUTH_USER_PROFILE](e,t){e.authUserProfile=t},[K.MUTATIONS.UPDATE_IS_REGISTRATION_SUCCESS](e,t){e.isRegistrationSuccess=t},[K.MUTATIONS.UPDATE_IS_SUCCESS](e,t){e.isSuccess=t},[K.MUTATIONS.UPDATE_FOLLOW_REQUESTS](e,t){e.followRequests=t},[K.MUTATIONS.UPDATE_USER_LOADING](e,t){e.loading=t},[K.MUTATIONS.SET_EXPORT_REQUEST](e,t){e.exportRequest=t},[K.MUTATIONS.UPDATE_BLOCKED_USERS](e,t){e.blockedUsers=t},[K.MUTATIONS.SET_ACCOUNT_SUSPENSION](e,t){e.userReportAction=t},[K.MUTATIONS.SET_USER_SANCTION](e,t){e.userReportAction=t}},D_t={authToken:null,authUserProfile:{},isSuccess:!1,isRegistrationSuccess:!1,loading:!1,exportRequest:null,followRequests:[],blockedUsers:[],userReportAction:{}},L_t={state:D_t,actions:b_t,getters:C_t,mutations:P_t},v_t={[Be.ACTIONS.ADD_EQUIPMENT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.post("equipments",{description:t.description,equipment_type_id:t.equipmentTypeId,label:t.label,default_for_sport_ids:t.defaultForSportIds,visibility:t.visibility}).then(n=>{if(n.data.status==="created"){if(n.data.data.equipments.length>0){const s=n.data.data.equipments[0];e.commit(Be.MUTATIONS.ADD_EQUIPMENT,s),it.push(`/profile/equipments/${s.id}`)}e.dispatch(Vt.ACTIONS.GET_SPORTS),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1)}else te(e,null)}).catch(n=>te(e,n))},[Be.ACTIONS.DELETE_EQUIPMENT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.delete(`equipments/${t.id}${t.force?"?force":""}`).then(()=>{e.commit(Be.MUTATIONS.REMOVE_EQUIPMENT,t.id),e.dispatch(Vt.ACTIONS.GET_SPORTS),it.push("/profile/equipments")}).catch(n=>te(e,n))},[Be.ACTIONS.GET_EQUIPMENT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get(`equipments/${t}`).then(n=>{n.data.status==="success"?n.data.data.equipments.length>0&&e.commit(Be.MUTATIONS.UPDATE_EQUIPMENT,n.data.data.equipments[0]):te(e,null)}).catch(n=>te(e,n))},[Be.ACTIONS.GET_EQUIPMENTS](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("equipments").then(t=>{t.data.status==="success"?e.commit(Be.MUTATIONS.SET_EQUIPMENTS,t.data.data.equipments):te(e,null)}).catch(t=>te(e,t))},[Be.ACTIONS.GET_EQUIPMENT_TYPES](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("equipment-types").then(t=>{t.data.status==="success"?(e.commit(Be.MUTATIONS.SET_EQUIPMENT_TYPES,t.data.data.equipment_types),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1)):te(e,null)}).catch(t=>te(e,t))},[Be.ACTIONS.REFRESH_EQUIPMENT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(Be.MUTATIONS.SET_LOADING,!0),ge.post(`equipments/${t}/refresh`).then(n=>{n.data.status==="success"?n.data.data.equipments.length>0&&(e.commit(Be.MUTATIONS.UPDATE_EQUIPMENT,n.data.data.equipments[0]),it.push(`/profile/equipments/${t}`)):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(Be.MUTATIONS.SET_LOADING,!1))},[Be.ACTIONS.UPDATE_EQUIPMENT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(Be.MUTATIONS.SET_LOADING,!0),ge.patch(`equipments/${t.id}`,{description:t.description,equipment_type_id:t.equipmentTypeId,is_active:t.isActive,label:t.label,default_for_sport_ids:t.defaultForSportIds,visibility:t.visibility}).then(n=>{n.data.status==="success"?n.data.data.equipments.length>0&&(e.commit(Be.MUTATIONS.UPDATE_EQUIPMENT,n.data.data.equipments[0]),e.dispatch(Vt.ACTIONS.GET_SPORTS),it.push(`/profile/equipments/${t.id}`)):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(Be.MUTATIONS.SET_LOADING,!1))},[Be.ACTIONS.UPDATE_EQUIPMENT_TYPE](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(Be.MUTATIONS.SET_LOADING,!0),ge.patch(`equipment-types/${t.id}`,{is_active:t.isActive}).then(n=>{n.data.status==="success"?e.dispatch(Be.ACTIONS.GET_EQUIPMENT_TYPES):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(Be.MUTATIONS.SET_LOADING,!1))}},y_t={[Be.GETTERS.EQUIPMENTS]:e=>e.equipments,[Be.GETTERS.EQUIPMENT_TYPES]:e=>e.equipmentTypes,[Be.GETTERS.LOADING]:e=>e.loading},U_t={[Be.MUTATIONS.ADD_EQUIPMENT](e,t){e.equipments.push(t)},[Be.MUTATIONS.REMOVE_EQUIPMENT](e,t){e.equipments=e.equipments.filter(n=>n.id!=t)},[Be.MUTATIONS.SET_EQUIPMENTS](e,t){e.equipments=t},[Be.MUTATIONS.SET_EQUIPMENT_TYPES](e,t){e.equipmentTypes=t},[Be.MUTATIONS.SET_LOADING](e,t){e.loading=t},[Be.MUTATIONS.UPDATE_EQUIPMENT](e,t){const n=e.equipments.findIndex(s=>s.id===t.id);n!==-1&&(e.equipments[n]=t)}},$_t={equipments:[],equipmentTypes:[],loading:!1},k_t={state:$_t,actions:v_t,getters:y_t,mutations:U_t},w_t={[ct.ACTIONS.GET_UNREAD_STATUS](e){ge.get("notifications/unread").then(t=>{t.data.status==="success"&&e.commit(ct.MUTATIONS.UPDATE_UNREAD_STATUS,t.data.unread)}).catch(t=>te(e,t))},[ct.ACTIONS.GET_NOTIFICATION_TYPES](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("notifications/types",{params:t}).then(n=>{n.data.status==="success"?e.commit(ct.MUTATIONS.UPDATE_TYPES,n.data.notification_types):te(e,null)}).catch(n=>{n.message!=="canceled"&&te(e,n)})},[ct.ACTIONS.GET_NOTIFICATIONS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("notifications",{params:t}).then(n=>{n.data.status==="success"?(e.commit(ct.MUTATIONS.UPDATE_NOTIFICATIONS,n.data.notifications),e.commit(ct.MUTATIONS.UPDATE_PAGINATION,n.data.pagination)):te(e,null)}).catch(n=>{n.message!=="canceled"&&te(e,n)})},[ct.ACTIONS.MARK_ALL_AS_READ](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES);const n={};t.type&&(n.type=t.type),ge.post("notifications/mark-all-as-read",n).then(s=>{s.data.status==="success"?(e.dispatch(ct.ACTIONS.GET_NOTIFICATIONS,t),e.dispatch(ct.ACTIONS.GET_UNREAD_STATUS)):te(e,null)}).catch(s=>{s.message!=="canceled"&&te(e,s)})},[ct.ACTIONS.UPDATE_STATUS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.patch(`notifications/${t.notificationId}`,{read_status:t.markedAsRead}).then(n=>{n.data.status==="success"?(e.dispatch(ct.ACTIONS.GET_NOTIFICATIONS,t.currentQuery),e.dispatch(ct.ACTIONS.GET_UNREAD_STATUS)):te(e,null)}).catch(n=>{n.message!=="canceled"&&te(e,n)})}},M_t={[ct.GETTERS.NOTIFICATIONS]:e=>e.notifications,[ct.GETTERS.PAGINATION]:e=>e.pagination,[ct.GETTERS.TYPES]:e=>e.types,[ct.GETTERS.UNREAD_STATUS]:e=>e.unread},W_t={[ct.MUTATIONS.UPDATE_NOTIFICATIONS](e,t){e.notifications=t},[ct.MUTATIONS.UPDATE_PAGINATION](e,t){e.pagination=t},[ct.MUTATIONS.UPDATE_TYPES](e,t){e.types=t},[ct.MUTATIONS.UPDATE_UNREAD_STATUS](e,t){e.unread=t},[ct.MUTATIONS.EMPTY_NOTIFICATIONS](e){e.notifications=[],e.pagination={}}},F_t={notifications:[],unread:!1,pagination:{},types:[]},z_t={state:F_t,actions:w_t,getters:M_t,mutations:W_t},mS=(e,t)=>{e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get(t).then(n=>{n.data.status==="success"?e.commit(nt.MUTATIONS.SET_CLIENT,n.data.data.client):te(e,null)}).catch(n=>te(e,n))},B_t={[nt.ACTIONS.AUTHORIZE_CLIENT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES);const n=new FormData;n.set("client_id",t.client_id),n.set("response_type",t.response_type),n.set("scope",t.scope),n.set("confirm","true"),t.state&&n.set("state",t.state),t.code_challenge&&n.set("code_challenge",t.code_challenge),t.code_challenge_method&&n.set("code_challenge_method",t.code_challenge_method),ge.post("oauth/authorize",n,{headers:{"Content-Type":"multipart/form-data"}}).then(s=>{s.status==200&&s.data.redirect_url?window.location.href=s.data.redirect_url:te(e,null)}).catch(s=>te(e,s))},[nt.ACTIONS.CREATE_CLIENT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.post("oauth/apps",t).then(n=>{n.data.status==="created"?(e.commit(nt.MUTATIONS.SET_CLIENT,n.data.data.client),it.push(`/profile/apps/${n.data.data.client.id}/created`)):te(e,null)}).catch(n=>te(e,n))},[nt.ACTIONS.DELETE_CLIENT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.delete(`oauth/apps/${t}`).then(n=>{n.status===204?e.dispatch(nt.ACTIONS.GET_CLIENTS).then(()=>it.push("/profile/apps")):te(e,null)}).catch(n=>te(e,n))},[nt.ACTIONS.GET_CLIENT_BY_CLIENT_ID](e,t){mS(e,`oauth/apps/${t}`)},[nt.ACTIONS.GET_CLIENT_BY_ID](e,t){mS(e,`oauth/apps/${t}/by_id`)},[nt.ACTIONS.GET_CLIENTS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("oauth/apps",{params:t}).then(n=>{n.data.status==="success"?(e.commit(nt.MUTATIONS.SET_CLIENTS,n.data.data.clients),e.commit(nt.MUTATIONS.SET_CLIENTS_PAGINATION,n.data.pagination)):te(e,null)}).catch(n=>te(e,n))},[nt.ACTIONS.REVOKE_ALL_TOKENS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(nt.MUTATIONS.SET_REVOCATION_SUCCESSFUL,!1),ge.post(`oauth/apps/${t}/revoke`).then(n=>{n.data.status==="success"?e.commit(nt.MUTATIONS.SET_REVOCATION_SUCCESSFUL,!0):te(e,null)}).catch(n=>te(e,n))}},G_t={[nt.GETTERS.CLIENT]:e=>e.client,[nt.GETTERS.CLIENTS]:e=>e.clients,[nt.GETTERS.CLIENTS_PAGINATION]:e=>e.pagination,[nt.GETTERS.REVOCATION_SUCCESSFUL]:e=>e.revocationSuccessful},x_t={[nt.MUTATIONS.SET_CLIENT](e,t){e.client=t},[nt.MUTATIONS.EMPTY_CLIENT](e){e.client={}},[nt.MUTATIONS.SET_CLIENTS](e,t){e.clients=t},[nt.MUTATIONS.SET_CLIENTS_PAGINATION](e,t){e.pagination=t},[nt.MUTATIONS.SET_REVOCATION_SUCCESSFUL](e,t){e.revocationSuccessful=t}},V_t={client:{},clients:[],pagination:{},revocationSuccessful:!1},H_t={state:V_t,actions:B_t,getters:G_t,mutations:x_t},K_t={[Ue.ACTIONS.EMPTY_REPORTS](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(Ue.MUTATIONS.EMPTY_REPORT),e.commit(Ue.MUTATIONS.SET_REPORTS,[]),e.commit(Ue.MUTATIONS.SET_REPORTS_PAGINATION,{})},[Ue.ACTIONS.GET_REPORT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(Ue.MUTATIONS[`SET_${t.loader}_LOADING`],!0),ge.get(`reports/${t.reportId}`).then(n=>{n.data.status==="success"?e.commit(Ue.MUTATIONS.SET_REPORT,n.data.report):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(Ue.MUTATIONS[`SET_${t.loader}_LOADING`],!1))},[Ue.ACTIONS.GET_REPORTS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("reports",{params:t}).then(n=>{n.data.status==="success"?(e.commit(Ue.MUTATIONS.SET_REPORTS,n.data.reports),e.commit(Ue.MUTATIONS.SET_REPORTS_PAGINATION,n.data.pagination)):te(e,null)}).catch(n=>te(e,n))},[Ue.ACTIONS.PROCESS_APPEAL](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES);const{appealId:n,reportId:s,...a}=t;ge.patch(`appeals/${n}`,a).then(o=>{o.data.status==="success"?e.dispatch(Ue.ACTIONS.GET_REPORT,{reportId:s,loader:"REPORT_UPDATE"}):te(e,null)}).catch(o=>{te(e,o)})},[Ue.ACTIONS.SUBMIT_ADMIN_ACTION](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_IS_SUCCESS,!1),e.commit(Ue.MUTATIONS.SET_REPORT_UPDATE_LOADING,!0);const{report_id:n,...s}=t;ge.post(`reports/${n}/actions`,s).then(a=>{a.data.status==="success"?(e.commit(Ue.MUTATIONS.SET_REPORT,a.data.report),e.commit(ue.MUTATIONS.UPDATE_IS_SUCCESS,!0)):te(e,null)}).catch(a=>{te(e,a)}).finally(()=>e.commit(Ue.MUTATIONS.SET_REPORT_UPDATE_LOADING,!1))},[Ue.ACTIONS.SUBMIT_REPORT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(Ue.MUTATIONS.SET_REPORT_STATUS,"loading"),ge.post("reports",t).then(n=>{n.data.status==="created"?(e.commit(Ue.MUTATIONS.SET_REPORT_STATUS,`${t.object_type}-${t.object_id}-created`),t.object_type==="comment"&&e.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{}),t.object_type==="workout"&&e.commit(J.MUTATIONS.SET_CURRENT_REPORTING,!1),t.object_type==="user"&&e.commit(ue.MUTATIONS.UPDATE_USER_CURRENT_REPORTING,!1)):(e.commit(Ue.MUTATIONS.SET_REPORT_STATUS,null),te(e,null))}).catch(n=>{te(e,n),e.commit(Ue.MUTATIONS.SET_REPORT_STATUS,null)})},[Ue.ACTIONS.UPDATE_REPORT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(Ue.MUTATIONS.SET_REPORT_UPDATE_LOADING,!0);const{reportId:n,...s}=t;ge.patch(`reports/${n}`,s).then(a=>{a.data.status==="success"?e.commit(Ue.MUTATIONS.SET_REPORT,a.data.report):(e.commit(Ue.MUTATIONS.SET_REPORT_STATUS,null),te(e,null))}).catch(a=>{te(e,a),e.commit(Ue.MUTATIONS.SET_REPORT_STATUS,null)}).finally(()=>e.commit(Ue.MUTATIONS.SET_REPORT_UPDATE_LOADING,!1))},[Ue.ACTIONS.GET_UNRESOLVED_REPORTS_STATUS](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("reports/unresolved").then(t=>{t.data.status==="success"?e.commit(Ue.MUTATIONS.SET_UNRESOLVED_REPORTS_STATUS,t.data.unresolved):te(e,null)}).catch(t=>te(e,t))}},Y_t={[Ue.GETTERS.UNRESOLVED_REPORTS_STATUS]:e=>e.unresolved,[Ue.GETTERS.REPORT]:e=>e.report,[Ue.GETTERS.REPORT_LOADING]:e=>e.reportLoading,[Ue.GETTERS.REPORT_STATUS]:e=>e.reportStatus,[Ue.GETTERS.REPORT_UPDATE_LOADING]:e=>e.reportUpdateLoading,[Ue.GETTERS.REPORTS]:e=>e.reports,[Ue.GETTERS.REPORTS_PAGINATION]:e=>e.pagination},q_t={[Ue.MUTATIONS.EMPTY_REPORT](e){e.report={}},[Ue.MUTATIONS.SET_REPORT](e,t){e.report=t},[Ue.MUTATIONS.SET_REPORT_LOADING](e,t){e.reportLoading=t},[Ue.MUTATIONS.SET_REPORT_STATUS](e,t){e.reportStatus=t},[Ue.MUTATIONS.SET_REPORT_UPDATE_LOADING](e,t){e.reportUpdateLoading=t},[Ue.MUTATIONS.SET_REPORTS](e,t){e.reports=t},[Ue.MUTATIONS.SET_REPORTS_PAGINATION](e,t){e.pagination=t},[Ue.MUTATIONS.SET_UNRESOLVED_REPORTS_STATUS](e,t){e.unresolved=t}},j_t={unresolved:!1,report:{},reports:[],pagination:{},reportStatus:null,reportLoading:!1,reportUpdateLoading:!1},X_t={state:j_t,actions:K_t,getters:Y_t,mutations:q_t},{locale:Q_t}=Wo.global,Z_t={[ee.ACTIONS.GET_APPLICATION_CONFIG](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ee.MUTATIONS.UPDATE_APPLICATION_LOADING,!0),ge.get("config").then(t=>{t.data.status==="success"?e.commit(ee.MUTATIONS.UPDATE_APPLICATION_CONFIG,t.data.data):te(e,null)}).catch(t=>te(e,t)).finally(()=>e.commit(ee.MUTATIONS.UPDATE_APPLICATION_LOADING,!1))},[ee.ACTIONS.GET_APPLICATION_STATS](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("stats/all").then(t=>{t.data.status==="success"?e.commit(ee.MUTATIONS.UPDATE_APPLICATION_STATS,t.data.data):te(e,null)}).catch(t=>te(e,t))},[ee.ACTIONS.GET_APPLICATION_PRIVACY_POLICY](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("config").then(t=>{t.data.status==="success"?e.commit(ee.MUTATIONS.UPDATE_APPLICATION_PRIVACY_POLICY,t.data.data):te(e,null)}).catch(t=>te(e,t))},[ee.ACTIONS.UPDATE_APPLICATION_CONFIG](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.patch("config",t).then(n=>{n.data.status==="success"?(e.commit(ee.MUTATIONS.UPDATE_APPLICATION_CONFIG,n.data.data),it.push("/admin/application")):te(e,null)}).catch(n=>te(e,n))},[ee.ACTIONS.UPDATE_APPLICATION_LANGUAGE](e,t){var n;(n=document.querySelector("html"))==null||n.setAttribute("lang",t),e.commit(ee.MUTATIONS.UPDATE_LANG,t),Q_t.value=t}},J_t={[ee.GETTERS.APP_CONFIG]:e=>e.application.config,[ee.GETTERS.APP_LOADING]:e=>e.appLoading,[ee.GETTERS.APP_STATS]:e=>e.application.statistics,[ee.GETTERS.DARK_MODE]:e=>e.darkMode,[ee.GETTERS.ERROR_MESSAGES]:e=>e.errorMessages,[ee.GETTERS.LANGUAGE]:e=>e.language,[ee.GETTERS.LOCALE]:e=>e.locale,[ee.GETTERS.DISPLAY_OPTIONS]:e=>e.application.displayOptions},eTt={[ee.MUTATIONS.EMPTY_ERROR_MESSAGES](e){e.errorMessages=null},[ee.MUTATIONS.SET_ERROR_MESSAGES](e,t){e.errorMessages=t},[ee.MUTATIONS.UPDATE_APPLICATION_CONFIG](e,t){e.application.config=t},[ee.MUTATIONS.UPDATE_APPLICATION_LOADING](e,t){e.appLoading=t},[ee.MUTATIONS.UPDATE_APPLICATION_PRIVACY_POLICY](e,t){e.application.config.privacy_policy=t.privacy_policy,e.application.config.privacy_policy_date=t.privacy_policy_date},[ee.MUTATIONS.UPDATE_APPLICATION_STATS](e,t){e.application.statistics=t},[ee.MUTATIONS.UPDATE_LANG](e,t){t in Ga?(e.language=t,e.locale=Ga[t]):(e.language="en",e.locale=ir)},[ee.MUTATIONS.UPDATE_DARK_MODE](e,t){e.darkMode=t},[ee.MUTATIONS.UPDATE_DISPLAY_OPTIONS](e,t){e.application.displayOptions={...e.application.displayOptions,dateFormat:t.date_format,displayAscent:t.display_ascent,timezone:t.timezone,useImperialUnits:t.imperial_units}}},tTt={root:!0,language:"en",locale:ir,errorMessages:null,application:{statistics:{sports:0,uploads_dir_size:0,users:0,workouts:0},displayOptions:{dateFormat:"MM/dd/yyyy",displayAscent:!0,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone?Intl.DateTimeFormat().resolvedOptions().timeZone:"Europe/Paris",useImperialUnits:!1}},appLoading:!1,darkMode:null},nTt={[Vt.ACTIONS.GET_SPORTS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get(`sports${t?"?check_workouts=true":""}`).then(n=>{n.data.status==="success"?(e.commit(Vt.MUTATIONS.SET_SPORTS,n.data.data.sports),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1)):te(e,null)}).catch(n=>te(e,n))},[Vt.ACTIONS.UPDATE_SPORTS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.patch(`sports/${t.id}`,{is_active:t.isActive}).then(n=>{n.data.status==="success"?e.dispatch(Vt.ACTIONS.GET_SPORTS):te(e,null)}).catch(n=>te(e,n))}},sTt={[Vt.GETTERS.SPORTS]:e=>e.sports},aTt={[Vt.MUTATIONS.SET_SPORTS](e,t){e.sports=t}},oTt={sports:[]},iTt={state:oTt,actions:nTt,getters:sTt,mutations:aTt},rTt={[wt.ACTIONS.GET_USER_STATS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get(`stats/${t.username}/by_time`,{params:t.params}).then(n=>{n.data.status==="success"?e.commit(wt.MUTATIONS.UPDATE_USER_STATS,n.data.data.statistics):te(e,null)}).catch(n=>te(e,n))},[wt.ACTIONS.GET_USER_SPORT_STATS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(wt.MUTATIONS.UPDATE_STATS_LOADING,!0),ge.get(`stats/${t.username}/by_sport`,{params:{sport_id:t.sportId}}).then(n=>{n.data.status==="success"?(e.commit(wt.MUTATIONS.UPDATE_USER_SPORT_STATS,n.data.data.statistics),e.commit(wt.MUTATIONS.UPDATE_TOTAL_WORKOUTS,n.data.data.total_workouts)):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(wt.MUTATIONS.UPDATE_STATS_LOADING,!1))}},uTt={[wt.GETTERS.USER_SPORT_STATS]:e=>e.sportStatistics,[wt.GETTERS.USER_STATS]:e=>e.statistics,[wt.GETTERS.STATS_LOADING]:e=>e.loading,[wt.GETTERS.TOTAL_WORKOUTS]:e=>e.totalWorkouts},lTt={[wt.MUTATIONS.UPDATE_USER_STATS](e,t){e.statistics=t},[wt.MUTATIONS.EMPTY_USER_STATS](e){e.statistics={}},[wt.MUTATIONS.EMPTY_USER_SPORT_STATS](e){e.sportStatistics={},e.totalWorkouts=0},[wt.MUTATIONS.UPDATE_USER_SPORT_STATS](e,t){e.sportStatistics=t},[wt.MUTATIONS.UPDATE_STATS_LOADING](e,t){e.loading=t},[wt.MUTATIONS.UPDATE_TOTAL_WORKOUTS](e,t){e.totalWorkouts=t}},cTt={statistics:{},sportStatistics:{},totalWorkouts:0,loading:!1},dTt={state:cTt,actions:rTt,getters:uTt,mutations:lTt},ETt={[ue.GETTERS.USER]:e=>e.user,[ue.GETTERS.USER_CURRENT_REPORTING]:e=>e.currentReporting,[ue.GETTERS.USER_RELATIONSHIPS]:e=>e.user_relationships,[ue.GETTERS.USER_SANCTIONS]:e=>e.userSanctions.sanctions,[ue.GETTERS.USER_SANCTIONS_LOADING]:e=>e.userSanctions.loading,[ue.GETTERS.USER_SANCTIONS_PAGINATION]:e=>e.userSanctions.pagination,[ue.GETTERS.USER_WORKOUTS]:e=>e.userWorkouts.workouts,[ue.GETTERS.USER_WORKOUTS_LOADING]:e=>e.userWorkouts.loading,[ue.GETTERS.USERS]:e=>e.users,[ue.GETTERS.USERS_IS_SUCCESS]:e=>e.isSuccess,[ue.GETTERS.USERS_LOADING]:e=>e.loading,[ue.GETTERS.USERS_PAGINATION]:e=>e.pagination},_Tt={[ue.MUTATIONS.UPDATE_USER](e,t){e.user=t},[ue.MUTATIONS.UPDATE_USER_IN_USERS](e,t){e.users=e.users.map(n=>n.username===t.username?t:n)},[ue.MUTATIONS.UPDATE_USER_IN_RELATIONSHIPS](e,t){e.user_relationships=e.user_relationships.map(n=>n.username===t.username?t:n)},[ue.MUTATIONS.UPDATE_USER_RELATIONSHIPS](e,t){e.user_relationships=t},[ue.MUTATIONS.UPDATE_USER_SANCTIONS](e,t){e.userSanctions.sanctions=t},[ue.MUTATIONS.UPDATE_USER_SANCTIONS_LOADING](e,t){e.userSanctions.loading=t},[ue.MUTATIONS.UPDATE_USER_SANCTIONS_PAGINATION](e,t){e.userSanctions.pagination=t},[ue.MUTATIONS.UPDATE_USERS](e,t){e.users=t},[ue.MUTATIONS.UPDATE_USERS_LOADING](e,t){e.loading=t},[ue.MUTATIONS.UPDATE_USERS_PAGINATION](e,t){e.pagination=t},[ue.MUTATIONS.UPDATE_IS_SUCCESS](e,t){e.isSuccess=t},[ue.MUTATIONS.UPDATE_USER_CURRENT_REPORTING](e,t){e.currentReporting=t},[ue.MUTATIONS.UPDATE_USER_WORKOUTS](e,t){e.userWorkouts.workouts=t},[ue.MUTATIONS.UPDATE_USER_WORKOUTS_LOADING](e,t){e.userWorkouts.loading=t}},TTt={user:{},userSanctions:{sanctions:[],loading:!1,pagination:{}},userWorkouts:{workouts:[],loading:!1},user_relationships:[],users:[],loading:!1,isSuccess:!1,pagination:{},currentReporting:!1},pTt={state:TTt,actions:g_t,getters:ETt,mutations:_Tt},$r=(e,t,n)=>{e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get(n.match("TIMELINE")?"timeline":"workouts",{params:t}).then(s=>{s.data.status==="success"?(e.commit(J.MUTATIONS[n],s.data.data.workouts),[Gs.SET_USER_WORKOUTS,Gs.SET_TIMELINE_WORKOUTS,Gs.ADD_TIMELINE_WORKOUTS].includes(n)&&e.commit(J.MUTATIONS.SET_WORKOUTS_PAGINATION,s.data.pagination)):te(e,null)}).catch(s=>te(e,s))},w1=(e,t,n)=>{n?e.dispatch(J.ACTIONS.GET_WORKOUT_COMMENTS,n):e.dispatch(J.ACTIONS.GET_WORKOUT_COMMENT,t)},fS=(e,t,n=!1)=>{ge.post(`comments/${t.id}/like${n?"/undo":""}`).then(s=>{s.data.status==="success"&&w1(e,t.id,t.workout_id)}).catch(s=>{te(e,s)})},SS=(e,t,n=!1)=>{ge.post(`workouts/${t}/like${n?"/undo":""}`).then(s=>{s.data.status==="success"&&e.commit(J.MUTATIONS.SET_WORKOUT,s.data.data.workouts[0])}).catch(s=>{te(e,s)})},mTt={[J.ACTIONS.GET_CALENDAR_WORKOUTS](e,t){e.commit(J.MUTATIONS.EMPTY_CALENDAR_WORKOUTS),$r(e,t,Gs.SET_CALENDAR_WORKOUTS)},[J.ACTIONS.GET_AUTH_USER_WORKOUTS](e,t){$r(e,t,Gs.SET_USER_WORKOUTS)},[J.ACTIONS.GET_TIMELINE_WORKOUTS](e,t){$r(e,t,Gs.SET_TIMELINE_WORKOUTS)},[J.ACTIONS.GET_MORE_TIMELINE_WORKOUTS](e,t){$r(e,t,Gs.ADD_TIMELINE_WORKOUTS)},[J.ACTIONS.GET_WORKOUT_DATA](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(J.MUTATIONS.SET_WORKOUT_LOADING,!0);const n=t.segmentId?`/segment/${t.segmentId}`:"";ge.get(`workouts/${t.workoutId}`).then(s=>{const a=s.data.data.workouts[0];if(s.data.status==="success"){if(t.segmentId&&(a.segments.length===0||!a.segments[+t.segmentId-1]))throw new Error("WORKOUT_NOT_FOUND");e.commit(J.MUTATIONS.SET_WORKOUT,s.data.data.workouts[0]),s.data.data.workouts[0].with_analysis&&ge.get(`workouts/${t.workoutId}/chart_data${n}`).then(o=>{o.data.status==="success"&&e.commit(J.MUTATIONS.SET_WORKOUT_CHART_DATA,o.data.data.chart_data)}),s.data.data.workouts[0].with_gpx&&ge.get(`workouts/${t.workoutId}/gpx${n}`).then(o=>{o.data.status==="success"&&e.commit(J.MUTATIONS.SET_WORKOUT_GPX,o.data.data.gpx)}),t.segmentId||e.dispatch(J.ACTIONS.GET_WORKOUT_COMMENTS,s.data.data.workouts[0].id)}else e.commit(J.MUTATIONS.EMPTY_WORKOUT),te(e,null)}).catch(s=>{e.commit(J.MUTATIONS.EMPTY_WORKOUT),te(e,s)}).finally(()=>e.commit(J.MUTATIONS.SET_WORKOUT_LOADING,!1))},[J.ACTIONS.DELETE_WORKOUT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(J.MUTATIONS.SET_WORKOUT_LOADING,!0),ge.delete(`workouts/${t.workoutId}`).then(()=>{e.commit(J.MUTATIONS.EMPTY_WORKOUT),e.dispatch(K.ACTIONS.GET_USER_PROFILE,{}),it.push("/")}).catch(n=>{te(e,n)}).finally(()=>e.commit(J.MUTATIONS.SET_WORKOUT_LOADING,!1))},[J.ACTIONS.EDIT_WORKOUT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(J.MUTATIONS.SET_WORKOUT_LOADING,!0),ge.patch(`workouts/${t.workoutId}`,t.data).then(()=>{e.dispatch(K.ACTIONS.GET_USER_PROFILE,{}),e.dispatch(J.ACTIONS.GET_WORKOUT_DATA,{workoutId:t.workoutId}).then(()=>{it.push({name:"Workout",params:{workoutId:t.workoutId}})})}).catch(n=>{te(e,n)}).finally(()=>e.commit(J.MUTATIONS.SET_WORKOUT_LOADING,!1))},[J.ACTIONS.EDIT_WORKOUT_CONTENT](e,t){e.commit(J.MUTATIONS.SET_WORKOUT_CONTENT_LOADING,!0),e.commit(J.MUTATIONS.SET_WORKOUT_CONTENT_TYPE,t.contentType),e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES);const n={[t.contentType==="NOTES"?"notes":"description"]:t.content};ge.patch(`workouts/${t.workoutId}`,n).then(s=>{const a=s.data.data.workouts[0];e.commit(J.MUTATIONS.SET_WORKOUT_CONTENT,a)}).catch(s=>{te(e,s)}).finally(()=>e.commit(J.MUTATIONS.SET_WORKOUT_CONTENT_LOADING,!1))},[J.ACTIONS.ADD_WORKOUT](e,t){if(e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(J.MUTATIONS.SET_WORKOUT_LOADING,!0),!t.file)throw new Error("No file part");const n=t.notes.replace(/"/g,'\\"'),s=t.description.replace(/"/g,'\\"'),a=t.title.replace(/"/g,'\\"'),o=new FormData;o.append("file",t.file),o.append("data",`{"sport_id": ${t.sport_id}, "notes": "${n}", "description": "${s}", "title": "${a}", "equipment_ids": [${t.equipment_ids.map(i=>`"${i}"`).join(",")}], "workout_visibility": "${t.workout_visibility}", "analysis_visibility": "${t.analysis_visibility}", "map_visibility": "${t.map_visibility}"}`),ge.post("workouts",o,{headers:{"content-type":"multipart/form-data"}}).then(i=>{if(i.data.status==="created"){e.dispatch(K.ACTIONS.GET_USER_PROFILE,{});const r=i.data.data.workouts[0];it.push(i.data.data.workouts.length===1?`/workouts/${r.id}`:"/")}}).catch(i=>{te(e,i)}).finally(()=>e.commit(J.MUTATIONS.SET_WORKOUT_LOADING,!1))},[J.ACTIONS.ADD_WORKOUT_WITHOUT_GPX](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(J.MUTATIONS.SET_WORKOUT_LOADING,!0),ge.post("workouts/no_gpx",t).then(n=>{if(n.data.status==="created"){e.dispatch(K.ACTIONS.GET_USER_PROFILE,{});const s=n.data.data.workouts[0];it.push(`/workouts/${s.id}`)}}).catch(n=>{te(e,n)}).finally(()=>e.commit(J.MUTATIONS.SET_WORKOUT_LOADING,!1))},[J.ACTIONS.ADD_COMMENT](e,t){e.commit(J.MUTATIONS.SET_COMMENT_LOADING,"new");const n={text:t.text,text_visibility:t.text_visibility};e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.post(`/workouts/${t.workout_id}/comments`,n).then(s=>{s.data.status==="created"?(e.dispatch(J.ACTIONS.GET_WORKOUT_COMMENTS,t.workout_id),e.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{})):te(e,null)}).catch(s=>{te(e,s),e.commit(J.MUTATIONS.SET_COMMENT_LOADING,null)})},[J.ACTIONS.GET_WORKOUT_COMMENT](e,t){e.commit(J.MUTATIONS.SET_COMMENT_LOADING,"loading"),e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get(`/comments/${t}`).then(n=>{n.data.status==="success"?(e.commit(J.MUTATIONS.SET_WORKOUT_COMMENTS,[n.data.comment]),e.commit(J.MUTATIONS.SET_COMMENT_LOADING,null)):te(e,null)}).catch(n=>{te(e,n)}).finally(()=>e.commit(J.MUTATIONS.SET_COMMENT_LOADING,null))},[J.ACTIONS.GET_WORKOUT_COMMENTS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get(`/workouts/${t}/comments`).then(n=>{n.data.status==="success"?(e.commit(J.MUTATIONS.SET_WORKOUT_COMMENTS,n.data.data.comments),e.commit(J.MUTATIONS.SET_COMMENT_LOADING,null)):te(e,null)}).catch(n=>{te(e,n.status===500?null:n,"error when getting comments")}).finally(()=>e.commit(J.MUTATIONS.SET_COMMENT_LOADING,null))},[J.ACTIONS.DELETE_WORKOUT_COMMENT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(J.MUTATIONS.SET_COMMENT_LOADING,"delete"),ge.delete(`comments/${t.commentId}`).then(n=>{n.status===204&&(t.workoutId?e.dispatch(J.ACTIONS.GET_WORKOUT_COMMENTS,t.workoutId):it.push("/"))}).catch(n=>{te(e,n)})},[J.ACTIONS.EDIT_WORKOUT_COMMENT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(J.MUTATIONS.SET_COMMENT_LOADING,t.id),ge.patch(`comments/${t.id}`,{text:t.text}).then(n=>{n.data.status==="success"&&(w1(e,t.id,t.workout_id),e.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{}))}).catch(n=>{te(e,n),e.commit(J.MUTATIONS.SET_COMMENT_LOADING,null)})},[J.ACTIONS.LIKE_COMMENT](e,t){fS(e,t)},[J.ACTIONS.UNDO_LIKE_COMMENT](e,t){fS(e,t,!0)},[J.ACTIONS.LIKE_WORKOUT](e,t){SS(e,t)},[J.ACTIONS.UNDO_LIKE_WORKOUT](e,t){SS(e,t,!0)},[J.ACTIONS.MAKE_APPEAL](e,t){const n=`${t.objectType}_${t.objectId}`;e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(J.MUTATIONS.SET_APPEAL_LOADING,n),e.commit(J.MUTATIONS.SET_SUCCESS,null),ge.post(`${t.objectType}s/${t.objectId}/suspension/appeal`,{text:t.text}).then(s=>{s.data.status==="success"&&e.commit(J.MUTATIONS.SET_SUCCESS,n)}).catch(s=>{te(e,s)}).finally(()=>e.commit(J.MUTATIONS.SET_APPEAL_LOADING,null))},[J.ACTIONS.GET_LIKES](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get(`${t.objectType}s/${t.objectId}/likes?page=${t.page}`).then(n=>{n.data.status==="success"&&(e.commit(ue.MUTATIONS.UPDATE_USERS,n.data.data.likes),e.commit(ue.MUTATIONS.UPDATE_USERS_PAGINATION,n.data.pagination))}).catch(n=>{te(e,n)})}},fTt={[J.GETTERS.APPEAL_LOADING]:e=>e.appealLoading,[J.GETTERS.CALENDAR_WORKOUTS]:e=>e.calendar_workouts,[J.GETTERS.CURRENT_REPORTING]:e=>e.workoutData.currentReporting,[J.GETTERS.SUCCESS]:e=>e.success,[J.GETTERS.TIMELINE_WORKOUTS]:e=>e.timeline_workouts,[J.GETTERS.AUTH_USER_WORKOUTS]:e=>e.user_workouts,[J.GETTERS.WORKOUT_CONTENT_EDITION]:e=>e.workoutContent,[J.GETTERS.WORKOUT_DATA]:e=>e.workoutData,[J.GETTERS.WORKOUTS_PAGINATION]:e=>e.pagination},STt={[J.MUTATIONS.ADD_TIMELINE_WORKOUTS](e,t){e.timeline_workouts=e.timeline_workouts.concat(t)},[J.MUTATIONS.SET_APPEAL_LOADING](e,t){e.appealLoading=t},[J.MUTATIONS.SET_CALENDAR_WORKOUTS](e,t){e.calendar_workouts=t},[J.MUTATIONS.SET_SUCCESS](e,t){e.success=t},[J.MUTATIONS.SET_TIMELINE_WORKOUTS](e,t){e.timeline_workouts=t},[J.MUTATIONS.SET_USER_WORKOUTS](e,t){e.user_workouts=t},[J.MUTATIONS.SET_WORKOUTS_PAGINATION](e,t){e.pagination=t},[J.MUTATIONS.SET_WORKOUT](e,t){e.workoutData.workout=t},[J.MUTATIONS.SET_WORKOUT_CHART_DATA](e,t){e.workoutData.chartData=t},[J.MUTATIONS.SET_WORKOUT_GPX](e,t){e.workoutData.gpx=t},[J.MUTATIONS.SET_WORKOUT_LOADING](e,t){e.workoutData.loading=t},[J.MUTATIONS.SET_WORKOUT_CONTENT](e,t){e.workoutData.workout=t},[J.MUTATIONS.SET_WORKOUT_CONTENT_LOADING](e,t){e.workoutContent.loading=t},[J.MUTATIONS.SET_WORKOUT_CONTENT_TYPE](e,t){e.workoutContent.contentType=t},[J.MUTATIONS.EMPTY_CALENDAR_WORKOUTS](e){e.calendar_workouts=[]},[J.MUTATIONS.EMPTY_WORKOUTS](e){e.calendar_workouts=[],e.user_workouts=[],e.timeline_workouts=[]},[J.MUTATIONS.EMPTY_WORKOUT](e){e.workoutData={gpx:"",loading:!1,workout:{},chartData:[],comments:[],commentsLoading:null,currentCommentEdition:{},currentReporting:!1}},[J.MUTATIONS.SET_WORKOUT_COMMENTS](e,t){e.workoutData.comments=t},[J.MUTATIONS.ADD_WORKOUT_COMMENT](e,t){e.workoutData.comments.push(t)},[J.MUTATIONS.SET_COMMENT_LOADING](e,t){e.workoutData.commentsLoading=t},[J.MUTATIONS.SET_CURRENT_COMMENT_EDITION](e,t){e.workoutData.currentCommentEdition=t},[J.MUTATIONS.SET_CURRENT_REPORTING](e,t){e.workoutData.currentReporting=t}},ATt={calendar_workouts:[],timeline_workouts:[],pagination:{},user_workouts:[],workoutData:{gpx:"",loading:!1,workout:{},chartData:[],comments:[],commentsLoading:null,currentCommentEdition:{},currentReporting:!1},workoutContent:{loading:!1,contentType:""},success:null,appealLoading:null,likes:[]},hTt={state:ATt,actions:mTt,getters:fTt,mutations:STt},OTt={authUserModule:L_t,equipmentModule:k_t,notificationsModule:z_t,oAuthModule:H_t,reportsModule:X_t,sportsModule:iTt,statsModule:dTt,usersModule:pTt,workoutsModule:hTt},ITt={state:tTt,actions:Z_t,getters:J_t,mutations:eTt,modules:OTt},Un=RD(ITt),ge=Wt.create({baseURL:nr()});ge.interceptors.request.use(e=>{const t=new AbortController;e.signal=t.signal;const n=vo(e);gi.set(n,t);const s=Un.getters[K.GETTERS.AUTH_TOKEN];if(s){const a=`Bearer ${s}`;e.headers&&e.headers.Authorization!==a&&(e.headers.Authorization=`Bearer ${s}`)}return e},e=>Promise.reject(e));ge.interceptors.response.use(e=>(vo(e.config),e),e=>(e.message!=="canceled"&&e.response&&vo(e.response.config),Promise.reject(e)));const mE=(e,t)=>e.push.apply(e,t),yo=e=>e.sort((t,n)=>t.i-n.i||t.j-n.j),AS=e=>{const t={};let n=1;return e.forEach(s=>{t[s]=n,n+=1}),t};var RTt={4:[[1,2],[2,3]],5:[[1,3],[2,3],[2,4]],6:[[1,2],[2,4],[4,5]],7:[[1,3],[2,3],[4,5],[4,6]],8:[[2,4],[4,6]]};const hS=2050,OS=1e3,NTt=RTt,gTt=10,bTt=1e4,M1=10,W1=50,F1=20,z1=/^[A-Z\xbf-\xdf][^A-Z\xbf-\xdf]+$/,CTt=/^[^A-Z\xbf-\xdf]+[A-Z\xbf-\xdf]$/,PTt=/^[A-Z\xbf-\xdf]+$/,B1=/^[^a-z\xdf-\xff]+$/,DTt=/^[a-z\xdf-\xff]+$/,LTt=/^[^A-Z\xbf-\xdf]+$/,vTt=/[a-z\xdf-\xff]/,yTt=/[A-Z\xbf-\xdf]/,UTt=/[^A-Za-z\xbf-\xdf]/gi,$Tt=/^\d+$/,V_=new Date().getFullYear(),kTt={recentYear:/19\d\d|200\d|201\d|202\d/g},G1=[" ",",",";",":","|","/","\\","_",".","-"],wTt=G1.length;class MTt{match({password:t}){const n=[...this.getMatchesWithoutSeparator(t),...this.getMatchesWithSeparator(t)],s=this.filterNoise(n);return yo(s)}getMatchesWithSeparator(t){const n=[],s=/^(\d{1,4})([\s/\\_.-])(\d{1,2})\2(\d{1,4})$/;for(let a=0;a<=Math.abs(t.length-6);a+=1)for(let o=a+5;o<=a+9&&!(o>=t.length);o+=1){const i=t.slice(a,+o+1||9e9),r=s.exec(i);if(r!=null){const u=this.mapIntegersToDayMonthYear([parseInt(r[1],10),parseInt(r[3],10),parseInt(r[4],10)]);u!=null&&n.push({pattern:"date",token:i,i:a,j:o,separator:r[2],year:u.year,month:u.month,day:u.day})}}return n}getMatchesWithoutSeparator(t){const n=[],s=/^\d{4,8}$/,a=o=>Math.abs(o.year-V_);for(let o=0;o<=Math.abs(t.length-4);o+=1)for(let i=o+3;i<=o+7&&!(i>=t.length);i+=1){const r=t.slice(o,+i+1||9e9);if(s.exec(r)){const u=[],l=r.length;if(NTt[l].forEach(([_,c])=>{const T=this.mapIntegersToDayMonthYear([parseInt(r.slice(0,_),10),parseInt(r.slice(_,c),10),parseInt(r.slice(c),10)]);T!=null&&u.push(T)}),u.length>0){let _=u[0],c=a(u[0]);u.slice(1).forEach(T=>{const m=a(T);m{let s=!1;const a=t.length;for(let o=0;o=n.j){s=!0;break}}return!s})}mapIntegersToDayMonthYear(t){if(t[1]>31||t[1]<=0)return null;let n=0,s=0,a=0;for(let o=0,i=t.length;o99&&rhS)return null;r>31&&(s+=1),r>12&&(n+=1),r<=0&&(a+=1)}return s>=2||n===3||a>=2?null:this.getDayMonth(t)}getDayMonth(t){const n=[[t[2],t.slice(0,2)],[t[0],t.slice(1,3)]],s=n.length;for(let a=0;a=1&&o<=31&&i>=1&&i<=12)return{day:o,month:i}}return null}twoToFourDigitYear(t){return t>99?t:t>50?t+1900:t+2e3}}const Ms=new Uint32Array(65536),WTt=(e,t)=>{const n=e.length,s=t.length,a=1<{const n=t.length,s=e.length,a=[],o=[],i=Math.ceil(n/32),r=Math.ceil(s/32);for(let m=0;m>>O&1,b=a[O/32|0]>>>O&1,P=I|m,C=((I|b)&S)+S^S|I|b;let y=m|~(C|S),L=S&C;y>>>31^N&&(o[O/32|0]^=1<>>31^b&&(a[O/32|0]^=1<>>m&1,h=a[m/32|0]>>>m&1,O=S|l,I=((S|h)&d)+d^d|S|h;let N=l|~(I|d),b=d&I;T+=N>>>s-1&1,T-=b>>>s-1&1,N>>>31^R&&(o[m/32|0]^=1<>>31^h&&(a[m/32|0]^=1<{if(e.length{const s=e.length<=t.length,a=e.length<=n;return s||a?Math.ceil(e.length/4):n},GTt=(e,t,n)=>{let s=0;const a=Object.keys(t).find(o=>{const i=BTt(e,o,n);if(Math.abs(e.length-o.length)>i)return!1;const r=zTt(e,o),u=r<=i;return u&&(s=r),u});return a?{levenshteinDistance:s,levenshteinDistanceEntry:a}:{}};var IS={a:["4","@"],b:["8"],c:["(","{","[","<"],d:["6","|)"],e:["3"],f:["#"],g:["6","9","&"],h:["#","|-|"],i:["1","!","|"],k:["<","|<"],l:["!","1","|","7"],m:["^^","nn","2n","/\\\\/\\\\"],n:["//"],o:["0","()"],q:["9"],u:["|_|"],s:["$","5"],t:["+","7"],v:["<",">","/"],w:["^/","uu","vv","2u","2v","\\\\/\\\\/"],x:["%","><"],z:["2"]},ud={warnings:{straightRow:"straightRow",keyPattern:"keyPattern",simpleRepeat:"simpleRepeat",extendedRepeat:"extendedRepeat",sequences:"sequences",recentYears:"recentYears",dates:"dates",topTen:"topTen",topHundred:"topHundred",common:"common",similarToCommon:"similarToCommon",wordByItself:"wordByItself",namesByThemselves:"namesByThemselves",commonNames:"commonNames",userInputs:"userInputs",pwned:"pwned"},suggestions:{l33t:"l33t",reverseWords:"reverseWords",allUppercase:"allUppercase",capitalization:"capitalization",dates:"dates",recentYears:"recentYears",associatedYears:"associatedYears",sequences:"sequences",repeated:"repeated",longerKeyboardPattern:"longerKeyboardPattern",anotherWord:"anotherWord",useWords:"useWords",noNeed:"noNeed",pwned:"pwned"},timeEstimation:{ltSecond:"ltSecond",second:"second",seconds:"seconds",minute:"minute",minutes:"minutes",hour:"hour",hours:"hours",day:"day",days:"days",month:"month",months:"months",year:"year",years:"years",centuries:"centuries"}};class Ki{constructor(t=[]){this.parents=t,this.children=new Map}addSub(t,...n){const s=t.charAt(0);this.children.has(s)||this.children.set(s,new Ki([...this.parents,s]));let a=this.children.get(s);for(let o=1;o(Object.entries(e).forEach(([n,s])=>{s.forEach(a=>{t.addSub(a,n)})}),t);class xTt{constructor(){this.matchers={},this.l33tTable=IS,this.trieNodeRoot=RS(IS,new Ki),this.dictionary={userInputs:[]},this.rankedDictionaries={},this.rankedDictionariesMaxWordSize={},this.translations=ud,this.graphs={},this.useLevenshteinDistance=!1,this.levenshteinThreshold=2,this.l33tMaxSubstitutions=100,this.maxLength=256,this.setRankedDictionaries()}setOptions(t={}){t.l33tTable&&(this.l33tTable=t.l33tTable,this.trieNodeRoot=RS(t.l33tTable,new Ki)),t.dictionary&&(this.dictionary=t.dictionary,this.setRankedDictionaries()),t.translations&&this.setTranslations(t.translations),t.graphs&&(this.graphs=t.graphs),t.useLevenshteinDistance!==void 0&&(this.useLevenshteinDistance=t.useLevenshteinDistance),t.levenshteinThreshold!==void 0&&(this.levenshteinThreshold=t.levenshteinThreshold),t.l33tMaxSubstitutions!==void 0&&(this.l33tMaxSubstitutions=t.l33tMaxSubstitutions),t.maxLength!==void 0&&(this.maxLength=t.maxLength)}setTranslations(t){if(this.checkCustomTranslations(t))this.translations=t;else throw new Error("Invalid translations object fallback to keys")}checkCustomTranslations(t){let n=!0;return Object.keys(ud).forEach(s=>{if(s in t){const a=s;Object.keys(ud[a]).forEach(o=>{o in t[a]||(n=!1)})}else n=!1}),n}setRankedDictionaries(){const t={},n={};Object.keys(this.dictionary).forEach(s=>{t[s]=AS(this.dictionary[s]),n[s]=this.getRankedDictionariesMaxWordSize(this.dictionary[s])}),this.rankedDictionaries=t,this.rankedDictionariesMaxWordSize=n}getRankedDictionariesMaxWordSize(t){const n=t.map(s=>typeof s!="string"?s.toString().length:s.length);return n.length===0?0:n.reduce((s,a)=>Math.max(s,a),-1/0)}buildSanitizedRankedDictionary(t){const n=[];return t.forEach(s=>{const a=typeof s;(a==="string"||a==="number"||a==="boolean")&&n.push(s.toString().toLowerCase())}),AS(n)}extendUserInputsDictionary(t){this.dictionary.userInputs||(this.dictionary.userInputs=[]);const n=[...this.dictionary.userInputs,...t];this.rankedDictionaries.userInputs=this.buildSanitizedRankedDictionary(n),this.rankedDictionariesMaxWordSize.userInputs=this.getRankedDictionariesMaxWordSize(n)}addMatcher(t,n){this.matchers[t]?console.info(`Matcher ${t} already exists`):this.matchers[t]=n}}const Ve=new xTt;class VTt{constructor(t){this.defaultMatch=t}match({password:t}){const n=t.split("").reverse().join("");return this.defaultMatch({password:n}).map(s=>({...s,token:s.token.split("").reverse().join(""),reversed:!0,i:t.length-1-s.j,j:t.length-1-s.i}))}}class HTt{constructor({substr:t,limit:n,trieRoot:s}){this.buffer=[],this.finalPasswords=[],this.substr=t,this.limit=n,this.trieRoot=s}getAllPossibleSubsAtIndex(t){const n=[];let s=this.trieRoot;for(let a=t;a=this.limit)return;if(s===this.substr.length){t===n&&this.finalPasswords.push({password:this.buffer.join(""),changes:o});return}const u=[...this.getAllPossibleSubsAtIndex(s)];let l=!1;for(let d=s+u.length-1;d>=s;d-=1){const _=u[d-s];if(_.isTerminal()){if(i===_.parents.join("")&&r>=3)continue;l=!0;const c=_.subs;for(const T of c){this.buffer.push(T);const m=o.concat({i:a,letter:T,substitution:_.parents.join("")});if(this.helper({onlyFullSub:t,isFullSub:n,index:d+1,subIndex:a+T.length,changes:m,lastSubLetter:_.parents.join(""),consecutiveSubCount:i===_.parents.join("")?r+1:1}),this.buffer.pop(),this.finalPasswords.length>=this.limit)return}}}if(!t||!l){const d=this.substr.charAt(s);this.buffer.push(d),this.helper({onlyFullSub:t,isFullSub:n&&!l,index:s+1,subIndex:a+1,changes:o,lastSubLetter:i,consecutiveSubCount:r}),this.buffer.pop()}}getAll(){return this.helper({onlyFullSub:!0,isFullSub:!0,index:0,subIndex:0,changes:[],lastSubLetter:void 0,consecutiveSubCount:0}),this.helper({onlyFullSub:!1,isFullSub:!0,index:0,subIndex:0,changes:[],lastSubLetter:void 0,consecutiveSubCount:0}),this.finalPasswords}}const KTt=(e,t,n)=>new HTt({substr:e,limit:t,trieRoot:n}).getAll(),YTt=(e,t,n)=>{const a=e.changes.filter(l=>l.il-d.letter.length+d.substitution.length,t),o=e.changes.filter(l=>l.i>=t&&l.i<=n),i=o.reduce((l,d)=>l-d.letter.length+d.substitution.length,n-t+a),r=[],u=[];return o.forEach(l=>{r.findIndex(_=>_.letter===l.letter&&_.substitution===l.substitution)<0&&(r.push({letter:l.letter,substitution:l.substitution}),u.push(`${l.substitution} -> ${l.letter}`))}),{i:a,j:i,subs:r,subDisplay:u.join(", ")}};class qTt{constructor(t){this.defaultMatch=t}isAlreadyIncluded(t,n){return t.some(s=>Object.entries(s).every(([a,o])=>a==="subs"||o===n[a]))}match({password:t}){const n=[],s=KTt(t,Ve.l33tMaxSubstitutions,Ve.trieNodeRoot);let a=!1,o=!0;return s.forEach(i=>{if(a)return;const r=this.defaultMatch({password:i.password,useLevenshtein:o});o=!1,r.forEach(u=>{a||(a=u.i===0&&u.j===t.length-1);const l=YTt(i,u.i,u.j),d=t.slice(l.i,+l.j+1||9e9),_={...u,l33t:!0,token:d,...l},c=this.isAlreadyIncluded(n,_);d.toLowerCase()!==u.matchedWord&&!c&&n.push(_)})}),n.filter(i=>i.token.length>1)}}class jTt{constructor(){this.l33t=new qTt(this.defaultMatch),this.reverse=new VTt(this.defaultMatch)}match({password:t}){const n=[...this.defaultMatch({password:t}),...this.reverse.match({password:t}),...this.l33t.match({password:t})];return yo(n)}defaultMatch({password:t,useLevenshtein:n=!0}){const s=[],a=t.length,o=t.toLowerCase();return Object.keys(Ve.rankedDictionaries).forEach(i=>{const r=Ve.rankedDictionaries[i],u=Ve.rankedDictionariesMaxWordSize[i],l=Math.min(u,a);for(let d=0;d{const o=n[a];o.lastIndex=0;let i;for(;i=o.exec(t);)if(i){const r=i[0];s.push({pattern:"regex",token:r,i:i.index,j:i.index+i[0].length-1,regexName:a,regexMatch:i})}}),yo(s)}}var ja={nCk(e,t){let n=e;if(t>n)return 0;if(t===0)return 1;let s=1;for(let a=1;a<=t;a+=1)s*=n,s/=a,n-=1;return s},log10(e){return e===0?0:Math.log(e)/Math.log(10)},log2(e){return Math.log(e)/Math.log(2)},factorial(e){let t=1;for(let n=2;n<=e;n+=1)t*=n;return t}},QTt=({token:e})=>{let t=gTt**e.length;t===Number.POSITIVE_INFINITY&&(t=Number.MAX_VALUE);let n;return e.length===1?n=M1+1:n=W1+1,Math.max(t,n)},ZTt=({year:e,separator:t})=>{let s=Math.max(Math.abs(e-V_),F1)*365;return t&&(s*=4),s};const JTt=e=>{const t=e.split(""),n=t.filter(i=>i.match(yTt)).length,s=t.filter(i=>i.match(vTt)).length;let a=0;const o=Math.min(n,s);for(let i=1;i<=o;i+=1)a+=ja.nCk(n+s,i);return a};var ept=e=>{const t=e.replace(UTt,"");if(t.match(LTt)||t.toLowerCase()===t)return 1;const n=[z1,CTt,B1],s=n.length;for(let a=0;a{let n=0,s=e.indexOf(t);for(;s>=0;)n+=1,s=e.indexOf(t,s+t.length);return n},tpt=({sub:e,token:t})=>{const n=t.toLowerCase(),s=NS(n,e.substitution),a=NS(n,e.letter);return{subbedCount:s,unsubbedCount:a}};var npt=({l33t:e,subs:t,token:n})=>{if(!e)return 1;let s=1;return t.forEach(a=>{const{subbedCount:o,unsubbedCount:i}=tpt({sub:a,token:n});if(o===0||i===0)s*=2;else{const r=Math.min(i,o);let u=0;for(let l=1;l<=r;l+=1)u+=ja.nCk(i+o,l);s*=u}}),s},spt=({rank:e,reversed:t,l33t:n,subs:s,token:a,dictionaryName:o})=>{const i=e,r=ept(a),u=npt({l33t:n,subs:s,token:a}),l=t&&2||1;let d;return o==="diceware"?d=6**5/2:d=i*r*u*l,{baseGuesses:i,uppercaseVariations:r,l33tVariations:u,calculation:d}},apt=({regexName:e,regexMatch:t,token:n})=>{const s={alphaLower:26,alphaUpper:26,alpha:52,alphanumeric:62,digits:10,symbols:33};if(e in s)return s[e]**n.length;switch(e){case"recentYear":return Math.max(Math.abs(parseInt(t[0],10)-V_),F1)}return 0},opt=({baseGuesses:e,repeatCount:t})=>e*t,ipt=({token:e,ascending:t})=>{const n=e.charAt(0);let s=0;return["a","A","z","Z","0","1","9"].includes(n)?s=4:n.match(/\d/)?s=10:s=26,t||(s*=2),s*e.length};const rpt=e=>{let t=0;return Object.keys(e).forEach(n=>{const s=e[n];t+=s.filter(a=>!!a).length}),t/=Object.entries(e).length,t},upt=({token:e,graph:t,turns:n})=>{const s=Object.keys(Ve.graphs[t]).length,a=rpt(Ve.graphs[t]);let o=0;const i=e.length;for(let r=2;r<=i;r+=1){const u=Math.min(n,r-1);for(let l=1;l<=u;l+=1)o+=ja.nCk(r-1,l-1)*s*a**l}return o};var lpt=({graph:e,token:t,shiftedCount:n,turns:s})=>{let a=upt({token:t,graph:e,turns:s});if(n){const o=t.length-n;if(n===0||o===0)a*=2;else{let i=0;for(let r=1;r<=Math.min(n,o);r+=1)i+=ja.nCk(n+o,r);a*=i}}return Math.round(a)},cpt=()=>wTt;const dpt=(e,t)=>{let n=1;return e.token.lengthgS[e]?gS[e](t):Ve.matchers[e]&&"scoring"in Ve.matchers[e]?Ve.matchers[e].scoring(t):0;var _pt=(e,t)=>{const n={};if("guesses"in e&&e.guesses!=null)return e;const s=dpt(e,t),a=Ept(e.pattern,e);let o=0;typeof a=="number"?o=a:e.pattern==="dictionary"&&(o=a.calculation,n.baseGuesses=a.baseGuesses,n.uppercaseVariations=a.uppercaseVariations,n.l33tVariations=a.l33tVariations);const i=Math.max(o,s);return{...e,...n,guesses:i,guessesLog10:ja.log10(i)}};const yn={password:"",optimal:{},excludeAdditive:!1,separatorRegex:void 0,fillArray(e,t){const n=[];for(let s=0;s1&&(a*=this.optimal.pi[s.i-1][t-1]);let o=ja.factorial(t)*a;this.excludeAdditive||(o+=bTt**(t-1));let i=!1;Object.keys(this.optimal.g[n]).forEach(r=>{const u=this.optimal.g[n][r];parseInt(r,10)<=t&&u<=o&&(i=!0)}),i||(this.optimal.g[n][t]=o,this.optimal.m[n][t]=s,this.optimal.pi[n][t]=a)},bruteforceUpdate(e){let t=this.makeBruteforceMatch(0,e);this.update(t,1);for(let n=1;n<=e;n+=1){t=this.makeBruteforceMatch(n,e);const s=this.optimal.m[n-1];Object.keys(s).forEach(a=>{s[a].pattern!=="bruteforce"&&this.update(t,parseInt(a,10)+1)})}},unwind(e){const t=[];let n=e-1,s=0,a=1/0;const o=this.optimal.g[n];for(o&&Object.keys(o).forEach(i=>{const r=o[i];r=0;){const i=this.optimal.m[n][s];t.unshift(i),n=i.i-1,s-=1}return t}};var fE={mostGuessableMatchSequence(e,t,n=!1){yn.password=e,yn.excludeAdditive=n;const s=e.length;let a=yn.fillArray(s,"array");t.forEach(u=>{a[u.j].push(u)}),a=a.map(u=>u.sort((l,d)=>l.i-d.i)),yn.optimal={m:yn.fillArray(s,"object"),pi:yn.fillArray(s,"object"),g:yn.fillArray(s,"object")};for(let u=0;u{l.i>0?Object.keys(yn.optimal.m[l.i-1]).forEach(d=>{yn.update(l,parseInt(d,10)+1)}):yn.update(l,1)}),yn.bruteforceUpdate(u);const o=yn.unwind(s),i=o.length,r=this.getGuesses(e,i);return{password:e,guesses:r,guessesLog10:ja.log10(r),sequence:o}},getGuesses(e,t){const n=e.length;let s=0;return e.length===0?s=1:s=yn.optimal.g[n-1][t],s}};class Tpt{match({password:t,omniMatch:n}){const s=[];let a=0;for(;ai instanceof Promise)?Promise.all(s):s}normalizeMatch(t,n,s,a){const o={pattern:"repeat",i:s.index,j:n,token:s[0],baseToken:t,baseGuesses:0,repeatCount:s[0].length/t.length};return a instanceof Promise?a.then(i=>({...o,baseGuesses:i})):{...o,baseGuesses:a}}getGreedyMatch(t,n){const s=/(.+)\1+/g;return s.lastIndex=n,s.exec(t)}getLazyMatch(t,n){const s=/(.+?)\1+/g;return s.lastIndex=n,s.exec(t)}setMatchToken(t,n){const s=/^(.+?)\1+$/;let a,o="";if(n&&t[0].length>n[0].length){a=t;const i=s.exec(a[0]);i&&(o=i[1])}else a=n,a&&(o=a[1]);return{match:a,baseToken:o}}getBaseGuesses(t,n){const s=n.match(t);return s instanceof Promise?s.then(o=>fE.mostGuessableMatchSequence(t,o).guesses):fE.mostGuessableMatchSequence(t,s).guesses}}class ppt{constructor(){this.MAX_DELTA=5}match({password:t}){const n=[];if(t.length===1)return[];let s=0,a=null;const o=t.length;for(let i=1;i1||Math.abs(s)===1){const i=Math.abs(s);if(i>0&&i<=this.MAX_DELTA){const r=a.slice(t,+n+1||9e9),{sequenceName:u,sequenceSpace:l}=this.getSequence(r);return o.push({pattern:"sequence",i:t,j:n,token:a.slice(t,+n+1||9e9),sequenceName:u,sequenceSpace:l,ascending:s>0})}}return null}getSequence(t){let n="unicode",s=26;return DTt.test(t)?(n="lower",s=26):PTt.test(t)?(n="upper",s=26):$Tt.test(t)&&(n="digits",s=10),{sequenceName:n,sequenceSpace:s}}}class mpt{constructor(){this.SHIFTED_RX=/[~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?]/}match({password:t}){const n=[];return Object.keys(Ve.graphs).forEach(s=>{const a=Ve.graphs[s];mE(n,this.helper(t,a,s))}),yo(n)}checkIfShifted(t,n,s){return!t.includes("keypad")&&this.SHIFTED_RX.test(n.charAt(s))?1:0}helper(t,n,s){let a;const o=[];let i=0;const r=t.length;for(;i2&&o.push({pattern:"spatial",i,j:u-1,token:t.slice(i,u),graph:s,turns:d,shiftedCount:a}),i=u;break}}}return o}}const fpt=new RegExp(`[${G1.join("")}]`);class el{static getMostUsedSeparatorChar(t){const n=[...t.split("").filter(a=>fpt.test(a)).reduce((a,o)=>{const i=a.get(o);return i?a.set(o,i+1):a.set(o,1),a},new Map).entries()].sort(([a,o],[i,r])=>r-o);if(!n.length)return;const s=n[0];if(!(s[1]<2))return s[0]}static getSeparatorRegex(t){return new RegExp(`([^${t} -])(${t})(?!${t})`,"g")}match({password:t}){const n=[];if(t.length===0)return n;const s=el.getMostUsedSeparatorChar(t);if(s===void 0)return n;const a=el.getSeparatorRegex(s);for(const o of t.matchAll(a)){if(o.index===void 0)continue;const i=o.index+1;n.push({pattern:"separator",token:s,i,j:i})}return n}}class Spt{constructor(){this.matchers={date:MTt,dictionary:jTt,regex:XTt,repeat:Tpt,sequence:ppt,spatial:mpt,separator:el}}match(t){const n=[],s=[];return[...Object.keys(this.matchers),...Object.keys(Ve.matchers)].forEach(o=>{if(!this.matchers[o]&&!Ve.matchers[o])return;const i=this.matchers[o]?this.matchers[o]:Ve.matchers[o].Matching,u=new i().match({password:t,omniMatch:this});u instanceof Promise?(u.then(l=>{mE(n,l)}),s.push(u)):mE(n,u)}),s.length>0?new Promise((o,i)=>{Promise.all(s).then(()=>{o(yo(n))}).catch(r=>{i(r)})}):yo(n)}}const x1=1,V1=x1*60,H1=V1*60,K1=H1*24,Y1=K1*31,q1=Y1*12,Apt=q1*100,ld={second:x1,minute:V1,hour:H1,day:K1,month:Y1,year:q1,century:Apt};class hpt{translate(t,n){let s=t;n!==void 0&&n!==1&&(s+="s");const{timeEstimation:a}=Ve.translations;return a[s].replace("{base}",`${n}`)}estimateAttackTimes(t){const n={onlineThrottling100PerHour:t/.027777777777777776,onlineNoThrottling10PerSecond:t/10,offlineSlowHashing1e4PerSecond:t/1e4,offlineFastHashing1e10PerSecond:t/1e10},s={onlineThrottling100PerHour:"",onlineNoThrottling10PerSecond:"",offlineSlowHashing1e4PerSecond:"",offlineFastHashing1e10PerSecond:""};return Object.keys(n).forEach(a=>{const o=n[a];s[a]=this.displayTime(o)}),{crackTimesSeconds:n,crackTimesDisplay:s,score:this.guessesToScore(t)}}guessesToScore(t){return t<1005?0:t<1000005?1:t<100000005?2:t<1e10+5?3:4}displayTime(t){let n="centuries",s;const a=Object.keys(ld),o=a.findIndex(i=>t-1&&(n=a[o-1],o!==0?s=Math.round(t/ld[n]):n="ltSecond"),this.translate(n,s)}}var Opt=()=>null,Ipt=()=>({warning:Ve.translations.warnings.dates,suggestions:[Ve.translations.suggestions.dates]});const Rpt=(e,t)=>{let n=null;return t&&!e.l33t&&!e.reversed?e.rank<=10?n=Ve.translations.warnings.topTen:e.rank<=100?n=Ve.translations.warnings.topHundred:n=Ve.translations.warnings.common:e.guessesLog10<=4&&(n=Ve.translations.warnings.similarToCommon),n},Npt=(e,t)=>{let n=null;return t&&(n=Ve.translations.warnings.wordByItself),n},gpt=(e,t)=>t?Ve.translations.warnings.namesByThemselves:Ve.translations.warnings.commonNames,bpt=(e,t)=>{let n=null;const s=e.dictionaryName,a=s==="lastnames"||s.toLowerCase().includes("firstnames");return s==="passwords"?n=Rpt(e,t):s.includes("wikipedia")?n=Npt(e,t):a?n=gpt(e,t):s==="userInputs"&&(n=Ve.translations.warnings.userInputs),n};var Cpt=(e,t)=>{const n=bpt(e,t),s=[],a=e.token;return a.match(z1)?s.push(Ve.translations.suggestions.capitalization):a.match(B1)&&a.toLowerCase()!==a&&s.push(Ve.translations.suggestions.allUppercase),e.reversed&&e.token.length>=4&&s.push(Ve.translations.suggestions.reverseWords),e.l33t&&s.push(Ve.translations.suggestions.l33t),{warning:n,suggestions:s}},Ppt=e=>e.regexName==="recentYear"?{warning:Ve.translations.warnings.recentYears,suggestions:[Ve.translations.suggestions.recentYears,Ve.translations.suggestions.associatedYears]}:{warning:null,suggestions:[]},Dpt=e=>{let t=Ve.translations.warnings.extendedRepeat;return e.baseToken.length===1&&(t=Ve.translations.warnings.simpleRepeat),{warning:t,suggestions:[Ve.translations.suggestions.repeated]}},Lpt=()=>({warning:Ve.translations.warnings.sequences,suggestions:[Ve.translations.suggestions.sequences]}),vpt=e=>{let t=Ve.translations.warnings.keyPattern;return e.turns===1&&(t=Ve.translations.warnings.straightRow),{warning:t,suggestions:[Ve.translations.suggestions.longerKeyboardPattern]}},ypt=()=>null;const bS={warning:null,suggestions:[]};class Upt{constructor(){this.matchers={bruteforce:Opt,date:Ipt,dictionary:Cpt,regex:Ppt,repeat:Dpt,sequence:Lpt,spatial:vpt,separator:ypt},this.defaultFeedback={warning:null,suggestions:[]},this.setDefaultSuggestions()}setDefaultSuggestions(){this.defaultFeedback.suggestions.push(Ve.translations.suggestions.useWords,Ve.translations.suggestions.noNeed)}getFeedback(t,n){if(n.length===0)return this.defaultFeedback;if(t>2)return bS;const s=Ve.translations.suggestions.anotherWord,a=this.getLongestMatch(n);let o=this.getMatchFeedback(a,n.length===1);return o!=null?o.suggestions.unshift(s):o={warning:null,suggestions:[s]},o}getLongestMatch(t){let n=t[0];return t.slice(1).forEach(a=>{a.token.length>n.token.length&&(n=a)}),n}getMatchFeedback(t,n){return this.matchers[t.pattern]?this.matchers[t.pattern](t,n):Ve.matchers[t.pattern]&&"feedback"in Ve.matchers[t.pattern]?Ve.matchers[t.pattern].feedback(t,n):bS}}const j1=()=>new Date().getTime(),$pt=(e,t,n)=>{const s=new Upt,a=new hpt,o=fE.mostGuessableMatchSequence(t,e),i=j1()-n,r=a.estimateAttackTimes(o.guesses);return{calcTime:i,...o,...r,feedback:s.getFeedback(r.score,o.sequence)}},kpt=(e,t)=>new Spt().match(e),wpt=(e,t)=>{const n=j1(),s=kpt(e);if(s instanceof Promise)throw new Error("You are using a Promised matcher, please use `zxcvbnAsync` for it.");return $pt(s,e,n)},Mpt="modulepreload",Wpt=function(e){return"/"+e},CS={},zt=function(t,n,s){let a=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),r=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));a=Promise.allSettled(n.map(u=>{if(u=Wpt(u),u in CS)return;CS[u]=!0;const l=u.endsWith(".css"),d=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${d}`))return;const _=document.createElement("link");if(_.rel=l?"stylesheet":Mpt,l||(_.as="script"),_.crossOrigin="",_.href=u,r&&_.setAttribute("nonce",r),document.head.appendChild(_),l)return new Promise((c,T)=>{_.addEventListener("load",c),_.addEventListener("error",()=>T(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(i){const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=i,window.dispatchEvent(r),!r.defaultPrevented)throw i}return a.then(i=>{for(const r of i||[])r.status==="rejected"&&o(r.reason);return t().catch(o)})},Fpt=async e=>{switch(e){case"fr":return await zt(()=>import("./password.fr-LQIeIoMk.js"),[]);case"de":return await zt(()=>import("./password.de-SDMVbHi1.js"),[]);case"it":return await zt(()=>import("./password.it-CReO5S7F.js"),[]);case"es":return await zt(()=>import("./password.es-es-DLU3Rh6X.js"),[]);case"pl":return await zt(()=>import("./password.pl-T3z7Kg0O.js"),[]);case"cs":return await zt(()=>import("./password.cs-CLn3Tyh5.js"),[]);default:return await zt(()=>import("./password.en-BDtqNyGO.js"),[])}},PS=async e=>{const t=await zt(()=>import("./password.common-bdamX4EN.js"),[]),n=await Fpt(e),s={graphs:t.adjacencyGraphs,dictionary:{...t.dictionary,...n.dictionary}};Ve.setOptions(s)},zpt=e=>{switch(e){case 2:return"AVERAGE";case 3:return"GOOD";case 4:return"STRONG";default:return"WEAK"}},Bpt={class:"password-strength"},Gpt={for:"password-strength",class:"visually-hidden"},xpt=["value"],Vpt={key:0,class:"password-strength-details"},Hpt={class:"password-strength-value"},Kpt={key:0,class:"info-box"},Ypt={class:"password-feedback"},qpt=Q({__name:"PasswordStength",props:{password:{}},setup(e){const t=e,{password:n}=pe(t),s=ye(),{appLanguage:a}=Ge(),o=F(()=>s.getters[K.GETTERS.IS_SUCCESS]),i=Oe(0),r=Oe(""),u=Oe([]),l=Oe("0% 100%");Ze(async()=>await PS(a.value));function d(_){const c=wpt(_);i.value=c.score,r.value=zpt(i.value),u.value=c.feedback.suggestions,l.value=i.value*100/4+"% 100%"}return Pe(()=>a.value,async _=>{await PS(_)}),Pe(()=>n.value,async _=>{o.value?r.value="":d(_)}),(_,c)=>(f(),g("div",Bpt,[E("label",Gpt,A(_.$t("user.PASSWORD_STRENGTH.LABEL")),1),E("input",{id:"password-strength",class:fe(["password-slider",`strength-${i.value}`]),style:Yn({backgroundSize:l.value}),type:"range",value:i.value,min:"0",max:"4",step:"1",tabindex:-1,autocomplete:"off"},null,14,xpt),r.value?(f(),g("div",Vpt,[E("span",Hpt,A(_.$t("user.PASSWORD_STRENGTH.LABEL"))+": "+A(_.$t(`user.PASSWORD_STRENGTH.${r.value}`)),1),u.value.length>0?(f(),g("div",Kpt,[E("ul",Ypt,[(f(!0),g(ae,null,be(u.value,T=>(f(),g("li",{key:T},A(_.$t(`user.PASSWORD_STRENGTH.SUGGESTIONS.${T}`)),1))),128))])])):v("",!0)])):v("",!0)]))}}),jpt=ne(qpt,[["__scopeId","data-v-426a4a9b"]]),Xpt={class:"password-input"},Qpt=["id","disabled","placeholder","required","type","autocomplete"],Zpt={class:"show-password"},Jpt={key:0,class:"form-info"},emt=Q({__name:"PasswordInput",props:{checkStrength:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},id:{default:"password"},password:{default:""},placeholder:{},required:{type:Boolean,default:!1},autocomplete:{}},emits:["updatePassword","passwordError"],setup(e,{emit:t}){const n=e,{autocomplete:s,checkStrength:a,disabled:o,id:i,password:r,placeholder:u,required:l}=pe(n),d=t,_=Oe(!1),c=Oe("");function T(){_.value=!_.value}function m(R){d("updatePassword",R.target.value)}function S(){d("passwordError")}return Pe(()=>r.value,R=>{R===""&&(c.value="",_.value=!1)}),(R,h)=>(f(),g("div",Xpt,[We(E("input",{id:p(i),disabled:p(o),placeholder:p(u),required:p(l),type:_.value?"text":"password","onUpdate:modelValue":h[0]||(h[0]=O=>c.value=O),minlength:"8",onInput:m,onInvalid:S,autocomplete:p(s)},null,40,Qpt),[[Tg,c.value]]),E("div",Zpt,[E("button",{class:"transparent",onClick:Ne(T,["prevent"]),type:"button"},[B(A(R.$t(`user.${_.value?"HIDE":"SHOW"}_PASSWORD`))+" ",1),E("i",{class:fe(["fa",`fa-eye${_.value?"-slash":""}`]),"aria-hidden":"true"},null,2)])]),p(a)?(f(),g("div",Jpt,[h[1]||(h[1]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(R.$t("user.PASSWORD_INFO")),1)])):v("",!0),p(a)?(f(),G(jpt,{key:1,password:c.value},null,8,["password"])):v("",!0)]))}}),SE=ne(emt,[["__scopeId","data-v-45564b7b"]]),tmt={id:"user-infos-edition"},nmt={class:"profile-form form-box"},smt={key:1,class:"info-box success-message"},amt={class:"form-items",for:"email"},omt=["disabled"],imt={class:"form-items",for:"password-field"},rmt={class:"form-items",for:"new-password-field"},umt={class:"form-buttons"},lmt={class:"confirm",type:"submit"},cmt={class:"data-export"},dmt={class:"info-box"},Emt={key:0,class:"data-export-archive"},_mt={key:1},Tmt={key:2},pmt=Q({__name:"UserAccountEdition",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),s=ye(),{appConfig:a,errorMessages:o}=Ge(),{authUserLoading:i,authUserSuccess:r}=Ye(),u=Lt({email:"",password:"",new_password:""}),l=Oe(!1),d=Oe(!1),_=Oe(!1),c=Oe(!1),T=F(()=>s.getters[K.GETTERS.EXPORT_REQUEST]),m=F(()=>I());function S(){d.value=!0}function R(w){u.email=w.email}function h(w){u.password=w}function O(w){u.new_password=w}function I(){return T.value?Ut(T.value.created_at,n.value.timezone,n.value.date_format,!0,null,!0):null}function N(){return m.value?Mv(new Date(m.value),zv(new Date)):!0}function b(){const w={email:u.email,password:u.password};u.new_password&&(w.new_password=u.new_password),l.value=u.email!==n.value.email,s.dispatch(K.ACTIONS.UPDATE_USER_ACCOUNT,w)}function P(w){_.value=w}function C(w){s.dispatch(K.ACTIONS.DELETE_ACCOUNT,{username:w})}function y(){s.dispatch(K.ACTIONS.REQUEST_DATA_EXPORT)}async function L(w){c.value=!0,await ge.get(`/auth/account/export/${w}`,{responseType:"blob"}).then(D=>{const W=window.URL.createObjectURL(new Blob([D.data],{type:"application/zip"})),Y=document.createElement("a");Y.href=W,Y.setAttribute("download",w),document.body.appendChild(Y),Y.click()}).finally(()=>c.value=!1)}return Pe(()=>r.value,async w=>{w&&(h(""),O(""),R(n.value),d.value=!1)}),Pe(()=>n.value.email,async()=>{R(n.value)}),Et(()=>{t.user&&(s.dispatch(K.ACTIONS.GET_REQUEST_DATA_EXPORT),R(t.user))}),ut(()=>{s.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!1)}),(w,D)=>{const W=j("Modal"),Y=j("ErrorMessage");return f(),g("div",tmt,[_.value?(f(),G(W,{key:0,title:w.$t("common.CONFIRMATION"),message:w.$t("user.CONFIRM_ACCOUNT_DELETION"),onConfirmAction:D[0]||(D[0]=he=>C(p(n).username)),onCancelAction:D[1]||(D[1]=he=>P(!1)),onKeydown:D[2]||(D[2]=Xe(he=>P(!1),["esc"]))},null,8,["title","message"])):v("",!0),E("div",nmt,[p(o)?(f(),G(Y,{key:0,message:p(o)},null,8,["message"])):v("",!0),p(r)?(f(),g("div",smt,A(w.$t(`user.PROFILE.SUCCESSFUL_${l.value&&p(a).is_email_sending_enabled?"EMAIL_":""}UPDATE`)),1)):v("",!0),E("form",{class:fe({errors:d.value}),onSubmit:Ne(b,["prevent"])},[E("label",amt,[B(A(w.$t("user.EMAIL"))+"* ",1),We(E("input",{id:"email","onUpdate:modelValue":D[3]||(D[3]=he=>u.email=he),disabled:p(i),required:!0,onInvalid:S,autocomplete:"email"},null,40,omt),[[st,u.email]])]),E("label",imt,[B(A(w.$t("user.CURRENT_PASSWORD"))+"* ",1),M(SE,{id:"password-field",disabled:p(i),password:u.password,required:!0,onUpdatePassword:h,onPasswordError:S,autocomplete:"current-password"},null,8,["disabled","password"])]),E("label",rmt,[B(A(w.$t("user.NEW_PASSWORD"))+" ",1),M(SE,{id:"new-password-field",disabled:p(i),checkStrength:!0,password:u.new_password,isSuccess:!1,onUpdatePassword:O,onPasswordError:S,autocomplete:"new-password"},null,8,["disabled","password"])]),E("div",umt,[E("button",lmt,A(w.$t("buttons.SUBMIT")),1),E("button",{class:"cancel",onClick:D[4]||(D[4]=Ne(he=>w.$router.push("/profile"),["prevent"]))},A(w.$t("buttons.CANCEL")),1),E("button",{class:"danger",onClick:D[5]||(D[5]=Ne(he=>P(!0),["prevent"]))},A(w.$t("buttons.DELETE_MY_ACCOUNT")),1),N()?(f(),g("button",{key:0,class:"confirm",onClick:Ne(y,["prevent"])},A(w.$t("buttons.REQUEST_DATA_EXPORT")),1)):v("",!0)])],34),E("div",cmt,[E("span",dmt,[D[7]||(D[7]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(w.$t("user.EXPORT_REQUEST.ONLY_ONE_EXPORT_PER_DAY")),1)]),T.value?(f(),g("div",Emt,[B(A(w.$t("user.EXPORT_REQUEST.DATA_EXPORT"))+" ("+A(m.value)+"): ",1),T.value.status==="successful"?(f(),g("span",{key:0,class:"archive-link",onClick:D[6]||(D[6]=Ne(he=>L(T.value.file_name),["prevent"]))},[D[8]||(D[8]=E("i",{class:"fa fa-download","aria-hidden":"true"},null,-1)),B(" "+A(w.$t("user.EXPORT_REQUEST.DOWNLOAD_ARCHIVE"))+" ("+A(p(Zu)(T.value.file_size))+") ",1)])):(f(),g("span",_mt,A(w.$t(`user.EXPORT_REQUEST.STATUS.${T.value.status}`)),1)),c.value?(f(),g("span",Tmt,[B(A(w.$t("user.EXPORT_REQUEST.GENERATING_LINK"))+" ",1),D[9]||(D[9]=E("i",{class:"fa fa-spinner fa-pulse","aria-hidden":"true"},null,-1))])):v("",!0)])):v("",!0)])])])}}}),mmt=ne(pmt,[["__scopeId","data-v-1d3ffb39"]]),fmt={id:"user-infos-edition"},Smt={class:"profile-form form-box"},Amt={class:"form-items",for:"registrationDate"},hmt=["value"],Omt={class:"form-items",for:"first_name"},Imt=["disabled"],Rmt={class:"form-items",for:"last_name"},Nmt={class:"form-items",for:"birth_date"},gmt=["disabled"],bmt={class:"form-items",for:"location"},Cmt=["disabled"],Pmt={class:"form-items"},Dmt={class:"form-buttons"},Lmt={class:"confirm",type:"submit"},vmt=Q({__name:"UserInfosEdition",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),s=ye(),{errorMessages:a}=Ge(),{authUserLoading:o}=Ye(),i=Lt({first_name:"",last_name:"",birth_date:"",location:"",bio:""}),r=F(()=>n.value.created_at?Ut(n.value.created_at,n.value.timezone,n.value.date_format):"");function u(_){i.first_name=_.first_name?_.first_name:"",i.last_name=_.last_name?_.last_name:"",i.birth_date=_.birth_date?hn(new Date(_.birth_date),"yyyy-MM-dd"):"",i.location=_.location?_.location:"",i.bio=_.bio?_.bio:""}function l(_){i.bio=_.value}function d(){s.dispatch(K.ACTIONS.UPDATE_USER_PROFILE,i)}return Et(()=>{n.value&&u(n.value)}),(_,c)=>{const T=j("ErrorMessage"),m=j("CustomTextArea");return f(),g("div",fmt,[E("div",Smt,[p(a)?(f(),G(T,{key:0,message:p(a)},null,8,["message"])):v("",!0),E("form",{onSubmit:Ne(d,["prevent"])},[E("label",Amt,[B(A(_.$t("user.PROFILE.REGISTRATION_DATE"))+" ",1),E("input",{id:"registrationDate",value:r.value,disabled:""},null,8,hmt)]),E("label",Omt,[B(A(_.$t("user.PROFILE.FIRST_NAME"))+" ",1),We(E("input",{id:"first_name","onUpdate:modelValue":c[0]||(c[0]=S=>i.first_name=S),disabled:p(o)},null,8,Imt),[[st,i.first_name]])]),E("label",Rmt,[B(A(_.$t("user.PROFILE.LAST_NAME"))+" ",1),We(E("input",{id:"last_name","onUpdate:modelValue":c[1]||(c[1]=S=>i.last_name=S)},null,512),[[st,i.last_name]])]),E("label",Nmt,[B(A(_.$t("user.PROFILE.BIRTH_DATE"))+" ",1),We(E("input",{id:"birth_date",type:"date",class:"birth-date","onUpdate:modelValue":c[2]||(c[2]=S=>i.birth_date=S),disabled:p(o)},null,8,gmt),[[st,i.birth_date]])]),E("label",bmt,[B(A(_.$t("user.PROFILE.LOCATION"))+" ",1),We(E("input",{id:"location","onUpdate:modelValue":c[3]||(c[3]=S=>i.location=S),disabled:p(o)},null,8,Cmt),[[st,i.location]])]),E("label",Pmt,[B(A(_.$t("user.PROFILE.BIO"))+" ",1),M(m,{name:"bio",charLimit:200,input:i.bio,disabled:p(o),onUpdateValue:l},null,8,["input","disabled"])]),E("div",Dmt,[E("button",Lmt,A(_.$t("buttons.SUBMIT")),1),E("button",{class:"cancel",onClick:c[4]||(c[4]=Ne(S=>_.$router.push("/profile"),["prevent"]))},A(_.$t("buttons.CANCEL")),1)])],32)])])}}}),ymt=ne(vmt,[["__scopeId","data-v-36ae33d7"]]),Umt={id:"user-notifications-edition"},$mt={class:"notifications-form form-box"},kmt={class:"checkboxes-label"},wmt={class:"checkboxes"},Mmt=["id","name","checked","disabled","onInput"],Wmt={class:"checkbox-label"},Fmt=["id","name","checked","disabled","onInput"],zmt={class:"checkbox-label"},Bmt={class:"form-buttons"},Gmt={class:"confirm",type:"submit"},xmt=Q({__name:"UserNotificationsEdition",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),s=ye(),{errorMessages:a}=Ge(),{authUserLoading:o}=Ye(),i=F(()=>$1(n.value.role)),r=Lt({account_creation:!0,comment_like:!0,follow:!0,follow_request:!0,follow_request_approved:!0,mention:!0,workout_comment:!0,workout_like:!0});function u(_){i.value.forEach(c=>{r[c]=c in _?_[c]:!0})}function l(_,c){r[_]=c}function d(){s.dispatch(K.ACTIONS.UPDATE_USER_NOTIFICATIONS_PREFERENCES,r)}return Et(()=>{n.value&&u(n.value.notification_preferences)}),(_,c)=>{const T=j("ErrorMessage");return f(),g("div",Umt,[E("div",$mt,[p(a)?(f(),G(T,{key:0,message:p(a)},null,8,["message"])):v("",!0),E("form",{onSubmit:Ne(d,["prevent"])},[(f(!0),g(ae,null,be(i.value,m=>(f(),g("div",{class:"form-items form-checkboxes",key:m},[E("span",kmt,A(Fe(_.$t(`user.PROFILE.NOTIFICATIONS.${m}`)))+": ",1),E("div",wmt,[E("label",null,[E("input",{type:"radio",id:m,name:m,checked:r[m],disabled:p(o),onInput:S=>l(m,!0)},null,40,Mmt),E("span",Wmt,A(_.$t("common.ENABLED")),1)]),E("label",null,[E("input",{type:"radio",id:m,name:m,checked:!r[m],disabled:p(o),onInput:S=>l(m,!1)},null,40,Fmt),E("span",zmt,A(_.$t("common.DISABLED")),1)])])]))),128)),E("div",Bmt,[E("button",Gmt,A(_.$t("buttons.SUBMIT")),1),E("button",{class:"cancel",onClick:c[0]||(c[0]=Ne(m=>_.$router.push("/profile/notifications"),["prevent"]))},A(_.$t("buttons.CANCEL")),1)])],32)])])}}}),Vmt=ne(xmt,[["__scopeId","data-v-4701d1fb"]]),Hmt={id:"user-picture-edition"},Kmt={class:"user-picture-form"},Ymt={class:"picture-help"},qmt={class:"info-box"},jmt={class:"picture-buttons"},Xmt=["disabled"],Qmt=Q({__name:"UserPictureEdition",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),s=ye(),{appConfig:a,errorMessages:o}=Ge(),i=Oe(null),r=F(()=>a.value.max_single_file_size?Zu(a.value.max_single_file_size):"");function u(){s.dispatch(K.ACTIONS.DELETE_PICTURE)}function l(_){_.target.files!==null&&(i.value=_.target.files[0])}function d(){i.value&&s.dispatch(K.ACTIONS.UPDATE_USER_PICTURE,{picture:i.value})}return(_,c)=>{const T=j("ErrorMessage");return f(),g("div",Hmt,[E("div",Kmt,[p(o)?(f(),G(T,{key:0,message:p(o)},null,8,["message"])):v("",!0),M(Ht,{user:p(n)},null,8,["user"]),E("form",{onSubmit:Ne(d,["prevent"])},[E("input",{type:"file",name:"picture",accept:".png,.jpg,.gif",onInput:l},null,32),E("div",Ymt,[E("span",qmt,[c[1]||(c[1]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(_.$t("workouts.MAX_SIZE"))+": "+A(r.value),1)])]),E("div",jmt,[E("button",{type:"submit",disabled:!i.value},A(_.$t("user.PROFILE.PICTURE_UPDATE")),9,Xmt),p(n).picture?(f(),g("button",{key:0,class:"danger",onClick:u},A(_.$t("user.PROFILE.PICTURE_REMOVE")),1)):v("",!0),E("button",{class:"cancel",onClick:c[0]||(c[0]=m=>_.$router.push("/profile"))},A(_.$t("user.PROFILE.BACK_TO_PROFILE")),1)])],32)])])}}}),Zmt=ne(Qmt,[["__scopeId","data-v-62f0dac1"]]),DS=["Africa/Abidjan","Africa/Accra","Africa/Algiers","Africa/Bissau","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/El_Aaiun","Africa/Johannesburg","Africa/Juba","Africa/Khartoum","Africa/Lagos","Africa/Maputo","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Asuncion","America/Atikokan","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Cayenne","America/Chicago","America/Chihuahua","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Fortaleza","America/Fort_Nelson","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Inuvik","America/Iqaluit","America/Jamaica","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/La_Paz","America/Lima","America/Los_Angeles","America/Maceio","America/Managua","America/Manaus","America/Martinique","America/Matamoros","America/Mazatlan","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Sitka","America/St_Johns","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/Palmer","Antarctica/Rothera","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Atyrau","Asia/Baghdad","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Chita","Asia/Choibalsan","Asia/Colombo","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kathmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Riyadh","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ulaanbaatar","Asia/Urumqi","Asia/Ust-Nera","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faroe","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/Stanley","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Currie","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/Perth","Australia/Sydney","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belgrade","Europe/Berlin","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Helsinki","Europe/Istanbul","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Lisbon","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Oslo","Europe/Paris","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/Saratov","Europe/Simferopol","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zaporozhye","Europe/Zurich","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Wake","Pacific/Wallis"],Jmt={id:"tz-dropdown"},eft=["value","disabled","aria-expanded"],tft=["aria-label"],nft=["id","onClick","onMouseover","autofocus"],sft=Q({__name:"TimezoneDropdown",props:{input:{},disabled:{type:Boolean,default:!1}},emits:["updateTimezone"],setup(e,{emit:t}){const n=e,{input:s,disabled:a}=pe(n),o=t,i=Oe(s.value),r=Oe(!1),u=Oe(0),l=F(()=>s.value?DS.filter(N=>d(N)):DS);function d(N){return N.toLowerCase().match(i.value.toLowerCase())}function _(N){u.value=N}function c(N){l.value.length>N&&(i.value=l.value[N],o("updateTimezone",i.value),r.value=!1)}function T(N){N.preventDefault(),l.value.length>0&&c(u.value)}function m(N){N.preventDefault(),r.value=!0,i.value=N.target.value.trim()}function S(){c(u.value)}function R(N){const b=document.getElementById(`tz-dropdown-item-${N}`);b&&(b.focus(),b.scrollIntoView({behavior:"smooth",block:"nearest"}))}function h(){r.value=!0,u.value=u.value===null?0:u.value+=1,u.value>=l.value.length&&(u.value=0),R(u.value)}function O(){r.value=!0,u.value=u.value===null?l.value.length-1:u.value-=1,u.value<=-1&&(u.value=l.value.length-1),R(u.value)}function I(){r.value&&(r.value=!1,i.value=s.value)}return Pe(()=>n.input,N=>{i.value=N}),(N,b)=>(f(),g("div",Jmt,[E("input",{class:"tz-dropdown-input",id:"timezone",name:"timezone",value:i.value,disabled:p(a),required:"",role:"combobox","aria-autocomplete":"list","aria-controls":"tz-dropdown-list","aria-expanded":r.value,onKeydown:[b[0]||(b[0]=Xe(P=>I(),["esc"])),Xe(T,["enter"]),b[2]||(b[2]=Xe(P=>h(),["down"])),b[3]||(b[3]=Xe(P=>O(),["up"]))],onInput:m,onBlur:b[1]||(b[1]=P=>S())},null,40,eft),r.value?(f(),g("ul",{key:0,class:"tz-dropdown-list",id:"tz-dropdown-list",role:"listbox",tabindex:"-1","aria-label":N.$t("user.PROFILE.TIMEZONE",0)},[(f(!0),g(ae,null,be(l.value,(P,C)=>(f(),g("li",{key:P,id:`tz-dropdown-item-${C}`,class:fe(["tz-dropdown-item",{focus:C===u.value}]),onClick:y=>c(C),onMouseover:y=>_(C),autofocus:C===u.value,role:"option"},A(P),43,nft))),128))],8,tft)):v("",!0)]))}}),aft=ne(sft,[["__scopeId","data-v-8adc4a59"]]),oft={id:"user-preferences-edition"},ift={class:"profile-form form-box"},rft={class:"preferences-section"},uft={class:"form-items"},lft=["disabled"],cft=["value"],dft={class:"form-items"},Eft=["disabled"],_ft=["value"],Tft={class:"form-items"},pft={class:"form-items"},mft=["disabled"],fft=["value"],Sft={class:"form-items form-checkboxes"},Aft={class:"checkboxes-label"},hft={class:"checkboxes"},Oft=["id","name","checked","disabled","onInput"],Ift={class:"checkbox-label"},Rft={class:"preferences-section"},Nft={class:"form-items form-checkboxes"},gft={class:"checkboxes-label"},bft={class:"checkboxes"},Cft=["id","name","checked","disabled","onInput"],Pft={class:"checkbox-label"},Dft={class:"form-items form-checkboxes"},Lft={class:"checkboxes-label"},vft={class:"checkboxes"},yft=["id","name","checked","disabled","onInput"],Uft={class:"checkbox-label"},$ft={class:"preferences-section"},kft={class:"form-items form-checkboxes"},wft={class:"checkboxes-label"},Mft={class:"checkboxes"},Wft=["id","name","checked","disabled","onInput"],Fft={class:"checkbox-label"},zft={class:"form-items form-checkboxes"},Bft={class:"checkboxes-label"},Gft={class:"checkboxes"},xft=["id","name","checked","disabled","onInput"],Vft={class:"checkbox-label"},Hft={class:"form-items form-checkboxes"},Kft={class:"checkboxes-label"},Yft={class:"checkboxes"},qft=["id","name","checked","disabled","onInput"],jft={class:"checkbox-label"},Xft={class:"form-items form-checkboxes"},Qft={class:"checkboxes-label"},Zft={class:"checkboxes"},Jft=["id","name","checked","disabled","onInput"],eSt={class:"checkbox-label"},tSt={class:"info-box raw-speed-help"},nSt={class:"form-items"},sSt=["disabled"],aSt=["value"],oSt={class:"form-items"},iSt=["disabled"],rSt=["value"],uSt={class:"form-items"},lSt=["disabled"],cSt=["value"],dSt={class:"form-buttons"},ESt={class:"confirm",type:"submit"},_St=Q({__name:"UserPreferencesEdition",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),s=ye(),{errorMessages:a}=Ge(),{authUserLoading:o}=Ye(),i=[{label:"SUNDAY",value:!1},{label:"MONDAY",value:!0}],r=[{label:"METRIC",value:!1},{label:"IMPERIAL",value:!0}],u=[{label:"DISPLAYED",value:!0},{label:"HIDDEN",value:!1}],l=[{label:"ZERO",value:!0},{label:"MIN_ALT",value:!1}],d=[{label:"FILTERED_SPEED",value:!1},{label:"RAW_SPEED",value:!0}],_=[{label:"DARK",value:!0},{label:"DEFAULT",value:null},{label:"LIGHT",value:!1}],c=[{label:"MANUALLY",value:!0},{label:"AUTOMATICALLY",value:!1}],T=[{label:"HIDDEN",value:!0},{label:"DISPLAYED",value:!1}],m=Lt({analysis_visibility:"private",date_format:"dd/MM/yyyy",display_ascent:!0,hide_profile_in_users_directory:!0,imperial_units:!1,language:"en",manually_approves_followers:!0,map_visibility:"private",start_elevation_at_zero:!1,timezone:"Europe/Paris",use_dark_mode:!1,use_raw_gpx_speed:!1,weekm:!1,workouts_visibility:"private"}),S=F(()=>Qet(new Date().toUTCString(),n.value.timezone,m.language)),R=F(()=>$_()),h=F(()=>Qu(m.workouts_visibility)),O=F(()=>Qu(m.analysis_visibility));function I(y){m.analysis_visibility=y.analysis_visibility?y.analysis_visibility:"private",m.display_ascent=y.display_ascent,m.start_elevation_at_zero=y.start_elevation_at_zero?y.start_elevation_at_zero:!1,m.use_raw_gpx_speed=y.use_raw_gpx_speed?y.use_raw_gpx_speed:!1,m.imperial_units=y.imperial_units?y.imperial_units:!1,m.language=y.language&&y.language in fo?y.language:"en",m.manually_approves_followers="manually_approves_followers"in y?y.manually_approves_followers:!0,m.map_visibility=y.map_visibility?y.map_visibility:"private",m.timezone=y.timezone?y.timezone:"Europe/Paris",m.date_format=y.date_format?y.date_format:"dd/MM/yyyy",m.weekm=y.weekm?y.weekm:!1,m.use_dark_mode=y.use_dark_mode,m.workouts_visibility=y.workouts_visibility?y.workouts_visibility:"private",m.hide_profile_in_users_directory=y.hide_profile_in_users_directory}function N(){s.dispatch(K.ACTIONS.UPDATE_USER_PREFERENCES,m)}function b(y,L){m[y]=L}function P(){m.analysis_visibility=Xu(m.analysis_visibility,m.workouts_visibility),C()}function C(){m.map_visibility=Xu(m.map_visibility,m.analysis_visibility)}return Et(()=>{n.value&&I(n.value)}),(y,L)=>{const w=j("ErrorMessage");return f(),g("div",oft,[E("div",ift,[p(a)?(f(),G(w,{key:0,message:p(a)},null,8,["message"])):v("",!0),E("form",{onSubmit:Ne(N,["prevent"])},[E("div",rft,A(y.$t("user.PROFILE.INTERFACE")),1),E("label",uft,[B(A(y.$t("user.PROFILE.LANGUAGE"))+" ",1),We(E("select",{id:"language","onUpdate:modelValue":L[0]||(L[0]=D=>m.language=D),disabled:p(o)},[(f(!0),g(ae,null,be(p(sE),D=>(f(),g("option",{value:D.value,key:D.value},A(D.label),9,cft))),128))],8,lft),[[jt,m.language]])]),E("label",dft,[B(A(y.$t("user.PROFILE.THEME_MODE.LABEL"))+" ",1),We(E("select",{id:"use_dark_mode","onUpdate:modelValue":L[1]||(L[1]=D=>m.use_dark_mode=D),disabled:p(o)},[(f(),g(ae,null,be(_,D=>E("option",{value:D.value,key:D.label},A(y.$t(`user.PROFILE.THEME_MODE.VALUES.${D.label}`)),9,_ft)),64))],8,Eft),[[jt,m.use_dark_mode]])]),E("label",Tft,[B(A(y.$t("user.PROFILE.TIMEZONE"))+" ",1),M(aft,{input:m.timezone,disabled:p(o),onUpdateTimezone:L[2]||(L[2]=D=>b("timezone",D))},null,8,["input","disabled"])]),E("label",pft,[B(A(y.$t("user.PROFILE.DATE_FORMAT"))+" ",1),We(E("select",{id:"date_format","onUpdate:modelValue":L[3]||(L[3]=D=>m.date_format=D),disabled:p(o)},[(f(!0),g(ae,null,be(S.value,D=>(f(),g("option",{value:D.value,key:D.value},A(D.label),9,fft))),128))],8,mft),[[jt,m.date_format]])]),E("div",Sft,[E("span",Aft,A(y.$t("user.PROFILE.FIRST_DAY_OF_WEEK")),1),E("div",hft,[(f(),g(ae,null,be(i,D=>E("label",{key:D.label},[E("input",{type:"radio",id:D.label,name:D.label,checked:D.value===m.weekm,disabled:p(o),onInput:W=>b("weekm",D.value)},null,40,Oft),E("span",Ift,A(y.$t(`user.PROFILE.${D.label}`)),1)])),64))])]),E("div",Rft,A(y.$t("user.PROFILE.TABS.ACCOUNT")),1),E("div",Nft,[E("span",gft,A(y.$t("user.PROFILE.FOLLOW_REQUESTS_APPROVAL.LABEL")),1),E("div",bft,[(f(),g(ae,null,be(c,D=>E("label",{key:D.label},[E("input",{type:"radio",id:D.label,name:D.label,checked:D.value===m.manually_approves_followers,disabled:p(o),onInput:W=>b("manually_approves_followers",D.value)},null,40,Cft),E("span",Pft,A(y.$t(`user.PROFILE.FOLLOW_REQUESTS_APPROVAL.${D.label}`)),1)])),64))])]),E("div",Dft,[E("span",Lft,A(y.$t("user.PROFILE.PROFILE_IN_USERS_DIRECTORY.LABEL")),1),E("div",vft,[(f(),g(ae,null,be(T,D=>E("label",{key:D.label},[E("input",{type:"radio",id:`hide_profile_${D.label}`,name:`hide_profile_${D.label}`,checked:D.value===m.hide_profile_in_users_directory,disabled:p(o),onInput:W=>b("hide_profile_in_users_directory",D.value)},null,40,yft),E("span",Uft,A(y.$t(`user.PROFILE.PROFILE_IN_USERS_DIRECTORY.${D.label}`)),1)])),64))])]),E("div",$ft,A(y.$t("workouts.WORKOUT",0)),1),E("div",kft,[E("span",wft,A(y.$t("user.PROFILE.UNITS.LABEL")),1),E("div",Mft,[(f(),g(ae,null,be(r,D=>E("label",{key:D.label},[E("input",{type:"radio",id:D.label,name:D.label,checked:D.value===m.imperial_units,disabled:p(o),onInput:W=>b("imperial_units",D.value)},null,40,Wft),E("span",Fft,A(y.$t(`user.PROFILE.UNITS.${D.label}`)),1)])),64))])]),E("div",zft,[E("span",Bft,A(y.$t("user.PROFILE.ASCENT_DATA")),1),E("div",Gft,[(f(),g(ae,null,be(u,D=>E("label",{key:D.label},[E("input",{type:"radio",id:D.label,name:D.label,checked:D.value===m.display_ascent,disabled:p(o),onInput:W=>b("display_ascent",D.value)},null,40,xft),E("span",Vft,A(y.$t(`common.${D.label}`)),1)])),64))])]),E("div",Hft,[E("span",Kft,A(y.$t("user.PROFILE.ELEVATION_CHART_START.LABEL")),1),E("div",Yft,[(f(),g(ae,null,be(l,D=>E("label",{key:D.label},[E("input",{type:"radio",id:D.label,name:D.label,checked:D.value===m.start_elevation_at_zero,disabled:p(o),onInput:W=>b("start_elevation_at_zero",D.value)},null,40,qft),E("span",jft,A(y.$t(`user.PROFILE.ELEVATION_CHART_START.${D.label}`)),1)])),64))])]),E("div",Xft,[E("span",Qft,A(y.$t("user.PROFILE.USE_RAW_GPX_SPEED.LABEL")),1),E("div",Zft,[(f(),g(ae,null,be(d,D=>E("label",{key:D.label},[E("input",{type:"radio",id:D.label,name:D.label,checked:D.value===m.use_raw_gpx_speed,disabled:p(o),onInput:W=>b("use_raw_gpx_speed",D.value)},null,40,Jft),E("span",eSt,A(y.$t(`user.PROFILE.USE_RAW_GPX_SPEED.${D.label}`)),1)])),64))]),E("div",tSt,[E("span",null,[L[8]||(L[8]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(y.$t("user.PROFILE.USE_RAW_GPX_SPEED.HELP")),1)])])]),E("label",nSt,[B(A(y.$t("visibility_levels.WORKOUTS_VISIBILITY"))+" ",1),We(E("select",{id:"workouts_visibility","onUpdate:modelValue":L[4]||(L[4]=D=>m.workouts_visibility=D),disabled:p(o),onChange:P},[(f(!0),g(ae,null,be(R.value,D=>(f(),g("option",{value:D,key:D},A(y.$t(`visibility_levels.LEVELS.${D}`)),9,aSt))),128))],40,sSt),[[jt,m.workouts_visibility]])]),E("label",oSt,[B(A(y.$t("visibility_levels.ANALYSIS_VISIBILITY"))+" ",1),We(E("select",{id:"analysis_visibility","onUpdate:modelValue":L[5]||(L[5]=D=>m.analysis_visibility=D),disabled:p(o),onChange:C},[(f(!0),g(ae,null,be(h.value,D=>(f(),g("option",{value:D,key:D},A(y.$t(`visibility_levels.LEVELS.${D}`)),9,rSt))),128))],40,iSt),[[jt,m.analysis_visibility]])]),E("label",uSt,[B(A(y.$t("visibility_levels.MAP_VISIBILITY"))+" ",1),We(E("select",{id:"map_visibility","onUpdate:modelValue":L[6]||(L[6]=D=>m.map_visibility=D),disabled:p(o)},[(f(!0),g(ae,null,be(O.value,D=>(f(),g("option",{value:D,key:D},A(y.$t(`visibility_levels.LEVELS.${D}`)),9,cSt))),128))],8,lSt),[[jt,m.map_visibility]])]),E("div",dSt,[E("button",ESt,A(y.$t("buttons.SUBMIT")),1),E("button",{class:"cancel",onClick:L[7]||(L[7]=Ne(D=>y.$router.push("/profile/preferences"),["prevent"]))},A(y.$t("buttons.CANCEL")),1)])],32)])])}}}),TSt=ne(_St,[["__scopeId","data-v-5ce5e58d"]]),pSt={class:"privacy-policy-text"},mSt={class:"last-update"},fSt=["innerHTML"],SSt=["innerHTML"],ASt=Q({__name:"PrivacyPolicy",setup(e){const{appConfig:t}=Ge(),{dateFormat:n,timezone:s}=Ye(),a=["DATA_COLLECTED","INFORMATION_USAGE","INFORMATION_PROTECTION","INFORMATION_DISCLOSURE","SITE_USAGE_BY_CHILDREN","YOUR_CONSENT","ACCOUNT_DELETION","CHANGES_TO_OUR_PRIVACY_POLICY"],o=F(()=>i());function i(){return Ut(t.value.privacy_policy_date,s.value,n.value,!1)}return(r,u)=>(f(),g("div",pSt,[E("h1",null,A(Fe(r.$t("privacy_policy.TITLE"))),1),E("p",mSt,[B(A(r.$t("privacy_policy.LAST_UPDATE"))+": ",1),E("time",null,A(o.value),1)]),p(t).privacy_policy?(f(),g("div",{key:0,innerHTML:p(Vi)(p(t).privacy_policy)},null,8,fSt)):(f(),g(ae,{key:1},be(a,l=>(f(),g(ae,{key:l},[E("h2",null,A(r.$t(`privacy_policy.CONTENT.${l}.TITLE`)),1),E("p",{innerHTML:p(Vi)(r.$t(`privacy_policy.CONTENT.${l}.CONTENT`))},null,8,SSt)],64))),64))]))}}),X1=ne(ASt,[["__scopeId","data-v-b4f970e9"]]),hSt={id:"user-privacy-policy"},OSt={key:1},ISt={class:"policy-content"},RSt={for:"accepted_policy",class:"accepted_policy"},NSt={class:"form-buttons"},gSt={class:"confirm",type:"submit"},bSt=Q({__name:"UserPrivacyPolicyValidation",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),s=ye(),{errorMessages:a}=Ge(),o=Oe(!1),i=Oe(!1);function r(){s.dispatch(K.ACTIONS.ACCEPT_PRIVACY_POLICY,o.value)}function u(){i.value=!0}return(l,d)=>{const _=j("ErrorMessage"),c=j("router-link"),T=j("i18n-t");return f(),g("div",hSt,[p(a)?(f(),G(_,{key:0,message:p(a)},null,8,["message"])):v("",!0),p(n).accepted_privacy_policy?(f(),g("div",OSt,[E("p",null,[M(T,{keypath:"user.YOU_HAVE_ACCEPTED_PRIVACY_POLICY"},{default:X(()=>[M(c,{to:"/privacy-policy"},{default:X(()=>[B(A(l.$t("privacy_policy.TITLE")),1)]),_:1})]),_:1})]),E("button",{class:"cancel",onClick:d[0]||(d[0]=m=>l.$router.push("/profile"))},A(l.$t("user.PROFILE.BACK_TO_PROFILE")),1)])):(f(),g("form",{key:2,class:fe({errors:i.value}),onSubmit:d[3]||(d[3]=Ne(m=>r(),["prevent"]))},[E("div",ISt,[M(X1)]),E("label",RSt,[We(E("input",{type:"checkbox",id:"accepted_policy",required:"","onUpdate:modelValue":d[1]||(d[1]=m=>o.value=m),onInvalid:u},null,544),[[El,o.value]]),E("span",null,[M(T,{keypath:"user.READ_AND_ACCEPT_PRIVACY_POLICY"},{default:X(()=>[B(A(l.$t("privacy_policy.TITLE")),1)]),_:1})])]),M(c,{to:"/profile/edit/account"},{default:X(()=>[B(A(l.$t("user.I_WANT_TO_DELETE_MY_ACCOUNT")),1)]),_:1}),E("div",NSt,[E("button",gSt,A(l.$t("buttons.SUBMIT")),1),E("button",{class:"cancel",onClick:d[2]||(d[2]=m=>l.$router.push("/profile"))},A(l.$t("user.PROFILE.BACK_TO_PROFILE")),1)])],34))])}}}),CSt=ne(bSt,[["__scopeId","data-v-eb3ea2a3"]]),PSt={key:0},DSt={key:1},LSt={key:2},vSt={class:"no-suspension"},ySt=Q({__name:"UserAccountSuspension",setup(e){const t=ye(),{authUserLoading:n,authUserSuccess:s}=Ye(),a=Oe(""),o=F(()=>t.getters[K.GETTERS.ACCOUNT_SUSPENSION]);function i(){t.dispatch(K.ACTIONS.GET_ACCOUNT_SUSPENSION)}function r(u){a.value=u,t.dispatch(K.ACTIONS.APPEAL,{actionId:o.value.id,actionType:"user_suspension",text:u})}return Et(()=>i()),ut(()=>{t.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),t.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!1)}),(u,l)=>{const d=j("Loader");return p(n)&&!a.value?(f(),g("div",PSt,[M(d)])):o.value.id?(f(),g("div",DSt,[E("div",null,A(u.$t("user.YOUR_ACCOUNT_HAS_BEEN_SUSPENDED"))+".",1),M(Pl,{"report-action":o.value,success:p(s),loading:p(n),onSubmitForm:r},{additionalButtons:X(()=>[E("button",{onClick:l[0]||(l[0]=_=>u.$router.push("/profile"))},A(u.$t("user.PROFILE.BACK_TO_PROFILE")),1)]),_:1},8,["report-action","success","loading"])])):(f(),g("div",LSt,[E("div",vSt,A(u.$t("user.ACTIVE_ACCOUNT")),1),E("button",{onClick:l[1]||(l[1]=_=>u.$router.push("/profile"))},A(u.$t("user.PROFILE.BACK_TO_PROFILE")),1)]))}}}),USt=ne(ySt,[["__scopeId","data-v-16a3b9da"]]),$St=["equipments:read","equipments:write","follow:read","follow:write","notifications:read","notifications:write","profile:read","profile:write","reports:read","reports:write","users:read","users:write","workouts:read","workouts:write"],kSt=["application:write"],wSt={id:"new-oauth2-app"},MSt={id:"new-oauth2-title"},WSt={id:"apps-form"},FSt={class:"form-items"},zSt={class:"form-item"},BSt={for:"app-name"},GSt={class:"form-item"},xSt={for:"app-description"},VSt={class:"form-item"},HSt={for:"app-url"},KSt={class:"form-item"},YSt={for:"app-redirect-uri"},qSt={class:"form-item-scope"},jSt={class:"form-item-scope-label"},XSt={class:"scope-label"},QSt=["name","checked","onChange"],ZSt=["innerHTML"],JSt={class:"form-buttons"},eAt=["disabled"],tAt=Q({__name:"AddUserApp",setup(e){const t=ye(),{errorMessages:n}=Ge(),{authUserHasAdminRights:s}=Ye(),a=Lt({client_name:"",client_uri:"",client_description:"",description:"",redirect_uri:""}),o=Lt([]),i=F(()=>d(s.value,kSt,$St));function r(){const _={client_name:a.client_name,client_description:a.client_description,client_uri:a.client_uri,redirect_uris:[a.redirect_uri],scope:o.sort().join(" ")};t.dispatch(nt.ACTIONS.CREATE_CLIENT,_)}function u(_){a.client_description=_.value}function l(_){const c=o.indexOf(_);c>-1?o.splice(c,1):o.push(_)}function d(_,c,T){const m=[...T];return _&&m.push(...c),m.sort()}return(_,c)=>{const T=j("CustomTextArea"),m=j("ErrorMessage");return f(),g("div",wSt,[E("h1",MSt,A(_.$t("oauth2.ADD_A_NEW_APP")),1),E("div",WSt,[E("form",{onSubmit:Ne(r,["prevent"])},[E("div",FSt,[E("div",zSt,[E("label",BSt,A(_.$t("oauth2.APP.NAME"))+"*",1),We(E("input",{id:"app-name",type:"text",required:"","onUpdate:modelValue":c[0]||(c[0]=S=>a.client_name=S)},null,512),[[st,a.client_name]])]),E("div",GSt,[E("label",xSt,A(_.$t("oauth2.APP.DESCRIPTION")),1),M(T,{name:"app-description",charLimit:200,input:a.description,onUpdateValue:u},null,8,["input"])]),E("div",VSt,[E("label",HSt,A(_.$t("oauth2.APP.URL"))+"*",1),We(E("input",{id:"app-url",type:"text",required:"","onUpdate:modelValue":c[1]||(c[1]=S=>a.client_uri=S)},null,512),[[st,a.client_uri]])]),E("div",KSt,[E("label",YSt,A(_.$t("oauth2.APP.REDIRECT_URL"))+"* ",1),We(E("input",{id:"app-redirect-uri",type:"text",required:"","onUpdate:modelValue":c[2]||(c[2]=S=>a.redirect_uri=S)},null,512),[[st,a.redirect_uri]])]),E("div",qSt,[E("div",jSt,A(_.$t("oauth2.APP.SCOPE.LABEL"))+"* ",1),(f(!0),g(ae,null,be(i.value,S=>(f(),g("div",{class:"form-item-scope-checkboxes",key:S},[E("label",XSt,[E("input",{type:"checkbox",name:S,checked:o.includes(S),onChange:R=>l(S)},null,40,QSt),E("code",null,A(S),1)]),E("p",{class:"scope-description",innerHTML:_.$t(`oauth2.APP.SCOPE.${S}_DESCRIPTION`)},null,8,ZSt)]))),128))])]),p(n)?(f(),G(m,{key:0,message:p(n)},null,8,["message"])):v("",!0),E("div",JSt,[E("button",{class:"confirm",type:"submit",disabled:o.length===0},A(_.$t("buttons.SUBMIT")),9,eAt),E("button",{class:"cancel",onClick:c[3]||(c[3]=Ne(()=>_.$router.push("/profile/apps"),["prevent"]))},A(_.$t("buttons.CANCEL")),1)])],32)])])}}}),nAt=ne(tAt,[["__scopeId","data-v-6390afb0"]]),sAt={id:"authorize-oauth2-app"},aAt={key:0},oAt={id:"authorize-oauth2-title"},iAt={class:"oauth2-access description-list"},rAt={class:"client-scope"},uAt=["innerHTML"],lAt={class:"authorize-oauth2-buttons"},cAt={key:1},dAt={class:"no-app"},EAt=Q({__name:"AuthorizeUserApp",setup(e){const t=at(),n=ye(),{errorMessages:s}=Ge(),a=F(()=>n.getters[nt.GETTERS.CLIENT]);function o(){t.query.client_id&&typeof t.query.client_id=="string"&&n.dispatch(nt.ACTIONS.GET_CLIENT_BY_CLIENT_ID,t.query.client_id)}function i(){n.dispatch(nt.ACTIONS.AUTHORIZE_CLIENT,{client_id:`${t.query.client_id}`,redirect_uri:`${t.query.redirect_uri}`,response_type:`${t.query.response_type}`,scope:`${t.query.scope}`,state:`${t.query.state?t.query.state:""}`,code_challenge:`${t.query.code_challenge?t.query.code_challenge:""}`,code_challenge_method:`${t.query.code_challenge_method?t.query.code_challenge_method:""}`})}return Ze(()=>o()),(r,u)=>{const l=j("router-link"),d=j("i18n-t"),_=j("ErrorMessage");return f(),g("div",sAt,[a.value.client_id?(f(),g("div",aAt,[E("h1",oAt,[M(d,{keypath:"oauth2.AUTHORIZE_APP"},{default:X(()=>[M(l,{to:{name:"UserApp",params:{id:a.value.id}}},{default:X(()=>[B(A(a.value.name),1)]),_:1},8,["to"])]),_:1})]),p(s)?(f(),G(_,{key:0,message:p(s)},null,8,["message"])):v("",!0),E("div",iAt,[E("p",null,A(r.$t("oauth2.APP_REQUESTING_ACCESS")),1),E("dl",null,[(f(!0),g(ae,null,be(a.value.scope.split(" "),c=>(f(),g(ae,{key:c},[E("dt",rAt,[E("code",null,A(c),1)]),E("dd",{innerHTML:r.$t(`oauth2.APP.SCOPE.${c}_DESCRIPTION`)},null,8,uAt)],64))),128))]),E("div",lAt,[E("button",{class:"danger",onClick:i},A(r.$t("buttons.AUTHORIZE")),1),E("button",{class:"cancel",onClick:u[0]||(u[0]=c=>r.$router.push("/profile/apps"))},A(r.$t("buttons.CANCEL")),1)])])])):(f(),g("div",cAt,[E("p",dAt,A(r.$t("oauth2.NO_APP")),1),E("button",{onClick:u[1]||(u[1]=c=>r.$router.push("/profile/apps"))},A(r.$t("buttons.BACK")),1)]))])}}}),_At=ne(EAt,[["__scopeId","data-v-173deb39"]]),TAt={id:"oauth2-apps"},pAt=Q({__name:"index",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),s=ye();return ut(()=>{s.commit(nt.MUTATIONS.SET_CLIENTS,[])}),(a,o)=>{const i=j("router-view");return f(),g("div",TAt,[M(i,{authUser:p(n)},null,8,["authUser"])])}}}),mAt={id:"oauth2-app",class:"description-list"},fAt={key:1},SAt={key:0,class:"info-box success-message"},AAt=["title"],hAt={key:0},OAt={key:1,class:"app-secret"},IAt=["title"],RAt={class:"client-scopes"},NAt={class:"app-buttons"},gAt={key:2},bAt={class:"no-app"},CAt=Q({__name:"UserApp",props:{authUser:{},afterCreation:{type:Boolean,default:!1}},setup(e){const t=e,{afterCreation:n,authUser:s}=pe(t),a=at(),o=ye(),i=Oe(!1),r=Oe(""),u=Oe(!1),l=Oe(!1),d=Oe(!1),_=F(()=>o.getters[nt.GETTERS.CLIENT]),c=F(()=>o.getters[nt.GETTERS.REVOCATION_SUCCESSFUL]);function T(){!n.value&&a.params.id&&typeof a.params.id=="string"&&o.dispatch(nt.ACTIONS.GET_CLIENT_BY_ID,+a.params.id)}function m(I){r.value=I?"oauth2.APP_DELETION_CONFIRMATION":"oauth2.TOKENS_REVOCATION_CONFIRMATION",S(!0)}function S(I){i.value=I,I||(r.value="")}function R(I){r.value==="oauth2.APP_DELETION_CONFIRMATION"?o.dispatch(nt.ACTIONS.DELETE_CLIENT,I):o.dispatch(nt.ACTIONS.REVOKE_ALL_TOKENS,I)}function h(){navigator.clipboard.writeText(_.value.client_id),u.value=!0,l.value=!1,setTimeout(()=>{u.value=!1},3e3)}function O(){_.value.client_secret&&(navigator.clipboard.writeText(_.value.client_secret),l.value=!0,u.value=!1,setTimeout(()=>{l.value=!1},3e3))}return Pe(()=>c.value,I=>{I&&S(!1)}),Ze(()=>{T(),navigator.clipboard&&(d.value=!0)}),ut(()=>{o.commit(nt.MUTATIONS.EMPTY_CLIENT),o.commit(nt.MUTATIONS.SET_REVOCATION_SUCCESSFUL,!1)}),(I,N)=>{const b=j("Modal");return f(),g("div",mAt,[i.value?(f(),G(b,{key:0,title:I.$t("common.CONFIRMATION"),message:I.$t(r.value),onConfirmAction:N[0]||(N[0]=P=>R(_.value.id)),onCancelAction:N[1]||(N[1]=P=>S(!1)),onKeydown:N[2]||(N[2]=Xe(P=>S(!1),["esc"]))},null,8,["title","message"])):v("",!0),_.value&&_.value.client_id?(f(),g("div",fAt,[p(n)||c.value?(f(),g("div",SAt,A(I.$t(p(n)?"oauth2.APP_CREATED_SUCCESSFULLY":"oauth2.TOKENS_REVOKED")),1)):v("",!0),E("dl",null,[E("dt",null,A(I.$t("oauth2.APP.CLIENT_ID"))+":",1),E("dd",null,[B(A(_.value.client_id)+" ",1),p(n)&&d.value?(f(),g("i",{key:0,class:fe(`fa fa-${u.value?"check":"copy"}`),"aria-hidden":"true",title:I.$t("oauth2.COPY_TO_CLIPBOARD"),onClick:h},null,10,AAt)):v("",!0)]),p(n)&&_.value.client_secret?(f(),g("dt",hAt,A(I.$t("oauth2.APP.CLIENT_SECRET"))+": ",1)):v("",!0),p(n)&&_.value.client_secret?(f(),g("dd",OAt,[B(A(_.value.client_secret)+" ",1),d.value?(f(),g("i",{key:0,class:fe(`fa fa-${l.value?"check":"copy"}`),"aria-hidden":"true",title:I.$t("oauth2.COPY_TO_CLIPBOARD"),onClick:O},null,10,IAt)):v("",!0)])):v("",!0),E("dt",null,A(Fe(I.$t("oauth2.APP.ISSUE_AT")))+":",1),E("dd",null,[E("time",null,A(p(Ut)(_.value.issued_at,p(s).timezone,p(s).date_format)),1)]),E("dt",null,A(I.$t("oauth2.APP.NAME"))+":",1),E("dd",null,A(_.value.name),1),E("dt",null,A(I.$t("oauth2.APP.DESCRIPTION"))+":",1),E("dd",{class:fe({"no-description":!_.value.client_description})},A(_.value.client_description?_.value.client_description:I.$t("common.NO_DESCRIPTION")),3),E("dt",null,A(I.$t("oauth2.APP.URL"))+":",1),E("dd",null,A(_.value.website),1),E("dt",null,A(I.$t("oauth2.APP.REDIRECT_URL"))+":",1),E("dd",null,A(_.value.redirect_uris.length>0?_.value.redirect_uris[0]:""),1),E("dt",null,A(I.$t("oauth2.APP.SCOPE.LABEL"))+":",1),E("dd",RAt,[(f(!0),g(ae,null,be(_.value.scope.split(" "),P=>(f(),g("span",{class:"client-scope",key:P},[E("code",null,A(P),1)]))),128))])]),E("div",NAt,[E("button",{class:"danger",onClick:N[3]||(N[3]=P=>m(!1))},A(I.$t("oauth2.REVOKE_ALL_TOKENS")),1),E("button",{class:"danger",onClick:N[4]||(N[4]=P=>m(!0))},A(I.$t("oauth2.DELETE_APP")),1),E("button",{onClick:N[5]||(N[5]=P=>I.$router.push("/profile/apps"))},A(I.$t("buttons.BACK")),1)])])):(f(),g("div",gAt,[E("p",bAt,A(I.$t("oauth2.NO_APP")),1),E("button",{onClick:N[6]||(N[6]=P=>I.$router.push("/profile/apps"))},A(I.$t("buttons.BACK")),1)]))])}}}),LS=ne(CAt,[["__scopeId","data-v-b4f3ae2a"]]),PAt={id:"oauth2-apps-list"},DAt={class:"apps-list"},LAt={key:0},vAt={class:"app-issued-at"},yAt={key:1,class:"no-apps"},UAt={class:"app-list-buttons"},$At=Q({__name:"UserAppsList",props:{authUser:{}},setup(e){const t=e,{authUser:n}=pe(t),s=ye(),a=at();let o=u(a.query);const i=F(()=>s.getters[nt.GETTERS.CLIENTS]),r=F(()=>s.getters[nt.GETTERS.CLIENTS_PAGINATION]);function u(d){const _={};return d.page&&(_.page=Do(d.page,cr)),_}function l(d){s.dispatch(nt.ACTIONS.GET_CLIENTS,d)}return Pe(()=>a.query,async d=>{o=u(d),l(o)}),Ze(()=>{l(o)}),(d,_)=>{const c=j("router-link");return f(),g("div",PAt,[E("h1",DAt,A(d.$t("oauth2.APPS_LIST")),1),i.value.length>0?(f(),g("ul",LAt,[(f(!0),g(ae,null,be(i.value,T=>(f(),g("li",{key:T.client_id},[M(c,{to:{name:"UserApp",params:{id:T.id}}},{default:X(()=>[B(A(T.name),1)]),_:2},1032,["to"]),E("span",vAt,[B(A(d.$t("oauth2.APP.ISSUE_AT"))+" ",1),E("time",null,A(p(Ut)(T.issued_at,p(n).timezone,p(n).date_format)),1)])]))),128))])):(f(),g("div",yAt,A(d.$t("oauth2.NO_APPS")),1)),i.value.length>0?(f(),G(Zn,{key:2,pagination:r.value,path:"/profile/apps",query:p(o)},null,8,["pagination","query"])):v("",!0),E("div",UAt,[p(n).suspended_at?v("",!0):(f(),g("button",{key:0,onClick:_[0]||(_[0]=T=>d.$router.push("/profile/apps/new"))},A(d.$t("oauth2.NEW_APP")),1)),E("button",{onClick:_[1]||(_[1]=T=>d.$router.push("/"))},A(d.$t("common.HOME")),1)])])}}}),kAt=ne($At,[["__scopeId","data-v-2ba68d9c"]]);function cd(e){return e===0?!1:Array.isArray(e)&&e.length===0?!0:!e}function wAt(e){return(...t)=>!e(...t)}function MAt(e,t){return e===void 0&&(e="undefined"),e===null&&(e="null"),e===!1&&(e="false"),e.toString().toLowerCase().indexOf(t.trim())!==-1}function WAt(e){return e.filter(t=>!t.$isLabel)}function dd(e,t){return n=>n.reduce((s,a)=>a[e]&&a[e].length?(s.push({$groupLabel:a[t],$isLabel:!0}),s.concat(a[e])):s,[])}const vS=(...e)=>t=>e.reduce((n,s)=>s(n),t);var FAt={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(e,t){return cd(e)?"":t?e[t]:e}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1},filteringSortFunc:{type:Function,default:null}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||this.modelValue===0?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const e=this.search||"",t=e.toLowerCase().trim();let n=this.options.concat();return this.internalSearch?n=this.groupValues?this.filterAndFlat(n,t,this.label):this.filterOptions(n,t,this.label,this.customLabel):n=this.groupValues?dd(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(wAt(this.isSelected)):n,this.taggable&&t.length&&!this.isExistingOption(t)&&(this.tagPosition==="bottom"?n.push({isTag:!0,label:e}):n.unshift({isTag:!0,label:e})),n.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(e=>e[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(t=>this.customLabel(t,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:this.internalValue.length===0?null:this.internalValue[0]},filterAndFlat(e,t,n){return vS(this.filterGroups(t,n,this.groupValues,this.groupLabel,this.customLabel),dd(this.groupValues,this.groupLabel))(e)},flatAndStrip(e){return vS(dd(this.groupValues,this.groupLabel),WAt)(e)},updateSearch(e){this.search=e},isExistingOption(e){return this.options?this.optionKeys.indexOf(e)>-1:!1},isSelected(e){const t=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(t)>-1},isOptionDisabled(e){return!!e.$isDisabled},getOptionLabel(e){if(cd(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;const t=this.customLabel(e,this.label);return cd(t)?"":t},select(e,t){if(e.$isLabel&&this.groupSelect){this.selectGroup(e);return}if(!(this.blockKeys.indexOf(t)!==-1||this.disabled||e.$isDisabled||e.$isLabel)&&!(this.max&&this.multiple&&this.internalValue.length===this.max)&&!(t==="Tab"&&!this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(e)){t!=="Tab"&&this.removeElement(e);return}this.multiple?this.$emit("update:modelValue",this.internalValue.concat([e])):this.$emit("update:modelValue",e),this.$emit("select",e,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(e){const t=this.options.find(n=>n[this.groupLabel]===e.$groupLabel);if(t){if(this.wholeGroupSelected(t)){this.$emit("remove",t[this.groupValues],this.id);const n=this.trackBy?t[this.groupValues].map(a=>a[this.trackBy]):t[this.groupValues],s=this.internalValue.filter(a=>n.indexOf(this.trackBy?a[this.trackBy]:a)===-1);this.$emit("update:modelValue",s)}else{const n=t[this.groupValues].filter(s=>!(this.isOptionDisabled(s)||this.isSelected(s)));this.max&&n.splice(this.max-this.internalValue.length),this.$emit("select",n,this.id),this.$emit("update:modelValue",this.internalValue.concat(n))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(e){return e[this.groupValues].every(t=>this.isSelected(t)||this.isOptionDisabled(t))},wholeGroupDisabled(e){return e[this.groupValues].every(this.isOptionDisabled)},removeElement(e,t=!0){if(this.disabled||e.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1){this.deactivate();return}const n=typeof e=="object"?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);if(this.multiple){const s=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("update:modelValue",s)}else this.$emit("update:modelValue",null);this.$emit("remove",e,this.id),this.closeOnSelect&&t&&this.deactivate()},removeLastElement(){this.blockKeys.indexOf("Delete")===-1&&this.search.length===0&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&this.pointer===0&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search!==null&&typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const e=this.$el.getBoundingClientRect().top,t=window.innerHeight-this.$el.getBoundingClientRect().bottom;t>this.maxHeight||t>e||this.openDirection==="below"||this.openDirection==="bottom"?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(t-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))},filterOptions(e,t,n,s){return t?e.filter(a=>MAt(s(a,n),t)).sort((a,o)=>typeof this.filteringSortFunc=="function"?this.filteringSortFunc(a,o):s(a,n).length-s(o,n).length):e},filterGroups(e,t,n,s,a){return o=>o.map(i=>{if(!i[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const r=this.filterOptions(i[n],e,t,a);return r.length?{[s]:i[s],[n]:r}:[]})}}},zAt={data(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(e,t){return{"multiselect__option--highlight":e===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(t)}},groupHighlight(e,t){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":t.$isLabel}];const n=this.options.find(s=>s[this.groupLabel]===t.$groupLabel);return n&&!this.wholeGroupDisabled(n)?["multiselect__option--group",{"multiselect__option--highlight":e===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(n)}]:"multiselect__option--disabled"},addPointerElement({key:e}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerReset()},pointerForward(){this.pointer0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(e){this.pointer=e,this.pointerDirty=!0}}},Q1={name:"vue-multiselect",mixins:[FAt,zAt],compatConfig:{MODE:3,ATTR_ENUMERATED_COERCION:!1},props:{name:{type:String,default:""},modelValue:{type:null,default(){return[]}},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:e=>`and ${e} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},spellcheck:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0},required:{type:Boolean,default:!1}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||this.singleValue===0)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!this.internalValue.length&&(!this.searchable||!this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return this.openDirection==="above"||this.openDirection==="top"?!0:this.openDirection==="below"||this.openDirection==="bottom"?!1:this.preferredOpenDirection==="above"},showSearchInput(){return this.searchable&&(this.hasSingleSelectedSlot&&(this.visibleSingleValue||this.visibleSingleValue===0)?this.isOpen:!0)},isRequired(){return this.required===!1?!1:this.internalValue.length<=0}}};const BAt=["tabindex","aria-expanded","aria-owns","aria-activedescendant"],GAt={ref:"tags",class:"multiselect__tags"},xAt={class:"multiselect__tags-wrap"},VAt=["textContent"],HAt=["onKeypress","onMousedown"],KAt=["textContent"],YAt={class:"multiselect__spinner"},qAt=["name","id","spellcheck","placeholder","required","value","disabled","tabindex","aria-label","aria-controls"],jAt=["id","aria-multiselectable"],XAt={key:0},QAt={class:"multiselect__option"},ZAt=["aria-selected","id","role"],JAt=["onClick","onMouseenter","data-select","data-selected","data-deselect"],eht=["data-select","data-deselect","onMouseenter","onMousedown"],tht={class:"multiselect__option"},nht={class:"multiselect__option"};function sht(e,t,n,s,a,o){return f(),g("div",{tabindex:e.searchable?-1:n.tabindex,class:fe([{"multiselect--active":e.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":o.isAbove,"multiselect--has-options-group":o.hasOptionGroup},"multiselect"]),onFocus:t[14]||(t[14]=i=>e.activate()),onBlur:t[15]||(t[15]=i=>e.searchable?!1:e.deactivate()),onKeydown:[t[16]||(t[16]=Xe(Ne(i=>e.pointerForward(),["self","prevent"]),["down"])),t[17]||(t[17]=Xe(Ne(i=>e.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:t[18]||(t[18]=Xe(Ne(i=>e.addPointerElement(i),["stop","self"]),["enter","tab"])),onKeyup:t[19]||(t[19]=Xe(i=>e.deactivate(),["esc"])),role:"combobox","aria-expanded":e.isOpen,"aria-owns":"listbox-"+e.id,"aria-activedescendant":e.isOpen&&e.pointer!==null?e.id+"-"+e.pointer:null},[yt(e.$slots,"caret",{toggle:e.toggle},()=>[E("div",{onMousedown:t[0]||(t[0]=Ne(i=>e.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),yt(e.$slots,"clear",{search:e.search}),E("div",GAt,[yt(e.$slots,"selection",{search:e.search,remove:e.removeElement,values:o.visibleValues,isOpen:e.isOpen},()=>[We(E("div",xAt,[(f(!0),g(ae,null,be(o.visibleValues,(i,r)=>yt(e.$slots,"tag",{option:i,search:e.search,remove:e.removeElement},()=>[(f(),g("span",{class:"multiselect__tag",key:r,onMousedown:t[1]||(t[1]=Ne(()=>{},["prevent"]))},[E("span",{textContent:A(e.getOptionLabel(i))},null,8,VAt),E("i",{tabindex:"1",onKeypress:Xe(Ne(u=>e.removeElement(i),["prevent"]),["enter"]),onMousedown:Ne(u=>e.removeElement(i),["prevent"]),class:"multiselect__tag-icon"},null,40,HAt)],32))])),256))],512),[[Ko,o.visibleValues.length>0]]),e.internalValue&&e.internalValue.length>n.limit?yt(e.$slots,"limit",{key:0},()=>[E("strong",{class:"multiselect__strong",textContent:A(n.limitText(e.internalValue.length-n.limit))},null,8,KAt)]):v("v-if",!0)]),M(PT,{name:"multiselect__loading"},{default:X(()=>[yt(e.$slots,"loading",{},()=>[We(E("div",YAt,null,512),[[Ko,n.loading]])])]),_:3}),e.searchable?(f(),g("input",{key:0,ref:"search",name:n.name,id:e.id,type:"text",autocomplete:"off",spellcheck:n.spellcheck,placeholder:e.placeholder,required:o.isRequired,style:Yn(o.inputStyle),value:e.search,disabled:n.disabled,tabindex:n.tabindex,"aria-label":n.name+"-searchbox",onInput:t[2]||(t[2]=i=>e.updateSearch(i.target.value)),onFocus:t[3]||(t[3]=Ne(i=>e.activate(),["prevent"])),onBlur:t[4]||(t[4]=Ne(i=>e.deactivate(),["prevent"])),onKeyup:t[5]||(t[5]=Xe(i=>e.deactivate(),["esc"])),onKeydown:[t[6]||(t[6]=Xe(Ne(i=>e.pointerForward(),["prevent"]),["down"])),t[7]||(t[7]=Xe(Ne(i=>e.pointerBackward(),["prevent"]),["up"])),t[9]||(t[9]=Xe(Ne(i=>e.removeLastElement(),["stop"]),["delete"]))],onKeypress:t[8]||(t[8]=Xe(Ne(i=>e.addPointerElement(i),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+e.id},null,44,qAt)):v("v-if",!0),o.isSingleLabelVisible?(f(),g("span",{key:1,class:"multiselect__single",onMousedown:t[10]||(t[10]=Ne((...i)=>e.toggle&&e.toggle(...i),["prevent"]))},[yt(e.$slots,"singleLabel",{option:o.singleValue},()=>[B(A(e.currentOptionLabel),1)])],32)):v("v-if",!0),o.isPlaceholderVisible?(f(),g("span",{key:2,class:"multiselect__placeholder",onMousedown:t[11]||(t[11]=Ne((...i)=>e.toggle&&e.toggle(...i),["prevent"]))},[yt(e.$slots,"placeholder",{},()=>[B(A(e.placeholder),1)])],32)):v("v-if",!0)],512),M(PT,{name:"multiselect",persisted:""},{default:X(()=>[We(E("div",{class:"multiselect__content-wrapper",onFocus:t[12]||(t[12]=(...i)=>e.activate&&e.activate(...i)),tabindex:"-1",onMousedown:t[13]||(t[13]=Ne(()=>{},["prevent"])),style:Yn({maxHeight:e.optimizedHeight+"px"}),ref:"list"},[E("ul",{class:"multiselect__content",style:Yn(o.contentStyle),role:"listbox",id:"listbox-"+e.id,"aria-multiselectable":e.multiple},[yt(e.$slots,"beforeList"),e.multiple&&e.max===e.internalValue.length?(f(),g("li",XAt,[E("span",QAt,[yt(e.$slots,"maxElements",{},()=>[B("Maximum of "+A(e.max)+" options selected. First remove a selected option to select another.",1)])])])):v("v-if",!0),!e.max||e.internalValue.length(f(),g("li",{class:"multiselect__element",key:r,"aria-selected":e.isSelected(i),id:e.id+"-"+r,role:i&&(i.$isLabel||i.$isDisabled)?null:"option"},[i&&(i.$isLabel||i.$isDisabled)?v("v-if",!0):(f(),g("span",{key:0,class:fe([e.optionHighlight(r,i),"multiselect__option"]),onClick:Ne(u=>e.select(i),["stop"]),onMouseenter:Ne(u=>e.pointerSet(r),["self"]),"data-select":i&&i.isTag?e.tagPlaceholder:o.selectLabelText,"data-selected":o.selectedLabelText,"data-deselect":o.deselectLabelText},[yt(e.$slots,"option",{option:i,search:e.search,index:r},()=>[E("span",null,A(e.getOptionLabel(i)),1)])],42,JAt)),i&&(i.$isLabel||i.$isDisabled)?(f(),g("span",{key:1,"data-select":e.groupSelect&&o.selectGroupLabelText,"data-deselect":e.groupSelect&&o.deselectGroupLabelText,class:fe([e.groupHighlight(r,i),"multiselect__option"]),onMouseenter:Ne(u=>e.groupSelect&&e.pointerSet(r),["self"]),onMousedown:Ne(u=>e.selectGroup(i),["prevent"])},[yt(e.$slots,"option",{option:i,search:e.search,index:r},()=>[E("span",null,A(e.getOptionLabel(i)),1)])],42,eht)):v("v-if",!0)],8,ZAt))),128)):v("v-if",!0),We(E("li",null,[E("span",tht,[yt(e.$slots,"noResult",{search:e.search},()=>[t[20]||(t[20]=B("No elements found. Consider changing the search query."))])])],512),[[Ko,n.showNoResults&&e.filteredOptions.length===0&&e.search&&!n.loading]]),We(E("li",null,[E("span",nht,[yt(e.$slots,"noOptions",{},()=>[t[21]||(t[21]=B("List is empty."))])])],512),[[Ko,n.showNoOptions&&(e.options.length===0||o.hasOptionGroup===!0&&e.filteredOptions.length===0)&&!e.search&&!n.loading]]),yt(e.$slots,"afterList")],12,jAt)],36),[[Ko,e.isOpen]])]),_:3})],42,BAt)}Q1.render=sht;const aht=Q({__name:"SportsMultiSelect",props:{sports:{},name:{},equipmentSports:{default:()=>[]},disabled:{type:Boolean,default:!1}},emits:["updatedValues"],setup(e,{emit:t}){const n=e,{equipmentSports:s,name:a,sports:o}=pe(n),i=t,r=Oe([]);function u(l){i("updatedValues",l.map(d=>d.id))}return Pe(()=>s.value,async l=>{r.value=l,u(l)}),Ze(()=>{s.value&&(r.value=s.value)}),(l,d)=>p(o)?(f(),G(p(Q1),{key:0,placeholder:"",id:p(a),name:p(a),disabled:l.disabled,modelValue:r.value,"onUpdate:modelValue":[d[0]||(d[0]=_=>r.value=_),u],multiple:!0,options:p(o),taggable:!0,label:"translatedLabel","track-by":"id",selectLabel:l.$t("workouts.MULTISELECT.selectLabel"),selectedLabel:l.$t("workouts.MULTISELECT.selectedLabel"),deselectLabel:l.$t("workouts.MULTISELECT.deselectLabel")},null,8,["id","name","disabled","modelValue","options","selectLabel","selectedLabel","deselectLabel"])):v("",!0)}}),oht=ne(aht,[["__scopeId","data-v-010e24b3"]]);function H_(){const e=at(),t=ye(),{t:n}=vt(),s=F(()=>u(a.value)),a=F(()=>t.getters[Be.GETTERS.EQUIPMENTS]),o=F(()=>t.getters[Be.GETTERS.LOADING]),i=F(()=>t.getters[Be.GETTERS.EQUIPMENT_TYPES]),r=F(()=>g1(i.value,n));function u(l){if(!e.params.id)return null;const d=l.filter(_=>e.params.id?_.id===e.params.id:null);return d.length===0?null:d[0]}return{equipment:s,equipments:a,equipmentTypes:i,translatedEquipmentTypes:r,equipmentsLoading:o}}const iht={id:"new-equipment"},rht={key:0,id:"new-equipment-title"},uht={id:"equipment-form"},lht={class:"form-items"},cht={class:"form-item"},dht={for:"equipment-label"},Eht={class:"equipment-label-help"},_ht={class:"info-box"},Tht={class:"form-item"},pht={for:"equipment-type-id"},mht=["value"],fht={key:0,class:"equipment-warning"},Sht={class:"info-box"},Aht={class:"form-item"},hht={for:"equipment-description"},Oht={class:"form-item"},Iht={for:"equipment-visibility"},Rht=["value"],Nht={key:1,class:"form-item-checkbox"},ght={for:"equipment-active"},bht={class:"form-item"},Cht={for:"equipment-sports"},Pht={class:"form-buttons"},Dht=["disabled"],Lht=["disabled"],vht=Q({__name:"EquipmentEdition",props:{translatedEquipmentTypes:{},equipmentsLoading:{type:Boolean}},setup(e){const t=e,{equipmentsLoading:n,translatedEquipmentTypes:s}=pe(t),a=ye(),o=at(),{t:i}=vt(),{errorMessages:r}=Ge(),{equipment:u}=H_(),l=Lt({id:"",label:"",description:"",equipmentTypeId:0,isActive:!0,visibility:"private",defaultForSportIds:[]}),d=Oe(!1),_=F(()=>ds(a.getters[Vt.GETTERS.SPORTS],i)),c=F(()=>s.value.filter(C=>C.id===l.equipmentTypeId)),T=F(()=>c.value.length>0?_.value.filter(C=>b1[c.value[0].label].includes(C.label)):[]),m=Oe([]),S=F(()=>s.value.filter(C=>{var y;return C.is_active||((y=u.value)==null?void 0:y.equipment_type.id)===C.id})),R=F(()=>$_());function h(C){m.value=ds(_.value,i,"all").filter(y=>C.default_for_sport_ids.includes(y.id))}function O(C){l.id=C.id,l.label=C.label,l.description=C.description?C.description:"",l.equipmentTypeId=C.equipment_type.id,l.isActive=C.is_active,l.visibility=C.visibility,h(C)}function I(){a.dispatch(Be.ACTIONS[l.id?"UPDATE_EQUIPMENT":"ADD_EQUIPMENT"],l)}function N(C){l.description=C.value}function b(){d.value=!0}function P(C){l.defaultForSportIds=C}return Pe(()=>u.value,C=>{o.params.id&&(C!=null&&C.id)&&O(C)}),Pe(()=>l.equipmentTypeId,C=>{u.value&&C===u.value.equipment_type.id?h(u.value):m.value=[]}),Et(()=>{var y;const C=document.getElementById("equipment-label");C==null||C.focus(),o.params.id&&o.params.id&&(y=u.value)!=null&&y.id&&O(u.value)}),(C,y)=>{var D,W;const L=j("CustomTextArea"),w=j("ErrorMessage");return f(),g("div",iht,[l.id?v("",!0):(f(),g("h1",rht,A(C.$t("equipments.ADD_A_NEW_EQUIPMENT")),1)),E("div",uht,[E("form",{class:fe({errors:d.value}),onSubmit:Ne(I,["prevent"])},[E("div",lht,[E("div",cht,[E("label",dht,A(Fe(C.$t("common.LABEL")))+"* ",1),We(E("input",{id:"equipment-label",maxlength:"50",type:"text",required:"",onInvalid:b,"onUpdate:modelValue":y[0]||(y[0]=Y=>l.label=Y)},null,544),[[st,l.label]]),E("div",Eht,[E("span",_ht,[y[5]||(y[5]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(C.$t("equipments.50_CHARACTERS_MAX")),1)])])]),E("div",Tht,[E("label",pht,A(Fe(C.$t("equipments.EQUIPMENT_TYPE")))+"* ",1),We(E("select",{id:"equipment-type-id",required:"",onInvalid:b,"onUpdate:modelValue":y[1]||(y[1]=Y=>l.equipmentTypeId=Y)},[(f(!0),g(ae,null,be(S.value,Y=>(f(),g("option",{value:Y.id,key:Y.id},A(Y.translatedLabel)+" "+A(Y.is_active?"":`(${C.$t("common.INACTIVE")})`),9,mht))),128))],544),[[jt,l.equipmentTypeId]])]),(D=p(u))!=null&&D.workouts_count&&l.equipmentTypeId!==((W=p(u))==null?void 0:W.equipment_type.id)?(f(),g("div",fht,[E("span",Sht,[y[6]||(y[6]=E("i",{class:"fa fa-exclamation-triangle warning","aria-hidden":"true"},null,-1)),B(" "+A(C.$t("equipments.ALL_WORKOUTS_ASSOCIATIONS_REMOVED")),1)])])):v("",!0),E("div",Aht,[E("label",hht,A(C.$t("common.DESCRIPTION")),1),M(L,{name:"equipment-description",charLimit:200,input:l.description,onUpdateValue:N},null,8,["input"])]),E("div",Oht,[E("label",Iht,A(Fe(C.$t("visibility_levels.VISIBILITY"))),1),We(E("select",{id:"workout_visibility","onUpdate:modelValue":y[2]||(y[2]=Y=>l.visibility=Y)},[(f(!0),g(ae,null,be(R.value,Y=>(f(),g("option",{value:Y,key:Y},A(C.$t(`visibility_levels.LEVELS.${Y}`)),9,Rht))),128))],512),[[jt,l.visibility]])]),l.id?(f(),g("div",Nht,[E("label",ght,A(Fe(C.$t("common.ACTIVE"))),1),We(E("input",{id:"equipment-active",name:"equipment-active",type:"checkbox","onUpdate:modelValue":y[3]||(y[3]=Y=>l.isActive=Y)},null,512),[[El,l.isActive]])])):v("",!0),E("div",bht,[E("label",Cht,A(Fe(C.$t("equipments.DEFAULT_FOR_SPORTS",0))),1),M(oht,{sports:T.value,name:"equipment-sports",equipmentSports:m.value,disabled:!l.equipmentTypeId,onUpdatedValues:P},null,8,["sports","equipmentSports","disabled"])])]),p(r)?(f(),G(w,{key:0,message:p(r),"no-margin":!0},null,8,["message"])):v("",!0),E("div",Pht,[E("button",{class:"confirm",type:"submit",disabled:p(n)},A(C.$t("buttons.SUBMIT")),9,Dht),E("button",{class:"cancel",disabled:p(n),onClick:y[4]||(y[4]=Ne(()=>{var Y;return C.$router.push((Y=p(u))!=null&&Y.id?C.$route.query.fromEdition?"/profile/edit/equipments":`/profile/equipments/${p(u).id}`:"/profile/equipments")},["prevent"]))},A(C.$t("buttons.CANCEL")),9,Lht)])],34)])])}}}),yS=ne(vht,[["__scopeId","data-v-c8d3abaa"]]),yht={key:0,id:"user-equipments"},US=Q({__name:"index",props:{user:{},isEdition:{type:Boolean}},setup(e){const t=e,{user:n}=pe(t),s=at(),a=ye(),{equipments:o,translatedEquipmentTypes:i,equipmentsLoading:r}=H_();return Pe(()=>s.name,u=>{u==="UserEquipmentsList"&&a.dispatch(Be.ACTIONS.GET_EQUIPMENTS)}),Ze(()=>{a.dispatch(Be.ACTIONS.GET_EQUIPMENT_TYPES),a.dispatch(Be.ACTIONS.GET_EQUIPMENTS)}),(u,l)=>{const d=j("router-view");return p(i)?(f(),g("div",yht,[M(d,{authUser:p(n),equipments:p(o),translatedEquipmentTypes:p(i),isEdition:u.isEdition,equipmentsLoading:p(r)},null,8,["authUser","equipments","translatedEquipmentTypes","isEdition","equipmentsLoading"])])):v("",!0)}}}),Uht=(e,t=!1)=>{let n="0";t&&(n=String(Math.floor(e/86400)),e%=86400);const s=String(Math.floor(e/3600)).padStart(2,"0");e%=3600;const a=String(Math.floor(e/60)).padStart(2,"0"),o=String(e%60).padStart(2,"0");return t?`${n==="0"?"":`${n}d `}${s==="00"?"":`${s}h `}${a}m ${o}s`:`${s==="00"?"":`${s}:`}${a}:${o}`},K_=(e,t)=>{const n=e.match(/day/g)?e.split(", ")[1]:e;return{days:e.match(/day/g)?`${e.split(" ")[0]} ${e.match(/days/g)?t("common.DAY",2):t("common.DAY",1)}`:`0 ${t("common.DAY",2)},`,duration:`${n.split(":")[0]}h ${n.split(":")[1]}min`}},AE=(e,t)=>{if(e.match(/day/g)){const n=K_(e,t);return`${n.days}, ${n.duration}`}return e},$ht={key:0,id:"user-equipment",class:"description-list"},kht={class:"equipment-type"},wht={key:0,class:"equipment-description"},Mht={key:1,class:"no-description"},Wht={class:"duration-detail"},Fht={class:"sports-list"},zht={class:"equipment-buttons"},Bht=["disabled"],Ght=["disabled"],xht=["disabled"],Vht=["disabled"],Hht={key:1},Kht={class:"no-equipment"},Yht=["disabled"],qht=Q({__name:"UserEquipment",props:{authUser:{},equipmentsLoading:{type:Boolean}},setup(e){const t=e,{authUser:n}=pe(t),s=ye(),{t:a}=vt(),{errorMessages:o}=Ge(),{equipment:i}=H_(),{sportColors:r,sports:u}=en(),l=Oe(!1),d=F(()=>ds(u.value,a,"all",n.value.sports_list).filter(m=>{var S;return i.value?(S=i.value)==null?void 0:S.default_for_sport_ids.includes(m.id):!1}));function _(m){l.value=m}function c(){var m,S;if((m=i.value)!=null&&m.id){const R={id:i.value.id};((S=i.value)==null?void 0:S.workouts_count)>0&&(R.force=!0),s.dispatch(Be.ACTIONS.DELETE_EQUIPMENT,R)}}function T(m){s.dispatch(Be.ACTIONS.REFRESH_EQUIPMENT,m)}return Ze(()=>{s.dispatch(Be.ACTIONS.GET_EQUIPMENTS)}),(m,S)=>{const R=j("Modal"),h=j("EquipmentTypeImage"),O=j("router-link"),I=j("Distance"),N=j("SportImage"),b=j("ErrorMessage");return p(i)?(f(),g("div",$ht,[l.value?(f(),G(R,{key:0,title:m.$t("common.CONFIRMATION"),message:"user.PROFILE.EQUIPMENTS.CONFIRM_EQUIPMENT_DELETION",strongMessage:p(i).label,warning:p(i).workouts_count>0?m.$t("user.PROFILE.EQUIPMENTS.EQUIPMENT_ASSOCIATED_WITH_WORKOUTS"):"",onConfirmAction:c,onCancelAction:S[0]||(S[0]=P=>_(!1)),onKeydown:S[1]||(S[1]=Xe(P=>_(!1),["esc"]))},null,8,["title","strongMessage","warning"])):v("",!0),E("dl",null,[E("dt",null,A(Fe(m.$t("common.LABEL"))),1),E("dd",null,A(p(i).label),1),E("dt",null,A(Fe(m.$t("equipments.EQUIPMENT_TYPE"))),1),E("dd",kht,[M(h,{title:m.$t(`equipment_types.${p(i).equipment_type.label}.LABEL`),"equipment-type-label":p(i).equipment_type.label},null,8,["title","equipment-type-label"]),E("span",null,A(m.$t(`equipment_types.${p(i).equipment_type.label}.LABEL`))+" "+A(p(i).equipment_type.is_active?"":`(${m.$t("common.INACTIVE")})`),1)]),E("dt",null,A(m.$t("common.DESCRIPTION")),1),E("dd",null,[p(i).description?(f(),g("span",wht,A(p(i).description),1)):(f(),g("span",Mht,A(m.$t("common.NO_DESCRIPTION")),1))]),E("dt",null,A(Fe(m.$t("workouts.WORKOUT",0))),1),E("dd",null,[p(i).workouts_count?(f(),G(O,{key:0,to:`/workouts?equipment_id=${p(i).id}`},{default:X(()=>[B(A(p(i).workouts_count),1)]),_:1},8,["to"])):(f(),g(ae,{key:1},[B(A(p(i).workouts_count),1)],64))]),E("dt",null,A(Fe(m.$t("workouts.TOTAL_DISTANCE",0))),1),E("dd",null,[M(I,{distance:p(i).total_distance,unitFrom:"km",digits:2,displayUnit:!1,useImperialUnits:p(n).imperial_units},null,8,["distance","useImperialUnits"]),E("span",null,A(p(n).imperial_units?"miles":"km"),1)]),E("dt",null,A(Fe(m.$t("workouts.TOTAL_DURATION",0))),1),E("dd",null,[B(A(p(AE)(p(i).total_moving,m.$t))+" ",1),p(i).total_duration!==p(i).total_moving?(f(),g(ae,{key:0},[S[7]||(S[7]=B(" (")),E("span",Wht,A(m.$t("common.TOTAL_DURATION_WITH_PAUSES"))+": ",1),B(" "+A(p(AE)(p(i).total_duration,m.$t))+") ",1)],64)):v("",!0)]),E("dt",null,A(Fe(m.$t("visibility_levels.VISIBILITY"))),1),E("dd",null,A(m.$t(`visibility_levels.LEVELS.${p(i).visibility}`)),1),E("dt",null,A(Fe(m.$t("common.ACTIVE",0))),1),E("dd",null,[E("i",{class:fe(`fa fa-${p(i).is_active?"check-":""}square-o`),"aria-hidden":"true"},null,2)]),p(i).default_for_sport_ids.length>0?(f(),g(ae,{key:0},[E("dt",null,A(Fe(m.$t("equipments.DEFAULT_FOR_SPORTS",0))),1),E("dd",Fht,[(f(!0),g(ae,null,be(d.value,P=>(f(),g("span",{class:fe(["sport-badge",{inactive:!P.is_active_for_user}]),key:P.label},[M(N,{title:P.translatedLabel,"sport-label":P.label,color:P.color?P.color:p(r)[P.label]},null,8,["title","sport-label","color"]),M(O,{to:`/profile/sports/${P.id}?fromEquipmentId=${p(i).id}`},{default:X(()=>[B(A(P.translatedLabel)+" "+A(P.is_active_for_user?"":`(${m.$t("common.INACTIVE")})`),1)]),_:2},1032,["to"])],2))),128))])],64)):v("",!0)]),p(o)?(f(),G(b,{key:1,message:p(o)},null,8,["message"])):v("",!0),E("div",zht,[p(n).suspended_at?v("",!0):(f(),g(ae,{key:0},[E("button",{onClick:S[2]||(S[2]=P=>m.$router.push(`/profile/edit/equipments/${p(i).id}`)),disabled:m.equipmentsLoading},A(m.$t("buttons.EDIT")),9,Bht),E("button",{disabled:m.equipmentsLoading,onClick:S[3]||(S[3]=P=>T(p(i).id))},A(m.$t("buttons.REFRESH_TOTALS")),9,Ght),E("button",{class:"danger",onClick:S[4]||(S[4]=P=>l.value=!0),disabled:m.equipmentsLoading},A(m.$t("buttons.DELETE")),9,xht)],64)),E("button",{disabled:m.equipmentsLoading,onClick:S[5]||(S[5]=P=>m.$router.push(m.$route.query.fromWorkoutId?`/workouts/${m.$route.query.fromWorkoutId}`:m.$route.query.fromSportId?`/profile/sports/${m.$route.query.fromSportId}`:"/profile/equipments"))},A(m.$t("buttons.BACK")),9,Vht)])])):(f(),g("div",Hht,[E("p",Kht,A(m.$t("equipments.NO_EQUIPMENT")),1),E("button",{onClick:S[6]||(S[6]=P=>m.$router.push("/profile/equipments")),disabled:m.equipmentsLoading},A(m.$t("buttons.BACK")),9,Yht)]))}}}),jht=ne(qht,[["__scopeId","data-v-f9d765d6"]]),Xht={id:"user-equipments-list"},Qht={key:0,class:"mobile-display"},Zht={key:1,class:"equipments-list"},Jht={key:3},eOt={class:"responsive-table"},tOt={class:"text-left"},nOt={class:"text-left"},sOt={class:"text-left"},aOt={class:"text-left"},oOt={key:0},iOt={class:"equipment-label"},rOt={class:"cell-heading"},uOt={class:"column"},lOt={class:"cell-heading"},cOt={class:"column"},dOt={class:"cell-heading"},EOt={class:"active"},_Ot={class:"cell-heading"},TOt={key:0,class:"action-buttons"},pOt={class:"cell-heading"},mOt=["onClick"],fOt={class:"equipments-list-buttons"},SOt=Q({__name:"UserEquipmentsList",props:{equipments:{},translatedEquipmentTypes:{},authUser:{},isEdition:{type:Boolean}},setup(e){const t=e,{authUser:n,isEdition:s,equipments:a,translatedEquipmentTypes:o}=pe(t),i=F(()=>r(a.value));function r(u){const l={};return u.map(d=>{d.equipment_type.id in l?l[d.equipment_type.id].push(d):l[d.equipment_type.id]=[d]}),l}return(u,l)=>{const d=j("EquipmentTypeImage"),_=j("router-link"),c=j("Distance");return f(),g("div",Xht,[p(a).length>0?(f(),g("div",Qht,[p(s)?v("",!0):(f(),g("button",{key:0,onClick:l[0]||(l[0]=T=>u.$router.push("/profile/edit/equipments"))},A(u.$t("equipments.EDIT_EQUIPMENTS")),1)),p(s)?v("",!0):(f(),g("button",{key:1,onClick:l[1]||(l[1]=T=>u.$router.push("/profile/equipments/new"))},A(u.$t("equipments.NEW_EQUIPMENT")),1)),p(s)?(f(),g("button",{key:2,onClick:l[2]||(l[2]=T=>u.$router.push("/profile/equipments"))},A(u.$t("buttons.BACK")),1)):(f(),g("button",{key:3,onClick:l[3]||(l[3]=T=>u.$router.push("/"))},A(u.$t("common.HOME")),1))])):v("",!0),p(s)?v("",!0):(f(),g("h1",Zht,A(u.$t("user.PROFILE.EQUIPMENTS.YOUR_EQUIPMENTS")),1)),p(a).length===0?(f(),g("p",{key:2,class:fe(["no-equipments",{edition:p(s)}])},A(u.$t("equipments.NO_EQUIPMENTS")),3)):(f(),g("div",Jht,[(f(!0),g(ae,null,be(p(o),T=>(f(),g(ae,{key:T.label},[i.value[T.id]?(f(),g(ae,{key:0},[E("h2",null,[M(d,{title:T.translatedLabel,"equipment-type-label":T.label},null,8,["title","equipment-type-label"]),B(" "+A(T.translatedLabel)+" "+A(T.is_active?"":`(${u.$t("common.INACTIVE")})`),1)]),E("div",eOt,[E("table",null,[E("thead",null,[E("tr",null,[E("th",tOt,A(u.$t("common.LABEL")),1),E("th",nOt,A(u.$t("workouts.WORKOUT",0)),1),E("th",sOt,A(Fe(u.$t("workouts.TOTAL_DISTANCE"))),1),E("th",aOt,A(u.$t("common.ACTIVE")),1),p(s)&&!p(n).suspended_at?(f(),g("th",oOt,A(u.$t("common.ACTION")),1)):v("",!0),l[8]||(l[8]=E("th",null,null,-1))])]),E("tbody",null,[(f(!0),g(ae,null,be(i.value[T.id].sort(p(B_)),m=>(f(),g("tr",{key:m.label},[E("td",iOt,[E("span",rOt,A(u.$t("common.LABEL")),1),M(_,{to:{name:"Equipment",params:{id:m.id}}},{default:X(()=>[B(A(m.label),1)]),_:2},1032,["to"])]),E("td",uOt,[E("span",lOt,A(u.$t("workouts.WORKOUT",0)),1),m.workouts_count?(f(),G(_,{key:0,to:`/workouts?equipment_id=${m.id}`},{default:X(()=>[B(A(m.workouts_count),1)]),_:2},1032,["to"])):(f(),g(ae,{key:1},[B(A(m.workouts_count),1)],64))]),E("td",cOt,[E("span",dOt,A(u.$t("workouts.TOTAL_DISTANCE",0)),1),M(c,{distance:m.total_distance,unitFrom:"km",digits:2,displayUnit:!1,useImperialUnits:p(n).imperial_units},null,8,["distance","useImperialUnits"]),E("span",null,A(p(n).imperial_units?"miles":"km"),1)]),E("td",EOt,[E("span",_Ot,A(u.$t("common.ACTIVE")),1),E("i",{class:fe(`fa fa${m.is_active?"-check":""}`),"aria-hidden":"true"},null,2)]),p(s)&&!p(n).suspended_at?(f(),g("td",TOt,[E("span",pOt,A(u.$t("user.PROFILE.SPORT.ACTION")),1),E("button",{onClick:S=>u.$router.push(`/profile/edit/equipments/${m.id}${p(s)?"?fromEdition=true":""}`)},A(u.$t("buttons.EDIT")),9,mOt)])):v("",!0)]))),128))])])])],64)):v("",!0)],64))),128))])),E("div",fOt,[!p(s)&&!p(n).suspended_at&&p(a).length>0?(f(),g("button",{key:0,onClick:l[4]||(l[4]=T=>u.$router.push("/profile/edit/equipments"))},A(u.$t("equipments.EDIT_EQUIPMENTS")),1)):v("",!0),!p(s)&&!p(n).suspended_at?(f(),g("button",{key:1,onClick:l[5]||(l[5]=T=>u.$router.push("/profile/equipments/new"))},A(u.$t("equipments.NEW_EQUIPMENT")),1)):v("",!0),p(s)?(f(),g("button",{key:2,onClick:l[6]||(l[6]=T=>u.$router.push("/profile/equipments"))},A(u.$t("buttons.BACK")),1)):(f(),g("button",{key:3,onClick:l[7]||(l[7]=T=>u.$router.push("/"))},A(u.$t("common.HOME")),1))])])}}}),$S=ne(SOt,[["__scopeId","data-v-db60807d"]]),AOt=Q({__name:"index",props:{user:{}},setup(e){const t=e,{user:n}=pe(t);return(s,a)=>{const o=j("router-view");return f(),g("div",null,[M(o,{authUser:p(n)},null,8,["authUser"])])}}}),hOt={key:0,class:"notification-object"},OOt={class:"box comment-box"},IOt=Q({__name:"CommentForUser",props:{comment:{},displayObjectName:{type:Boolean},action:{}},emits:["commentLinkClicked"],setup(e){const t=e,{comment:n,displayObjectName:s}=pe(t),{authUser:a}=Ye();return(o,i)=>(f(),g(ae,null,[p(s)?(f(),g("div",hOt,A(o.$t("workouts.COMMENTS.COMMENT"))+": ",1)):v("",!0),E("div",OOt,[M(w_,{comment:p(n),authUser:p(a),"display-appeal":!1,"hide-suspension-appeal":p(s),"comments-loading":"null","for-notification":!0,action:o.action,onCommentLinkClicked:i[0]||(i[0]=r=>o.$emit("commentLinkClicked"))},null,8,["comment","authUser","hide-suspension-appeal","action"])])],64))}}),Y_=ne(IOt,[["__scopeId","data-v-cc067259"]]),ROt={class:"appeal-action"},NOt=Q({__name:"WorkoutActionAppeal",props:{action:{},workout:{},displaySuspensionMessage:{type:Boolean,default:!1}},setup(e){const t=e,{workout:n}=pe(t),{appealLoading:s,displayAppealForm:a,success:o,submitAppeal:i,cancelAppeal:r}=c_(),u=F(()=>`workout_${n.value.id}`);return(l,d)=>(f(),g("div",ROt,[E("div",{class:fe({suspended:l.displaySuspensionMessage,"info-box":l.displaySuspensionMessage})},[l.displaySuspensionMessage?(f(),g(ae,{key:0},[d[4]||(d[4]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(l.$t("workouts.SUSPENDED_BY_ADMIN")),1)],64)):v("",!0),l.displaySuspensionMessage&&!p(o)&&!p(a)?(f(),g("button",{key:1,class:"transparent appeal-button",onClick:d[0]||(d[0]=_=>a.value=u.value)},A(l.$t("user.APPEAL")),1)):v("",!0)],2),p(a)?(f(),G(Pl,{key:0,"report-action":l.action,success:p(o)===u.value,loading:p(s)===u.value,onSubmitForm:d[2]||(d[2]=_=>p(i)(_,"workout",p(n).id)),onHideMessage:d[3]||(d[3]=_=>a.value=null)},{cancelButton:X(()=>[E("button",{onClick:d[1]||(d[1]=_=>p(r)())},A(l.$t("buttons.CANCEL")),1)]),_:1},8,["report-action","success","loading"])):v("",!0)]))}}),Z1=ne(NOt,[["__scopeId","data-v-5404e027"]]),gOt={key:0,class:"notification-object"},bOt=Q({__name:"WorkoutForUser",props:{action:{default:null},displayAppeal:{type:Boolean},displayObjectName:{type:Boolean},workout:{},reportId:{}},emits:["workoutLinkClicked"],setup(e){const t=e,{action:n,displayAppeal:s,displayObjectName:a,reportId:o,workout:i}=pe(t),{getWorkoutSport:r}=en(),{dateFormat:u,imperialUnits:l,timezone:d}=Ye(),_=F(()=>r(i.value)),c=F(()=>{var T,m,S;return i.value.suspended===!0&&n.value!==null&&(!n.value.appeal||((T=n.value.appeal)==null?void 0:T.approved)===!1||((m=n.value.appeal)==null?void 0:m.approved)===null&&!((S=n.value.appeal)!=null&&S.updated_at))&&s.value});return(T,m)=>{var O;const S=j("router-link"),R=j("i18n-t"),h=j("AlertMessage");return f(),g(ae,null,[p(a)?(f(),g("div",gOt,A(T.$t("workouts.WORKOUT"))+": ",1)):v("",!0),M(Hi,{workout:p(i),sport:_.value,user:p(i).user,useImperialUnits:p(l),dateFormat:p(u),timezone:p(d),onWorkoutLinkClicked:m[0]||(m[0]=I=>T.$emit("workoutLinkClicked"))},null,8,["workout","sport","user","useImperialUnits","dateFormat","timezone"]),p(n)&&c.value?(f(),G(Z1,{key:1,action:p(n),workout:p(i),"display-suspension-message":p(n).action_type==="workout_suspension"},null,8,["action","workout","display-suspension-message"])):(O=p(i).suspension)!=null&&O.report_id?(f(),G(h,{key:2,message:"workouts.SUSPENDED_BY_ADMIN"},Ao({_:2},[p(i).suspension.report_id!==p(o)?{name:"additionalMessage",fn:X(()=>[M(R,{keypath:"common.SEE_REPORT",tag:"span"},{default:X(()=>[M(S,{to:`/admin/reports/${p(i).suspension.report_id}`},{default:X(()=>[B(" #"+A(p(i).suspension.report_id),1)]),_:1},8,["to"])]),_:1})]),key:"0"}:void 0]),1024)):v("",!0)],64)}}}),q_=ne(bOt,[["__scopeId","data-v-6aa3f232"]]),COt={id:"user-sanction"},POt={key:0},DOt={key:1},LOt={class:"deleted-object-type"},vOt={class:"deleted-object"},yOt={class:"deleted-object-type"},UOt={class:"deleted-object"},$Ot={key:2},kOt={class:"no-warning"},wOt={class:"buttons"},MOt=Q({__name:"UserSanctionDetail",props:{authUser:{}},setup(e){const t=e,{authUser:n}=pe(t),s=ye(),a=at(),{authUserLoading:o,authUserSuccess:i}=Ye(),r=Oe(""),u=F(()=>s.getters[K.GETTERS.USER_SANCTION]),l=F(()=>n.value.suspended_at!==null||u.value.action_type==="user_suspension"||"comment"in u.value&&u.value.comment===null||"workout"in u.value&&u.value.workout===null);function d(){s.dispatch(K.ACTIONS.GET_USER_SANCTION,a.params.action_id)}function _(c){r.value=c,s.dispatch(K.ACTIONS.APPEAL,{actionId:u.value.id,actionType:"user_warning",text:c})}return Et(()=>d()),ut(()=>{s.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!1),s.commit(K.MUTATIONS.SET_USER_SANCTION,{})}),(c,T)=>{const m=j("Loader");return f(),g("div",COt,[p(o)&&!r.value?(f(),g("div",POt,[M(m)])):u.value.id?(f(),g("div",DOt,[E("h1",null,A(c.$t(`user.PROFILE.SANCTIONS.${u.value.action_type}`,{date:p(Ut)(u.value.created_at,p(n).timezone,p(n).date_format)})),1),"comment"in u.value?(f(),g(ae,{key:0},[u.value.comment?(f(),G(Y_,{key:0,"display-object-name":!0,comment:u.value.comment},null,8,["comment"])):(f(),g(ae,{key:1},[E("div",LOt,A(c.$t("workouts.COMMENTS.COMMENT"))+": ",1),E("div",vOt,A(c.$t("admin.DELETED_COMMENT")),1)],64))],64)):"workout"in u.value?(f(),g(ae,{key:1},[u.value.workout?(f(),G(q_,{key:0,action:u.value,"display-appeal":!1,"display-object-name":!0,workout:u.value.workout},null,8,["action","workout"])):(f(),g(ae,{key:1},[E("div",yOt,A(c.$t("workouts.WORKOUT"))+":",1),E("div",UOt,A(c.$t("admin.DELETED_WORKOUT")),1)],64))],64)):v("",!0),M(Pl,{"report-action":u.value,success:p(i),loading:p(o),"can-appeal":!l.value,onSubmitForm:_},null,8,["report-action","success","loading","can-appeal"])])):(f(),g("div",$Ot,[E("div",kOt,A(c.$t("user.NO_WARNING_FOUND")),1)])),E("div",wOt,[E("button",{onClick:T[0]||(T[0]=S=>c.$router.push("/profile/moderation"))},A(c.$t("buttons.BACK")),1),p(n).suspended_at?v("",!0):(f(),g(ae,{key:0},[E("button",{onClick:T[1]||(T[1]=S=>c.$router.push("/"))},A(c.$t("common.HOME")),1),E("button",{onClick:T[2]||(T[2]=S=>c.$router.push("/notifications"))},A(c.$t("notifications.NOTIFICATIONS",0)),1)],64))])])}}}),WOt=ne(MOt,[["__scopeId","data-v-d9df91cd"]]),FOt={id:"user-moderation"},zOt={key:0,id:"user-sanctions"},BOt={key:0},GOt={class:"last-sanctions"},xOt={key:1},VOt={class:"no-sanctions"},HOt=Q({__name:"UserSanctionsList",props:{authUser:{}},setup(e){const t=e,{authUser:n}=pe(t),s=at(),a=ye(),{displayOptions:o}=Ge(),{errorMessages:i}=Ge();let r=Lt(_(s.query));const u=F(()=>a.getters[ue.GETTERS.USER_SANCTIONS]),l=F(()=>a.getters[ue.GETTERS.USER_SANCTIONS_LOADING]),d=F(()=>a.getters[ue.GETTERS.USER_SANCTIONS_PAGINATION]);function _(m){const S={};return m.page&&(S.page=Do(m.page,cr)),S}function c(m){if(m.updated_at)switch(m.approved){case!0:return"APPROVED";case!1:return"REJECTED";default:return"IN_PROGRESS"}return"IN_PROGRESS"}function T(m){a.dispatch(ue.ACTIONS.GET_USER_SANCTIONS,{username:n.value.username,...m})}return Pe(()=>s.query,async m=>{r=_(m),T(r)}),Ze(()=>T({})),ut(()=>a.commit(ue.MUTATIONS.UPDATE_USER_SANCTIONS,[])),(m,S)=>{const R=j("router-link"),h=j("ErrorMessage");return f(),g("div",FOt,[E("h1",null,A(m.$t("user.PROFILE.SANCTIONS_RECEIVED")),1),p(n).sanctions_count?(f(),g("div",zOt,[l.value?(f(),g("div",BOt,[M(Ml)])):(f(),g(ae,{key:1},[E("ul",GOt,[(f(!0),g(ae,null,be(u.value,O=>(f(),g("li",{key:O.id},[E("div",null,[M(R,{to:`/profile/moderation/sanctions/${O.id}`},{default:X(()=>[B(A(m.$t(`user.PROFILE.SANCTIONS.${O.action_type}`,{date:p(Ut)(O.created_at,p(o).timezone,p(o).dateFormat)})),1)]),_:2},1032,["to"]),O.appeal?(f(),g("span",{key:0,class:fe(["info-box appeal",{approved:c(O.appeal)==="APPROVED",rejected:c(O.appeal)==="REJECTED"}])},[E("i",{class:fe(["fa",{"fa-info-circle":c(O.appeal)!=="REJECTED","fa-times":c(O.appeal)==="REJECTED"}]),"aria-hidden":"true"},null,2),B(" "+A(m.$t(`user.PROFILE.SANCTION_APPEAL.${c(O.appeal)}`)),1)],2)):v("",!0)])]))),128))]),M(Zn,{pagination:d.value,path:"/profile/moderation",query:p(r)},null,8,["pagination","query"])],64))])):(f(),g("div",xOt,[E("p",VOt,A(m.$t("user.PROFILE.NO_SANCTIONS")),1)])),p(i)?(f(),G(h,{key:2,message:p(i),"no-margin":!0},null,8,["message"])):v("",!0),E("div",null,[E("button",{onClick:S[0]||(S[0]=O=>m.$router.push("/"))},A(m.$t("common.HOME")),1)])])}}}),KOt=ne(HOt,[["__scopeId","data-v-0b5f9854"]]),YOt={class:"relationships"},qOt={key:0},jOt={class:"user-relationships"},XOt={key:1,class:"no-relationships"},QOt={class:"profile-buttons"},ZOt=Q({__name:"UserRelationships",props:{user:{},relationship:{}},setup(e){const t=e,{relationship:n,user:s}=pe(t),a=ye(),o=at(),{authUser:i}=Ye(),{errorMessages:r}=Ge(),u=Oe(null),l=F(()=>({username:s.value.username,relationship:n.value,page:1})),d=F(()=>a.getters[ue.GETTERS.USER_RELATIONSHIPS]),_=F(()=>a.getters[ue.GETTERS.USERS_PAGINATION]);function c(m){a.dispatch(ue.ACTIONS.GET_RELATIONSHIPS,m)}function T(m){u.value=m}return Pe(()=>o.path,m=>{l.value.page=_.value.page,l.value.relationship=m.includes("following")?"following":"followers",c(l.value)}),Pe(()=>o.query,(m,S)=>{m.page!==S.page&&(l.value.page=m.page?+m.page:1,c(l.value))}),Pe(()=>s.value.following,()=>{c(l.value)}),Pe(()=>s.value.followers,()=>{c(l.value)}),Ze(()=>c(l.value)),ut(()=>{a.dispatch(ue.ACTIONS.EMPTY_RELATIONSHIPS)}),(m,S)=>{const R=j("ErrorMessage");return f(),g("div",YOt,[d.value.length>0?(f(),g("div",qOt,[E("div",jOt,[(f(!0),g(ae,null,be(d.value,h=>(f(),G(Wl,{key:h.username,authUser:p(i),user:h,updatedUser:u.value,onUpdatedUserRelationship:T,from:"relationship"},null,8,["authUser","user","updatedUser"]))),128))]),M(Zn,{path:`/profile/${p(n)}`,pagination:_.value,query:{}},null,8,["path","pagination"])])):(f(),g("p",XOt,A(m.$t(`user.RELATIONSHIPS.NO_${p(n).toUpperCase()}`)),1)),p(r)?(f(),G(R,{key:2,message:p(r),"no-margin":!0},null,8,["message"])):v("",!0),E("div",QOt,[E("button",{onClick:S[0]||(S[0]=h=>m.$route.path.startsWith("/profile")?m.$router.push("/profile"):m.$router.push(`/users/${p(s).username}`))},A(m.$t("user.PROFILE.BACK_TO_PROFILE")),1)])])}}}),kr=ne(ZOt,[["__scopeId","data-v-857f94f2"]]),JOt={id:"users-sports"},kS=Q({__name:"index",props:{user:{},isEdition:{type:Boolean}},setup(e){const t=e,{user:n,isEdition:s}=pe(t),a=ye(),{t:o}=vt(),{sports:i}=en(),r=F(()=>ds(i.value,o,"is_active",n.value.sports_list));return ut(()=>{a.commit(nt.MUTATIONS.SET_CLIENTS,[])}),(u,l)=>{const d=j("router-view");return f(),g("div",JOt,[M(d,{authUser:p(n),isEdition:p(s),translatedSports:r.value},null,8,["authUser","isEdition","translatedSports"])])}}}),e0t=Q({__name:"EquipmentBadge",props:{equipment:{},workoutId:{},sportId:{}},setup(e){const t=e,{equipment:n,sportId:s,workoutId:a}=pe(t);return(o,i)=>{var l;const r=j("EquipmentTypeImage"),u=j("router-link");return"id"in p(n)?(f(),G(u,{key:0,class:fe(["equipment-badge",{inactive:!p(n).is_active}]),to:{name:"Equipment",params:{id:p(n).id},query:{fromWorkoutId:p(a),fromSportId:(l=p(s))==null?void 0:l.toString()}}},{default:X(()=>[M(r,{title:o.$t(`equipment_types.${p(n).equipment_type.label}.LABEL`),"equipment-type-label":p(n).equipment_type.label},null,8,["title","equipment-type-label"]),E("span",null,A(p(n).label)+" "+A(p(n).is_active?"":`(${o.$t("common.INACTIVE")})`),1)]),_:1},8,["class","to"])):(f(),g("div",{key:1,class:fe(["equipment-badge",{inactive:!p(n).is_active}])},[M(r,{title:o.$t(`equipment_types.${p(n).equipment_type.label}.LABEL`),"equipment-type-label":p(n).equipment_type.label},null,8,["title","equipment-type-label"]),E("span",null,A(p(n).label)+" "+A(p(n).is_active?"":`(${o.$t("common.INACTIVE")})`),1)],2))}}}),J1=ne(e0t,[["__scopeId","data-v-74589efc"]]),t0t={key:0,id:"user-sport",class:"description-list"},n0t={class:"sport-equipments"},s0t={key:0,class:"no-equipments"},a0t={class:"sport-buttons"},o0t=["disabled"],i0t={key:1},r0t={class:"no-sport"},u0t=Q({__name:"UserSport",props:{authUser:{},translatedSports:{}},setup(e){const t=e,{translatedSports:n}=pe(t),s=at(),{errorMessages:a}=Ge(),{displayModal:o,sportColors:i,resetSport:r,updateDisplayModal:u}=en(),{authUserLoading:l}=Ye(),d=F(()=>_(n.value));function _(c){if(!s.params.id)return null;const T=c.filter(m=>s.params.id?m.id===+s.params.id:null);return T.length===0?null:T[0]}return Pe(()=>l.value,c=>{!c&&!a.value&&u(!1)}),(c,T)=>{const m=j("Modal"),S=j("SportImage"),R=j("Distance");return d.value?(f(),g("div",t0t,[p(o)?(f(),G(m,{key:0,title:c.$t("common.CONFIRMATION"),message:c.$t(`user.PROFILE.SPORT.CONFIRM_SPORT_RESET${d.value.default_equipments.length>0?"_WITH_EQUIPMENTS":""}`),onConfirmAction:T[0]||(T[0]=h=>p(r)(d.value.id,!0)),onCancelAction:T[1]||(T[1]=h=>p(u)(!1)),onKeydown:T[2]||(T[2]=Xe(h=>p(u)(!1),["esc"]))},null,8,["title","message"])):v("",!0),E("dl",null,[E("dt",null,A(Fe(c.$t("workouts.SPORT",1))),1),E("dd",null,A(d.value.translatedLabel),1),E("dt",null,A(Fe(c.$t("user.PROFILE.SPORT.COLOR"))),1),E("dd",null,[M(S,{title:d.value.translatedLabel,"sport-label":d.value.label,color:d.value.color?d.value.color:p(i)[d.value.label]},null,8,["title","sport-label","color"])]),E("dt",null,A(Fe(c.$t("workouts.WORKOUT",0))),1),E("dd",null,[E("i",{class:fe(`fa fa-${c.authUser.sports_list.includes(d.value.id)?"check-":""}square-o`),"aria-hidden":"true"},null,2)]),E("dt",null,A(Fe(c.$t("user.PROFILE.SPORT.STOPPED_SPEED_THRESHOLD"))),1),E("dd",null,[M(R,{distance:d.value.stopped_speed_threshold,unitFrom:"km",speed:!0,useImperialUnits:c.authUser.imperial_units},null,8,["distance","useImperialUnits"])]),E("dt",null,A(Fe(c.$t("common.ACTIVE",0))),1),E("dd",null,[E("i",{class:fe(`fa fa-${d.value.is_active_for_user?"check-":""}square-o`),"aria-hidden":"true"},null,2)]),E("dt",null,A(c.$t("user.PROFILE.SPORT.DEFAULT_EQUIPMENTS",1)),1),E("dd",n0t,[(f(!0),g(ae,null,be(d.value.default_equipments,h=>(f(),G(J1,{equipment:h,"sport-id":d.value.id,key:h.label},null,8,["equipment","sport-id"]))),128)),d.value.default_equipments.length===0?(f(),g("div",s0t,A(c.$t("equipments.NO_EQUIPMENTS")),1)):v("",!0)])]),E("div",a0t,[c.authUser.suspended_at?v("",!0):(f(),g(ae,{key:0},[E("button",{onClick:T[3]||(T[3]=h=>c.$router.push(`/profile/edit/sports/${d.value.id}`))},A(c.$t("buttons.EDIT")),1),E("button",{disabled:p(l),class:"danger",onClick:T[4]||(T[4]=Ne(h=>p(u)(!0),["prevent"]))},A(c.$t("buttons.RESET")),9,o0t)],64)),E("button",{onClick:T[5]||(T[5]=h=>c.$router.push(p(s).query.fromEquipmentId?`/profile/equipments/${p(s).query.fromEquipmentId}`:"/profile/sports"))},A(c.$t("buttons.BACK")),1)])])):(f(),g("div",i0t,[E("p",r0t,A(c.$t("user.NO_SPORT_FOUND")),1),E("button",{onClick:T[6]||(T[6]=h=>c.$router.push("/profile/sports"))},A(c.$t("buttons.BACK")),1)]))}}}),l0t=ne(u0t,[["__scopeId","data-v-17025437"]]),c0t={key:0,id:"sport-edition"},d0t={class:"form-items"},E0t={class:"form-item"},_0t={for:"sport-label"},T0t={class:"form-item"},p0t={for:"sport-color"},m0t=["disabled"],f0t={class:"form-item"},S0t={for:"sport-threshold"},A0t=["disabled"],h0t={class:"form-item-checkbox"},O0t={for:"equipment-active"},I0t=["checked","disabled"],R0t={class:"form-item"},N0t={for:"sport-default-equipment"},g0t=["disabled"],b0t={value:""},C0t=["value"],P0t={class:"form-buttons"},D0t=["disabled"],L0t=["disabled"],v0t=Q({__name:"UserSportEdition",props:{authUser:{},translatedSports:{}},setup(e){const t=e,{authUser:n,translatedSports:s}=pe(t),{t:a}=vt(),o=ye(),i=at(),{errorMessages:r}=Ge(),{defaultColor:u,defaultEquipmentId:l,sportColors:d,sportPayload:_,updateIsActive:c,updateSport:T}=en(),{authUserLoading:m}=Ye(),S=Oe(!1),R=F(()=>I(s.value)),h=F(()=>o.getters[Be.GETTERS.EQUIPMENTS]),O=F(()=>h.value&&R.value?C1(h.value,a,"withIncludedIds",R.value,R.value.default_equipments.map(C=>C.id)):[]);function I(C){if(!i.params.id)return null;const y=C.filter(L=>i.params.id?L.id===+i.params.id:null);return y.length===0?null:y[0]}function N(C,y=!1){C!==null&&(_.sport_id=C.id,_.color=C.color?C.color:d?d[C.label]:u,_.is_active=C.is_active_for_user,_.stopped_speed_threshold=+`${n.value.imperial_units?Xt(C.stopped_speed_threshold,"km","mi",2):parseFloat(C.stopped_speed_threshold.toFixed(2))}`,_.fromSport=!0,y&&(l.value=C.default_equipments.length>0?C.default_equipments[0].id:""))}function b(){_.default_equipment_ids=l.value?[l.value]:[],T(n.value)}function P(){S.value=!0}return Pe(()=>R.value,C=>{i.params.id&&(C!=null&&C.id)&&N(C,!0)}),Et(()=>{var y;const C=document.getElementById("sport-color");C==null||C.focus(),i.params.id&&i.params.id&&(y=R.value)!=null&&y.id&&N(R.value,!0)}),(C,y)=>{const L=j("ErrorMessage");return R.value?(f(),g("div",c0t,[E("form",{class:fe({errors:S.value}),onSubmit:Ne(b,["prevent"])},[E("div",d0t,[E("div",E0t,[E("label",_0t,A(Fe(C.$t("workouts.SPORT",1))),1),B(" "+A(R.value.translatedLabel),1)]),E("div",T0t,[E("label",p0t,A(Fe(C.$t("user.PROFILE.SPORT.COLOR"))),1),We(E("input",{id:"sport-color",name:"sport-color",class:"sport-color",type:"color",required:"","onUpdate:modelValue":y[0]||(y[0]=w=>p(_).color=w),disabled:p(m),onInvalid:P},null,40,m0t),[[st,p(_).color]])]),E("div",f0t,[E("label",S0t,A(Fe(C.$t("user.PROFILE.SPORT.STOPPED_SPEED_THRESHOLD")))+" ("+A(`${p(n).imperial_units?"mi":"km"}/h`)+")* ",1),We(E("input",{id:"sport-threshold",name:"sport-threshold",class:"threshold-input",type:"number",min:"0",step:"0.1",required:"","onUpdate:modelValue":y[1]||(y[1]=w=>p(_).stopped_speed_threshold=w),disabled:p(m),onInvalid:P},null,40,A0t),[[st,p(_).stopped_speed_threshold]])]),E("div",h0t,[E("label",O0t,A(Fe(C.$t("common.ACTIVE"))),1),E("input",{id:"equipment-active",name:"equipment-active",type:"checkbox",checked:R.value.is_active_for_user,onChange:y[2]||(y[2]=(...w)=>p(c)&&p(c)(...w)),disabled:p(m)},null,40,I0t)]),E("div",R0t,[E("label",N0t,A(C.$t("user.PROFILE.SPORT.DEFAULT_EQUIPMENTS",1)),1),We(E("select",{id:"sport-default-equipment",onInvalid:P,disabled:p(m),"onUpdate:modelValue":y[3]||(y[3]=w=>Kt(l)?l.value=w:null)},[E("option",b0t,A(C.$t("equipments.NO_EQUIPMENTS")),1),(f(!0),g(ae,null,be(O.value,w=>(f(),g("option",{value:w.id,key:w.id},A(w.label),9,C0t))),128))],40,g0t),[[jt,p(l)]])])]),p(r)?(f(),G(L,{key:0,message:p(r),"no-margin":!0},null,8,["message"])):v("",!0),E("div",P0t,[E("button",{class:"confirm",type:"submit",disabled:p(m)},A(C.$t("buttons.SUBMIT")),9,D0t),E("button",{class:"cancel",onClick:y[4]||(y[4]=Ne(()=>{var w;return C.$router.push(`/profile/sports/${(w=R.value)==null?void 0:w.id}`)},["prevent"])),disabled:p(m)},A(C.$t("buttons.CANCEL")),9,L0t)])],34)])):v("",!0)}}}),y0t=ne(v0t,[["__scopeId","data-v-36efa47b"]]),U0t={id:"user-sport-preferences"},$0t={key:1,class:"responsive-table"},k0t={class:"mobile-display"},w0t={key:0,class:"profile-buttons mobile-display"},M0t={key:1,class:"profile-buttons"},W0t={class:"text-left"},F0t={class:"threshold"},z0t={key:0},B0t={class:"cell-heading"},G0t={class:"cell-heading"},x0t={key:2,class:"disabled-message"},V0t={key:3,class:"fa fa-refresh fa-spin fa-fw"},H0t={class:"cell-heading"},K0t={class:"cell-heading"},Y0t={class:"cell-heading"},q0t=["checked"],j0t={class:"cell-heading"},X0t={key:1},Q0t={key:0,class:"action-buttons"},Z0t={class:"cell-heading"},J0t=["onClick"],e1t={key:1,class:"edition-buttons"},t1t=["disabled"],n1t=["disabled"],s1t=["disabled"],a1t={key:0,class:"profile-buttons"},o1t={key:1,class:"profile-buttons"},i1t=Q({__name:"UserSportPreferences",props:{authUser:{},translatedSports:{},isEdition:{type:Boolean}},setup(e){const t=e,{authUser:n,isEdition:s,translatedSports:a}=pe(t),o=ye(),{errorMessages:i}=Ge(),{defaultColor:r,displayModal:u,sportColors:l,sportPayload:d,resetSport:_,updateDisplayModal:c,updateIsActive:T,updateSport:m}=en(),{authUserLoading:S}=Ye(),R=Oe(!1);function h(N){N!==null?(d.sport_id=N.id,d.color=N.color?N.color:l?l[N.label]:r,d.is_active=N.is_active_for_user,d.stopped_speed_threshold=+`${n.value.imperial_units?Xt(N.stopped_speed_threshold,"km","mi",2):parseFloat(N.stopped_speed_threshold.toFixed(2))}`,R.value=N.default_equipments.length>0):I()}function O(N){return d.sport_id===N}function I(){d.sport_id=0,d.color=null,d.is_active=!0,d.stopped_speed_threshold=1,R.value=!1,o.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES)}return Pe(()=>S.value,N=>{!N&&!i.value&&(I(),c(!1))}),(N,b)=>{const P=j("Modal"),C=j("SportImage"),y=j("router-link"),L=j("ErrorMessage"),w=j("Distance");return f(),g("div",U0t,[p(u)?(f(),G(P,{key:0,title:N.$t("common.CONFIRMATION"),message:N.$t(`user.PROFILE.SPORT.CONFIRM_SPORT_RESET${R.value?"_WITH_EQUIPMENTS":""}`),onConfirmAction:b[0]||(b[0]=D=>p(_)(p(d).sport_id)),onCancelAction:b[1]||(b[1]=D=>p(c)(!1)),onKeydown:b[2]||(b[2]=Xe(D=>p(c)(!1),["esc"]))},null,8,["title","message"])):v("",!0),p(a).length>0?(f(),g("div",$0t,[E("div",k0t,[p(s)?(f(),g("div",w0t,[E("button",{class:"cancel",onClick:b[3]||(b[3]=Ne(D=>N.$router.push("/profile/sports"),["prevent"]))},A(N.$t("buttons.BACK")),1)])):(f(),g("div",M0t,[E("button",{onClick:b[4]||(b[4]=D=>N.$router.push("/profile/edit/sports"))},A(N.$t("user.PROFILE.EDIT_SPORTS_PREFERENCES")),1),E("button",{onClick:b[5]||(b[5]=D=>N.$router.push("/"))},A(N.$t("common.HOME")),1)]))]),E("table",null,[E("thead",null,[E("tr",null,[E("th",null,A(N.$t("user.PROFILE.SPORT.COLOR")),1),E("th",W0t,A(N.$t("workouts.SPORT",0)),1),E("th",null,A(N.$t("workouts.WORKOUT",0)),1),E("th",null,A(N.$t("equipments.EQUIPMENT",0)),1),E("th",null,A(N.$t("user.PROFILE.SPORT.IS_ACTIVE")),1),E("th",null,[E("div",F0t,[E("span",null,A(N.$t("user.PROFILE.SPORT.STOPPED_SPEED_THRESHOLD")),1),E("span",null," ("+A(`${p(n).imperial_units?"mi":"km"}/h`)+") ",1)])]),p(s)&&!p(n).suspended_at?(f(),g("th",z0t,A(N.$t("user.PROFILE.SPORT.ACTION")),1)):v("",!0)])]),E("tbody",null,[(f(!0),g(ae,null,be(p(a),D=>(f(),g("tr",{key:D.id},[E("td",null,[E("span",B0t,A(N.$t("user.PROFILE.SPORT.COLOR")),1),O(D.id)?We((f(),g("input",{key:0,class:"sport-color",type:"color","onUpdate:modelValue":b[6]||(b[6]=W=>p(d).color=W)},null,512)),[[st,p(d).color]]):(f(),G(C,{key:1,title:D.translatedLabel,"sport-label":D.label,color:D.color?D.color:p(l)[D.label]},null,8,["title","sport-label","color"]))]),E("td",{class:fe(["sport-label",{"disabled-sport":!D.is_active}])},[E("span",G0t,A(N.$t("user.PROFILE.SPORT.LABEL")),1),O(D.id)?(f(),g(ae,{key:0},[B(A(D.translatedLabel),1)],64)):(f(),G(y,{key:1,to:`/profile/sports/${D.id}`},{default:X(()=>[B(A(D.translatedLabel),1)]),_:2},1032,["to"])),D.is_active?v("",!0):(f(),g("span",x0t," ("+A(N.$t("user.PROFILE.SPORT.DISABLED_BY_ADMIN"))+") ",1)),p(S)&&O(D.id)?(f(),g("i",V0t)):v("",!0),p(i)&&p(d).sport_id===D.id?(f(),G(L,{key:4,message:p(i)},null,8,["message"])):v("",!0)],2),E("td",{class:fe(["text-center",{"disabled-sport":!D.is_active}])},[E("span",H0t,A(N.$t("workouts.WORKOUT",0)),1),E("i",{class:fe(`fa fa${p(n).sports_list.includes(D.id)?"-check":""}`),"aria-hidden":"true"},null,2)],2),E("td",{class:fe(["text-center",{"disabled-sport":!D.is_active}])},[E("span",K0t,A(N.$t("equipments.EQUIPMENT",0)),1),E("i",{class:fe(`fa fa${D.default_equipments.length>0?"-check":""}`),"aria-hidden":"true"},null,2)],2),E("td",{class:fe(["text-center",{"disabled-sport":!D.is_active}])},[E("span",Y0t,A(N.$t("user.PROFILE.SPORT.IS_ACTIVE")),1),O(D.id)&&D.is_active?(f(),g("input",{key:0,type:"checkbox",checked:D.is_active_for_user,onChange:b[7]||(b[7]=(...W)=>p(T)&&p(T)(...W))},null,40,q0t)):(f(),g("i",{key:1,class:fe(`fa fa${D.is_active_for_user?"-check":""}`),"aria-hidden":"true"},null,2))],2),E("td",{class:fe(["text-center",{"disabled-sport":!D.is_active}])},[E("span",j0t,A(N.$t("user.PROFILE.SPORT.STOPPED_SPEED_THRESHOLD"))+" "+A(`${p(n).imperial_units?"mi":"km"}/h`),1),O(D.id)&&D.is_active?We((f(),g("input",{key:0,class:"threshold-input",type:"number",min:"0",step:"0.1","onUpdate:modelValue":b[8]||(b[8]=W=>p(d).stopped_speed_threshold=W)},null,512)),[[st,p(d).stopped_speed_threshold]]):(f(),g("span",X0t,[M(w,{distance:D.stopped_speed_threshold,unitFrom:"km",speed:!0,useImperialUnits:p(n).imperial_units,displayUnit:!1},null,8,["distance","useImperialUnits"])]))],2),p(s)&&!p(n).suspended_at?(f(),g("td",Q0t,[E("span",Z0t,A(N.$t("user.PROFILE.SPORT.ACTION")),1),p(d).sport_id===0?(f(),g("button",{key:0,onClick:W=>h(D)},A(N.$t("buttons.EDIT")),9,J0t)):v("",!0),O(D.id)?(f(),g("div",e1t,[E("button",{disabled:p(S),onClick:b[9]||(b[9]=Ne(W=>p(m)(p(n)),["prevent"]))},A(N.$t("buttons.SUBMIT")),9,t1t),E("button",{disabled:p(S),class:"warning",onClick:b[10]||(b[10]=Ne(W=>p(c)(!0),["prevent"]))},A(N.$t("buttons.RESET")),9,n1t),E("button",{disabled:p(S),onClick:b[11]||(b[11]=W=>h(null))},A(N.$t("buttons.CANCEL")),9,s1t)])):v("",!0)])):v("",!0)]))),128))])]),p(s)?(f(),g("div",a1t,[E("button",{class:"cancel",onClick:b[12]||(b[12]=Ne(D=>N.$router.push("/profile/sports"),["prevent"]))},A(N.$t("buttons.BACK")),1)])):(f(),g("div",o1t,[p(n).suspended_at?v("",!0):(f(),g("button",{key:0,onClick:b[13]||(b[13]=D=>N.$router.push("/profile/edit/sports"))},A(N.$t("user.PROFILE.EDIT_SPORTS_PREFERENCES")),1)),E("button",{onClick:b[14]||(b[14]=D=>N.$router.push("/"))},A(N.$t("common.HOME")),1)]))])):v("",!0)])}}}),wS=ne(i1t,[["__scopeId","data-v-1ea3864e"]]),r1t={class:"about-text"},u1t=["innerHTML"],l1t=["href"],c1t={href:"https://github.com/SamR1/FitTrackee",target:"_blank",rel:"noopener noreferrer"},d1t={key:0},E1t=["href"],_1t={key:1},T1t=["href"],p1t={class:"about-instance"},m1t=["innerHTML"],f1t=Q({__name:"About",setup(e){const{appConfig:t,appLanguage:n}=Ge(),s=F(()=>o()),a=F(()=>i());function o(){const r={};return t.value.weatherProvider==="visualcrossing"&&(r.name="Visual Crossing",r.url="https://www.visualcrossing.com"),r}function i(){let r="https://docs.fittrackee.org/";return n.value==="fr"&&(r+="fr/"),r}return(r,u)=>{const l=j("i18n-t");return f(),g("div",r1t,[E("div",null,[E("p",{class:"error-message",innerHTML:r.$t("about.FITTRACKEE_DESCRIPTION")},null,8,u1t),E("p",null,[u[0]||(u[0]=E("i",{class:"fa fa-book fa-padding","aria-hidden":"true"},null,-1)),E("a",{class:"documentation-link",href:a.value,target:"_blank",rel:"noopener noreferrer"},A(Fe(r.$t("common.DOCUMENTATION"))),9,l1t)]),E("p",null,[u[1]||(u[1]=E("i",{class:"fa fa-github fa-padding","aria-hidden":"true"},null,-1)),E("a",c1t,A(r.$t("about.SOURCE_CODE")),1)]),E("p",null,[u[3]||(u[3]=E("i",{class:"fa fa-balance-scale fa-padding","aria-hidden":"true"},null,-1)),M(l,{keypath:"about.FITTRACKEE_LICENSE"},{default:X(()=>u[2]||(u[2]=[E("a",{href:"https://choosealicense.com/licenses/agpl-3.0/",target:"_blank",rel:"noopener noreferrer"},"AGPLv3",-1)])),_:1})]),p(t).admin_contact?(f(),g("div",d1t,[u[4]||(u[4]=E("i",{class:"fa fa-envelope-o fa-padding","aria-hidden":"true"},null,-1)),E("a",{href:`mailto:${p(t).admin_contact}`},A(r.$t("about.CONTACT_ADMIN")),9,E1t)])):v("",!0),s.value&&s.value.name?(f(),g("div",_1t,[B(A(r.$t("about.WEATHER_DATA_FROM"))+" ",1),E("a",{href:s.value.url,target:"_blank",rel:"nofollow noopener"},A(s.value.name),9,T1t)])):v("",!0),p(t).about?(f(),g(ae,{key:2},[E("p",p1t,A(r.$t("about.ABOUT_THIS_INSTANCE")),1),E("div",{innerHTML:p(Vi)(p(t).about)},null,8,m1t)],64)):v("",!0)])])}}}),S1t=ne(f1t,[["__scopeId","data-v-849f2cdf"]]),A1t={},h1t={id:"bike"};function O1t(e,t){return f(),g("div",h1t,t[0]||(t[0]=[E("img",{class:"bike-img",src:"/img/bike.svg",alt:"mountain bike"},null,-1)]))}const eI=ne(A1t,[["render",O1t],["__scopeId","data-v-13a50e87"]]),I1t={id:"about",class:"view"},R1t={class:"container"},N1t={class:"container-sub"},g1t={class:"container-sub about-details"},b1t=Q({__name:"AboutView",setup(e){return(t,n)=>(f(),g("div",I1t,[E("div",R1t,[E("div",N1t,[M(eI)]),E("div",g1t,[M(S1t)])])]))}}),C1t=ne(b1t,[["__scopeId","data-v-c3185f0c"]]),P1t={id:"admin",class:"view"},D1t={key:0,class:"container"},L1t={key:1,class:"container"},v1t=Q({__name:"AdminView",setup(e){const t=ye(),{authUserHasModeratorRights:n,authUserHasAdminRights:s,authUserLoading:a}=Ye();return Ze(()=>{n.value&&t.dispatch(ee.ACTIONS.GET_APPLICATION_STATS)}),(o,i)=>{const r=j("router-view");return f(),g("div",P1t,[p(a)?v("",!0):(f(),g("div",D1t,[(o.$route.meta.minimumRole==="moderator"?p(n):p(s))?(f(),G(r,{key:0})):(f(),g("div",L1t,[M(Fo)])),i[0]||(i[0]=E("div",{id:"bottom"},null,-1))]))])}}}),y1t=ne(v1t,[["__scopeId","data-v-c2668dab"]]),U1t={},$1t={class:"no-workouts box"};function k1t(e,t){const n=j("router-link");return f(),g("div",$1t,[E("div",null,[B(A(e.$t("workouts.NO_WORKOUTS"))+" ",1),M(n,{to:"/workouts/add"},{default:X(()=>[B(A(e.$t("workouts.UPLOAD_FIRST_WORKOUT")),1)]),_:1})])])}const j_=ne(U1t,[["render",k1t],["__scopeId","data-v-b0c91cc6"]]),ua={ligthMode:{text:"#666",line:"rgba(0, 0, 0, 0.1)"},darkMode:{text:"#a1a1a1",line:"#3f3f3f"}},w1t=(e,t,n,s=!1)=>{const a={speed:{label:t("workouts.SPEED"),backgroundColor:["transparent"],borderColor:[s?"#5f5c97":"#8884d8"],borderWidth:2,data:[],yAxisID:"ySpeed"},elevation:{label:t("workouts.ELEVATION"),backgroundColor:[s?"#303030":"#e5e5e5"],borderColor:[s?"#222222":"#cccccc"],borderWidth:1,fill:!0,data:[],yAxisID:"yElevation"}},o=[],i=[],r=[];return e.map(u=>{o.push(Zr("km",u.distance,n)),i.push(u.duration),a.speed.data.push(Zr("km",u.speed,n)),u.elevation!==void 0&&a.elevation.data.push(Zr("m",u.elevation,n)),r.push({latitude:u.latitude,longitude:u.longitude})}),{distance_labels:o,duration_labels:i,datasets:a,coordinates:r}},M1t=e=>{const t=e.length;if(t===0)return{};const n={};return e.map(s=>{n[s.sport_id]||(n[s.sport_id]={count:0,percentage:0}),n[s.sport_id].count+=1,n[s.sport_id].percentage=n[s.sport_id].count/t}),n},Yi={order:"desc",order_by:"workout_date"},W1t={id:"timeline"},F1t={class:"section-title"},z1t={key:0},B1t={key:1},G1t={key:1,class:"more-workouts"},wr=5,x1t=Q({__name:"Timeline",props:{sports:{},authUser:{}},setup(e){const t=e,{sports:n,authUser:s}=pe(t),{dateFormat:a}=Ye(),o=ye(),i=Oe(1),r=F(()=>s.value.nb_workouts>=wr?wr:s.value.nb_workouts),u=F(()=>o.getters[J.GETTERS.TIMELINE_WORKOUTS]),l=F(()=>o.getters[J.GETTERS.WORKOUTS_PAGINATION]),d=F(()=>o.getters[K.GETTERS.IS_SUSPENDED]);function _(){d.value||o.dispatch(J.ACTIONS.GET_TIMELINE_WORKOUTS,{page:i.value,per_page:wr,...Yi})}function c(){d.value||(i.value+=1,o.dispatch(J.ACTIONS.GET_MORE_TIMELINE_WORKOUTS,{page:i.value,per_page:wr,...Yi}))}return Ze(()=>_()),ut(()=>o.commit(J.MUTATIONS.SET_WORKOUTS_PAGINATION,{})),(T,m)=>(f(),g("div",W1t,[E("div",F1t,A(T.$t("workouts.LATEST_WORKOUTS")),1),p(s).nb_workouts>0&&u.value.length===0?(f(),g("div",z1t,[(f(!0),g(ae,null,be([...Array(r.value).keys()],S=>(f(),G(Hi,{user:p(s),useImperialUnits:p(s).imperial_units,dateFormat:p(a),timezone:p(s).timezone,key:S},null,8,["user","useImperialUnits","dateFormat","timezone"]))),128))])):(f(),g("div",B1t,[(f(!0),g(ae,null,be(u.value,S=>(f(),G(Hi,{workout:S,sport:u.value.length>0?p(n).filter(R=>R.id===S.sport_id)[0]:null,user:S.user,useImperialUnits:p(s).imperial_units,dateFormat:p(a),timezone:p(s).timezone,key:S.id},null,8,["workout","sport","user","useImperialUnits","dateFormat","timezone"]))),128)),u.value.length===0?(f(),G(j_,{key:0})):v("",!0),l.value.has_next?(f(),g("div",G1t,[E("button",{onClick:c},A(T.$t("workouts.LOAD_MORE_WORKOUT")),1)])):v("",!0)]))]))}}),V1t=ne(x1t,[["__scopeId","data-v-bab374a4"]]),H1t=["title"],tI=Q({__name:"CalendarWorkout",props:{displayHARecord:{type:Boolean},workout:{},sportLabel:{},sportColor:{}},setup(e){const t=e,{displayHARecord:n,workout:s,sportLabel:a,sportColor:o}=pe(t);return(i,r)=>{const u=j("SportImage"),l=j("router-link");return f(),G(l,{class:"calendar-workout",to:{name:"Workout",params:{workoutId:p(s).id}}},{default:X(()=>[M(u,{"sport-label":p(a),title:p(s).title,color:p(o)},null,8,["sport-label","title","color"]),E("sup",null,[p(s).records.length>0?(f(),g("i",{key:0,class:"fa fa-trophy custom-fa-small","aria-hidden":"true",title:p(s).records.filter(d=>p(n)?!0:d.record_type!=="HA").map(d=>` ${i.$t(`workouts.RECORD_${d.record_type}`)}`)[0]},null,8,H1t)):v("",!0)])]),_:1},8,["to"])}}}),K1t={class:"donut-chart"},Y1t={height:"34",width:"34",viewBox:"0 0 34 34"},q1t=["stroke","stroke-dashoffset","transform"],MS=16,WS=16,FS=14,j1t=Q({__name:"DonutChart",props:{colors:{},datasets:{}},setup(e){const t=e,{colors:n,datasets:s}=pe(t);let a=-90;const o=2*Math.PI*FS;function i(u,l){return l-u*l}function r(u,l){const d=`rotate(${a}, ${MS}, ${WS})`;return a=l*360+a,d}return(u,l)=>(f(),g("div",K1t,[(f(),g("svg",Y1t,[(f(!0),g(ae,null,be(Object.entries(p(s)),(d,_)=>(f(),g("g",{key:_},[E("circle",{cx:MS,cy:WS,r:FS,fill:"transparent",stroke:p(n)[+d[0]],"stroke-dashoffset":i(d[1].percentage,o),"stroke-dasharray":o,"stroke-width":"3","stroke-opacity":"0.8",transform:r(_,d[1].percentage)},null,8,q1t)]))),128))]))]))}}),X1t={class:"calendar-workouts-chart"},Q1t=["id"],Z1t={class:"workouts-count"},J1t={key:0,class:"workouts-pane"},eIt=["id"],tIt=Q({__name:"CalendarWorkoutsChart",props:{colors:{},datasets:{},sports:{},workouts:{},displayHARecord:{type:Boolean},index:{}},setup(e){const t=e,{colors:n,datasets:s,index:a,sports:o,workouts:i}=pe(t);let r=0;const u=Oe(!0);function l(){const c=document.getElementById(`workouts-pane-${a.value}`);return c!=null&&c.children&&(c==null?void 0:c.children.length)>0?c:null}async function d(c){var m;c.preventDefault(),c.stopPropagation(),u.value=!u.value,await rn();const T=l();u.value?(m=document.getElementById(`workouts-donut-${a.value}`))==null||m.focus():(T==null?void 0:T.children[0]).focus()}function _(c){if(!u.value){if(!u.value&&(c.key==="Tab"||c.keyCode===9)){c.preventDefault(),c.stopPropagation();const T=l();T&&(c.shiftKey?(r-=1,r<0&&(r=T.children.length-1)):(r+=1,r>=T.children.length&&(r=0)),T.children[r].focus())}c.key==="Escape"&&d(c)}}return Et(()=>{document.addEventListener("keydown",_)}),ut(()=>{document.removeEventListener("keydown",_)}),(c,T)=>{const m=nN("click-outside");return f(),g("div",X1t,[E("button",{class:"workouts-chart transparent",id:`workouts-donut-${p(a)}`,onClick:d},[E("div",Z1t,A(p(i).length),1),M(j1t,{datasets:p(s),colors:p(n)},null,8,["datasets","colors"])],8,Q1t),u.value?v("",!0):(f(),g("div",J1t,[We((f(),g("div",{class:"more-workouts",id:`workouts-pane-${p(a)}`},[E("button",{class:"calendar-more-close transparent",onClick:d},T[0]||(T[0]=[E("i",{class:"fa fa-times","aria-hidden":"true"},null,-1)])),(f(!0),g(ae,null,be(p(i),(S,R)=>(f(),G(tI,{key:R,displayHARecord:c.displayHARecord,workout:S,sportLabel:p(F_)(S,p(o)),sportColor:p(z_)(S,p(o))},null,8,["displayHARecord","workout","sportLabel","sportColor"]))),128))],8,eIt)),[[m,d]])]))])}}}),zS=ne(tIt,[["__scopeId","data-v-57ede11f"]]),nIt={class:"calendar-workouts"},sIt={class:"desktop-display"},aIt={key:0,class:"workouts-display"},oIt={key:1,class:"donut-display"},iIt={class:"mobile-display"},rIt={key:0,class:"donut-display"},BS=6,uIt=Q({__name:"CalendarWorkouts",props:{displayHARecord:{type:Boolean},workouts:{},sports:{},index:{}},setup(e){const t=e,{displayHARecord:n,index:s,sports:a,workouts:o}=pe(t),i=F(()=>M1t(t.workouts)),r=F(()=>Vit(t.sports));return(u,l)=>(f(),g("div",nIt,[E("div",sIt,[p(o).length<=BS?(f(),g("div",aIt,[(f(!0),g(ae,null,be(p(o).slice(0,BS),(d,_)=>(f(),G(tI,{key:_,displayHARecord:p(n),workout:d,sportLabel:p(F_)(d,p(a)),sportColor:p(z_)(d,p(a))},null,8,["displayHARecord","workout","sportLabel","sportColor"]))),128))])):(f(),g("div",oIt,[M(zS,{workouts:p(o),sports:p(a),datasets:i.value,colors:r.value,displayHARecord:p(n),index:p(s)},null,8,["workouts","sports","datasets","colors","displayHARecord","index"])]))]),E("div",iIt,[p(o).length>0?(f(),g("div",rIt,[M(zS,{workouts:p(o),sports:p(a),datasets:i.value,colors:r.value,displayHARecord:p(n),index:p(s)},null,8,["workouts","sports","datasets","colors","displayHARecord","index"])])):v("",!0)])]))}}),lIt={class:"calendar-cells"},cIt={class:"calendar-cell-day"},dIt=Q({__name:"CalendarCells",props:{currentDay:{},displayHARecord:{type:Boolean},endDate:{},sports:{},startDate:{},timezone:{},weekStartingMonday:{type:Boolean},workouts:{}},setup(e){const t=e,{currentDay:n,displayHARecord:s,endDate:a,sports:o,startDate:i,timezone:r,weekStartingMonday:u,workouts:l}=pe(t),d=Oe([]);function _(){d.value=[];let m=i.value;for(;m<=a.value;){const S=[];for(let R=0;R<7;R++)S.push(m),m=sr(m,1);d.value.push(S)}}function c(m){return u.value?[5,6].includes(m):[0,6].includes(m)}function T(m,S){return S?S.filter(R=>p0(Cl(R.workout_date,r.value),m)).reverse():[]}return Pe(()=>t.currentDay,()=>_()),Et(()=>_()),(m,S)=>(f(),g("div",lIt,[(f(!0),g(ae,null,be(d.value,(R,h)=>(f(),g("div",{class:"calendar-row",key:h},[(f(!0),g(ae,null,be(R,(O,I)=>(f(),g("div",{class:fe(["calendar-cell",{"disabled-cell":!p(Wv)(O,p(n)),"week-end":c(I),today:p(Fv)(O)}]),key:I},[M(uIt,{workouts:T(O,p(l)),sports:p(o),displayHARecord:p(s),index:I},null,8,["workouts","sports","displayHARecord","index"]),E("div",cIt,A(p(hn)(O,"d")),1)],2))),128))]))),128))]))}}),EIt={class:"calendar-days"},_It=Q({__name:"CalendarDays",props:{startDate:{},localeOptions:{}},setup(e){const t=e,n=[];for(let s=0;s<7;s++)n.push(sr(t.startDate,s));return(s,a)=>(f(),g("div",EIt,[(f(),g(ae,null,be(n,(o,i)=>E("div",{class:"calendar-day",key:i},A(p(hn)(o,s.localeOptions.code==="eu"?"EEEEEE.":"EEE",{locale:s.localeOptions})),1)),64))]))}}),TIt={class:"calendar-header"},pIt=["aria-label"],mIt={class:"calendar-month"},fIt=["aria-label"],SIt=Q({__name:"CalendarHeader",props:{day:{},localeOptions:{}},emits:["displayNextMonth","displayPreviousMonth"],setup(e,{emit:t}){const n=e,{day:s,localeOptions:a}=pe(n),o=t;return(i,r)=>(f(),g("div",TIt,[E("button",{class:"calendar-arrow calendar-arrow-left transparent",onClick:r[0]||(r[0]=u=>o("displayPreviousMonth")),"aria-label":i.$t("common.PREVIOUS")},r[2]||(r[2]=[E("i",{class:"fa fa-chevron-left","aria-hidden":"true"},null,-1)]),8,pIt),E("div",mIt,[E("span",null,A(p(hn)(p(s),"MMM yyyy",{locale:p(a)})),1)]),E("button",{class:"calendar-arrow calendar-arrow-right transparent",onClick:r[1]||(r[1]=u=>o("displayNextMonth")),"aria-label":i.$t("common.NEXT")},r[3]||(r[3]=[E("i",{class:"fa fa-chevron-right","aria-hidden":"true"},null,-1)]),8,fIt)]))}}),AIt={id:"user-calendar"},hIt={class:"section-title"},OIt={class:"calendar-card box"},GS="yyyy-MM-dd",IIt=Q({__name:"index",props:{sports:{},user:{}},setup(e){const t=e,{sports:n,user:s}=pe(t),a=ye(),{locale:o}=Ge(),{isAuthUserSuspended:i}=Ye(),r=Oe(new Date),u=Oe(Bm(r.value,s.value.weekm)),l=F(()=>a.getters[J.GETTERS.CALENDAR_WORKOUTS]);function d(){if(!i.value){u.value=Bm(r.value,t.user.weekm);const T={from:hn(u.value.start,GS),to:hn(u.value.end,GS),page:1,per_page:100,...Yi};a.dispatch(J.ACTIONS.GET_CALENDAR_WORKOUTS,T)}}function _(){r.value=No(r.value,1),d()}function c(){r.value=Mi(r.value,1),d()}return Ze(()=>d()),(T,m)=>(f(),g("div",AIt,[E("div",hIt,A(T.$t("workouts.MY_WORKOUTS")),1),E("div",OIt,[M(SIt,{day:r.value,"locale-options":p(o),onDisplayNextMonth:_,onDisplayPreviousMonth:c},null,8,["day","locale-options"]),M(_It,{"start-date":u.value.start,"locale-options":p(o)},null,8,["start-date","locale-options"]),M(dIt,{currentDay:r.value,displayHARecord:p(s).display_ascent,"end-date":u.value.end,sports:p(n),"start-date":u.value.start,timezone:p(s).timezone,workouts:l.value,weekStartingMonday:p(s).weekm},null,8,["currentDay","displayHARecord","end-date","sports","start-date","timezone","workouts","weekStartingMonday"])])]))}}),nI={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},RIt={ariaLabel:{type:String},ariaDescribedby:{type:String}},NIt={type:{type:String,required:!0},destroyDelay:{type:Number,default:0},...nI,...RIt},gIt=hh[0]==="2"?(e,t)=>Object.assign(e,{attrs:t}):(e,t)=>Object.assign(e,t);function no(e){return ji(e)?lt(e):e}function bIt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e;return ji(t)?new Proxy(e,{}):e}function CIt(e,t){const n=e.options;n&&t&&Object.assign(n,t)}function sI(e,t){e.labels=t}function aI(e,t,n){const s=[];e.datasets=t.map(a=>{const o=e.datasets.find(i=>i[n]===a[n]);return!o||!a.data||s.includes(o)?{...a}:(s.push(o),Object.assign(o,a),o)})}function PIt(e,t){const n={labels:[],datasets:[]};return sI(n,e.labels),aI(n,e.datasets,t),n}const DIt=Q({props:NIt,setup(e,t){let{expose:n,slots:s}=t;const a=Oe(null),o=il(null);n({chart:o});const i=()=>{if(!a.value)return;const{type:l,data:d,options:_,plugins:c,datasetIdKey:T}=e,m=PIt(d,T),S=bIt(m,d);o.value=new IE(a.value,{type:l,data:S,options:{..._},plugins:c})},r=()=>{const l=lt(o.value);l&&(e.destroyDelay>0?setTimeout(()=>{l.destroy(),o.value=null},e.destroyDelay):(l.destroy(),o.value=null))},u=l=>{l.update(e.updateMode)};return Et(i),ut(r),Pe([()=>e.options,()=>e.data],(l,d)=>{let[_,c]=l,[T,m]=d;const S=lt(o.value);if(!S)return;let R=!1;if(_){const h=no(_),O=no(T);h&&h!==O&&(CIt(S,h),R=!0)}if(c){const h=no(c.labels),O=no(m.labels),I=no(c.datasets),N=no(m.datasets);h!==O&&(sI(S.config.data,h),R=!0),I&&I!==N&&(aI(S.config.data,I,e.datasetIdKey),R=!0)}R&&rn(()=>{u(S)})},{deep:!0}),()=>bn("canvas",{role:"img",ariaLabel:e.ariaLabel,ariaDescribedby:e.ariaDescribedby,ref:a},[bn("p",{},[s.default?s.default():""])])}});function oI(e,t){return IE.register(t),Q({props:nI,setup(n,s){let{expose:a}=s;const o=il(null),i=r=>{o.value=r==null?void 0:r.chart};return a({chart:o}),()=>bn(DIt,gIt({ref:i},{type:e,...n}))}})}const LIt=oI("bar",oA),vIt=oI("line",aA),ai=(e,t,n,s=!0,a="km")=>{const o=n?gn[a].defaultTarget:a;switch(e){case"average_speed":return`${t.toFixed(2)} ${o}/h`;case"average_duration":case"total_duration":return Uht(t,s);case"average_distance":case"average_ascent":case"average_descent":case"total_distance":case"total_ascent":case"total_descent":return`${t.toFixed(2)} ${o}`;default:return t.toString()}},yIt=Q({__name:"Chart",props:{datasets:{},labels:{},displayedData:{},displayedSportIds:{},fullStats:{type:Boolean},useImperialUnits:{type:Boolean},label:{}},setup(e){const t=e,{datasets:n,labels:s,displayedData:a,displayedSportIds:o,fullStats:i,useImperialUnits:r}=pe(t),{t:u}=vt(),{darkTheme:l}=Ge(),d=F(()=>({color:l.value?ua.darkMode.line:ua.ligthMode.line})),_=F(()=>({color:l.value?ua.darkMode.text:ua.ligthMode.text})),c=F(()=>a.value!=="average_workouts"&&a.value.startsWith("average")),T=F(()=>({labels:s.value,datasets:JSON.parse(JSON.stringify(n.value))})),m=F(()=>({responsive:!0,maintainAspectRatio:!1,animation:!1,layout:{padding:{top:i.value?40:22}},scales:{x:{stacked:!0,grid:{drawOnChartArea:!1,...d.value},border:{...d.value},ticks:{..._.value}},y:{stacked:!a.value.startsWith("average"),grid:{drawOnChartArea:!1,...d.value},border:{...d.value},ticks:{maxTicksLimit:6,callback:function(O){return ai(a.value,+O,r.value,!1,h(a.value))},..._.value},afterFit:function(O){O.width=i.value?90:60}}},plugins:{datalabels:{anchor:"end",align:"end",color:function(O){return c.value&&O.dataset.backgroundColor?O.dataset.backgroundColor[0]:_.value.color},rotation:function(O){return i.value&&O.chart.chartArea.width<580?310:0},display:function(O){return i.value&&O.chart.chartArea.width<300?!1:c.value?o.value.length==1?"auto":!1:!0},formatter:function(O,I){if(a.value.startsWith("average"))return ai(a.value,O,r.value,!1);{const N=I.chart.data.datasets.map(b=>b.data[I.dataIndex]).reduce((b,P)=>R(b,P),0);return I.datasetIndex===o.value.length-1&&N>0?ai(a.value,N,r.value,!1,h(a.value)):null}}},legend:{display:!1},tooltip:{interaction:{intersect:!0,mode:"index",position:c.value?"nearest":"average"},filter:function(O){return O.formattedValue!=="0"},callbacks:{label:function(O){let I=a.value==="average_workouts"?u("workouts.WORKOUT",0):u(`sports.${O.dataset.label}.LABEL`)||"";return I&&(I+=": "),O.parsed.y!==null&&(I+=ai(a.value,O.parsed.y,r.value,!0,h(a.value))),I},footer:function(O){if(a.value.startsWith("average"))return"";let I=0;return O.map(N=>{I+=N.parsed.y}),`${u("common.TOTAL")}: `+ai(a.value,I,r.value,!0,h(a.value))}}}}}));function S(O){return isNaN(O)?0:+O}function R(O,I){return S(O)+S(I)}function h(O){return O.includes("scent")?"m":"km"}return(O,I)=>(f(),g("div",{class:fe(["bar-chart",{minimal:!p(i)}])},[M(p(LIt),{data:T.value,options:m.value,"aria-label":O.label},null,8,["data","options","aria-label"])],2))}}),UIt=ne(yIt,[["__scopeId","data-v-656704a1"]]),{locale:tl}=Wo.global,iI={week:{api:"yyyy-MM-dd",chart:"MM/dd/yyyy"},month:{api:"yyyy-MM",chart:"MM/yyyy"},year:{api:"yyyy",chart:"yyyy"}},$It=["average_ascent","average_descent","average_distance","average_duration","average_speed","total_workouts","total_duration","total_distance","total_ascent","total_descent"],kIt=(e,t)=>{const n=[];for(let s=Yet(e.duration,e.start,t);s<=e.end;s=qet(e.duration,s))n.push(s);return n},As=(e,t,n=!1)=>{const s={label:e,backgroundColor:[t],data:[]};return n?(s.type="line",s.borderColor=[t],s.spanGaps=!0):s.type="bar",s},wIt=e=>{const t={average_ascent:[],average_descent:[],average_distance:[],average_duration:[],average_speed:[],average_workouts:[],total_workouts:[],total_distance:[],total_duration:[],total_ascent:[],total_descent:[]};return e.map(n=>{const s=n.color?n.color:W_[n.label];t.average_ascent.push(As(n.label,s,!0)),t.average_descent.push(As(n.label,s,!0)),t.average_distance.push(As(n.label,s,!0)),t.average_duration.push(As(n.label,s,!0)),t.average_speed.push(As(n.label,s,!0)),t.total_workouts.push(As(n.label,s)),t.total_distance.push(As(n.label,s)),t.total_duration.push(As(n.label,s)),t.total_ascent.push(As(n.label,s)),t.total_descent.push(As(n.label,s))}),t},MIt=(e,t,n)=>{switch(e){case"average_speed":case"total_distance":case"total_ascent":case"total_descent":case"average_distance":case"average_ascent":case"average_descent":return Zr(["average_speed","total_distance","average_distance"].includes(e)?"km":"m",t,n);default:case"total_workouts":case"total_duration":case"average_duration":return t}},hE=(e,t,n,s)=>hn(e,t==="week"?ha(n,tl.value):s,{locale:Ga[tl.value]}),WIt=(e,t,n,s,a,o,i)=>{const r=kIt(e,t),u=iI[e.duration],l=n.filter(T=>s.includes(T.id)),d=[],_=wIt(l),c={};return l.map(T=>c[T.label]=T.id),r.map(T=>{const m=hn(T,u.api),S=hE(T,e.duration,i,u.chart);hn(T,e.duration==="week"?ha(i,tl.value):u.chart,{locale:Ga[tl.value]}),d.push(S),$It.map(R=>{_[R].map(h=>{h.data.push(m in a&&c[h.label]in a[m]?MIt(R,a[m][c[h.label]][R],o):R.startsWith("average")?null:0)})})}),{labels:d,datasets:_}},FIt=(e,t,n,s)=>{const a=n?1:0,o=t==="year"?Rl(Vd(e,9)):t==="week"?cs(Mi(e,2),{weekStartsOn:a}):or(Mi(e,11)),i=t==="year"?m0(e):t==="week"?XE(e,{weekStartsOn:a}):ar(e);return{duration:t,end:i,start:o,statsType:s}},zIt=(e,t,n)=>{const{duration:s,start:a,end:o}=e,i=n?1:0;return{duration:s,end:s==="year"?m0(t?Vd(o,1):mu(o,1)):s==="week"?XE(t?qp(o):xd(o,1),{weekStartsOn:i}):ar(t?Mi(o,1):No(o,1)),start:s==="year"?Rl(t?Vd(a,1):mu(a,1)):s==="week"?cs(t?qp(a):xd(a,1),{weekStartsOn:i}):or(t?Mi(a,1):No(a,1)),statsType:e.statsType}},xS=e=>{const t=e.reduce((s,a)=>(s||0)+(a||0),0);return+(e.length?(t||0)/e.length:0).toFixed(1)},BIt=(e,t)=>{const n=e.label.toLowerCase(),s=t.label.toLowerCase();return n>s?1:n{const n=[],s={label:"workouts_average",backgroundColor:[],data:[]};let a=[];const o=e.map(i=>(i.label=t(`sports.${i.label}.LABEL`),i)).sort(BIt);for(const i of o)s.data.push(xS(i.data)),s.backgroundColor.push(i.backgroundColor[0]),n.push(i.label),a.length>0?a=a.map((r,u)=>r+(i.data[u]||0)):a=i.data.map(r=>r||0);return{labels:n,datasets:{workouts_average:[s]},workoutsAverage:xS(a)}},xIt={class:"stats-chart"},VIt={key:0},HIt={key:1},KIt={class:"chart-radio"},YIt=["value","checked","disabled"],qIt=["value","checked","disabled"],jIt=["value","checked","disabled"],XIt={key:0},QIt=["checked","disabled"],ZIt={key:1},JIt=["value","checked","disabled"],eRt={key:2},tRt=["value","checked","disabled"],nRt={class:"workouts-average"},sRt={key:0,class:"info-box"},aRt=Q({__name:"index",props:{sports:{},user:{},chartParams:{},displayedSportIds:{default:()=>[]},fullStats:{type:Boolean,default:!1},hideChartIfNoData:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},selectedTimeFrame:{default:null}},setup(e){const t=e,{sports:n,user:s,chartParams:a,displayedSportIds:o,fullStats:i,hideChartIfNoData:r,isDisabled:u}=pe(t),l=ye(),{t:d}=vt(),_=Oe("total_distance"),c=F(()=>l.getters[wt.GETTERS.USER_STATS]),T=F(()=>iI[a.value.duration].chart),m=F(()=>hE(a.value.start,a.value.duration,s.value.date_format,T.value)),S=F(()=>hE(a.value.end,a.value.duration,s.value.date_format,T.value)),R=F(()=>WIt(a.value,s.value.weekm,n.value,o.value,c.value,s.value.imperial_units,s.value.date_format)),h=F(()=>R.value.datasets[_.value]),O=F(()=>R.value.labels),I=F(()=>Object.keys(c.value).length===0),N=F(()=>a.value.statsType),b=F(()=>GIt(R.value.datasets.total_workouts,d));function P(L){s.value.suspended_at||l.dispatch(wt.ACTIONS.GET_USER_STATS,{username:s.value.username,params:L})}function C(L){_.value=L.target.value}function y(L,w){return{from:hn(L.start,"yyyy-MM-dd"),to:hn(L.end,"yyyy-MM-dd"),time:L.duration==="week"?`week${w.weekm?"m":""}`:L.duration,type:N.value}}return Pe(()=>a.value,async L=>{P(y(L,s.value))}),Pe(()=>N.value,async L=>{_.value=L==="total"&&_.value==="average_speed"?"total_distance":`${N.value}_${_.value.split("_")[1]}`}),Ze(()=>P(y(a.value,s.value))),(L,w)=>(f(),g("div",xIt,[p(r)&&I.value?(f(),g("div",VIt,A(L.$t("workouts.NO_WORKOUTS")),1)):(f(),g("div",HIt,[E("div",KIt,[E("label",null,[E("input",{type:"radio",name:"value_type",value:`${N.value}_distance`,checked:_.value===`${N.value}_distance`,disabled:p(u),onClick:C},null,8,YIt),B(" "+A(L.$t("workouts.DISTANCE")),1)]),E("label",null,[E("input",{type:"radio",name:"value_type",value:`${N.value}_duration`,checked:_.value===`${N.value}_duration`,disabled:p(u),onClick:C},null,8,qIt),B(" "+A(L.$t("workouts.DURATION")),1)]),E("label",null,[E("input",{type:"radio",name:"value_type",value:`${N.value}_workouts`,checked:_.value===`${N.value}_workouts`,disabled:p(u),onClick:C},null,8,jIt),B(" "+A(L.$t("workouts.WORKOUT",2)),1)]),p(i)&&N.value==="average"?(f(),g("label",XIt,[E("input",{type:"radio",name:"value_type",value:"average_speed",checked:_.value==="average_speed",disabled:p(u),onClick:C},null,8,QIt),B(" "+A(L.$t("workouts.SPEED")),1)])):v("",!0),p(i)?(f(),g("label",ZIt,[E("input",{type:"radio",name:"value_type",value:`${N.value}_ascent`,checked:_.value===`${N.value}_ascent`,disabled:p(u),onClick:C},null,8,JIt),B(" "+A(L.$t("workouts.ASCENT")),1)])):v("",!0),p(i)?(f(),g("label",eRt,[E("input",{type:"radio",name:"value_type",value:`${N.value}_descent`,checked:_.value===`${N.value}_descent`,disabled:p(u),onClick:C},null,8,tRt),B(" "+A(L.$t("workouts.DESCENT")),1)])):v("",!0)]),O.value.length>0||b.value.labels.length>0?(f(),G(UIt,{key:0,datasets:_.value==="average_workouts"?b.value.datasets.workouts_average:h.value,labels:_.value==="average_workouts"?b.value.labels:O.value,displayedData:_.value,displayedSportIds:p(o),fullStats:p(i),useImperialUnits:p(s).imperial_units,label:L.$t(`statistics.STATISTICS_CHARTS.${p(a).duration}`)+` (${m.value} - ${S.value})`},null,8,["datasets","labels","displayedData","displayedSportIds","fullStats","useImperialUnits","label"])):v("",!0),E("div",nRt,[_.value==="average_workouts"&&L.selectedTimeFrame?(f(),g("div",sRt,[w[0]||(w[0]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(L.$t("statistics.DATES"))+": "+A(m.value)+" - "+A(S.value)+", "+A(L.$t("statistics.WORKOUTS_AVERAGE"))+": "+A(b.value.workoutsAverage)+"/"+A(L.$t(`statistics.TIME_FRAMES.${L.selectedTimeFrame}`)),1)])):v("",!0)])]))]))}}),rI=ne(aRt,[["__scopeId","data-v-4f4f507b"]]),oRt={class:"user-month-stats"},iRt={class:"section-title"},rRt={class:"box"},uRt=Q({__name:"UserMonthStats",props:{sports:{},user:{}},setup(e){const t=e,{sports:n,user:s}=pe(t),a=new Date,o={duration:"week",start:or(a),end:ar(a),statsType:"total"},i=F(()=>n.value.map(r=>r.id));return(r,u)=>(f(),g("div",oRt,[E("div",iRt,[u[0]||(u[0]=E("i",{class:"fa fa-calendar custom-fa-small","aria-hidden":"true"},null,-1)),B(" "+A(r.$t("dashboard.THIS_MONTH")),1)]),E("div",rRt,[M(rI,{sports:p(n),user:p(s),"chart-params":o,"displayed-sport-ids":i.value,"hide-chart-if-no-data":!0},null,8,["sports","user","displayed-sport-ids"])])]))}}),lRt=ne(uRt,[["__scopeId","data-v-969d3887"]]),cRt={class:"record"},dRt={class:"record-type"},ERt={class:"record-value"},_Rt={class:"record-date"},TRt=Q({__name:"SportRecordsTable",props:{record:{}},setup(e){const t=e,{record:n}=pe(t);return(s,a)=>{const o=j("router-link");return f(),g("div",cRt,[E("span",dRt,A(Fe(p(n).label)),1),E("span",ERt,A(p(n).value),1),E("span",_Rt,[M(o,{to:{name:"Workout",params:{workoutId:p(n).workout_id}}},{default:X(()=>[E("time",null,A(p(n).workout_date),1)]),_:1},8,["to"])])])}}}),uI=ne(TRt,[["__scopeId","data-v-1226dbc9"]]),{locale:pRt}=Wo.global,mRt=(e,t,n,s)=>{const a="km",o=n?gn[a].defaultTarget:a,i="m",r=n?gn[i].defaultTarget:i;let u;switch(e.record_type){case"AS":case"MS":u=`${Xt(+e.value,a,o,2)} ${o}/h`;break;case"FD":u=`${Xt(+e.value,a,o,3)} ${o}`;break;case"HA":u=`${Xt(+e.value,i,r,2)} ${r}`;break;case"LD":u=e.value;break;default:throw new Error(`Invalid record type, expected: "AS", "FD", "HA", "LD", "MD", got: "${e.record_type}"`)}return{id:e.id,record_type:e.record_type,sport_id:e.sport_id,value:u,user:e.user,workout_date:Ut(e.workout_date,t,s,!1),workout_id:e.workout_id}},lI=(e,t)=>{const n=e.label.toLowerCase(),s=t.label.toLowerCase();return n>s?1:n(o=ha(o,pRt.value),e.filter(r=>a?!0:r.record_type!=="HA").reduce((r,u)=>{const l=t.find(d=>d.id===u.sport_id);return l&&l.label&&(i===null||l.id===i)&&(r[l.translatedLabel]===void 0&&(r[l.translatedLabel]={label:l.label,color:l.color,records:[]}),r[l.translatedLabel].records.push(mRt(u,n,s,o))),r},{})),fRt={class:"records-card"},SRt=Q({__name:"RecordsCard",props:{records:{},sportTranslatedLabel:{}},setup(e){const t=e,{records:n,sportTranslatedLabel:s}=pe(t),a=ye(),{t:o}=vt(),i=F(()=>a.getters[ee.GETTERS.LANGUAGE]),r=F(()=>i.value==="bg");function u(l){const d=[];return l.map(_=>{d.push({..._,label:o(`workouts.RECORD_${_.record_type}`)})}),d.sort(lI)}return(l,d)=>{const _=j("SportImage"),c=j("Card");return f(),g("div",fRt,[M(c,null,{title:X(()=>[M(_,{"sport-label":p(n).label,color:p(n).color},null,8,["sport-label","color"]),B(" "+A(p(s)),1)]),content:X(()=>[(f(!0),g(ae,null,be(u(p(n).records),T=>(f(),G(uI,{class:fe({"max-width":r.value}),record:T,key:T.id},null,8,["class","record"]))),128))]),_:1})])}}}),ARt=ne(SRt,[["__scopeId","data-v-7f2119fd"]]),hRt={class:"user-records-section"},ORt={class:"section-title"},IRt={class:"title"},RRt={class:"user-records"},NRt={key:0,class:"no-records"},gRt=Q({__name:"index",props:{sports:{},user:{}},setup(e){const t=e,{user:n}=pe(t),{t:s}=vt(),a=F(()=>cI(n.value.records,ds(t.sports,s),n.value.timezone,n.value.imperial_units,n.value.display_ascent,n.value.date_format));return(o,i)=>(f(),g("div",hRt,[E("div",ORt,[i[0]||(i[0]=E("i",{class:"fa fa-trophy custom-fa-small","aria-hidden":"true"},null,-1)),E("span",IRt,A(o.$t("workouts.RECORD",2)),1)]),E("div",RRt,[Object.keys(a.value).length===0?(f(),g("div",NRt,A(o.$t("workouts.NO_RECORDS")),1)):v("",!0),(f(!0),g(ae,null,be(Object.keys(a.value).sort(),r=>(f(),G(ARt,{sportTranslatedLabel:r,records:a.value[r],key:r,useImperialUnits:p(n).imperial_units},null,8,["sportTranslatedLabel","records","useImperialUnits"]))),128))])]))}}),bRt=ne(gRt,[["__scopeId","data-v-f9001ca7"]]),CRt={id:"user-stats"},Ed="km",_d="m",PRt=Q({__name:"index",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),{t:s}=vt(),a=F(()=>K_(n.value.total_duration,s)),o=F(()=>n.value.imperial_units?gn[Ed].defaultTarget:Ed),i=F(()=>n.value.imperial_units?Xt(n.value.total_distance,Ed,o.value,2):parseFloat(n.value.total_distance.toFixed(2))),r=F(()=>n.value.imperial_units?gn[_d].defaultTarget:_d),u=F(()=>n.value.imperial_units?Xt(n.value.total_ascent,_d,r.value,2):parseFloat(n.value.total_ascent.toFixed(2)));return(l,d)=>(f(),g("div",CRt,[M(Bs,{icon:"calendar",value:p(n).nb_workouts,text:l.$t("workouts.WORKOUT",p(n).nb_workouts)},null,8,["value","text"]),M(Bs,{icon:"road",value:i.value,text:o.value==="mi"?"miles":o.value},null,8,["value","text"]),p(n).display_ascent?(f(),G(Bs,{key:0,icon:"location-arrow",value:u.value,text:r.value==="ft"?"feet":r.value},null,8,["value","text"])):v("",!0),M(Bs,{icon:"clock-o",value:a.value.days,text:a.value.duration},null,8,["value","text"]),p(n).display_ascent?v("",!0):(f(),G(Bs,{key:1,icon:"tags",value:p(n).nb_sports,text:l.$t("workouts.SPORT",p(n).nb_sports)},null,8,["value","text"]))]))}}),DRt={class:"policy-message"},LRt=Q({__name:"PrivacyPolicyToAccept",props:{isPrivacyUpdated:{type:Boolean}},setup(e){const t=e,{isPrivacyUpdated:n}=pe(t);return(s,a)=>{const o=j("router-link"),i=j("i18n-t");return f(),g("div",DRt,[E("span",null,[M(i,{keypath:`user.${p(n)?"LAST_":""}PRIVACY_POLICY_TO_VALIDATE`},{default:X(()=>[M(o,{to:"/profile/edit/privacy-policy",class:"policy-link"},{default:X(()=>[B(A(s.$t("user.REVIEW")),1)]),_:1})]),_:1},8,["keypath"])])])}}}),vRt=ne(LRt,[["__scopeId","data-v-f91bc64f"]]),yRt={key:0,id:"dashboard",class:"view"},URt={class:"container mobile-menu"},$Rt={class:"box"},kRt={key:0,class:"container policy-container"},wRt={class:"container"},MRt={class:"container dashboard-container"},WRt={class:"left-container dashboard-sub-container"},FRt={class:"right-container dashboard-sub-container"},zRt={key:1,class:"app-loading"},BRt=Q({__name:"Dashboard",setup(e){const t=ye(),{authUser:n}=Ye(),{sports:s}=en(),a=Oe("calendar");function o(i){a.value=i}return Ze(()=>t.dispatch(K.ACTIONS.GET_USER_PROFILE,{})),(i,r)=>{const u=j("Loader");return p(n).username&&p(s).length>0?(f(),g("div",yRt,[E("div",URt,[E("div",$Rt,[E("div",{class:fe(["mobile-menu-item",{"is-selected":a.value==="calendar"}]),onClick:r[0]||(r[0]=l=>o("calendar"))},r[4]||(r[4]=[E("i",{class:"fa fa-calendar","aria-hidden":"true"},null,-1)]),2),E("div",{class:fe(["mobile-menu-item",{"is-selected":a.value==="chart"}]),onClick:r[1]||(r[1]=l=>o("chart"))},r[5]||(r[5]=[E("i",{class:"fa fa-bar-chart","aria-hidden":"true"},null,-1)]),2),E("div",{class:fe(["mobile-menu-item",{"is-selected":a.value==="timeline"}]),onClick:r[2]||(r[2]=l=>o("timeline"))},r[6]||(r[6]=[E("i",{class:"fa fa-map-o","aria-hidden":"true"},null,-1)]),2),E("div",{class:fe(["mobile-menu-item",{"is-selected":a.value==="records"}]),onClick:r[3]||(r[3]=l=>o("records"))},r[7]||(r[7]=[E("i",{class:"fa fa-trophy","aria-hidden":"true"},null,-1)]),2)])]),p(n).accepted_privacy_policy!==!0?(f(),g("div",kRt,[M(vRt,{"is-privacy-updated":p(n).accepted_privacy_policy===!1},null,8,["is-privacy-updated"])])):v("",!0),E("div",wRt,[M(PRt,{user:p(n)},null,8,["user"])]),E("div",MRt,[E("div",WRt,[M(lRt,{sports:p(s),user:p(n),class:fe({"is-hidden":a.value!=="chart"})},null,8,["sports","user","class"]),M(bRt,{sports:p(s),user:p(n),class:fe({"is-hidden":a.value!=="records"})},null,8,["sports","user","class"])]),E("div",FRt,[M(IIt,{sports:p(s),user:p(n),class:fe({"is-hidden":a.value!=="calendar"})},null,8,["sports","user","class"]),M(V1t,{sports:p(s),authUser:p(n),class:fe({"is-hidden":a.value!=="timeline"})},null,8,["sports","authUser","class"])])]),r[8]||(r[8]=E("div",{id:"bottom"},null,-1))])):(f(),g("div",zRt,[M(u)]))}}}),GRt=ne(BRt,[["__scopeId","data-v-7583b70b"]]),xRt={class:"not-found view"},VRt=Q({__name:"NotFoundView",setup(e){return(t,n)=>(f(),g("div",xRt,[M(Fo)]))}}),HRt={key:0,class:"follow-request"},KRt={class:"follow-request-user"},YRt={class:"user-name"},qRt={key:0,class:"follow-request-actions"},jRt={key:1,class:"follow-request-actions"},XRt=Q({__name:"RelationshipDetail",props:{authUser:{},notification:{}},emits:["updatedUserRelationship","userLinkClicked"],setup(e,{emit:t}){const n=e,{authUser:s,notification:a}=pe(n),o=t,i=ye();function r(u,l){i.dispatch(K.ACTIONS.UPDATE_FOLLOW_REQUESTS,{username:u,action:l}),o("updatedUserRelationship")}return(u,l)=>{const d=j("router-link");return p(a).from?(f(),g("div",HRt,[E("div",KRt,[M(Ht,{user:p(a).from},null,8,["user"]),E("div",YRt,[M(d,{to:`/users/${p(a).from.username}`,onClick:l[0]||(l[0]=_=>u.$emit("userLinkClicked"))},{default:X(()=>[B(A(p(a).from.username),1)]),_:1},8,["to"])])]),p(a).type==="follow_request"?(f(),g("div",qRt,[E("button",{onClick:l[1]||(l[1]=_=>r(p(a).from.username,"accept"))},[l[4]||(l[4]=E("i",{class:"fa fa-check","aria-hidden":"true"},null,-1)),B(" "+A(u.$t("buttons.ACCEPT")),1)]),E("button",{onClick:l[2]||(l[2]=_=>r(p(a).from.username,"reject")),class:"danger"},[l[5]||(l[5]=E("i",{class:"fa fa-times","aria-hidden":"true"},null,-1)),B(" "+A(u.$t("buttons.REJECT")),1)])])):(f(),g("div",jRt,[M(Ju,{authUser:p(s),user:p(a).from,from:"notifications",displayFollowsYou:!0,onUpdatedUser:l[3]||(l[3]=()=>o("updatedUserRelationship"))},null,8,["authUser","user"])]))])):v("",!0)}}}),QRt=ne(XRt,[["__scopeId","data-v-2fb30145"]]),ZRt={class:"report-notification"},JRt={key:0,class:"reported-workout"},eNt={key:1,class:"deleted-object"},tNt={key:1,class:"reported-comment"},nNt={key:1,class:"deleted-object"},sNt={key:0,class:"reported-user"},aNt={class:"user-name"},oNt={key:1,class:"reported-user"},iNt={class:"deleted-object"},rNt={class:"report-button"},uNt=Q({__name:"ReportNotification",props:{report:{}},emits:["reportButtonClicked"],setup(e,{emit:t}){const n=e,{report:s}=pe(n),a=t,o=On();function i(r){o.push(`/admin/reports/${r}`),a("reportButtonClicked")}return(r,u)=>{const l=j("router-link");return f(),g("div",ZRt,[p(s).object_type==="workout"?(f(),g("div",JRt,[p(s).reported_workout?(f(),G(q_,{key:0,"display-appeal":!1,"display-object-name":!0,workout:p(s).reported_workout,"report-id":p(s).id},null,8,["workout","report-id"])):(f(),g("div",eNt,A(r.$t("admin.DELETED_WORKOUT")),1))])):v("",!0),p(s).object_type==="comment"?(f(),g("div",tNt,[p(s).reported_comment?(f(),G(Y_,{key:0,"display-object-name":!0,comment:p(s).reported_comment},null,8,["comment"])):(f(),g("div",nNt,A(r.$t("admin.DELETED_COMMENT")),1))])):v("",!0),p(s).object_type==="user"?(f(),g(ae,{key:2},[p(s).reported_user?(f(),g("div",sNt,[M(Ht,{user:p(s).reported_user},null,8,["user"]),E("div",aNt,[M(l,{to:`/users/${p(s).reported_user.username}`},{default:X(()=>[B(A(p(s).reported_user.username),1)]),_:1},8,["to"])])])):(f(),g("div",oNt,[E("span",iNt,A(r.$t("admin.DELETED_USER")),1)]))],64)):v("",!0),E("div",rNt,[E("button",{onClick:u[0]||(u[0]=d=>i(p(s).id))},A(r.$t("admin.APP_MODERATION.VIEW_REPORT"))+" #"+A(p(s).id),1)])])}}}),lNt=ne(uNt,[["__scopeId","data-v-d8331538"]]),cNt={class:"notification-data-button"},dNt={class:"notification-date"},ENt=["title"],_Nt={class:"hidden-content"},TNt={key:0},pNt={class:"notification-reason"},mNt={key:1,class:"deleted-object"},fNt={key:1,class:"deleted-object"},SNt={key:5,class:"auth-user"},ANt={class:"user-name"},hNt={key:6},ONt={key:0,class:"info-box appeal-in-progress"},INt=Q({__name:"NotificationDetail",props:{authUser:{},notification:{}},emits:["reload","updateReadStatus"],setup(e,{emit:t}){const n=e,{authUser:s,notification:a}=pe(n),o=t,{locale:i}=Ge(),r=F(()=>R(a.value.type));function u(){o("reload")}function l(h,O){o("updateReadStatus",{notificationId:h,markedAsRead:O})}function d(h){h.marked_as_read||l(h.id,!0)}function _(){return["comment_like","comment_suspension","comment_unsuspension","mention","user_warning","user_warning_lifting","workout_comment"].includes(a.value.type)&&"comment"in a.value}function c(){return["workout_like","workout_suspension","workout_unsuspension","user_warning","user_warning_lifting","workout_comment"].includes(a.value.type)&&"workout"in a.value}function T(h){return["account_creation","follow","follow_request","follow_request_approved"].includes(h)}function m(){return!a.value.report_action||a.value.report_action.action_type!=="user_warning"?!1:!("workout"in a.value&&a.value.workout===null||"comment"in a.value&&a.value.comment===null)}function S(h){var O;switch(h){case"account_creation":return"notifications.SIGN_UP";case"comment_like":return"notifications.LIKED_YOUR_COMMENT";case"comment_suspension":return"notifications.YOUR_COMMENT_HAS_BEEN_SUSPENDED";case"comment_unsuspension":return"notifications.YOUR_COMMENT_HAS_BEEN_UNSUSPENDED";case"follow":return"user.RELATIONSHIPS.FOLLOWS_YOU";case"follow_request":return"notifications.SEND_FOLLOW_REQUEST_TO_YOU";case"follow_request_approved":return"notifications.ACCEPTED_FOLLOW_REQUEST";case"mention":return"notifications.MENTIONED_YOU";case"suspension_appeal":return"notifications.APPEALED_SUSPENSION";case"user_warning":return"notifications.YOU_RECEIVED_A_WARNING";case"user_warning_appeal":return"notifications.APPEALED_USER_WARNING";case"user_warning_lifting":return"notifications.YOUR_WARNING_HAS_BEEN_LIFTED";case"workout_comment":return"notifications.COMMENTED_YOUR_WORKOUT";case"workout_like":return"notifications.LIKED_YOUR_WORKOUT";case"workout_suspension":return"notifications.YOUR_WORKOUT_HAS_BEEN_SUSPENDED";case"workout_unsuspension":return"notifications.YOUR_WORKOUT_HAS_BEEN_UNSUSPENDED";case"report":return`notifications.REPORTED_USER_${(O=a.value.report)!=null&&O.object_type?a.value.report.object_type.toUpperCase():""}`;default:return""}}function R(h){switch(h){case"account_creation":return"user";case"follow":case"follow_request":case"follow_request_approved":return"user-plus";case"mention":return"at";case"comment_suspension":case"comment_unsuspension":case"report":case"suspension_appeal":case"user_warning":case"user_warning_appeal":case"user_warning_lifting":case"workout_suspension":case"workout_unsuspension":return"flag";case"comment_like":case"workout_like":return"heart";case"workout_comment":return"comment";default:return"bell"}}return(h,O)=>{const I=j("router-link"),N=j("Card");return p(a).id?(f(),G(N,{key:0,class:fe(["notification-card",{read:p(a).marked_as_read}])},{title:X(()=>[E("div",null,[E("i",{class:fe([`fa-${r.value}`,"fa notification-icon"]),"aria-hidden":"true"},null,2),p(a).from?(f(),G(I,{key:0,to:`/users/${p(a).from.username}`},{default:X(()=>[B(A(p(a).from.username),1)]),_:1},8,["to"])):v("",!0),B(" "+A(h.$t(S(p(a).type))),1)]),E("div",cNt,[E("div",dNt,A(p(Ba)(new Date(p(a).created_at),new Date,{addSuffix:!0,locale:p(i)})),1),E("button",{class:"mark-action",title:h.$t(`notifications.MARK_AS_${p(a).marked_as_read?"UN":""}READ`),onClick:O[0]||(O[0]=()=>l(p(a).id,!p(a).marked_as_read))},[E("span",_Nt,A(h.$t(`notifications.MARK_AS_${p(a).marked_as_read?"UN":""}READ`)),1),E("i",{class:fe(["fa",`fa-eye${p(a).marked_as_read?"-slash":""}`]),"aria-hidden":"true"},null,2)],8,ENt)])]),content:X(()=>{var b,P,C,y,L,w;return[(b=p(a).report_action)!=null&&b.reason?(f(),g("div",TNt,[E("span",pNt,A(h.$t("admin.APP_MODERATION.REASON"))+": ",1),B(" "+A(p(a).report_action.reason),1)])):v("",!0),_()?(f(),g(ae,{key:1},[p(a).comment?(f(),G(Y_,{key:0,"display-object-name":p(a).type.startsWith("user_warning"),comment:p(a).comment,action:p(a).report_action,onCommentLinkClicked:O[1]||(O[1]=D=>d(p(a)))},null,8,["display-object-name","comment","action"])):(f(),g("div",mNt,A(h.$t("admin.DELETED_COMMENT")),1))],64)):T(p(a).type)?(f(),G(QRt,{key:2,notification:p(a),authUser:p(s),onUpdatedUserRelationship:u,onUserLinkClicked:O[2]||(O[2]=D=>d(p(a)))},null,8,["notification","authUser"])):["report","suspension_appeal","user_warning_appeal"].includes(p(a).type)&&p(a).report?(f(),G(lNt,{key:3,report:p(a).report,onReportButtonClicked:O[3]||(O[3]=D=>d(p(a)))},null,8,["report"])):c()?(f(),g(ae,{key:4},[p(a).workout?(f(),G(q_,{key:0,action:p(a).report_action,"display-appeal":p(a).type!=="user_warning","display-object-name":p(a).type.startsWith("user_warning"),workout:p(a).workout,onWorkoutLinkClicked:O[4]||(O[4]=D=>d(p(a)))},null,8,["action","display-appeal","display-object-name","workout"])):(f(),g("div",fNt,A(h.$t("admin.DELETED_WORKOUT")),1))],64)):v("",!0),((P=p(a).report_action)==null?void 0:P.action_type)==="user_warning_lifting"&&!("comment"in p(a))&&!("workout"in p(a))?(f(),g("div",SNt,[M(Ht,{user:p(s)},null,8,["user"]),E("div",ANt,[M(I,{to:`/users/${p(s).username}`},{default:X(()=>[B(A(p(s).username),1)]),_:1},8,["to"])])])):v("",!0),m()?(f(),g("div",hNt,[((y=(C=p(a).report_action)==null?void 0:C.appeal)==null?void 0:y.approved)===null?(f(),g("div",ONt,[E("span",null,[O[6]||(O[6]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(h.$t("user.APPEAL_IN_PROGRESS")),1)])])):!((L=p(a).report_action)!=null&&L.appeal)&&((w=p(a).report_action)!=null&&w.id)?(f(),G(I,{key:1,class:"appeal-link",to:`profile/moderation/sanctions/${p(a).report_action.id}`,onClick:O[5]||(O[5]=D=>d(p(a)))},{default:X(()=>[B(A(h.$t("user.APPEAL")),1)]),_:1},8,["to"])):v("",!0)])):v("",!0)]}),_:1},8,["class"])):v("",!0)}}}),RNt=ne(INt,[["__scopeId","data-v-4dcac89e"]]),NNt={key:0,id:"notifications"},gNt={key:0,class:"no-notifications box"},bNt={class:"preferences-link"},CNt=Q({__name:"Notifications",setup(e){const t=ye(),n=at(),{authUser:s,isAuthUserSuspended:a}=Ye();let o=Lt(u(n.query));const i=F(()=>t.getters[ct.GETTERS.NOTIFICATIONS]),r=F(()=>t.getters[ct.GETTERS.PAGINATION]);function u(T){const m={};return"page"in T&&T.page&&(m.page=+T.page),"type"in T&&T.type&&(m.type=T.type),"status"in T&&T.status==="unread"&&(m.status="unread"),m}function l(){setTimeout(()=>{d(o)},500)}function d(T){a.value||t.dispatch(ct.ACTIONS.GET_NOTIFICATIONS,T)}function _(T){t.dispatch(ct.ACTIONS.UPDATE_STATUS,{...T,currentQuery:o})}function c(){t.dispatch(ct.ACTIONS.MARK_ALL_AS_READ,o)}return Pe(()=>n.query,T=>{o=u(T),d(o)}),Pe(()=>a.value,T=>{T||d(o)}),Ze(()=>d(o)),ut(()=>{t.commit(ct.MUTATIONS.EMPTY_NOTIFICATIONS)}),(T,m)=>{const S=j("router-link");return p(s).username?(f(),g("div",NNt,[i.value.length===0?(f(),g("div",gNt,A(T.$t("notifications.NO_NOTIFICATIONS")),1)):(f(),g(ae,{key:1},[E("button",{class:"mark-all-action",onClick:c},A(T.$t("notifications.MARK_ALL_AS_READ")),1),(f(!0),g(ae,null,be(i.value,R=>(f(),G(RNt,{key:R.id,"auth-user":p(s),notification:R,onReload:l,onUpdateReadStatus:_},null,8,["auth-user","notification"]))),128)),r.value.page?(f(),G(Zn,{key:0,path:"/notifications",pagination:r.value,query:p(o)},null,8,["pagination","query"])):v("",!0)],64)),E("div",bNt,[M(S,{to:"/profile/edit/notifications"},{default:X(()=>[B(A(T.$t("user.PROFILE.EDIT_NOTIFICATION_PREFERENCES")),1)]),_:1})])])):v("",!0)}}}),PNt=ne(CNt,[["__scopeId","data-v-13733b32"]]),DNt={class:"notifications-filters"},LNt={class:"box"},vNt={class:"form"},yNt={class:"form-all-items"},UNt={class:"form-items-group"},$Nt={class:"status-title"},kNt={class:"status-radio"},wNt=["checked"],MNt=["checked"],WNt={class:"form-items-group"},FNt={class:"form-item"},zNt={for:"notification-labels"},BNt=["disabled","value"],GNt={value:""},xNt=["value"],VNt=Q({__name:"NotificationsFilters",setup(e){const t=at(),n=On(),s=ye(),{t:a}=vt(),{authUserHasModeratorRights:o,isAuthUserSuspended:i}=Ye(),r=F(()=>s.getters[ct.GETTERS.TYPES]),u=F(()=>h());let l=Object.assign({},t.query);const d=Oe(_(t.query));function _(O){return"status"in O?O.status:null}function c(O){d.value=O,l.status=O,m()}function T(O){const I=O.target;I.value===""?delete l[I.name]:l[I.name]=I.value,m()}function m(){"page"in l&&(l.page="1"),n.push({path:"/notifications",query:l})}function S(O,I){return O.label>I.label?1:O.label!["report","suspension_appeal","user_warning_appeal"].includes(I)||o.value).map(I=>{O.push({label:a(`notifications.TYPES.${I}`),value:I})}),O.sort(S)}return Pe(()=>t.query,O=>{l=Object.assign({},O),d.value=_(O),R()}),Ze(()=>R()),ut(()=>{s.commit(ct.MUTATIONS.UPDATE_TYPES,[])}),(O,I)=>(f(),g("div",DNt,[E("div",LNt,[E("form",vNt,[E("div",yNt,[E("div",UNt,[E("span",$Nt,A(O.$t("notifications.STATUS")),1),E("div",kNt,[E("label",null,[E("input",{type:"radio",name:"duration",checked:d.value==="unread",onClick:I[0]||(I[0]=N=>c("unread"))},null,8,wNt),B(" "+A(O.$t("notifications.UNREAD")),1)]),E("label",null,[E("input",{type:"radio",name:"all",checked:d.value!=="unread",onClick:I[1]||(I[1]=N=>c("all"))},null,8,MNt),B(" "+A(O.$t("notifications.ALL")),1)])])]),E("div",WNt,[E("div",FNt,[E("label",zNt,A(O.$t("notifications.TYPES.LABEL")),1),E("select",{class:"notification-labels",id:"notification-labels",name:"type",disabled:u.value.length===0,value:O.$route.query.type,onChange:T},[u.value.length>0?(f(),g(ae,{key:0},[E("option",GNt,A(O.$t("notifications.TYPES.ALL")),1),I[2]||(I[2]=E("option",{disabled:""},"──────",-1))],64)):v("",!0),(f(!0),g(ae,null,be(u.value,N=>(f(),g("option",{value:N.value,key:N.value},A(N.label),9,xNt))),128))],40,BNt)])])])])])]))}}),HNt=ne(VNt,[["__scopeId","data-v-af5b0c4c"]]),KNt={id:"notifications",class:"view items-list-view"},YNt={class:"container items-list-container"},qNt={class:"display-filters"},jNt={class:"list-container"},XNt=Q({__name:"NotificationsView",setup(e){const t=Oe(!0);function n(){t.value=!t.value}return(s,a)=>(f(),g("div",KNt,[E("div",YNt,[E("div",{class:fe(["filters-container",{hidden:t.value}])},[M(HNt)],2),E("div",qNt,[E("div",{onClick:n},[E("i",{class:fe(`fa fa-caret-${t.value?"down":"up"}`),"aria-hidden":"true"},null,2),E("span",null,A(s.$t(`workouts.${t.value?"DISPLAY":"HIDE"}_FILTERS`)),1)])]),E("div",jNt,[M(PNt)])])]))}}),QNt={id:"privacy-policy",class:"view"},ZNt={class:"container"},JNt=Q({__name:"PrivacyPolicyView",setup(e){const t=ye();return Ze(()=>{t.dispatch(ee.ACTIONS.GET_APPLICATION_PRIVACY_POLICY)}),(n,s)=>(f(),g("div",QNt,[E("div",ZNt,[M(X1)]),s[0]||(s[0]=E("div",{id:"bottom"},null,-1))]))}}),egt={class:"chart-menu"},tgt=["disabled","aria-label"],ngt={class:"time-frames custom-checkboxes-group"},sgt={class:"time-frames-checkboxes custom-checkboxes"},agt=["id","name","checked","onInput","disabled"],ogt=["id","tabindex","onKeydown"],igt=["disabled","aria-label"],rgt={class:"stats-type"},ugt={class:"stats-type-radio"},lgt=["checked","disabled"],cgt=["checked","disabled"],dgt=Q({__name:"StatsMenu",props:{isDisabled:{type:Boolean}},emits:["arrowClick","statsTypeUpdate","timeFrameUpdate"],setup(e,{emit:t}){const n=e,{isDisabled:s}=pe(n),a=t,o=["week","month","year"],i=Oe("month"),r=Oe("total");function u(d){i.value=d,a("timeFrameUpdate",d)}function l(d){r.value=d.target.value,a("statsTypeUpdate",r.value)}return(d,_)=>(f(),g(ae,null,[E("div",egt,[E("button",{class:"chart-arrow transparent",onClick:_[0]||(_[0]=c=>a("arrowClick",!0)),onKeydown:_[1]||(_[1]=Xe(c=>a("arrowClick",!0),["enter"])),disabled:p(s),"aria-label":d.$t("common.PREVIOUS")},_[4]||(_[4]=[E("i",{class:"fa fa-chevron-left","aria-hidden":"true"},null,-1)]),40,tgt),E("div",ngt,[E("div",sgt,[(f(),g(ae,null,be(o,c=>E("div",{class:"time-frame custom-checkbox",key:c},[E("label",null,[E("input",{type:"radio",id:c,name:c,checked:i.value===c,onInput:T=>u(c),disabled:p(s)},null,40,agt),E("span",{id:`frame-${c}`,tabindex:p(s)?-1:0,role:"button",onKeydown:Xe(T=>u(c),["enter"])},A(d.$t(`statistics.TIME_FRAMES.${c}`)),41,ogt)])])),64))])]),E("button",{class:"chart-arrow transparent",onClick:_[2]||(_[2]=c=>a("arrowClick",!1)),onKeydown:_[3]||(_[3]=Xe(c=>a("arrowClick",!1),["enter"])),disabled:p(s),"aria-label":d.$t("common.NEXT")},_[5]||(_[5]=[E("i",{class:"fa fa-chevron-right","aria-hidden":"true"},null,-1)]),40,igt)]),E("div",rgt,[E("div",ugt,[E("label",null,[E("input",{type:"radio",name:"stats_type",value:"total",checked:r.value==="total",disabled:p(s),onClick:l},null,8,lgt),B(" "+A(d.$t("common.TOTAL")),1)]),E("label",null,[E("input",{type:"radio",name:"stats_type",value:"average",checked:r.value==="average",disabled:p(s),onClick:l},null,8,cgt),B(" "+A(d.$t("statistics.AVERAGE")),1)])])])],64))}}),Egt=ne(dgt,[["__scopeId","data-v-e11033fc"]]),_gt={class:"sports-menu"},Tgt=["id","name","checked","onInput","onKeyup"],pgt={class:"sport-label"},mgt=Q({__name:"StatsSportsMenu",props:{userSports:{},selectedSportIds:{default:()=>[]}},emits:["selectedSportIdsUpdate"],setup(e,{emit:t}){const n=e,{selectedSportIds:s,userSports:a}=pe(n),o=t,{t:i}=vt(),{sportColors:r}=en(),u=F(()=>ds(a.value,i));function l(d){o("selectedSportIdsUpdate",d)}return(d,_)=>{const c=j("SportImage");return f(),g("div",_gt,[(f(!0),g(ae,null,be(u.value,T=>(f(),g("label",{type:"checkbox",key:T.id,style:Yn({color:T.color?T.color:p(r)[T.label]})},[E("input",{type:"checkbox",id:`${T.id}`,name:T.label,checked:p(s).includes(T.id),onInput:m=>l(T.id),onKeyup:Xe(Ne(m=>l(T.id),["prevent"]),["space"])},null,40,Tgt),M(c,{"sport-label":T.label,color:T.color},null,8,["sport-label","color"]),E("span",pgt,A(T.translatedLabel),1)],4))),128))])}}}),fgt={key:0,id:"user-statistics"},Sgt=Q({__name:"index",props:{sports:{},user:{},isDisabled:{type:Boolean}},setup(e){const t=e,{sports:n,user:s}=pe(t),{t:a}=vt(),o=Oe("month"),i=Oe("total"),r=Oe(c(o.value,i.value)),u=Oe(m(n.value)),l=F(()=>ds(t.sports,a));function d(R){o.value=R,r.value=c(R,i.value)}function _(R){i.value=R,r.value=c(o.value,R)}function c(R,h){return FIt(new Date,R,t.user.weekm,h)}function T(R){r.value=zIt(r.value,R,t.user.weekm)}function m(R){return R.map(h=>h.id)}function S(R){u.value.includes(R)?u.value=u.value.filter(h=>h!==R):u.value.push(R)}return Pe(()=>t.sports,R=>{u.value=m(R)}),(R,h)=>l.value?(f(),g("div",fgt,[M(Egt,{onStatsTypeUpdate:_,onTimeFrameUpdate:d,onArrowClick:T,isDisabled:R.isDisabled},null,8,["isDisabled"]),M(rI,{sports:p(n),user:p(s),chartParams:r.value,"displayed-sport-ids":u.value,fullStats:!0,isDisabled:R.isDisabled,selectedTimeFrame:o.value},null,8,["sports","user","chartParams","displayed-sport-ids","isDisabled","selectedTimeFrame"]),M(mgt,{"selected-sport-ids":u.value,"user-sports":p(n),onSelectedSportIdsUpdate:S},null,8,["selected-sport-ids","user-sports"])])):v("",!0)}}),Agt=ne(Sgt,[["__scopeId","data-v-7214a579"]]),hgt={class:"sport-stat-card"},Ogt={class:"stat-content"},Igt={class:"stat-icon"},Rgt={class:"stat-details"},Ngt={class:"stat-label"},ggt={class:"stat-values"},bgt={key:0,class:"fa fa-refresh fa-spin fa-fw"},Cgt={key:1,class:"stat-huge"},Pgt={key:2,class:"stat"},Dgt={key:0,class:"stat-average"},Lgt={key:0},so=Q({__name:"SportStatCard",props:{icon:{},text:{default:""},totalValue:{},label:{},loading:{type:Boolean}},setup(e){const t=e,{icon:n,loading:s,text:a,totalValue:o}=pe(t);return(i,r)=>(f(),g("div",hgt,[E("div",Ogt,[E("div",Igt,[E("i",{class:fe(["fa",`fa-${p(n)}`])},null,2)]),E("div",Rgt,[E("div",Ngt,A(i.label),1),E("div",ggt,[p(s)?(f(),g("i",bgt)):(f(),g("span",Cgt,A(p(o)?p(o):""),1)),p(a)?(f(),g("span",Pgt,A(p(a)),1)):v("",!0)]),["calendar","tachometer"].includes(p(n))?v("",!0):(f(),g("div",Dgt,[p(s)?(f(),g("div",Lgt,r[0]||(r[0]=[E("i",{class:"fa fa-refresh fa-spin fa-fw"},null,-1)]))):yt(i.$slots,"average",{key:1})]))])])]))}}),vgt={id:"sport-statistics"},ygt={for:"sport"},Ugt=["value"],$gt={key:0,class:"sport-statistics"},kgt={class:"sport-img-label"},wgt={class:"sport-label"},Mgt={class:"label"},Wgt={class:"statistics"},Fgt={key:0,class:"statistics-workouts-count"},zgt={key:1,class:"statistics-workouts-count"},Bgt={class:"statistics"},Ggt={class:"records"},xgt={class:"label"},Vgt=Q({__name:"SportStatistics",props:{sports:{},authUser:{}},setup(e){const t=e,{authUser:n,sports:s}=pe(t),a=at(),o=On(),i=ye(),{t:r}=vt(),u=F(()=>ds(s.value,r,"all")),l=F(()=>u.value.map(C=>C.id)),d=F(()=>a.query.sport_id&&l.value.includes(+a.query.sport_id)?+a.query.sport_id:l.value[0]),_=F(()=>cI(n.value.records,u.value,n.value.timezone,n.value.imperial_units,n.value.display_ascent,n.value.date_format,d.value)),c=F(()=>u.value.find(C=>C.id===d.value)),T=F(()=>i.getters.USER_SPORT_STATS[d.value]),m=F(()=>i.getters.TOTAL_WORKOUTS),S=F(()=>n.value.imperial_units?gn.km.defaultTarget:"km"),R=F(()=>n.value.imperial_units?gn.m.defaultTarget:"m"),h=F(()=>i.getters.STATS_LOADING),O=F(()=>T.value?K_(T.value.total_duration,r):{days:"",duration:""});function I(C,y){if(C===void 0)return"";const L=n.value.imperial_units?gn[y].defaultTarget:y;return n.value.imperial_units?Xt(C,y,L,2):C}function N(){i.dispatch(wt.ACTIONS.GET_USER_SPORT_STATS,{username:n.value.username,sportId:d.value})}function b(C){var L,w;const y=[];return(L=c.value)!=null&&L.translatedLabel&&C[(w=c.value)==null?void 0:w.translatedLabel].records.map(D=>{y.push({...D,label:r(`workouts.RECORD_${D.record_type}`)})}),y.sort(lI)}function P(C){o.push({path:"/statistics",query:{chart:"by_sport",sport_id:C.target.value}})}return Pe(()=>a.query,()=>{N()}),Ze(()=>N()),(C,y)=>{var D,W,Y,he,ie,me;const L=j("SportImage"),w=j("Distance");return f(),g("div",vgt,[E("label",ygt,A(C.$t("workouts.SPORT",1))+": ",1),We(E("select",{id:"sport","onUpdate:modelValue":y[0]||(y[0]=Ie=>d.value=Ie),onChange:P},[(f(!0),g(ae,null,be(u.value,Ie=>(f(),g("option",{value:Ie.id,key:Ie.id},A(Ie.translatedLabel),9,Ugt))),128))],544),[[jt,d.value]]),c.value?(f(),g("div",$gt,[E("div",kgt,[M(L,{"sport-label":c.value.label,color:c.value.color},null,8,["sport-label","color"]),E("div",wgt,A(c.value.translatedLabel),1)]),E("div",null,[E("div",Mgt,[y[1]||(y[1]=E("i",{class:"fa fa-line-chart custom-fa-small","aria-hidden":"true"},null,-1)),B(" "+A(C.$t("statistics.STATISTICS",0)),1)]),E("div",Wgt,[M(so,{icon:"calendar",loading:h.value,"total-value":m.value,label:C.$t("workouts.WORKOUT",0)},null,8,["loading","total-value","label"])]),T.value&&T.value.total_workouts[E("div",null,A(C.$t("statistics.AVERAGE"))+":",1),T.value?(f(),G(w,{key:0,distance:T.value.average_distance,unitFrom:"km",useImperialUnits:p(n).imperial_units},null,8,["distance","useImperialUnits"])):v("",!0)]),_:1},8,["loading","total-value","text","label"]),M(so,{icon:"clock-o",loading:h.value,"total-value":O.value.days,text:O.value.duration,label:C.$t("workouts.DURATION")},{average:X(()=>[E("div",null,A(C.$t("statistics.AVERAGE"))+":",1),E("span",null,A(T.value?p(AE)(T.value.average_duration,C.$t):""),1)]),_:1},8,["loading","total-value","text","label"]),M(so,{icon:"tachometer",loading:h.value,"total-value":I((W=T.value)==null?void 0:W.average_speed,"km"),text:`${S.value}/h`,label:C.$t("workouts.AVE_SPEED")},null,8,["loading","total-value","text","label"]),((Y=T.value)==null?void 0:Y.total_ascent)!==null?(f(),G(so,{key:0,icon:"location-arrow",loading:h.value,"total-value":I((he=T.value)==null?void 0:he.total_ascent,"m"),text:R.value,label:C.$t("workouts.ASCENT")},{average:X(()=>[E("div",null,A(C.$t("statistics.AVERAGE"))+":",1),T.value?(f(),G(w,{key:0,distance:T.value.average_ascent,unitFrom:"m",useImperialUnits:p(n).imperial_units},null,8,["distance","useImperialUnits"])):v("",!0)]),_:1},8,["loading","total-value","text","label"])):v("",!0),((ie=T.value)==null?void 0:ie.total_descent)!==null?(f(),G(so,{key:1,icon:"location-arrow fa-rotate-90",loading:h.value,"total-value":I((me=T.value)==null?void 0:me.total_descent,"m"),text:R.value,label:C.$t("workouts.DESCENT")},{average:X(()=>[E("div",null,A(C.$t("statistics.AVERAGE"))+":",1),T.value?(f(),G(w,{key:0,distance:T.value.average_descent,unitFrom:"m",useImperialUnits:p(n).imperial_units},null,8,["distance","useImperialUnits"])):v("",!0)]),_:1},8,["loading","total-value","text","label"])):v("",!0)])]),E("div",Ggt,[E("div",xgt,[y[2]||(y[2]=E("i",{class:"fa fa-trophy custom-fa-small","aria-hidden":"true"},null,-1)),B(" "+A(C.$t("workouts.RECORD",0)),1)]),E("div",null,[(f(!0),g(ae,null,be(b(_.value),Ie=>(f(),G(uI,{record:Ie,key:Ie.id},null,8,["record"]))),128))])])])):v("",!0)])}}}),Hgt=ne(Vgt,[["__scopeId","data-v-32871e56"]]),Kgt={id:"statistics",class:"view"},Ygt={key:0,class:"container"},qgt={class:"visually-hidden",for:"stats-type"},jgt=["value"],Xgt=Q({__name:"StatisticsView",setup(e){const t=at(),n=On(),{authUser:s}=Ye(),{sports:a}=en(),o=["by_time","by_sport"],i=Oe("by_time"),r=F(()=>a.value.filter(d=>s.value.sports_list.includes(d.id))),u=F(()=>s.value.nb_workouts===0);function l(d){n.push({path:"/statistics",query:{chart:d.target.value}})}return Ze(()=>{i.value=t.query.chart&&o.includes(t.query.chart)?t.query.chart:"by_time"}),Et(()=>{if(!u.value){const d=document.getElementById("stats-type");d==null||d.focus()}}),(d,_)=>{const c=j("Card");return f(),g("div",Kgt,[p(s).username?(f(),g("div",Ygt,[M(c,null,{title:X(()=>[B(A(d.$t("statistics.STATISTICS"))+" ",1),E("label",qgt,A(d.$t("statistics.STATISTICS_TYPE")),1),r.value.length>0?We((f(),g("select",{key:0,class:"stats-types",name:"stats-type",id:"stats-type","onUpdate:modelValue":_[0]||(_[0]=T=>i.value=T),onChange:l},[(f(),g(ae,null,be(o,T=>E("option",{value:T,key:T},A(d.$t(`statistics.STATISTICS_TYPES.${T}`)),9,jgt)),64))],544)),[[jt,i.value]]):v("",!0)]),content:X(()=>[d.$route.query.chart!=="by_sport"?(f(),G(Agt,{key:0,class:fe({"stats-disabled":u.value}),user:p(s),sports:r.value,isDisabled:u.value},null,8,["class","user","sports","isDisabled"])):r.value.length>0?(f(),G(Hgt,{key:1,sports:r.value,authUser:p(s)},null,8,["sports","authUser"])):v("",!0)]),_:1}),p(s).nb_workouts===0?(f(),G(j_,{key:0})):v("",!0)])):v("",!0)])}}}),Qgt=ne(Xgt,[["__scopeId","data-v-07517405"]]),Zgt={name:"EmailSent"},Jgt={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 345.834 345.834",style:{"enable-background":"new 0 0 345.834 345.834"},"xml:space":"preserve"};function ebt(e,t,n,s,a,o){return f(),g("svg",Jgt,t[0]||(t[0]=[E("g",null,[E("path",{d:`M339.798,260.429c0.13-0.026,0.257-0.061,0.385-0.094c0.109-0.028,0.219-0.051,0.326-0.084 + 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 ert=ne(Qit,[["render",Jit]]),trt={name:"Walking"},nrt={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 srt(e,t,n,s,a,o){return S(),g("svg",nrt,t[0]||(t[0]=[Nn('silhouette of a walking person',3)]))}const art=ne(trt,[["render",srt]]),F_={"Cycling (Sport)":"#4c9792","Cycling (Trekking)":"#a8af88","Cycling (Transport)":"#88af98","Cycling (Virtual)":"#64a360",Hiking:"#bb757c","Mountain Biking":"#d4b371","Mountain Biking (Electric)":"#fc9d6f",Mountaineering:"#48b3b7","Open Water Swimming":"#4058a4",Paragliding:"#c23c50",Rowing:"#fcce72",Running:"#835b83","Skiing (Alpine)":"#67a4bd","Skiing (Cross Country)":"#9498d0",Snowshoes:"#5780a8",Swimrun:"#3d9fc9",Trail:"#09a98a",Walking:"#838383"},ort=e=>{const t={};return e.map(n=>t[n.id]=n.color?n.color:F_[n.label]),t},irt=(e,t)=>{const n=e.translatedLabel.toLowerCase(),s=t.translatedLabel.toLowerCase();return n>s?1:ne.filter(a=>n==="all"?!0:s.includes(a.id)||a[n]).map(a=>({...a,translatedLabel:t(`sports.${a.label}.LABEL`)})).sort(irt),z_=(e,t)=>t.filter(n=>n.id===e.sport_id).map(n=>n.label)[0],B_=(e,t)=>t.filter(n=>n.id===e.sport_id).map(n=>n.color)[0];function Jt(){const e=ye(),{t}=Lt(),n=$t("sportColors"),s="#838383",a=Oe(!1),o=Oe(""),i=F(()=>e.getters[xt.GETTERS.SPORTS]),r=F(()=>rs(i.value,t)),u=Dt({sport_id:0,color:null,is_active:!0,stopped_speed_threshold:1,fromSport:!1});function l(m){u.is_active=m.target.checked}function d(m){a.value=m}function _(m){const f={...u};f.stopped_speed_threshold=m.imperial_units?jt(u.stopped_speed_threshold,"mi","km",2):u.stopped_speed_threshold,e.dispatch(K.ACTIONS.UPDATE_USER_SPORT_PREFERENCES,f)}function c(m,f=!1){e.dispatch(K.ACTIONS.RESET_USER_SPORT_PREFERENCES,{sportId:m,fromSport:f})}function T(m){return m?i.value.filter(f=>f.id===m.sport_id)[0]:null}return{defaultColor:s,defaultEquipmentId:o,displayModal:a,sportColors:n,sportPayload:u,sports:i,translatedSports:r,getWorkoutSport:T,resetSport:c,updateDisplayModal:d,updateIsActive:l,updateSport:_}}const rrt=["title"],urt=Q({__name:"index",props:{sportLabel:{},color:{},title:{default:""}},setup(e){const t=e,{color:n,sportLabel:s,title:a}=pe(t),{sportColors:o}=Jt();return(i,r)=>(S(),g("div",{class:"sport-img",style:Gn({fill:p(n)?p(n):p(o)[p(s)]}),title:p(a)?p(a):i.$t(`sports.${p(s)}.LABEL`)},[p(s)==="Cycling (Sport)"?(S(),G(Vot,{key:0})):L("",!0),p(s)==="Cycling (Trekking)"?(S(),G(Zot,{key:1})):L("",!0),p(s)==="Cycling (Transport)"?(S(),G(qot,{key:2})):L("",!0),p(s)==="Cycling (Virtual)"?(S(),G(nit,{key:3})):L("",!0),p(s)==="Hiking"?(S(),G(iit,{key:4})):L("",!0),p(s)==="Mountain Biking"?(S(),G(cit,{key:5})):L("",!0),p(s)==="Mountain Biking (Electric)"?(S(),G(Tit,{key:6})):L("",!0),p(s)==="Mountaineering"?(S(),G(Sit,{key:7})):L("",!0),p(s)==="Paragliding"?(S(),G(bit,{key:8})):L("",!0),p(s)==="Open Water Swimming"?(S(),G(Iit,{key:9})):L("",!0),p(s)==="Rowing"?(S(),G(Dit,{key:10})):L("",!0),p(s)==="Running"?(S(),G($it,{key:11})):L("",!0),p(s)==="Skiing (Alpine)"?(S(),G(Wit,{key:12})):L("",!0),p(s)==="Skiing (Cross Country)"?(S(),G(Git,{key:13})):L("",!0),p(s)==="Snowshoes"?(S(),G(Kit,{key:14})):L("",!0),p(s)==="Swimrun"?(S(),G(Xit,{key:15})):L("",!0),p(s)==="Trail"?(S(),G(ert,{key:16})):L("",!0),p(s)==="Walking"?(S(),G(art,{key:17})):L("",!0)],12,rrt))}}),lrt={},crt={class:"loader"};function drt(e,t){return S(),g("div",crt)}const Wl=ne(lrt,[["render",drt],["__scopeId","data-v-8b613881"]]),Ert={class:"custom-modal"},_rt={key:0,class:"modal-message"},Trt={key:1,class:"modal-message"},prt={key:2,class:"info-box"},mrt={key:4},frt={key:5,class:"modal-buttons"},Srt=Q({__name:"Modal",props:{title:{},message:{},strongMessage:{default:()=>""},loading:{type:Boolean,default:!1},warning:{default:()=>""},hideErrorMessage:{type:Boolean,default:!1}},emits:["cancelAction","confirmAction"],setup(e,{emit:t}){const n=e,{title:s,message:a,strongMessage:o}=pe(n),i=t,{errorMessages:r}=Ge();let u=null,l=null,d=null;function _(c){var T;(c.key==="Tab"||c.keyCode===9)&&(c.preventDefault(),((T=document.activeElement)==null?void 0:T.id)==="cancel-button"?u==null||u.focus():l==null||l.focus())}return Et(()=>{d=document.activeElement,l=document.getElementById("cancel-button"),u=document.getElementById("confirm-button"),l&&l.focus(),document.addEventListener("keydown",_)}),ut(()=>{document.removeEventListener("keydown",_),d==null||d.focus()}),(c,T)=>{const m=j("i18n-t"),f=j("ErrorMessage"),R=j("Loader"),h=j("Card");return S(),g("div",{id:"modal",role:"dialog",onClick:T[2]||(T[2]=Ne(O=>i("cancelAction"),["self"]))},[E("div",Ert,[M(h,null,{title:X(()=>[B(A(p(s)),1)]),content:X(()=>[p(o)?(S(),g("div",_rt,[M(m,{keypath:p(a)},{default:X(()=>[E("span",null,A(p(o)),1)]),_:1},8,["keypath"])])):(S(),g("div",Trt,A(p(a)),1)),c.warning?(S(),g("div",prt,[T[3]||(T[3]=E("i",{class:"fa fa-exclamation-triangle","aria-hidden":"true"},null,-1)),B(" "+A(c.warning),1)])):L("",!0),p(r)&&!c.hideErrorMessage?(S(),G(f,{key:3,message:p(r)},null,8,["message"])):L("",!0),c.loading?(S(),g("div",mrt,[M(R)])):(S(),g("div",frt,[p(r)?L("",!0):(S(),g("button",{key:0,class:fe(["confirm",{danger:c.warning}]),id:"confirm-button",onClick:T[0]||(T[0]=O=>i("confirmAction"))},A(c.$t("buttons.YES")),3)),E("button",{tabindex:"0",id:"cancel-button",class:"cancel",onClick:T[1]||(T[1]=O=>i("cancelAction"))},A(c.$t(`buttons.${p(r)?"CANCEL":"NO"}`)),1)]))]),_:1})])])}}}),Art=ne(Srt,[["__scopeId","data-v-d246e1cf"]]),hrt={class:"visibility"},Ort=["title"],Irt=Q({__name:"VisibilityIcon",props:{visibility:{},isComment:{type:Boolean,default:!1}},setup(e){const t=e,{visibility:n,isComment:s}=pe(t);function a(o){switch(o){case"public":return"globe";case"followers_only":return"users";default:case"private":return"lock"}}return(o,i)=>(S(),g("span",hrt,[E("i",{class:fe(`fa fa-${a(p(n))}`),"aria-hidden":"true",title:o.$t(`visibility_levels.${p(s)?"COMMENT_":""}LEVELS.${p(n)}`)},null,10,Ort)]))}}),Rrt=[{target:Vat,name:"AlertMessage"},{target:W_,name:"Card"},{target:N1,name:"CustomTextArea"},{target:sot,name:"Distance"},{target:lot,name:"Dropdown"},{target:Tot,name:"ErrorMessage"},{target:Wl,name:"Loader"},{target:Art,name:"Modal"},{target:urt,name:"SportImage"},{target:zot,name:"EquipmentTypeImage"},{target:Irt,name:"VisibilityIcon"},{target:M_,name:"Comment"}],Nrt={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)}},grt=["bytes","KB","MB","GB","TB"],g1=e=>{if(!e)return{size:"0",suffix:"bytes"};const t=Math.floor(Math.log(e)/Math.log(1024)),n=(e/Math.pow(1024,t)).toFixed(1),s=grt[t];return{size:n,suffix:s}},Ju=e=>{if(!e)return"0 bytes";const t=g1(e);return`${t.size}${t.suffix}`},brt=e=>+(e/1048576).toFixed(2),vrt={id:"admin-app",class:"admin-card"},Crt={for:"admin_contact"},Prt=["value"],Drt=["disabled"],Lrt={for:"max_users"},yrt=["disabled"],Urt={class:"admin-help"},$rt={class:"info-box"},krt={for:"max_single_file_size"},wrt=["disabled"],Mrt={for:"max_zip_file_size"},Wrt=["disabled"],Frt={for:"gpx_limit_import"},zrt=["disabled"],Brt={for:"stats_workouts_limit"},Grt=["disabled"],xrt={class:"admin-help"},Vrt={class:"info-box"},Hrt={class:"about-label",for:"about"},Krt={class:"textarea-description"},Yrt=["innerHTML"],qrt={class:"privacy-policy-label",for:"privacy_policy"},jrt={class:"textarea-description"},Xrt=["innerHTML"],Qrt={key:5,class:"form-buttons"},Zrt={class:"confirm",type:"submit"},Jrt={key:6,class:"form-buttons"},eut=Q({__name:"AdminApplication",props:{edition:{type:Boolean,default:!1}},setup(e){const t=e,{edition:n}=pe(t),s=fn(),a=ye(),{appConfig:o,errorMessages:i}=Ge(),r=Dt({admin_contact:"",max_users:0,max_single_file_size:0,max_zip_file_size:0,gpx_limit_import:0,about:"",privacy_policy:"",stats_workouts_limit:0});function u(_){Object.keys(r).map(c=>{["max_single_file_size","max_zip_file_size"].includes(c)?r[c]=brt(_[c]):["about","privacy_policy"].includes(c)?r[c]=_[c]!==null?_[c]:"":r[c]=_[c]})}function l(){u(o.value),a.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),s.push("/admin/application")}function d(){const _=Object.assign({},r);_.max_single_file_size*=1048576,_.max_zip_file_size*=1048576,a.dispatch(ee.ACTIONS.UPDATE_APPLICATION_CONFIG,_)}return Ze(()=>{o.value&&u(o.value)}),(_,c)=>{const T=j("ErrorMessage"),m=j("Card");return S(),g("div",vrt,[M(m,null,{title:X(()=>[B(A(_.$t("admin.APP_CONFIG.TITLE")),1)]),content:X(()=>[E("form",{class:"admin-form",onSubmit:Ne(d,["prevent"])},[E("label",Crt,[B(A(_.$t("admin.APP_CONFIG.ADMIN_CONTACT"))+": ",1),!p(n)&&!r.admin_contact?(S(),g("input",{key:0,class:"no-contact",value:_.$t("admin.APP_CONFIG.NO_CONTACT_EMAIL"),disabled:""},null,8,Prt)):We((S(),g("input",{key:1,id:"admin_contact",name:"admin_contact",type:"email","onUpdate:modelValue":c[0]||(c[0]=f=>r.admin_contact=f),disabled:!p(n)},null,8,Drt)),[[st,r.admin_contact]])]),E("label",Lrt,[B(A(_.$t("admin.APP_CONFIG.MAX_USERS_LABEL"))+": ",1),We(E("input",{id:"max_users",name:"max_users",type:"number",min:"0","onUpdate:modelValue":c[1]||(c[1]=f=>r.max_users=f),disabled:!p(n)},null,8,yrt),[[st,r.max_users]])]),E("div",Urt,[E("span",$rt,[c[10]||(c[10]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(_.$t("admin.APP_CONFIG.MAX_USERS_HELP")),1)])]),E("label",krt,[B(A(_.$t("admin.APP_CONFIG.SINGLE_UPLOAD_MAX_SIZE_LABEL"))+": ",1),We(E("input",{id:"max_single_file_size",name:"max_single_file_size",type:"number",step:"0.1",min:"0","onUpdate:modelValue":c[2]||(c[2]=f=>r.max_single_file_size=f),disabled:!p(n)},null,8,wrt),[[st,r.max_single_file_size]])]),E("label",Mrt,[B(A(_.$t("admin.APP_CONFIG.ZIP_UPLOAD_MAX_SIZE_LABEL"))+": ",1),We(E("input",{id:"max_zip_file_size",name:"max_zip_file_size",type:"number",step:"0.1",min:"0","onUpdate:modelValue":c[3]||(c[3]=f=>r.max_zip_file_size=f),disabled:!p(n)},null,8,Wrt),[[st,r.max_zip_file_size]])]),E("label",Frt,[B(A(_.$t("admin.APP_CONFIG.MAX_FILES_IN_ZIP_LABEL"))+": ",1),We(E("input",{id:"gpx_limit_import",name:"gpx_limit_import",type:"number",min:"0","onUpdate:modelValue":c[4]||(c[4]=f=>r.gpx_limit_import=f),disabled:!p(n)},null,8,zrt),[[st,r.gpx_limit_import]])]),E("label",Brt,[B(A(_.$t("admin.APP_CONFIG.STATS_WORKOUTS_LIMIT_LABEL"))+": ",1),We(E("input",{id:"stats_workouts_limit",name:"stats_workouts_limit",type:"number",min:"0","onUpdate:modelValue":c[5]||(c[5]=f=>r.stats_workouts_limit=f),disabled:!p(n)},null,8,Grt),[[st,r.stats_workouts_limit]])]),E("div",xrt,[E("span",Vrt,[c[11]||(c[11]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(_.$t("admin.APP_CONFIG.STATS_WORKOUTS_LIMIT_HELP")),1)])]),E("label",Hrt,A(_.$t("admin.ABOUT.TEXT"))+": ",1),E("span",Krt,A(_.$t("admin.ABOUT.DESCRIPTION")),1),p(n)?We((S(),g("textarea",{key:0,id:"about",name:"about",rows:"10","onUpdate:modelValue":c[6]||(c[6]=f=>r.about=f)},null,512)),[[st,r.about]]):(S(),g("div",{key:1,innerHTML:r.about?p(Vi)(r.about):_.$t("admin.NO_TEXT_ENTERED"),class:"textarea-content"},null,8,Yrt)),E("label",qrt,A(Fe(_.$t("privacy_policy.TITLE")))+": ",1),E("span",jrt,A(_.$t("admin.PRIVACY_POLICY_DESCRIPTION")),1),p(n)?We((S(),g("textarea",{key:2,id:"privacy_policy",name:"privacy_policy",rows:"20","onUpdate:modelValue":c[7]||(c[7]=f=>r.privacy_policy=f)},null,512)),[[st,r.privacy_policy]]):(S(),g("div",{key:3,innerHTML:r.privacy_policy?p(Vi)(r.privacy_policy):_.$t("admin.NO_TEXT_ENTERED"),class:"textarea-content"},null,8,Xrt)),p(i)?(S(),G(T,{key:4,message:p(i)},null,8,["message"])):L("",!0),p(n)?(S(),g("div",Qrt,[E("button",Zrt,A(_.$t("buttons.SUBMIT")),1),E("button",{class:"cancel",onClick:Ne(l,["prevent"])},A(_.$t("buttons.CANCEL")),1)])):(S(),g("div",Jrt,[E("button",{class:"confirm",onClick:c[8]||(c[8]=Ne(f=>_.$router.push("/admin/application/edit"),["prevent"]))},A(_.$t("buttons.EDIT")),1),E("button",{class:"cancel",onClick:c[9]||(c[9]=Ne(f=>_.$router.push("/admin"),["prevent"]))},A(_.$t("admin.BACK_TO_ADMIN")),1)]))],32)]),_:1})])}}}),cS=ne(eut,[["__scopeId","data-v-784037c3"]]),tut=(e,t)=>{const n=e.translatedLabel.toLowerCase(),s=t.translatedLabel.toLowerCase();return n>s?1:ne.map(n=>({...n,translatedLabel:t(`equipment_types.${n.label}.LABEL`)})).sort(tut),G_=(e,t)=>{const n=e.label.toLowerCase(),s=t.label.toLowerCase();return n>s?1:ns?e.filter(o=>v1[o.equipment_type.label].includes(s.label)).filter(o=>n=="all"?!0:n=="withIncludedIds"&&a.includes(o.id)||o.is_active).map(o=>({...o,label:o.is_active?o.label:`${o.label} (${t("common.INACTIVE")})`})).sort(G_):[],nut={id:"admin-equipment-types",class:"admin-card"},sut={class:"responsive-table"},aut={class:"text-left"},out={class:"text-left equipment-type-action"},iut={class:"text-center"},rut={class:"cell-heading"},uut={class:"equipment-type-label"},lut={class:"cell-heading"},cut={class:"text-center"},dut={class:"cell-heading"},Eut={class:"equipment-type-action"},_ut={class:"cell-heading"},Tut={class:"action-button"},put=["onClick"],mut={key:0,class:"has-equipments"},fut=Q({__name:"AdminEquipmentTypes",setup(e){const t=ye(),{t:n}=Lt(),{errorMessages:s}=Ge(),a=F(()=>b1(t.getters[Be.GETTERS.EQUIPMENT_TYPES],n));function o(){t.dispatch(Be.ACTIONS.GET_EQUIPMENT_TYPES)}function i(r,u){t.dispatch(Be.ACTIONS.UPDATE_EQUIPMENT_TYPE,{id:r,isActive:u})}return Ze(()=>o()),(r,u)=>{const l=j("EquipmentTypeImage"),d=j("ErrorMessage"),_=j("Card");return S(),g("div",nut,[M(_,null,{title:X(()=>[B(A(r.$t("admin.EQUIPMENT_TYPES.TITLE")),1)]),content:X(()=>[E("button",{class:"top-button",onClick:u[0]||(u[0]=Ne(c=>r.$router.push("/admin"),["prevent"]))},A(r.$t("admin.BACK_TO_ADMIN")),1),E("div",sut,[E("table",null,[E("thead",null,[E("tr",null,[u[2]||(u[2]=E("th",null,"#",-1)),E("th",null,A(r.$t("admin.EQUIPMENT_TYPES.TABLE.IMAGE")),1),E("th",aut,A(r.$t("admin.EQUIPMENT_TYPES.TABLE.LABEL")),1),E("th",null,A(r.$t("admin.EQUIPMENT_TYPES.TABLE.ACTIVE")),1),E("th",out,A(r.$t("admin.ACTION")),1)])]),E("tbody",null,[(S(!0),g(ae,null,be(a.value,c=>(S(),g("tr",{key:c.id},[E("td",iut,[u[3]||(u[3]=E("span",{class:"cell-heading"},"id",-1)),B(" "+A(c.id),1)]),E("td",null,[E("span",rut,A(r.$t("admin.EQUIPMENT_TYPES.TABLE.IMAGE")),1),M(l,{title:c.translatedLabel,"equipment-type-label":c.label},null,8,["title","equipment-type-label"])]),E("td",uut,[E("span",lut,A(r.$t("admin.EQUIPMENT_TYPES.TABLE.LABEL")),1),B(" "+A(c.translatedLabel),1)]),E("td",cut,[E("span",dut,A(r.$t("admin.EQUIPMENT_TYPES.TABLE.ACTIVE")),1),E("i",{class:fe(`fa fa${c.is_active?"-check":""}`),"aria-hidden":"true"},null,2)]),E("td",Eut,[E("span",_ut,A(r.$t("admin.ACTION")),1),E("div",Tut,[E("button",{class:fe({danger:c.is_active}),onClick:T=>i(c.id,!c.is_active)},A(r.$t(`buttons.${c.is_active?"DIS":"EN"}ABLE`)),11,put),c.has_equipments?(S(),g("span",mut,[u[4]||(u[4]=E("i",{class:"fa fa-warning","aria-hidden":"true"},null,-1)),B(" "+A(r.$t("admin.EQUIPMENT_TYPES.TABLE.HAS_EQUIPMENTS")),1)])):L("",!0)])])]))),128))])]),p(s)?(S(),G(d,{key:0,message:p(s)},null,8,["message"])):L("",!0),E("button",{onClick:u[1]||(u[1]=Ne(c=>r.$router.push("/admin"),["prevent"]))},A(r.$t("admin.BACK_TO_ADMIN")),1)])]),_:1})])}}}),Sut=ne(fut,[["__scopeId","data-v-608cc91f"]]),Aut={class:"stat-card"},hut={class:"stat-content box"},Out={class:"stat-icon"},Iut={class:"stat-details"},Rut={class:"stat-huge"},Nut={class:"stat"},Bs=Q({__name:"StatCard",props:{icon:{},text:{},value:{}},setup(e){const t=e,{icon:n,text:s,value:a}=pe(t);return(o,i)=>(S(),g("div",Aut,[E("div",hut,[E("div",Out,[E("i",{class:fe(["fa",`fa-${p(n)}`])},null,2)]),E("div",Iut,[E("div",Rut,A(p(a)),1),E("div",Nut,A(p(s)),1)])])]))}}),gut={id:"user-stats"},but=Q({__name:"AppStatsCards",props:{appStatistics:{}},setup(e){const t=e,{appStatistics:n}=pe(t),s=F(()=>g1(n.value.uploads_dir_size));return(a,o)=>(S(),g("div",gut,[M(Bs,{icon:"users",value:p(n).users,text:a.$t("user.ACTIVE_USER",p(n).users)},null,8,["value","text"]),M(Bs,{icon:"tags",value:p(n).sports,text:a.$t("workouts.SPORT",p(n).sports)},null,8,["value","text"]),M(Bs,{icon:"calendar",value:p(n).workouts,text:a.$t("workouts.WORKOUT",p(n).workouts)},null,8,["value","text"]),M(Bs,{icon:"folder-open",value:s.value.size,text:s.value.suffix},null,8,["value","text"])]))}}),vut={id:"admin-menu",class:"center-card"},Cut={class:"admin-menu description-list"},Put={class:"application-config-details"},Dut={class:"registration-status"},Lut={key:0,class:"email-sending-status"},yut={class:"application-config-details"},Uut=Q({__name:"AdminMenu",setup(e){const t=ye(),{appConfig:n}=Ge(),{authUserHasAdminRights:s}=Ye(),a=F(()=>t.getters[ee.GETTERS.APP_STATS]),o=F(()=>t.getters[Ue.GETTERS.UNRESOLVED_REPORTS_STATUS]);return Ze(()=>t.dispatch(Ue.ACTIONS.GET_UNRESOLVED_REPORTS_STATUS)),Et(()=>{const i=document.getElementById("adminLink");i&&i.focus()}),(i,r)=>{const u=j("router-link");return S(),g("div",vut,[M(W_,null,{title:X(()=>[B(A(i.$t("admin.ADMINISTRATION")),1)]),content:X(()=>[M(but,{appStatistics:a.value},null,8,["appStatistics"]),E("div",Cut,[E("dl",null,[p(s)?(S(),g(ae,{key:0},[E("dt",null,[M(u,{id:"adminLink",to:"/admin/application"},{default:X(()=>[B(A(i.$t("admin.APPLICATION")),1)]),_:1})]),E("dd",Put,[B(A(i.$t("admin.UPDATE_APPLICATION_DESCRIPTION"))+" ",1),E("span",Dut,A(i.$t(`admin.REGISTRATION_${p(n).is_registration_enabled?"ENABLED":"DISABLED"}`)),1),p(n).is_email_sending_enabled?L("",!0):(S(),g("span",Lut,[r[0]||(r[0]=E("i",{class:"fa fa-exclamation-triangle","aria-hidden":"true"},null,-1)),B(" "+A(i.$t("admin.EMAIL_SENDING_DISABLED")),1)]))]),E("dt",null,[M(u,{to:"/admin/equipment-types"},{default:X(()=>[B(A(Fe(i.$t("equipments.EQUIPMENT_TYPE",0))),1)]),_:1})]),E("dd",null,A(i.$t("admin.ENABLE_DISABLE_EQUIPMENT_TYPES")),1)],64)):L("",!0),E("dt",null,[M(u,{id:"adminLink",to:"/admin/reports"},{default:X(()=>[B(A(i.$t("admin.APP_MODERATION.TITLE")),1)]),_:1})]),E("dd",yut,[B(A(i.$t("admin.APP_MODERATION.DESCRIPTION"))+" ",1),o.value?(S(),G(u,{key:0,to:"/admin/reports?resolved=false"},{default:X(()=>[B(A(i.$t("admin.APP_MODERATION.UNRESOLVED_REPORTS_EXIST")),1)]),_:1})):L("",!0)]),p(s)?(S(),g(ae,{key:1},[E("dt",null,[M(u,{to:"/admin/sports"},{default:X(()=>[B(A(Fe(i.$t("workouts.SPORT",0))),1)]),_:1})]),E("dd",null,A(i.$t("admin.ENABLE_DISABLE_SPORTS")),1),E("dt",null,[M(u,{to:"/admin/users"},{default:X(()=>[B(A(Fe(i.$t("user.USER",0))),1)]),_:1})]),E("dd",null,A(i.$t("admin.ADMIN_RIGHTS_DELETE_USER_ACCOUNT")),1)],64)):L("",!0)])])]),_:1})])}}}),$ut=ne(Uut,[["__scopeId","data-v-a4e50f89"]]),kut=["id"],wut={class:"appeal-text"},Mut=["title"],Wut={for:"appeal-reason",class:"visually-hidden"},Fut={class:"appeal-actions-buttons"},zut={class:"small approve",value:"approve"},But={class:"small reject",value:"reject"},Gut={key:1,class:"automatically-approved"},xut={key:2,class:"description-list"},Vut=["title"],Hut=Q({__name:"AdminReportActionAppeal",props:{appeal:{},authUser:{}},emits:["updateAppeal","closeAppeal"],setup(e,{emit:t}){const n=e,{appeal:s,authUser:a}=pe(n),o=t,{errorMessages:i,locale:r}=Ge(),u=Oe("");function l(c){c.preventDefault(),o("updateAppeal",{approved:c.submitter.value==="approve",appealId:s.value.id,reason:u.value})}function d(c){u.value=c.value}function _(){o("closeAppeal")}return(c,T)=>{const m=j("ErrorMessage"),f=j("i18n-t");return S(),g("div",{class:"appeal box",id:`appeal-${p(s).id}`},[E("div",wut,A(p(s).text),1),E("span",{class:"appeal-date",title:p(Ut)(p(s).created_at,p(a).timezone,p(a).date_format)},A(p(Ga)(new Date(p(s).created_at),new Date,{addSuffix:!0,locale:p(r)})),9,Mut),p(s).updated_at===null?(S(),g(ae,{key:0},[p(s).approved===null?(S(),g("form",{key:0,onSubmit:Ne(l,["prevent"]),class:"appeal-actions"},[E("label",Wut,A(c.$t("administration.REASON")),1),M(N1,{name:"appeal-reason",required:!0,placeholder:c.$t("admin.APP_MODERATION.TEXTAREA_PLACEHOLDER.UPDATE_APPEAL"),onUpdateValue:d},null,8,["placeholder"]),p(i)?(S(),G(m,{key:0,message:p(i),"no-margin":!0},null,8,["message"])):L("",!0),E("div",Fut,[E("button",zut,A(c.$t("buttons.APPROVE")),1),E("button",But,A(c.$t("buttons.REJECT")),1),E("button",{class:"small reject",type:"button",onClick:_},A(c.$t("buttons.CANCEL")),1)])],32)):L("",!0)],64)):p(s).approved===null?(S(),g("div",Gut,A(c.$t("admin.APP_MODERATION.APPEAL.AUTOMATICALLY_APPROVED_BY_UNSUSPENSION")),1)):(S(),g("div",xut,[M(f,{keypath:`admin.APP_MODERATION.APPEAL.${p(s).approved?"APPROVED":"REJECTED"}`,tag:"p"},{default:X(()=>[E("span",{class:"report-action-date",title:p(Ut)(p(s).updated_at,p(a).timezone,p(a).date_format)},A(p(Ga)(new Date(p(s).updated_at),new Date,{addSuffix:!0,locale:p(r)})),9,Vut)]),_:1},8,["keypath"]),E("dl",null,[E("dt",null,A(c.$t("admin.APP_MODERATION.APPEAL.REASON_IS")),1),E("dd",null,A(p(s).reason),1)])]))],8,kut)}}}),Kut=ne(Hut,[["__scopeId","data-v-e8f7bf44"]]),Yut={id:"error"},qut={class:"error-content"},jut=Q({__name:"Error",props:{title:{},message:{},buttonText:{},path:{default:"/"}},setup(e){const t=e,{buttonText:n,title:s,message:a,path:o}=pe(t);return(i,r)=>(S(),g("div",Yut,[E("div",qut,[E("h1",null,A(p(s)),1),E("p",null,A(p(a)),1),p(n)?(S(),g("button",{key:0,onClick:r[0]||(r[0]=u=>i.$router.push(p(o))),class:"upper"},A(p(n)),1)):L("",!0)])]))}}),Xut=ne(jut,[["__scopeId","data-v-48ec856d"]]),zo=Q({__name:"NotFound",props:{target:{default:"PAGE"}},setup(e){const t=e,{target:n}=pe(t),s=Oe(),a=Oe(!1);function o(){s.value=setTimeout(()=>{a.value=!0},500)}return Et(()=>o()),ut(()=>{s.value&&clearTimeout(s.value)}),(i,r)=>a.value?(S(),G(Xut,{key:0,title:"404",message:i.$t(`error.NOT_FOUND.${p(n)}`),"button-text":i.$t("common.HOME")},null,8,["message","button-text"])):L("",!0)}}),Qut={key:0,class:"user-actions"},Zut={key:0,class:"blocked-user"},Jut={class:"blocked"},elt={key:1,class:"actions-buttons"},tlt={key:2},nlt={key:3,class:"follows-you"},slt={key:1,class:"user-actions"},alt={class:"follows-you"},olt=Q({__name:"UserRelationshipActions",props:{authUser:{},user:{},from:{},displayFollowsYou:{type:Boolean,default:!1}},emits:["updatedUser"],setup(e,{emit:t}){const n=e,{authUser:s,from:a,user:o,displayFollowsYou:i}=pe(n),r=t,u=ye();function l(_,c){r("updatedUser",_),u.dispatch(ue.ACTIONS.UPDATE_RELATIONSHIP,{username:_,action:`${c?"un":""}follow`,from:a.value})}function d(_,c){r("updatedUser",_),u.dispatch(ue.ACTIONS.UPDATE_RELATIONSHIP,{username:_,action:`${c?"":"un"}block`,from:a.value})}return(_,c)=>(S(),g(ae,null,[p(o).username!==p(s).username?(S(),g("div",Qut,[p(o).blocked?(S(),g("div",Zut,[E("div",Jut,A(_.$t("user.RELATIONSHIPS.BLOCKED")),1),E("button",{onClick:c[0]||(c[0]=T=>d(p(o).username,!1))},A(_.$t("buttons.UNBLOCK")),1)])):p(o).is_followed_by!=="pending"?(S(),g("div",elt,[E("button",{onClick:c[1]||(c[1]=T=>l(p(o).username,p(o).is_followed_by==="true")),class:fe({danger:p(o).is_followed_by==="true"})},A(_.$t(`buttons.${p(o).is_followed_by==="true"?"UN":""}FOLLOW`)),3),E("button",{onClick:c[2]||(c[2]=T=>d(p(o).username,!0))},A(_.$t("buttons.BLOCK")),1)])):(S(),g("div",tlt,[E("button",{onClick:c[3]||(c[3]=T=>l(p(o).username,!0))},A(_.$t("buttons.CANCEL_FOLLOW_REQUEST")),1)])),p(i)&&p(o).follows==="true"&&p(a)!=="notifications"?(S(),g("div",nlt,A(_.$t("user.RELATIONSHIPS.FOLLOWS_YOU")),1)):L("",!0)])):L("",!0),p(o).username===p(s).username&&p(a)!=="userInfos"?(S(),g("div",slt,[E("div",alt,A(_.$t("user.YOU")),1)])):L("",!0)],64))}}),el=ne(olt,[["__scopeId","data-v-9c719b9a"]]),ilt={class:"user-stats"},rlt={class:"user-stat"},ult={class:"stat-number"},llt={class:"stat-label"},clt={class:"user-stat"},dlt={key:1,class:"stat-number"},Elt={class:"stat-label"},_lt={class:"user-stat"},Tlt={key:1,class:"stat-number"},plt={class:"stat-label"},mlt=Q({__name:"UserStats",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),{authUser:s}=Ye(),a=F(()=>s.value.username?n.value.username===s.value.username?!s.value.suspended_at:!0:!1);function o(i,r,u){return i.username===(r==null?void 0:r.username)&&u.includes("/profile")?"profile":`users/${i.username}`}return(i,r)=>{const u=j("router-link");return S(),g("div",ilt,[E("div",rlt,[E("span",ult,A(p(n).nb_workouts),1),E("span",llt,A(i.$t("workouts.WORKOUT",p(n).nb_workouts)),1)]),E("div",clt,[a.value?(S(),G(u,{key:0,to:`/${o(p(n),p(s),i.$route.path)}/following`,class:"stat-number"},{default:X(()=>[B(A(p(n).following),1)]),_:1},8,["to"])):(S(),g("span",dlt,A(p(n).following),1)),E("span",Elt,A(i.$t("user.RELATIONSHIPS.FOLLOWING",p(n).following)),1)]),E("div",_lt,[a.value?(S(),G(u,{key:0,to:`/${o(p(n),p(s),i.$route.path)}/followers`,class:"stat-number"},{default:X(()=>[B(A(p(n).followers),1)]),_:1},8,["to"])):(S(),g("span",Tlt,A(p(n).followers),1)),E("span",plt,A(i.$t("user.RELATIONSHIPS.FOLLOWER",p(n).followers)),1)])])}}}),x_=ne(mlt,[["__scopeId","data-v-cb5a693b"]]),flt={class:"box"},Slt={class:"user-card"},Alt={class:"user-header"},hlt={class:"stats-role"},Olt={key:0,class:"role"},Ilt={class:"user-role"},Rlt=Q({__name:"UserCard",props:{authUser:{},user:{},updatedUser:{},from:{default:null},hideRelationship:{type:Boolean,default:!1}},emits:["updatedUserRelationship"],setup(e,{emit:t}){const n=e,{authUser:s,from:a,hideRelationship:o,updatedUser:i,user:r}=pe(n),u=at(),{authUserHasModeratorRights:l}=Ye(),{errorMessages:d}=Ge(),_=t,c=F(()=>r.value.suspended_at?Ut(r.value.suspended_at,s.value.timezone,s.value.date_format):null),T=F(()=>{var R;return l.value&&u.params.reportId!=((R=r.value.suspension_report_id)==null?void 0:R.toString())}),m=F(()=>r.value.role!=="user"?`user.ROLES.${r.value.role}`:"");function f(R){_("updatedUserRelationship",R)}return(R,h)=>{const O=j("router-link"),I=j("AlertMessage"),N=j("i18n-t"),b=j("ErrorMessage");return S(),g("div",flt,[E("div",Slt,[E("div",Alt,[M(Vt,{user:p(r)},null,8,["user"]),M(O,{class:"user-name",to:R.$route.path.startsWith("/admin")?`/admin/users/${p(r).username}`:`/users/${p(r).username}?from=users`,title:p(r).username},{default:X(()=>[B(A(p(r).username),1)]),_:1},8,["to","title"])]),E("div",hlt,[M(x_,{user:p(r)},null,8,["user"]),m.value?(S(),g("div",Olt,[E("div",Ilt,A(R.$t(m.value)),1)])):L("",!0)])]),p(o)!==!0?(S(),G(el,{key:0,authUser:p(s),user:p(r),from:p(a)?p(a):"userCard",displayFollowsYou:!0,onUpdatedUser:f},null,8,["authUser","user","from"])):L("",!0),"is_active"in p(r)&&!p(r).is_active?(S(),G(I,{key:1,message:"user.THIS_USER_ACCOUNT_IS_INACTIVE"})):L("",!0),"suspended_at"in p(r)&&p(r).suspended_at!==null?(S(),G(I,{key:2,message:"user.ACCOUNT_SUSPENDED_AT",param:c.value},ho({_:2},[T.value?{name:"additionalMessage",fn:X(()=>[M(N,{keypath:"common.SEE_REPORT",tag:"span"},{default:X(()=>[M(O,{to:`/admin/reports/${p(r).suspension_report_id}`},{default:X(()=>[B(" #"+A(p(r).suspension_report_id),1)]),_:1},8,["to"])]),_:1})]),key:"0"}:void 0]),1032,["param"])):L("",!0),p(d)&&p(i)&&p(i)===p(r).username?(S(),G(b,{key:3,message:p(d),"no-margin":!0},null,8,["message"])):L("",!0)])}}}),Fl=ne(Rlt,[["__scopeId","data-v-3e3f7ff2"]]),P1="/img/workouts/mountains.svg",Nlt=["alt"],D1=Q({__name:"StaticMap",props:{workout:{},displayHover:{type:Boolean,default:!1}},setup(e){const t=e,{displayHover:n}=pe(t),s=`${nr()}workouts/map/${t.workout.map}`;return(a,o)=>{const i=j("router-link");return S(),g("div",{class:fe(["static-map",{"display-hover":p(n)}])},[p(n)?(S(),g("img",{key:0,src:s,alt:a.$t("workouts.WORKOUT_MAP")},null,8,Nlt)):(S(),G(i,{key:1,class:"bg-map-image",to:{name:"Workout",params:{workoutId:a.workout.id}},style:Gn({backgroundImage:`url(${s})`}),"aria-label":a.$t("workouts.WORKOUT_MAP"),onClick:o[0]||(o[0]=r=>a.$emit("workoutLinkClicked"))},null,8,["to","style","aria-label"])),o[1]||(o[1]=E("div",{class:"map-attribution"},[E("a",{class:"map-attribution-text",href:"https://www.openstreetmap.org/copyright",target:"_blank",rel:"noopener noreferrer"}," © OpenStreetMap ")],-1))],2)}}}),glt={class:"timeline-workout workout-card"},blt={class:"box"},vlt={class:"workout-card-title"},Clt={class:"workout-user-date"},Plt={class:"workout-user"},Dlt={class:"workout-date-visibility"},Llt=["datetime","title"],ylt={class:"workout-map"},Ult={class:"no-map"},$lt={class:"img"},klt={class:"data"},wlt={key:0},Mlt={class:"data"},Wlt={key:0,class:"data elevation"},Flt=["alt"],zlt={class:"data-values"},Blt={key:1,class:"data altitude"},Glt={class:"data-values"},xlt=Q({__name:"WorkoutCard",props:{user:{},useImperialUnits:{type:Boolean},dateFormat:{},timezone:{},workout:{default:()=>({})},sport:{default:()=>({})}},emits:["workoutLinkClicked"],setup(e,{emit:t}){const n=e,{dateFormat:s,sport:a,timezone:o,user:i,useImperialUnits:r,workout:u}=pe(n),{locale:l}=Ge(),d=t,_=F(()=>Ut(u.value.workout_date,o.value,s.value));function c(f){return f.with_gpx&&f.min_alt!==null&&f.max_alt!==null}function T(f){return f.ascent!==null&&f.descent!==null}function m(f){f.id&&(it.push({name:"Workout",params:{workoutId:f.id}}),d("workoutLinkClicked"))}return(f,R)=>{var b;const h=j("router-link"),O=j("VisibilityIcon"),I=j("SportImage"),N=j("Distance");return S(),g("div",glt,[E("div",blt,[E("div",vlt,[E("div",Clt,[E("div",Plt,[M(Vt,{user:p(i)},null,8,["user"]),M(lo,{user:p(i)},null,8,["user"])]),p(u).id?(S(),G(h,{key:0,class:"workout-title",to:{name:"Workout",params:{workoutId:p(u).id}},onClick:R[0]||(R[0]=C=>f.$emit("workoutLinkClicked"))},{default:X(()=>[B(A(p(u).title),1)]),_:1},8,["to"])):L("",!0),E("div",Dlt,[p(u).workout_date&&p(i)?(S(),g("time",{key:0,class:"workout-date",datetime:_.value,title:_.value},A(p(Ga)(new Date(p(u).workout_date),new Date,{addSuffix:!0,locale:p(l)})),9,Llt)):L("",!0),p(u).workout_visibility?(S(),G(O,{key:1,visibility:p(u).workout_visibility},null,8,["visibility"])):L("",!0)])])]),E("div",ylt,[p(u).with_gpx?(S(),G(D1,{key:0,workout:p(u),onWorkoutLinkClicked:R[1]||(R[1]=C=>f.$emit("workoutLinkClicked"))},null,8,["workout"])):p(u).id?(S(),G(h,{key:1,to:{name:"Workout",params:{workoutId:p(u).id}},onClick:R[2]||(R[2]=C=>f.$emit("workoutLinkClicked"))},{default:X(()=>[E("div",Ult,A(f.$t("workouts.NO_MAP")),1)]),_:1},8,["to"])):L("",!0)]),E("div",{class:fe(["workout-data",{"without-elevation":!c(p(u))}]),onClick:R[3]||(R[3]=C=>m(p(u))),role:"link",tabindex:"0"},[E("div",$lt,[(b=p(a))!=null&&b.label?(S(),G(I,{key:0,"sport-label":p(a).label,color:p(a).color},null,8,["sport-label","color"])):L("",!0)]),E("div",klt,[R[4]||(R[4]=E("i",{class:"fa fa-clock-o","aria-hidden":"true"},null,-1)),p(u)?(S(),g("span",wlt,A(p(u).moving),1)):L("",!0)]),E("div",Mlt,[R[5]||(R[5]=E("i",{class:"fa fa-road","aria-hidden":"true"},null,-1)),p(u).id?(S(),G(N,{key:0,distance:p(u).distance,digits:3,unitFrom:"km",useImperialUnits:p(r)},null,8,["distance","useImperialUnits"])):L("",!0)]),c(p(u))?(S(),g("div",Wlt,[E("img",{class:"mountains",src:P1,alt:f.$t("workouts.ELEVATION")},null,8,Flt),E("div",zlt,[p(u).id?(S(),G(N,{key:0,distance:p(u).min_alt,unitFrom:"m",displayUnit:!1,useImperialUnits:p(r)},null,8,["distance","useImperialUnits"])):L("",!0),R[6]||(R[6]=B("/ ")),p(u).id?(S(),G(N,{key:1,distance:p(u).max_alt,unitFrom:"m",useImperialUnits:p(r)},null,8,["distance","useImperialUnits"])):L("",!0)])])):L("",!0),T(p(u))?(S(),g("div",Blt,[R[9]||(R[9]=E("i",{class:"fa fa-location-arrow","aria-hidden":"true"},null,-1)),E("div",Glt,[R[7]||(R[7]=B(" +")),p(u).id?(S(),G(N,{key:0,distance:p(u).ascent,unitFrom:"m",displayUnit:!1,useImperialUnits:p(r)},null,8,["distance","useImperialUnits"])):L("",!0),R[8]||(R[8]=B("/- ")),p(u).id?(S(),G(N,{key:1,distance:p(u).descent,unitFrom:"m",useImperialUnits:p(r)},null,8,["distance","useImperialUnits"])):L("",!0)])])):L("",!0)],2)])])}}}),Hi=ne(xlt,[["__scopeId","data-v-4a2fbc03"]]),Vlt={key:0,class:"report-loading"},Hlt={key:0,id:"admin-report",class:"admin-card"},Klt={key:0,class:"report-status"},Ylt={class:"report-data"},qlt={class:"report-detail"},jlt={key:1,class:"deleted-object"},Xlt={key:2,class:"deleted-object"},Qlt={key:1,class:"deleted-object"},Zlt={key:2,class:"deleted-object"},Jlt={key:1,class:"deleted-object"},ect={key:1,class:"deleted-object"},tct={class:"report-info"},nct={key:0,class:"report-comment-user"},sct={key:1,class:"deleted-object"},act={key:0,class:"report-comment-user"},oct={key:1,class:"deleted-object"},ict={key:0},rct={key:1},uct={key:2},lct={key:3},cct={class:"resolver-user"},dct={key:4},Ect={key:5},_ct={key:0,class:"report-comment"},Tct={class:"report-comment-info"},pct={class:"report-comment-user"},mct=["title"],fct={class:"report-comment-comment"},Sct={key:1,class:"report-action"},Act=["title"],hct=["onClick"],Oct={key:0,class:"report-action-note"},Ict={key:0,class:"no-notes"},Rct={key:0,class:"comment-textarea"},Nct={for:"report-comment"},gct={class:"comment-buttons"},bct=["disabled"],vct=["disabled"],Cct={class:"action-loading"},Pct={key:0,class:"fa fa-spinner fa-pulse","aria-hidden":"true"},Dct={key:1,class:"actions-buttons"},Lct={key:1,class:"container"},yct={key:2,class:"container"},Uct=Q({__name:"AdminReport",setup(e){const t=at(),n=fn(),s=ye(),{t:a}=Lt(),{errorMessages:o,locale:i}=Ge(),{authUser:r,authUserSuccess:u,dateFormat:l}=Ye(),{sports:d}=Jt(),_=Oe(""),c=Oe(null),T=Oe(""),m=Oe([]),f=F(()=>s.getters[Ue.GETTERS.REPORT]),R=F(()=>f.value.reported_comment||f.value.reported_workout),h=F(()=>s.getters[Ue.GETTERS.REPORT_LOADING]),O=F(()=>s.getters[Ue.GETTERS.REPORT_UPDATE_LOADING]),I=Oe(!1),N=F(()=>we()),b=F(()=>c.value!==null&&["ADD_COMMENT","MARK_AS_RESOLVED","MARK_AS_UNRESOLVED"].includes(c.value)),C=F(()=>{var Z,Ae;return(Z=f.value.reported_user)!=null&&Z.suspended_at?Ut((Ae=f.value.reported_user)==null?void 0:Ae.suspended_at,r.value.timezone,r.value.date_format):null}),v=F(()=>{var Z,Ae;return t.params.reportId!=((Ae=(Z=f.value.reported_user)==null?void 0:Z.suspension_report_id)==null?void 0:Ae.toString())});function y(){s.dispatch(Ue.ACTIONS.GET_REPORT,{reportId:+t.params.reportId,loader:"REPORT"})}function D(Z=null){_e(),c.value=Z,I.value=!0}function w(Z){_.value=Z.value}function P(){I.value=!1,_.value="",c.value=null,s.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES)}function W(){const Z={reportId:f.value.id,comment:_.value};c.value&&["MARK_AS_RESOLVED","MARK_AS_UNRESOLVED"].includes(c.value)&&(Z.resolved=c.value==="MARK_AS_RESOLVED"),s.dispatch(Ue.ACTIONS.UPDATE_REPORT,Z)}function Y(){switch(c.value){case"SEND_WARNING_EMAIL":Ke();break;case"SUSPEND_ACCOUNT":case"SUSPEND_CONTENT":Le("suspension");break;case"UNSUSPEND_ACCOUNT":ie();break;case"UNSUSPEND_CONTENT":me();break;default:return W()}}function he(){switch(c.value){case"MARK_AS_RESOLVED":return`admin.APP_MODERATION.ACTIONS.${c.value}`;default:return"buttons.SUBMIT"}}function ie(){if(f.value.reported_user&&c.value){const Ae={action_type:`user_${c.value==="SUSPEND_ACCOUNT"?"":"un"}suspension`,report_id:f.value.id,username:f.value.reported_user.username};_.value&&(Ae.reason=_.value),s.dispatch(Ue.ACTIONS.SUBMIT_ADMIN_ACTION,Ae)}}function me(){var Z;if(R.value&&c.value){const Te={action_type:`${f.value.reported_comment?"comment":"workout"}_${(Z=c.value)!=null&&Z.startsWith("SUSPEND")?"":"un"}suspension`,report_id:f.value.id};f.value.reported_comment?Te.comment_id=f.value.reported_comment.id:f.value.reported_workout&&(Te.workout_id=f.value.reported_workout.id),_.value&&(Te.reason=_.value),s.dispatch(Ue.ACTIONS.SUBMIT_ADMIN_ACTION,Te)}}function Ie(){Le(""),c.value==="SUSPEND_CONTENT"?me():ie()}function Le(Z){T.value=Z,Z!==""&&s.commit(ue.MUTATIONS.UPDATE_IS_SUCCESS,!1)}function Ke(){var Ae;const Z={action_type:"user_warning",report_id:f.value.id,username:(Ae=f.value.reported_user)==null?void 0:Ae.username};_.value&&(Z.reason=_.value),s.dispatch(Ue.ACTIONS.SUBMIT_ADMIN_ACTION,Z)}function Je(){n.go(-1),s.commit(Ue.MUTATIONS.EMPTY_REPORT)}function He(Z){return Ut(Z,r.value.timezone,r.value.date_format)}function Tt(Z,Ae){return mi(new Date(Z.created_at),new Date(Ae.created_at))}function we(){return!f.value.report_actions&&!f.value.comments?[]:[...f.value.report_actions,...f.value.comments].sort(Tt)}function se(Z){m.value.includes(Z)?(m.value.splice(m.value.indexOf(Z),1),s.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES)):m.value.push(Z)}function $e(Z){s.dispatch(Ue.ACTIONS.PROCESS_APPEAL,{...Z,reportId:f.value.id})}function dt(){var oe,$;const Z=(oe=c.value)!=null&&oe.includes("SUSPEND")?($=c.value)==null?void 0:$.split("_")[0]:c.value,Ae=a(`admin.APP_MODERATION.TEXTAREA_PLACEHOLDER.${Z}`);let Te="";return Z&&(Te=["ADD_COMMENT","MARK_AS_RESOLVED","MARK_AS_UNRESOLVED"].includes(Z)?"":` ${a("admin.APP_MODERATION.TEXTAREA_PLACEHOLDER.INFORMATION_VISIBLE_TO_USER")}`),`${Ae}${Te}`}function _e(){s.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),m.value=[]}return Ce(()=>f.value.comments,()=>{I.value=!1,_.value=""}),Ce(()=>t.params.reportId,()=>{y()}),Ce(()=>u.value,Z=>{Z&&Le("")}),Ze(async()=>y()),ut(()=>s.commit(ue.MUTATIONS.UPDATE_IS_SUCCESS,!1)),(Z,Ae)=>{var re;const Te=j("Modal"),oe=j("router-link"),$=j("i18n-t"),k=j("AlertMessage"),x=j("Card"),le=j("CustomTextArea"),Ee=j("ErrorMessage");return h.value?(S(),g("div",Vlt,[M(Wl)])):(S(),g(ae,{key:1},[(re=f.value)!=null&&re.id?(S(),g("div",Hlt,[T.value&&f.value.reported_user?(S(),G(Te,{key:0,title:Z.$t("common.CONFIRMATION"),message:`admin.CONFIRM_${c.value}`,strongMessage:f.value.reported_user.username,onConfirmAction:Ie,onCancelAction:Ae[0]||(Ae[0]=U=>Le("")),onKeydown:Ae[1]||(Ae[1]=Xe(U=>Le(""),["esc"]))},null,8,["title","message","strongMessage"])):L("",!0),M(x,null,{title:X(()=>[B(A(Z.$t("admin.APP_MODERATION.REPORT"))+" #"+A(f.value.id)+" ",1),f.value.resolved?(S(),g("span",Klt," ("+A(Z.$t("admin.APP_MODERATION.RESOLVED.TRUE"))+") ",1)):L("",!0)]),content:X(()=>[E("div",Ylt,[E("div",qlt,[M(x,{class:"report-detail-card"},{title:X(()=>[B(A(Z.$t("admin.APP_MODERATION.REPORTED_CONTENT")),1)]),content:X(()=>{var U,z;return[f.value.object_type==="comment"?(S(),g(ae,{key:0},[f.value.reported_comment?(S(),G(M_,{key:0,"auth-user":p(r),comment:f.value.reported_comment,"comments-loading":null,"for-admin":!0},null,8,["auth-user","comment"])):(S(),g("span",jlt,A(Z.$t("admin.DELETED_COMMENT")),1)),f.value.reported_user?L("",!0):(S(),g("span",Xlt," ("+A(Z.$t("admin.DELETED_USER").toLocaleLowerCase())+") ",1))],64)):L("",!0),f.value.object_type==="workout"?(S(),g(ae,{key:1},[f.value.reported_workout?(S(),G(Hi,{workout:f.value.reported_workout,sport:p(d).filter(V=>{var q;return V.id===((q=f.value.reported_workout)==null?void 0:q.sport_id)})[0],user:f.value.reported_workout.user,useImperialUnits:p(r).imperial_units,dateFormat:p(l),timezone:p(r).timezone,key:f.value.reported_workout.id},null,8,["workout","sport","user","useImperialUnits","dateFormat","timezone"])):(S(),g("span",Qlt,A(Z.$t("admin.DELETED_WORKOUT")),1)),f.value.reported_user?(z=(U=f.value.reported_workout)==null?void 0:U.suspension)!=null&&z.report_id?(S(),G(k,{key:3,message:"workouts.SUSPENDED_BY_ADMIN"},ho({_:2},[f.value.reported_workout.suspension.report_id!==parseInt(p(t).params.reportId)?{name:"additionalMessage",fn:X(()=>[M($,{keypath:"common.SEE_REPORT",tag:"span"},{default:X(()=>[M(oe,{to:`/admin/reports/${f.value.reported_workout.suspension.report_id}`},{default:X(()=>[B(" #"+A(f.value.reported_workout.suspension.report_id),1)]),_:1},8,["to"])]),_:1})]),key:"0"}:void 0]),1024)):L("",!0):(S(),g("span",Zlt," ("+A(Z.$t("admin.DELETED_USER").toLocaleLowerCase())+") ",1))],64)):L("",!0),f.value.object_type==="user"?(S(),g(ae,{key:2},[f.value.reported_user?(S(),G(Fl,{key:0,authUser:p(r),user:f.value.reported_user,hideRelationship:!0},null,8,["authUser","user"])):(S(),g("span",Jlt,A(Z.$t("admin.DELETED_USER")),1))],64)):f.value.reported_user&&f.value.reported_user.suspended_at!==null?(S(),G(k,{key:3,message:"user.ACCOUNT_SUSPENDED_AT",param:C.value},ho({_:2},[v.value?{name:"additionalMessage",fn:X(()=>[M($,{keypath:"common.SEE_REPORT"},{default:X(()=>{var V;return[M(oe,{to:`/admin/reports/${(V=f.value.reported_user)==null?void 0:V.suspension_report_id}`},{default:X(()=>{var q;return[B(A((q=f.value.reported_user)==null?void 0:q.suspension_report_id),1)]}),_:1},8,["to"])]}),_:1})]),key:"0"}:void 0]),1032,["param"])):L("",!0)]}),_:1}),M(x,{class:"report-detail-card"},{title:X(()=>[B(A(Z.$t("admin.APP_MODERATION.REPORT_NOTE"))+" ",1),f.value.reported_by?(S(),g(ae,{key:0},[M(oe,{class:"link-with-image",to:`/admin/users/${f.value.reported_by.username}`},{default:X(()=>[B(A(f.value.reported_by.username),1)]),_:1},8,["to"]),B(" ("+A(Z.$t("admin.APP_MODERATION.REPORTER"))+") ",1)],64)):(S(),g("span",ect,A(Z.$t("admin.DELETED_USER").toLocaleLowerCase()),1))]),content:X(()=>[B(A(f.value.note),1)]),_:1})]),E("dl",tct,[E("dt",null,A(Z.$t("admin.APP_MODERATION.ORDER_BY.CREATED_AT"))+":",1),E("dd",null,A(He(f.value.created_at)),1),E("dt",null,A(Z.$t("admin.APP_MODERATION.REPORTED_BY"))+":",1),E("dd",null,[f.value.reported_by?(S(),g("div",nct,[M(Vt,{user:f.value.reported_by},null,8,["user"]),M(lo,{user:f.value.reported_by},null,8,["user"])])):(S(),g("span",sct,A(Z.$t("admin.DELETED_USER")),1))]),E("dt",null,A(Z.$t("admin.APP_MODERATION.REPORTED_USER"))+":",1),E("dd",null,[f.value.reported_user?(S(),g("div",act,[M(Vt,{user:f.value.reported_user},null,8,["user"]),M(lo,{user:f.value.reported_user},null,8,["user"])])):(S(),g("span",oct,A(Z.$t("admin.DELETED_USER")),1))]),E("dt",null,A(Z.$t("admin.APP_MODERATION.STATUS"))+":",1),E("dd",null,A(Z.$t(`admin.APP_MODERATION.RESOLVED.${f.value.resolved?"TRUE":"FALSE"}`)),1),f.value.resolved_at?(S(),g("dt",ict,A(Z.$t("admin.APP_MODERATION.RESOLVED_AT"))+": ",1)):L("",!0),f.value.resolved_at?(S(),g("dd",rct,[E("time",null,A(He(f.value.resolved_at)),1)])):L("",!0),f.value.resolved_by?(S(),g("dt",uct,A(Z.$t("admin.APP_MODERATION.RESOLVED_BY"))+": ",1)):L("",!0),f.value.resolved_by?(S(),g("dd",lct,[E("div",cct,[M(Vt,{user:f.value.resolved_by},null,8,["user"]),M(lo,{user:f.value.resolved_by},null,8,["user"])])])):L("",!0),f.value.updated_at?(S(),g("dt",dct,A(Z.$t("common.LAST_UPDATED_ON"))+": ",1)):L("",!0),f.value.updated_at?(S(),g("dd",Ect,[E("time",null,A(He(f.value.updated_at)),1)])):L("",!0)])]),M(x,{class:"report-action-and-comments"},{title:X(()=>[B(A(Z.$t("admin.APP_MODERATION.NOTES_AND_ACTIONS")),1)]),content:X(()=>[(S(!0),g(ae,null,be(N.value,U=>(S(),g("div",{key:U.id},["comment"in U&&!("action_type"in U)?(S(),g("div",_ct,[E("div",Tct,[E("div",pct,[M(Vt,{user:U.user},null,8,["user"]),M(lo,{user:U.user},null,8,["user"])]),E("div",{class:"report-comment-date",title:He(U.created_at)},A(p(Ga)(new Date(U.created_at),new Date,{addSuffix:!0,locale:p(i)})),9,mct)]),E("div",fct,A(U.comment),1)])):L("",!0),"action_type"in U?(S(),g("div",Sct,[E("div",null,[Ae[7]||(Ae[7]=B(" • ")),M($,{keypath:`admin.APP_MODERATION.REPORT_ACTIONS.${U.action_type}`},{default:X(()=>[U.action_type.startsWith("user_")&&U.user?(S(),G(oe,{key:0,class:"user-name",to:`/admin/users/${U.user.username}`,title:U.user.username},{default:X(()=>[B(A(U.user.username),1)]),_:2},1032,["to","title"])):L("",!0),M(oe,{class:"user-name",to:`/admin/users/${U.moderator.username}`,title:U.moderator.username},{default:X(()=>[B(A(U.moderator.username),1)]),_:2},1032,["to","title"]),E("span",{class:"report-action-date",title:He(U.created_at)},A(p(Ga)(new Date(U.created_at),new Date,{addSuffix:!0,locale:p(i)})),9,Act)]),_:2},1032,["keypath"]),U.appeal?(S(),g("button",{key:0,class:"appeal-button small transparent",onClick:z=>se(U.appeal.id)},A(Z.$t(`admin.APP_MODERATION.APPEAL.${m.value.includes(U.appeal.id)?"HIDE":"SEE"}`)),9,hct)):L("",!0)]),U.reason?(S(),g("div",Oct,[E("span",null,A(Z.$t("admin.APP_MODERATION.REASON"))+":",1),B(" "+A(U.reason),1)])):L("",!0),U.appeal&&m.value.includes(U.appeal.id)?(S(),G(Kut,{key:1,appeal:U.appeal,"auth-user":p(r),onUpdateAppeal:$e,onCloseAppeal:z=>se(U.appeal.id)},null,8,["appeal","auth-user","onCloseAppeal"])):L("",!0)])):L("",!0)]))),128)),N.value.length==0?(S(),g("div",Ict,A(Z.$t("common.NO_NOTES")),1)):L("",!0)]),_:1}),M(x,{class:"report-detail-card"},{title:X(()=>[B(A(Z.$t("admin.ACTION",0)),1)]),content:X(()=>[I.value?(S(),g("div",Rct,[E("form",{onSubmit:Ne(Y,["prevent"])},[E("label",Nct,A(Z.$t(`admin.APP_MODERATION.ACTIONS.${c.value}`)),1),M(le,{class:"report-comment-textarea",name:"report-comment",required:b.value,placeholder:dt(),disabled:O.value,onUpdateValue:w},null,8,["required","placeholder","disabled"]),E("div",gct,[E("button",{class:"confirm",type:"submit",disabled:O.value},A(Z.$t(he())),9,bct),E("button",{class:"cancel",onClick:Ne(P,["prevent"]),disabled:O.value},A(Z.$t("buttons.CANCEL")),9,vct),E("div",Cct,[O.value?(S(),g("i",Pct)):L("",!0)])]),p(o)?(S(),G(Ee,{key:0,message:p(o)},null,8,["message"])):L("",!0)],32)])):(S(),g("div",Dct,[E("button",{onClick:Ae[2]||(Ae[2]=U=>D("ADD_COMMENT"))},A(Z.$t("admin.APP_MODERATION.ACTIONS.ADD_COMMENT")),1),!f.value.resolved&&f.value.reported_user&&!f.value.is_reported_user_warned?(S(),g("button",{key:0,onClick:Ae[3]||(Ae[3]=U=>D("SEND_WARNING_EMAIL"))},A(Z.$t("admin.APP_MODERATION.ACTIONS.SEND_WARNING_EMAIL")),1)):L("",!0),!f.value.resolved&&R.value?(S(),g("button",{key:1,class:fe({danger:R.value.suspended_at===null}),onClick:Ae[4]||(Ae[4]=U=>D(`${R.value.suspended_at===null?"":"UN"}SUSPEND_CONTENT`))},A(Z.$t(`admin.APP_MODERATION.ACTIONS.${R.value.suspended_at===null?"":"UN"}SUSPEND_CONTENT`)),3)):L("",!0),!f.value.resolved&&f.value.reported_user?(S(),g("button",{key:2,class:fe({danger:f.value.reported_user.suspended_at===null}),onClick:Ae[5]||(Ae[5]=U=>D(`${f.value.reported_user.suspended_at?"UN":""}SUSPEND_ACCOUNT`))},A(Z.$t(`admin.APP_MODERATION.ACTIONS.${f.value.reported_user.suspended_at?"UN":""}SUSPEND_ACCOUNT`)),3)):L("",!0),E("button",{onClick:Ae[6]||(Ae[6]=U=>D(`MARK_AS_${f.value.resolved?"UN":""}RESOLVED`))},A(Z.$t(`admin.APP_MODERATION.ACTIONS.MARK_AS_${f.value.resolved?"UN":""}RESOLVED`)),1)]))]),_:1}),E("button",{onClick:Ne(Je,["prevent"])},A(Z.$t("buttons.BACK")),1)]),_:1})])):h.value?(S(),g("div",Lct)):(S(),g("div",yct,[M(zo,{target:"REPORT"})]))],64))}}}),$ct=ne(Uct,[["__scopeId","data-v-3e520891"]]),kct={class:"table-selects"},wct=["value"],Mct=["value"],Wct=["value"],Fct=["value"],zct=["value"],Bct=["value"],V_=Q({__name:"FilterSelects",props:{order_by:{},query:{},sort:{},message:{}},emits:["updateSelect"],setup(e,{emit:t}){const n=e,{order_by:s,query:a,sort:o,message:i}=pe(n),r=t,u=[10,25,50,100];function l(d){r("updateSelect",d.target.id,d.target.value)}return(d,_)=>(S(),g("div",kct,[E("label",null,[B(A(d.$t("common.SELECTS.ORDER_BY.LABEL"))+": ",1),E("select",{name:"order_by",id:"order_by",value:p(a).order_by,onChange:l},[(S(!0),g(ae,null,be(p(s),c=>(S(),g("option",{value:c,key:c},A(d.$t(`${p(i)}.${c.toUpperCase()}`)),9,Mct))),128))],40,wct)]),E("label",null,[B(A(d.$t("common.SELECTS.ORDER.LABEL"))+": ",1),E("select",{name:"order",id:"order",value:p(a).order,onChange:l},[(S(!0),g(ae,null,be(p(o),c=>(S(),g("option",{value:c,key:c},A(d.$t(`common.SELECTS.ORDER.${c.toUpperCase()}`)),9,Fct))),128))],40,Wct)]),yt(d.$slots,"additionalFilters"),E("label",null,[B(A(d.$t("common.SELECTS.PER_PAGE.LABEL"))+": ",1),E("select",{name:"per_page",id:"per_page",value:p(a).per_page,onChange:l},[(S(),g(ae,null,be(u,c=>E("option",{value:c,key:c},A(c),9,Bct)),64))],40,zct)])]))}}),zl=["asc","desc"],cr=1,Gct=10,Do=(e,t)=>e&&typeof e=="string"&&+e>0?+e:t,dS=(e,t,n)=>e&&typeof e=="string"&&t.includes(e)?e:n,Lo=(e,t,n,s)=>{const o=(s||{}).defaultSort||"asc",i={};return i.page=Do(e.page,cr),i.per_page=Do(e.per_page,Gct),i.order=dS(e.order,zl,o),i.order_by=dS(e.order_by,t,n),typeof e.q=="string"?i.q=e.q:delete i.q,typeof e.notes=="string"?i.notes=e.notes:delete i.notes,typeof e.description=="string"?i.description=e.description:delete i.description,typeof e.object_type=="string"?i.object_type=e.object_type:delete i.object_type,typeof e.resolved=="string"?i.resolved=e.resolved:delete i.resolved,i},xct=["equipment_id","from","to","ave_speed_from","ave_speed_to","max_speed_from","max_speed_to","distance_from","distance_to","duration_from","duration_to","sport_id","title"],no=(e,t=1)=>Array.from({length:e-t+1},(n,s)=>t+s),Vct=(e,t)=>{if(e<0)return[];if(e<9)return no(e);let n=[1,2];return t<4?n=n.concat([3,4,5]):t<6?n=n.concat(no(t+2,3)):(n=n.concat(["..."]),t=e-2&&+n[n.length-1]{const u=j("router-link");return S(),g("nav",Hct,[E("ul",Kct,[E("li",{class:fe(["page-prev",{disabled:!p(n).has_prev}])},[p(n).has_prev?(S(),G(u,{key:0,class:"page-link",to:{path:p(s),query:o(p(n).page,-1)}},{default:X(()=>[B(A(i.$t("common.PREVIOUS"))+" ",1),r[0]||(r[0]=E("i",{class:"fa fa-chevron-left","aria-hidden":"true"},null,-1))]),_:1},8,["to"])):(S(),g("span",Yct,A(i.$t("common.PREVIOUS")),1))],2),(S(!0),g(ae,null,be(p(Vct)(p(n).pages,p(n).page),l=>(S(),g("li",{key:l,class:fe(["page",{active:l===p(n).page}])},[l==="..."?(S(),g("span",qct," ... ")):(S(),G(u,{key:1,class:"page-link",to:{path:p(s),query:o(+l)}},{default:X(()=>[B(A(l),1)]),_:2},1032,["to"]))],2))),128)),E("li",{class:fe(["page-next",{disabled:!p(n).has_next}])},[p(n).has_next?(S(),G(u,{key:0,class:"page-link",to:{path:p(s),query:o(p(n).page,1)}},{default:X(()=>[B(A(i.$t("common.NEXT"))+" ",1),r[1]||(r[1]=E("i",{class:"fa fa-chevron-right","aria-hidden":"true"},null,-1))]),_:1},8,["to"])):(S(),g("span",jct,A(i.$t("common.NEXT")),1))],2)])])}}}),Yn=ne(Xct,[["__scopeId","data-v-84c721a3"]]),Qct={id:"admin-reports",class:"admin-card"},Zct=["value"],Jct=["value"],edt=["value"],tdt={value:"true"},ndt={value:"false"},sdt={key:0,class:"no-reports"},adt={key:1,class:"responsive-table"},odt={class:"left-text"},idt={class:"left-text"},rdt={class:"left-text"},udt={class:"left-text"},ldt={class:"left-text"},cdt={class:"left-text"},ddt={class:"left-text"},Edt={class:"cell-heading"},_dt={key:1,class:"deleted-object"},Tdt={class:"cell-heading"},pdt={key:0},mdt={class:"cell-heading"},fdt={key:1,class:"deleted-object"},Sdt={class:"cell-heading"},Adt={class:"cell-heading"},hdt={class:"cell-heading"},Odt={key:0},Idt=["onClick"],ES=20,_S="created_at",Rdt=Q({__name:"AdminReports",setup(e){const t=at(),n=fn(),s=ye(),{errorMessages:a}=Ge(),{authUser:o}=Ye(),i=["created_at","updated_at"],r={comment:"workouts.COMMENTS.COMMENT",user:"user.USER",workout:"workouts.WORKOUT"};let u=Dt(Lo(t.query,i,_S,{defaultSort:"desc"}));const l=F(()=>s.getters[Ue.GETTERS.REPORTS]),d=F(()=>s.getters[Ue.GETTERS.REPORTS_PAGINATION]);function _(O){s.dispatch(Ue.ACTIONS.GET_REPORTS,O)}function c(O){const I=O.target;I.value?u.object_type=I.value:delete u.object_type,n.push({path:"/admin/reports",query:u})}function T(O){const I=O.target;I.value?u.resolved=I.value:delete u.resolved,n.push({path:"/admin/reports",query:u})}function m(O,I){u[O]=I,O==="per_page"&&(u.page=1),n.push({path:"/admin/reports",query:u})}function f(O){return Ut(O,o.value.timezone,o.value.date_format)}function R(O){return O=="user.USER"?"user.USER_PROFILE":O}function h(O){var N,b;let I;switch(O.object_type){case"workout":I=(N=O.reported_workout)==null?void 0:N.title;break;case"comment":I=((b=O.reported_comment)==null?void 0:b.text)||"";break;default:I=""}return I?I.length>ES?`${I.substring(0,ES-1)}…`:I:""}return Ce(()=>t.query,O=>{u=Lo(O,i,_S,{}),_(u)}),Ze(()=>_(u)),(O,I)=>{const N=j("router-link"),b=j("ErrorMessage"),C=j("Card");return S(),g("div",Qct,[M(C,null,{title:X(()=>[B(A(O.$t("admin.APP_MODERATION.TITLE")),1)]),content:X(()=>[E("button",{class:"top-button",onClick:I[0]||(I[0]=Ne(v=>O.$router.push("/admin"),["prevent"]))},A(O.$t("admin.BACK_TO_ADMIN")),1),M(V_,{sort:p(zl),order_by:i,query:p(u),message:"admin.APP_MODERATION.ORDER_BY",onUpdateSelect:m},{additionalFilters:X(()=>[E("label",null,[B(A(O.$t("common.TYPE"))+": ",1),E("select",{name:"object_type",id:"object_type",value:p(u).object_type,onChange:c},[I[2]||(I[2]=E("option",{value:""},null,-1)),(S(!0),g(ae,null,be(Object.keys(r),v=>(S(),g("option",{value:v,key:v},A(O.$t(r[v])),9,Jct))),128))],40,Zct)]),E("label",null,[B(A(O.$t("admin.APP_MODERATION.STATUS"))+": ",1),E("select",{name:"resolved",id:"resolved",value:p(u).resolved,onChange:T},[I[3]||(I[3]=E("option",{value:""},null,-1)),E("option",tdt,A(O.$t("admin.APP_MODERATION.RESOLVED.TRUE")),1),E("option",ndt,A(O.$t("admin.APP_MODERATION.RESOLVED.FALSE")),1)],40,edt)])]),_:1},8,["sort","query"]),l.value.length===0?(S(),g("div",sdt,A(O.$t("admin.APP_MODERATION.NO_REPORTS_FOUND")),1)):(S(),g("div",adt,[E("table",null,[E("thead",null,[E("tr",null,[I[4]||(I[4]=E("th",{class:"left-text"},"#",-1)),E("th",odt,A(O.$t("admin.APP_MODERATION.REPORTED_USER")),1),E("th",idt,A(O.$t("admin.APP_MODERATION.REPORTED_CONTENT")),1),E("th",rdt,A(O.$t("admin.APP_MODERATION.REPORTED_BY")),1),E("th",udt,A(Fe(O.$t("admin.APP_MODERATION.ORDER_BY.CREATED_AT"))),1),E("th",ldt,A(O.$t("admin.APP_MODERATION.RESOLVED.TRUE")),1),E("th",cdt,A(Fe(O.$t("common.LAST_UPDATED_ON"))),1),E("th",ddt,A(O.$t("admin.ACTION")),1)])]),E("tbody",null,[(S(!0),g(ae,null,be(l.value,v=>(S(),g("tr",{key:v.created_at},[E("td",null,[M(N,{to:`/admin/reports/${v.id}`},{default:X(()=>[B(A(v.id),1)]),_:2},1032,["to"])]),E("td",null,[E("span",Edt,A(O.$t("admin.APP_MODERATION.REPORTED_USER")),1),v.reported_user?(S(),G(N,{key:0,class:"link-with-image",to:`/admin/users/${v.reported_user.username}`},{default:X(()=>[M(Vt,{user:v.reported_user},null,8,["user"]),B(" "+A(v.reported_user.username),1)]),_:2},1032,["to"])):(S(),g("span",_dt,A(O.$t("admin.DELETED_USER")),1))]),E("td",null,[E("span",Tdt,A(O.$t("admin.APP_MODERATION.REPORTED_CONTENT")),1),B(" "+A(O.$t(R(r[v.object_type])))+" ",1),h(v)?(S(),g("span",pdt," ("+A(h(v))+") ",1)):L("",!0)]),E("td",null,[E("span",mdt,A(O.$t("admin.APP_MODERATION.REPORTED_BY")),1),v.reported_by?(S(),G(N,{key:0,class:"link-with-image",to:`/admin/users/${v.reported_by.username}`},{default:X(()=>[M(Vt,{user:v.reported_by},null,8,["user"]),B(" "+A(v.reported_by.username),1)]),_:2},1032,["to"])):(S(),g("span",fdt,A(O.$t("admin.DELETED_USER")),1))]),E("td",null,[E("span",Sdt,A(Fe(O.$t("admin.APP_MODERATION.ORDER_BY.CREATED_AT"))),1),E("time",null,A(f(v.created_at)),1)]),E("td",null,[E("span",Adt,A(O.$t("admin.APP_MODERATION.RESOLVED.TRUE")),1),E("i",{class:fe(`fa fa${v.resolved?"-check":""}-square-o`),"aria-hidden":"true"},null,2)]),E("td",null,[E("span",hdt,A(Fe(O.$t("common.LAST_UPDATED_ON"))),1),v.updated_at?(S(),g("time",Odt,A(f(v.updated_at)),1)):L("",!0)]),E("td",null,[E("button",{onClick:y=>O.$router.push(`/admin/reports/${v.id}`)},A(O.$t("admin.APP_MODERATION.VIEW_REPORT")),9,Idt)])]))),128))])]),d.value.page?(S(),G(Yn,{key:0,path:"/admin/users",pagination:d.value,query:p(u)},null,8,["pagination","query"])):L("",!0),p(a)?(S(),G(b,{key:1,message:p(a)},null,8,["message"])):L("",!0),E("button",{onClick:I[1]||(I[1]=Ne(v=>O.$router.push("/admin"),["prevent"]))},A(O.$t("admin.BACK_TO_ADMIN")),1)]))]),_:1})])}}}),Ndt=ne(Rdt,[["__scopeId","data-v-79ddf542"]]),gdt={id:"admin-sports",class:"admin-card"},bdt={class:"responsive-table"},vdt={class:"text-left"},Cdt={class:"text-left sport-action"},Pdt={class:"text-center"},Ddt={class:"cell-heading"},Ldt={class:"sport-label"},ydt={class:"cell-heading"},Udt={class:"text-center"},$dt={class:"cell-heading"},kdt={class:"sport-action"},wdt={class:"cell-heading"},Mdt={class:"action-button"},Wdt=["onClick"],Fdt={key:0,class:"has-workouts"},zdt=Q({__name:"AdminSports",setup(e){const t=ye(),{errorMessages:n}=Ge(),{translatedSports:s}=Jt();function a(o,i){t.dispatch(xt.ACTIONS.UPDATE_SPORTS,{id:o,isActive:i})}return Ze(()=>t.dispatch(xt.ACTIONS.GET_SPORTS,!0)),(o,i)=>{const r=j("SportImage"),u=j("ErrorMessage"),l=j("Card");return S(),g("div",gdt,[M(l,null,{title:X(()=>[B(A(o.$t("admin.SPORTS.TITLE")),1)]),content:X(()=>[E("button",{class:"top-button",onClick:i[0]||(i[0]=Ne(d=>o.$router.push("/admin"),["prevent"]))},A(o.$t("admin.BACK_TO_ADMIN")),1),E("div",bdt,[E("table",null,[E("thead",null,[E("tr",null,[i[2]||(i[2]=E("th",null,"#",-1)),E("th",null,A(o.$t("admin.SPORTS.TABLE.IMAGE")),1),E("th",vdt,A(o.$t("admin.SPORTS.TABLE.LABEL")),1),E("th",null,A(o.$t("admin.SPORTS.TABLE.ACTIVE")),1),E("th",Cdt,A(o.$t("admin.ACTION")),1)])]),E("tbody",null,[(S(!0),g(ae,null,be(p(s),d=>(S(),g("tr",{key:d.id},[E("td",Pdt,[i[3]||(i[3]=E("span",{class:"cell-heading"},"id",-1)),B(" "+A(d.id),1)]),E("td",null,[E("span",Ddt,A(o.$t("admin.SPORTS.TABLE.IMAGE")),1),M(r,{title:d.translatedLabel,"sport-label":d.label,color:d.color},null,8,["title","sport-label","color"])]),E("td",Ldt,[E("span",ydt,A(o.$t("admin.SPORTS.TABLE.LABEL")),1),B(" "+A(d.translatedLabel),1)]),E("td",Udt,[E("span",$dt,A(o.$t("admin.SPORTS.TABLE.ACTIVE")),1),E("i",{class:fe(`fa fa${d.is_active?"-check":""}`),"aria-hidden":"true"},null,2)]),E("td",kdt,[E("span",wdt,A(o.$t("admin.ACTION")),1),E("div",Mdt,[E("button",{class:fe({danger:d.is_active}),onClick:_=>a(d.id,!d.is_active)},A(o.$t(`buttons.${d.is_active?"DIS":"EN"}ABLE`)),11,Wdt),d.has_workouts?(S(),g("span",Fdt,[i[4]||(i[4]=E("i",{class:"fa fa-warning","aria-hidden":"true"},null,-1)),B(" "+A(o.$t("admin.SPORTS.TABLE.HAS_WORKOUTS")),1)])):L("",!0)])])]))),128))])]),p(n)?(S(),G(u,{key:0,message:p(n)},null,8,["message"])):L("",!0),E("button",{onClick:i[1]||(i[1]=Ne(d=>o.$router.push("/admin"),["prevent"]))},A(o.$t("admin.BACK_TO_ADMIN")),1)])]),_:1})])}}}),Bdt=ne(zdt,[["__scopeId","data-v-0df47c43"]]),Gdt={class:"users-filters"},xdt={class:"search-username"},Vdt={for:"username",class:"visually-hidden"},Hdt=["placeholder"],Kdt=["title"],Ydt=["title"],qdt=Q({__name:"UsersNameFilter",emits:["filterOnUsername"],setup(e,{emit:t}){const n=t,s=at(),a=Oe(s.query.q?s.query.q:"");function o(){a.value!==""&&n("filterOnUsername",a)}function i(){a.value="",n("filterOnUsername",a.value)}return(r,u)=>(S(),g("div",Gdt,[E("div",xdt,[E("label",Vdt,A(r.$t("user.USERNAME")),1),We(E("input",{id:"username",name:"username","onUpdate:modelValue":u[0]||(u[0]=l=>a.value=l),onKeyup:Xe(o,["enter"]),placeholder:r.$t("user.FILTER_ON_USERNAME")},null,40,Hdt),[[st,a.value,void 0,{trim:!0}]]),a.value!==""?(S(),g("button",{key:0,class:"transparent search-buttons",title:r.$t("buttons.CLEAR_FILTER")},[E("i",{class:"fa fa-times","aria-hidden":"true",onClick:i})],8,Kdt)):L("",!0)]),E("button",{class:"transparent search-buttons",title:r.$t("buttons.SEARCH")},[E("i",{class:fe(["fa fa-search",{"fa-disabled":a.value===""}]),"aria-hidden":"true",onClick:o},null,2)],8,Ydt)]))}}),L1=ne(qdt,[["__scopeId","data-v-a6bec70a"]]),jdt={id:"admin-users",class:"admin-card"},Xdt={key:0,class:"no-users"},Qdt={key:1,class:"responsive-table"},Zdt={class:"left-text"},Jdt={class:"left-text"},eEt={class:"cell-heading"},tEt={class:"cell-heading"},nEt={class:"cell-heading"},sEt={class:"text-center"},aEt={class:"cell-heading"},oEt={class:"text-center"},iEt={class:"cell-heading"},rEt={class:"text-center"},uEt={class:"cell-heading"},lEt={class:"text-center"},cEt={class:"cell-heading"},dEt={class:"text-center"},EEt={class:"cell-heading"},_Et={class:"roles"},TEt={key:0,class:"roles-buttons"},pEt=["onClick"],mEt={key:1},fEt=["disabled","onClick"],TS="created_at",SEt=Q({__name:"AdminUsers",setup(e){const t=ye(),n=at(),s=fn(),{errorMessages:a}=Ge(),{authUser:o}=Ye(),i=["is_active","role","created_at","username","workouts_count"];let r=Dt(Lo(n.query,i,TS));const u=F(()=>t.getters[ue.GETTERS.USERS]),l=F(()=>t.getters[ue.GETTERS.USERS_PAGINATION]),d=F(()=>t.getters[ue.GETTERS.USERS_IS_SUCCESS]),_=Oe("");function c(I){t.dispatch(ue.ACTIONS.GET_USERS_FOR_ADMIN,I)}function T(I){h("q",I.value)}function m(I){return _.value===I}function f(I){switch(I){case"admin":return["moderator","user"];case"moderator":return["admin","user"];case"user":return["admin","moderator"];default:return[]}}function R(I,N){t.dispatch(ue.ACTIONS.UPDATE_USER,{username:I,role:N})}function h(I,N){r[I]=N,I==="per_page"&&(r.page=1),s.push({path:"/admin/users",query:r})}function O(I){return I.username===o.value.username||I.suspended_at!==null||I.role==="owner"}return Ce(()=>n.query,I=>{r=Lo(I,i,TS,{}),c(r)}),Ce(()=>d.value,I=>{I&&(_.value="")}),Ze(()=>c(r)),ut(()=>{t.dispatch(ue.ACTIONS.EMPTY_USERS),t.commit(ue.MUTATIONS.UPDATE_IS_SUCCESS,!1)}),(I,N)=>{const b=j("router-link"),C=j("ErrorMessage"),v=j("Card");return S(),g("div",jdt,[M(v,null,{title:X(()=>[B(A(Fe(I.$t("user.USER",0))),1)]),content:X(()=>[E("button",{class:"top-button",onClick:N[0]||(N[0]=Ne(y=>I.$router.push("/admin"),["prevent"]))},A(I.$t("admin.BACK_TO_ADMIN")),1),M(L1,{onFilterOnUsername:T}),M(V_,{sort:p(zl),order_by:i,query:p(r),message:"admin.USERS.SELECTS.ORDER_BY",onUpdateSelect:h},null,8,["sort","query"]),u.value.length===0?(S(),g("div",Xdt,A(I.$t("user.NO_USERS_FOUND")),1)):(S(),g("div",Qdt,[E("table",null,[E("thead",null,[E("tr",null,[N[3]||(N[3]=E("th",null,"#",-1)),E("th",Zdt,A(I.$t("user.USERNAME")),1),E("th",Jdt,A(I.$t("user.PROFILE.REGISTRATION_DATE")),1),E("th",null,A(Fe(I.$t("workouts.WORKOUT",0))),1),E("th",null,A(I.$t("admin.ACTIVE")),1),E("th",null,A(I.$t("user.ROLE")),1),E("th",null,A(I.$t("user.SUSPENDED")),1),E("th",null,A(I.$t("admin.ACTION")),1)])]),E("tbody",null,[(S(!0),g(ae,null,be(u.value,y=>(S(),g("tr",{key:y.username},[E("td",null,[E("span",eEt,A(I.$t("user.PROFILE.PICTURE")),1),M(Vt,{user:y},null,8,["user"])]),E("td",null,[E("span",tEt,A(I.$t("user.USERNAME")),1),M(b,{to:`/admin/users/${y.username}`},{default:X(()=>[B(A(y.username),1)]),_:2},1032,["to"]),p(a)&&_.value===y.username?(S(),G(C,{key:0,message:p(a)},null,8,["message"])):L("",!0)]),E("td",null,[E("span",nEt,A(I.$t("user.PROFILE.REGISTRATION_DATE")),1),E("time",null,A(p(Ut)(y.created_at,p(o).timezone,p(o).date_format)),1)]),E("td",sEt,[E("span",aEt,A(Fe(I.$t("workouts.WORKOUT",0))),1),B(" "+A(y.nb_workouts),1)]),E("td",oEt,[E("span",iEt,A(I.$t("admin.ACTIVE")),1),E("i",{class:fe(`fa fa${y.is_active?"-check":""}-square-o`),"aria-hidden":"true"},null,2)]),E("td",rEt,[E("span",uEt,A(I.$t("user.ROLE")),1),B(" "+A(I.$t(`user.ROLES.${y.role}`)),1)]),E("td",lEt,[E("span",cEt,A(I.$t("user.SUSPENDED")),1),E("i",{class:fe(`fa fa${y.suspended_at!==null?"-check":""}-square-o`),"aria-hidden":"true"},null,2)]),E("td",dEt,[E("span",EEt,A(I.$t("admin.ACTION")),1),E("div",_Et,[m(y.username)?(S(),g("div",TEt,[(S(!0),g(ae,null,be(f(y.role),D=>(S(),g("button",{class:fe({danger:y.role==="admin"||D==="user"}),key:D,onClick:w=>R(y.username,D)},A(I.$t(`admin.USERS.TABLE.CHANGE_TO_${D.toUpperCase()}`)),11,pEt))),128)),E("button",{onClick:N[1]||(N[1]=D=>_.value="")},A(I.$t("buttons.CANCEL")),1)])):(S(),g("div",mEt,[E("button",{disabled:O(y),onClick:D=>_.value=y.username},A(I.$t("admin.USERS.TABLE.CHANGE_ROLE")),9,fEt)]))])])]))),128))])]),l.value.page?(S(),G(Yn,{key:0,path:"/admin/users",pagination:l.value,query:p(r)},null,8,["pagination","query"])):L("",!0),_.value===""&&p(a)?(S(),G(C,{key:1,message:p(a)},null,8,["message"])):L("",!0),E("button",{onClick:N[2]||(N[2]=Ne(y=>I.$router.push("/admin"),["prevent"]))},A(I.$t("admin.BACK_TO_ADMIN")),1)]))]),_:1})])}}}),AEt=ne(SEt,[["__scopeId","data-v-c5c9e5fb"]]),hEt={class:"box"},OEt={class:"user-header"},IEt={key:0,class:"follows-you"},REt={key:1,class:"follows-you"},NEt={class:"user-details"},gEt={class:"user-name"},bEt={key:2,class:"user-role"},vEt=Q({__name:"UserHeader",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),s=at(),{displayOptions:a}=Ge(),{authUser:o,authUserHasModeratorRights:i}=Ye(),r=F(()=>n.value.suspended_at?Ut(n.value.suspended_at,a.value.timezone,a.value.dateFormat):""),u=F(()=>n.value.suspended_at!==null&&s.name!=="AuthUserAccountSuspension"&&n.value.username===(o==null?void 0:o.value.username)),l=F(()=>i.value&&n.value.suspension_report_id!==void 0),d=F(()=>n.value.role!=="user"?`user.ROLES.${n.value.role}`:"");return(_,c)=>{const T=j("router-link"),m=j("i18n-t"),f=j("AlertMessage");return S(),g("div",hEt,[E("div",OEt,[p(n).follows==="true"?(S(),g("div",IEt,A(_.$t("user.RELATIONSHIPS.FOLLOWS_YOU")),1)):p(n).username===p(o).username&&!_.$route.path.startsWith("/profile")?(S(),g("div",REt,A(_.$t("user.YOU")),1)):L("",!0),M(Vt,{user:p(n)},null,8,["user"]),E("div",NEt,[E("div",gEt,A(p(n).username),1),M(x_,{user:p(n)},null,8,["user"])]),d.value?(S(),g("div",bEt,A(_.$t(d.value)),1)):L("",!0)]),"suspended_at"in p(n)&&p(n).suspended_at!==null?(S(),G(f,{key:0,message:"user.ACCOUNT_SUSPENDED_AT",param:r.value},ho({_:2},[u.value||l.value?{name:"additionalMessage",fn:X(()=>[u.value?(S(),G(T,{key:0,to:"/profile/suspension",class:"appeal-link"},{default:X(()=>[B(A(_.$t("user.APPEAL")),1)]),_:1})):L("",!0),l.value?(S(),G(m,{key:1,keypath:"common.SEE_REPORT"},{default:X(()=>[M(T,{to:`/admin/reports/${p(n).suspension_report_id}`},{default:X(()=>[B(A(p(n).suspension_report_id),1)]),_:1},8,["to"])]),_:1})):L("",!0)]),key:"0"}:void 0]),1032,["param"])):L("",!0)])}}}),y1=ne(vEt,[["__scopeId","data-v-9ec164a8"]]),CEt={class:"profile-tabs"},PEt={class:"profile-tabs-links"},U1=Q({__name:"UserProfileTabs",props:{tabs:{},selectedTab:{},edition:{type:Boolean}},setup(e){const t=e,{edition:n,selectedTab:s,tabs:a}=pe(t);Et(()=>{const i=document.getElementById(`tab-${a.value[0]}`);i&&i.focus()});function o(i){switch(i){case"ACCOUNT":case"PICTURE":case"PRIVACY-POLICY":return`/profile/edit/${i.toLocaleLowerCase()}`;case"APPS":case"BLOCKED-USERS":case"EQUIPMENTS":case"FOLLOW-REQUESTS":case"MODERATION":case"NOTIFICATIONS":case"PREFERENCES":case"SPORTS":return`/profile${n.value?"/edit":""}/${i.toLocaleLowerCase()}`;default:case"PROFILE":return`/profile${n.value?"/edit":""}`}}return(i,r)=>{const u=j("router-link");return S(),g("div",CEt,[E("div",PEt,[(S(!0),g(ae,null,be(p(a),l=>(S(),G(u,{class:fe(["profile-tab",{selected:l===p(s)}]),to:o(l),key:l},{default:X(()=>[B(A(i.$t(`user.PROFILE.TABS.${l}`)),1)]),_:2},1032,["class","to"]))),128))])])}}}),DEt={id:"user-profile"},LEt={class:"box"},yEt=Q({__name:"index",props:{user:{},tab:{}},setup(e){const t=e,{user:n,tab:s}=pe(t),a=ye(),o=F(()=>a.getters[K.GETTERS.IS_SUSPENDED]),i=F(()=>o.value?["PROFILE","PREFERENCES","SPORTS","EQUIPMENTS","APPS","MODERATION"]:["PROFILE","PREFERENCES","SPORTS","EQUIPMENTS","APPS","FOLLOW-REQUESTS","BLOCKED-USERS","NOTIFICATIONS","MODERATION"]);return(r,u)=>{const l=j("router-view");return S(),g("div",DEt,[M(y1,{user:p(n)},null,8,["user"]),E("div",LEt,[M(U1,{tabs:i.value,selectedTab:p(s),edition:!1},null,8,["tabs","selectedTab"]),M(l,{user:p(n)},null,8,["user"])])])}}}),UEt=ne(yEt,[["__scopeId","data-v-f954c58a"]]),$Et={id:"user-moderation-detail"},kEt={id:"user-reports",class:"description-list"},wEt={key:0,id:"user-sanctions"},MEt={key:0},WEt={class:"last-sanctions"},FEt=Q({__name:"UserAdminReports",props:{authUser:{},user:{}},setup(e){const t=e,{authUser:n,user:s}=pe(t),a=at(),o=ye();let i=Dt(d(a.query));const r=F(()=>o.getters[ue.GETTERS.USER_SANCTIONS]),u=F(()=>o.getters[ue.GETTERS.USER_SANCTIONS_LOADING]),l=F(()=>o.getters[ue.GETTERS.USER_SANCTIONS_PAGINATION]);function d(T){const m={};return T.page&&(m.page=Do(T.page,cr)),m}function _(T){if(T.updated_at)switch(T.approved){case!0:return"APPROVED";case!1:return"REJECTED";default:return"IN_PROGRESS"}return"IN_PROGRESS"}function c(T){o.dispatch(ue.ACTIONS.GET_USER_SANCTIONS,{username:s.value.username,...T})}return Ce(()=>a.query,async T=>{i=d(T),c(i)}),Ze(()=>c({})),ut(()=>o.commit(ue.MUTATIONS.UPDATE_USER_SANCTIONS,[])),(T,m)=>{const f=j("router-link");return S(),g("div",$Et,[E("div",kEt,[E("dl",null,[E("dt",null,A(T.$t("user.PROFILE.CREATED_REPORTS"))+":",1),E("dd",null,A(p(s).created_reports_count),1),E("dt",null,A(T.$t("user.PROFILE.REPORTS_FROM_OTHER_USERS"))+":",1),E("dd",null,A(p(s).reported_count),1)])]),p(s).sanctions_count?(S(),g("div",wEt,[E("strong",null,A(T.$t("user.PROFILE.LATEST_SANCTIONS_RECEIVED"))+":",1),E("div",null,A(T.$t("user.PROFILE.USER_RECEIVED_SANCTIONS",{count:p(s).sanctions_count})),1),u.value?(S(),g("div",MEt,[M(Wl)])):(S(),g(ae,{key:1},[E("ul",WEt,[(S(!0),g(ae,null,be(r.value,R=>(S(),g("li",{key:R.id},[E("div",null,[B(A(T.$t(`user.PROFILE.SANCTIONS.${R.action_type}`,{date:p(Ut)(R.created_at,p(n).timezone,p(n).date_format)}))+" ",1),R.appeal?(S(),g("span",{key:0,class:fe(["info-box appeal",{approved:_(R.appeal)==="APPROVED",rejected:_(R.appeal)==="REJECTED"}])},[E("i",{class:fe(["fa",{"fa-info-circle":_(R.appeal)!=="REJECTED","fa-times":_(R.appeal)==="REJECTED"}]),"aria-hidden":"true"},null,2),B(" "+A(T.$t(`user.APPEAL_${_(R.appeal)}`)),1)],2)):L("",!0)]),M(f,{to:`/admin/reports/${R.report_id}`},{default:X(()=>[B(A(T.$t("admin.APP_MODERATION.VIEW_REPORT"))+" #"+A(R.report_id),1)]),_:2},1032,["to"])]))),128))]),M(Yn,{pagination:l.value,path:`/admin/users/${p(s).username}`,query:p(i)},null,8,["pagination","path","query"])],64))])):L("",!0)])}}}),zEt=ne(FEt,[["__scopeId","data-v-1f8ba78e"]]),BEt={id:"user-infos",class:"description-list"},GEt={key:1,class:"info-box success-message"},xEt={key:4,class:"email-form form-box"},VEt={class:"form-items",for:"email"},HEt={class:"form-items",for:"email"},KEt={class:"form-buttons"},YEt={class:"confirm",type:"submit"},qEt={key:5},jEt={key:0},XEt={key:1},QEt={key:2},ZEt={key:3},JEt={key:4},e_t={key:5},t_t={key:6},n_t={key:7},s_t={key:8},a_t={key:9},o_t={key:10},i_t={key:11,class:"user-bio"},r_t={key:0,class:"report-submitted"},u_t={class:"info-box"},l_t={key:0},c_t={key:0,class:"profile-buttons"},d_t={key:1,class:"profile-buttons"},E_t=Q({__name:"UserInfos",props:{user:{},authUser:{},fromAdmin:{type:Boolean,default:!1}},setup(e){const t=e,{authUser:n,user:s,fromAdmin:a}=pe(t),o=ye(),{appConfig:i,appLanguage:r,displayOptions:u,errorMessages:l}=Ge(),{authUserHasModeratorRights:d,authUserHasAdminRights:_,isAuthenticated:c}=Ye(),T=Oe(""),m=Oe(!1),f=Oe(!1),R=Oe(""),h=Oe(""),O=F(()=>o.getters[ue.GETTERS.USER_CURRENT_REPORTING]),I=F(()=>o.getters[Ue.GETTERS.REPORT_STATUS]),N=F(()=>s.value.created_at?Ut(s.value.created_at,u.value.timezone,u.value.dateFormat):""),b=F(()=>s.value.birth_date?mn(new Date(s.value.birth_date),`${Oa(u.value.dateFormat,r.value)}`,{locale:xa[r.value]}):""),C=F(()=>o.getters[ue.GETTERS.USERS_IS_SUCCESS]);function v(me){T.value=me,me!==""&&o.commit(ue.MUTATIONS.UPDATE_IS_SUCCESS,!1)}function y(me){o.dispatch(ue.ACTIONS.DELETE_USER_ACCOUNT,{username:me})}function D(me){h.value="password-reset",o.dispatch(ue.ACTIONS.UPDATE_USER,{username:me,resetPassword:!0})}function w(me){o.dispatch(ue.ACTIONS.UPDATE_USER,{username:me,activate:!0})}function P(){he(),R.value=s.value.email_to_confirm?s.value.email_to_confirm:"",f.value=!0,h.value="email-update"}function W(){R.value="",f.value=!1}function Y(me){o.dispatch(ue.ACTIONS.UPDATE_USER,{username:me,new_email:R.value})}function he(){o.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),o.commit(ue.MUTATIONS.UPDATE_IS_SUCCESS,!1),o.commit(ue.MUTATIONS.UPDATE_USER_CURRENT_REPORTING,!1),o.commit(Ue.MUTATIONS.SET_REPORT_STATUS,null),h.value=""}function ie(){o.commit(ue.MUTATIONS.UPDATE_USER_CURRENT_REPORTING,!0)}return Ce(()=>C.value,me=>{me&&(v(""),W())}),ut(()=>he()),(me,Ie)=>{var He,Tt,we,se,$e,dt,_e;const Le=j("Modal"),Ke=j("AlertMessage"),Je=j("ErrorMessage");return S(),g("div",BEt,[T.value?(S(),G(Le,{key:0,title:me.$t("common.CONFIRMATION"),message:T.value==="delete"?"admin.CONFIRM_USER_ACCOUNT_DELETION":"admin.CONFIRM_USER_PASSWORD_RESET",strongMessage:p(s).username,onConfirmAction:Ie[0]||(Ie[0]=Z=>T.value==="delete"?y(p(s).username):D(p(s).username)),onCancelAction:Ie[1]||(Ie[1]=Z=>v("")),onKeydown:Ie[2]||(Ie[2]=Xe(Z=>v(""),["esc"]))},null,8,["title","message","strongMessage"])):L("",!0),C.value?(S(),g("div",GEt,A(me.$t(`admin.${h.value==="password-reset"?"PASSWORD_RESET":"USER_EMAIL_UPDATE"}_SUCCESSFUL`)),1)):L("",!0),p(d)&&!p(s).is_active?(S(),G(Ke,{key:2,message:"user.THIS_USER_ACCOUNT_IS_INACTIVE"})):L("",!0),p(l)&&!O.value?(S(),G(Je,{key:3,message:p(l),"no-margin":!0},null,8,["message"])):L("",!0),f.value?(S(),g("div",xEt,[E("form",{class:fe({errors:m.value}),onSubmit:Ie[5]||(Ie[5]=Ne(Z=>Y(p(s).username),["prevent"]))},[E("label",VEt,[B(A(me.$t("admin.CURRENT_EMAIL"))+" ",1),We(E("input",{id:"email",type:"email","onUpdate:modelValue":Ie[3]||(Ie[3]=Z=>p(s).email=Z),disabled:""},null,512),[[st,p(s).email]])]),E("label",HEt,[B(A(me.$t("admin.NEW_EMAIL"))+"* ",1),We(E("input",{id:"new-email",type:"email",required:"","onUpdate:modelValue":Ie[4]||(Ie[4]=Z=>R.value=Z)},null,512),[[st,R.value]])]),E("div",KEt,[E("button",YEt,A(me.$t("buttons.SUBMIT")),1),E("button",{class:"cancel",onClick:Ne(W,["prevent"])},A(me.$t("buttons.CANCEL")),1)])],34)])):(S(),g("div",qEt,[E("dl",null,[E("dt",null,A(me.$t("user.PROFILE.REGISTRATION_DATE"))+":",1),E("dd",null,[E("time",null,A(N.value),1)]),p(c)?(S(),g(ae,{key:0},[p(a)?(S(),g("dt",jEt,A(me.$t("user.EMAIL"))+":",1)):L("",!0),p(a)?(S(),g("dd",XEt,A(p(s).email),1)):L("",!0),p(s).first_name?(S(),g("dt",QEt,A(me.$t("user.PROFILE.FIRST_NAME"))+":",1)):L("",!0),p(s).first_name?(S(),g("dd",ZEt,A(p(s).first_name),1)):L("",!0),p(s).last_name?(S(),g("dt",JEt,A(me.$t("user.PROFILE.LAST_NAME"))+":",1)):L("",!0),p(s).last_name?(S(),g("dd",e_t,A(p(s).last_name),1)):L("",!0),b.value?(S(),g("dt",t_t,A(me.$t("user.PROFILE.BIRTH_DATE"))+":",1)):L("",!0),b.value?(S(),g("dd",n_t,[E("time",null,A(b.value),1)])):L("",!0),p(s).location?(S(),g("dt",s_t,A(me.$t("user.PROFILE.LOCATION"))+":",1)):L("",!0),p(s).location?(S(),g("dd",a_t,A(p(s).location),1)):L("",!0),p(s).bio?(S(),g("dt",o_t,A(me.$t("user.PROFILE.BIO"))+":",1)):L("",!0),p(s).bio?(S(),g("dd",i_t,A(p(s).bio),1)):L("",!0)],64)):L("",!0)]),I.value===`user-${p(s).username}-created`?(S(),g("div",r_t,[E("div",u_t,[E("span",null,[Ie[12]||(Ie[12]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(me.$t("common.REPORT_SUBMITTED")),1)])])])):L("",!0),O.value?(S(),G(w_,{key:1,"object-id":p(s).username,"object-type":"user"},null,8,["object-id"])):(S(),g(ae,{key:2},[p(n)&&p(d)&&p(a)?(S(),g("div",l_t,[M(zEt,{authUser:p(n),user:p(s)},null,8,["authUser","user"])])):L("",!0),p(c)?(S(),g(ae,{key:1},[p(a)?(S(),g("div",c_t,[p(s).role!=="owner"&&p(_)?(S(),g(ae,{key:0},[((He=p(n))==null?void 0:He.username)!==p(s).username?(S(),g("button",{key:0,class:"danger",onClick:Ie[6]||(Ie[6]=Ne(Z=>v("delete"),["prevent"]))},A(me.$t("admin.DELETE_USER")),1)):L("",!0),p(s).is_active?L("",!0):(S(),g("button",{key:1,onClick:Ie[7]||(Ie[7]=Ne(Z=>w(p(s).username),["prevent"]))},A(me.$t("admin.ACTIVATE_USER_ACCOUNT")),1)),((Tt=p(n))==null?void 0:Tt.username)!==p(s).username?(S(),g("button",{key:2,onClick:Ne(P,["prevent"])},A(me.$t("admin.UPDATE_USER_EMAIL")),1)):L("",!0),((we=p(n))==null?void 0:we.username)!==p(s).username&&p(i).is_email_sending_enabled?(S(),g("button",{key:3,onClick:Ie[8]||(Ie[8]=Ne(Z=>v("reset"),["prevent"]))},A(me.$t("admin.RESET_USER_PASSWORD")),1)):L("",!0),(se=p(n))!=null&&se.username?(S(),G(el,{key:4,authUser:p(n),user:p(s),from:"userInfos"},null,8,["authUser","user"])):L("",!0)],64)):L("",!0),E("button",{onClick:Ie[9]||(Ie[9]=Z=>me.$router.go(-1))},A(me.$t("buttons.BACK")),1)])):(S(),g("div",d_t,[me.$route.path==="/profile"||p(s).username===(($e=p(n))==null?void 0:$e.username)?(S(),g("button",{key:0,onClick:Ie[10]||(Ie[10]=Z=>me.$router.push("/profile/edit"))},A(me.$t("user.PROFILE.EDIT")),1)):L("",!0),(dt=p(n))!=null&&dt.username?(S(),G(el,{key:1,authUser:p(n),user:p(s),from:"userInfos"},null,8,["authUser","user"])):L("",!0),me.$route.name==="User"&&p(s).username!==((_e=p(n))==null?void 0:_e.username)&&p(s).suspended_at===null&&I.value!==`user-${p(s).username}-created`?(S(),g("button",{key:2,onClick:ie},A(me.$t("user.REPORT")),1)):L("",!0),E("button",{onClick:Ie[11]||(Ie[11]=Z=>me.$router.go(-1))},A(me.$t("buttons.BACK")),1)]))],64)):L("",!0)],64))]))])}}}),$1=ne(E_t,[["__scopeId","data-v-36075dfc"]]),k1=e=>{const t=["follow","follow_request","follow_request_approved","workout_like","workout_comment","comment_like","mention"];return(e==="admin"||e==="owner")&&t.push("account_creation"),t},__t={id:"user-notifications",class:"description-list"},T_t={class:"profile-buttons"},p_t=Q({__name:"UserNotifications",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),s=F(()=>k1(n.value.role));function a(o){return o in n.value.notification_preferences?n.value.notification_preferences[o]:!0}return(o,i)=>(S(),g(ae,null,[E("h1",null,A(o.$t("user.PROFILE.NOTIFICATION_PREFERENCES")),1),E("div",__t,[E("dl",null,[(S(!0),g(ae,null,be(s.value,r=>(S(),g(ae,{key:r},[E("dt",null,A(Fe(o.$t(`user.PROFILE.NOTIFICATIONS.${r}`)))+":",1),E("dd",null,[E("i",{class:fe(`fa fa-${a(r)?"check":"times"} fa-padding`),"aria-hidden":"true"},null,2),B(" "+A(o.$t(`common.${a(r)?"EN":"DIS"}ABLED`)),1)])],64))),128))]),E("div",T_t,[E("button",{onClick:i[0]||(i[0]=r=>o.$router.push("/profile/edit/notifications"))},A(o.$t("user.PROFILE.EDIT_NOTIFICATION_PREFERENCES")),1),E("button",{onClick:i[1]||(i[1]=r=>o.$router.push("/notifications"))},A(Fe(o.$t("notifications.NOTIFICATIONS",0))),1),E("button",{onClick:i[2]||(i[2]=r=>o.$router.push("/"))},A(o.$t("common.HOME")),1)])])],64))}}),m_t=ne(p_t,[["__scopeId","data-v-4eef7be8"]]),f_t={id:"user-preferences",class:"description-list"},S_t={class:"preferences-section"},A_t={class:"preferences-section"},h_t={class:"preferences-section"},O_t={class:"info-box raw-speed-help"},I_t={class:"profile-buttons"},R_t=Q({__name:"UserPreferences",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),{dateFormat:s,timezone:a}=Ye(),o=F(()=>n.value.language&&n.value.language in So?So[n.value.language]:So.en),i=F(()=>n.value.weekm?"MONDAY":"SUNDAY"),r=F(()=>n.value.display_ascent?"DISPLAYED":"HIDDEN"),u=F(()=>n.value.use_dark_mode===!0?"DARK":n.value.use_dark_mode===!1?"LIGHT":"DEFAULT");return(l,d)=>(S(),g("div",f_t,[E("div",S_t,A(l.$t("user.PROFILE.INTERFACE")),1),E("dl",null,[E("dt",null,A(l.$t("user.PROFILE.LANGUAGE"))+":",1),E("dd",null,A(o.value),1),E("dt",null,A(l.$t("user.PROFILE.THEME_MODE.LABEL"))+":",1),E("dd",null,A(l.$t(`user.PROFILE.THEME_MODE.VALUES.${u.value}`)),1),E("dt",null,A(l.$t("user.PROFILE.TIMEZONE"))+":",1),E("dd",null,A(p(a)),1),E("dt",null,A(l.$t("user.PROFILE.DATE_FORMAT"))+":",1),E("dd",null,A(p(s)),1),E("dt",null,A(l.$t("user.PROFILE.FIRST_DAY_OF_WEEK"))+":",1),E("dd",null,A(l.$t(`user.PROFILE.${i.value}`)),1)]),E("div",A_t,A(l.$t("user.PROFILE.TABS.ACCOUNT")),1),E("dl",null,[E("dt",null,A(l.$t("user.PROFILE.FOLLOW_REQUESTS_APPROVAL.LABEL"))+":",1),E("dd",null,A(l.$t(`user.PROFILE.FOLLOW_REQUESTS_APPROVAL.${p(n).manually_approves_followers?"MANUALLY":"AUTOMATICALLY"}`)),1),E("dt",null,A(l.$t("user.PROFILE.PROFILE_IN_USERS_DIRECTORY.LABEL"))+":",1),E("dd",null,A(l.$t(`user.PROFILE.PROFILE_IN_USERS_DIRECTORY.${p(n).hide_profile_in_users_directory?"HIDDEN":"DISPLAYED"}`)),1)]),E("div",h_t,A(l.$t("workouts.WORKOUT",0)),1),E("dl",null,[E("dt",null,A(l.$t("user.PROFILE.UNITS.LABEL"))+":",1),E("dd",null,A(l.$t(`user.PROFILE.UNITS.${p(n).imperial_units?"IMPERIAL":"METRIC"}`)),1),E("dt",null,A(l.$t("user.PROFILE.ASCENT_DATA"))+":",1),E("dd",null,A(l.$t(`common.${r.value}`)),1),E("dt",null,A(l.$t("user.PROFILE.ELEVATION_CHART_START.LABEL"))+":",1),E("dd",null,A(l.$t(`user.PROFILE.ELEVATION_CHART_START.${p(n).start_elevation_at_zero?"ZERO":"MIN_ALT"}`)),1),E("dt",null,A(l.$t("user.PROFILE.USE_RAW_GPX_SPEED.LABEL"))+":",1),E("dd",null,A(l.$t(`user.PROFILE.USE_RAW_GPX_SPEED.${p(n).use_raw_gpx_speed?"RAW_SPEED":"FILTERED_SPEED"}`)),1),E("div",O_t,[E("span",null,[d[2]||(d[2]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(l.$t("user.PROFILE.USE_RAW_GPX_SPEED.HELP")),1)])])]),E("dl",null,[E("dt",null,A(l.$t("visibility_levels.WORKOUTS_VISIBILITY"))+":",1),E("dd",null,A(l.$t(`visibility_levels.LEVELS.${p(n).workouts_visibility}`)),1),E("dt",null,A(l.$t("visibility_levels.ANALYSIS_VISIBILITY"))+":",1),E("dd",null,A(l.$t(`visibility_levels.LEVELS.${p(n).analysis_visibility}`)),1),E("dt",null,A(l.$t("visibility_levels.MAP_VISIBILITY"))+":",1),E("dd",null,A(l.$t(`visibility_levels.LEVELS.${p(n).map_visibility}`)),1)]),E("div",I_t,[E("button",{onClick:d[0]||(d[0]=_=>l.$router.push("/profile/edit/preferences"))},A(l.$t("user.PROFILE.EDIT_PREFERENCES")),1),E("button",{onClick:d[1]||(d[1]=_=>l.$router.push("/"))},A(l.$t("common.HOME")),1)])]))}}),N_t=ne(R_t,[["__scopeId","data-v-52e1fc82"]]),g_t={class:"users-list"},b_t={key:0},v_t={class:"item"},C_t={class:"user-name"},P_t={key:0,class:"blocked-user"},D_t=["onClick"],L_t={key:1,class:"follow-requests-list-actions"},y_t=["onClick"],U_t=["onClick"],$_t={key:1,class:"no-users-list"},k_t={class:"profile-buttons"},w_t=Q({__name:"UsersList",props:{itemType:{}},setup(e){const t=e,{itemType:n}=pe(t),s=at(),a=ye(),{errorMessages:o}=Ge(),i={page:1},r=Oe(null),u=F(()=>a.getters[K.GETTERS[n.value==="follow-requests"?"FOLLOW_REQUESTS":"BLOCKED_USERS"]]),l=F(()=>a.getters[ue.GETTERS.USERS_PAGINATION]);function d(f){a.dispatch(K.ACTIONS[n.value==="follow-requests"?"GET_FOLLOW_REQUESTS":"GET_BLOCKED_USERS"],f)}function _(f,R){m(f),a.dispatch(K.ACTIONS.UPDATE_FOLLOW_REQUESTS,{username:f,action:R,getFollowRequests:!0})}function c(f,R){m(f);const h={username:f,action:"unblock",from:n.value,payload:T(s.query)};a.dispatch(ue.ACTIONS.UPDATE_RELATIONSHIP,h)}function T(f){return i.page=f.page?+f.page:1,i}function m(f){r.value=f}return Ce(()=>s.query,f=>{s.path==="/profile/follow-requests"&&a.dispatch(K.ACTIONS.GET_FOLLOW_REQUESTS,T(f)),s.path==="/profile/blocked-users"&&a.dispatch(K.ACTIONS.GET_BLOCKED_USERS,T(f))}),Ze(()=>d(T(s.query))),ut(()=>{a.commit(K.MUTATIONS[n.value==="follow-requests"?"UPDATE_FOLLOW_REQUESTS":"UPDATE_BLOCKED_USERS"],[])}),(f,R)=>{const h=j("router-link"),O=j("ErrorMessage");return S(),g("div",g_t,[u.value.length>0?(S(),g("div",b_t,[(S(!0),g(ae,null,be(u.value,I=>(S(),g("div",{key:I.username,class:"box user-item"},[E("div",v_t,[M(Vt,{user:I},null,8,["user"]),E("div",C_t,[M(h,{to:`/users/${I.username}?from=users`},{default:X(()=>[B(A(I.username),1)]),_:2},1032,["to"])]),I.blocked?(S(),g("div",P_t,[E("button",{onClick:N=>c(I.username)},A(f.$t("buttons.UNBLOCK")),9,D_t)])):(S(),g("div",L_t,[E("button",{onClick:N=>_(I.username,"accept")},[R[1]||(R[1]=E("i",{class:"fa fa-check","aria-hidden":"true"},null,-1)),B(" "+A(f.$t("buttons.ACCEPT")),1)],8,y_t),E("button",{onClick:N=>_(I.username,"reject"),class:"danger"},[R[2]||(R[2]=E("i",{class:"fa fa-times","aria-hidden":"true"},null,-1)),B(" "+A(f.$t("buttons.REJECT")),1)],8,U_t)]))]),p(o)&&r.value&&r.value===I.username?(S(),G(O,{key:0,message:p(o),"no-margin":!0},null,8,["message"])):L("",!0)]))),128))])):(S(),g("p",$_t,A(f.$t(p(n)==="follow-requests"?"user.RELATIONSHIPS.NO_FOLLOW_REQUESTS":"user.NO_USERS_FOUND")),1)),l.value.total>0?(S(),G(Yn,{key:2,path:`/profile/${p(n)}`,pagination:l.value,query:{}},null,8,["path","pagination"])):L("",!0),p(o)?(S(),G(O,{key:3,message:p(o),"no-margin":!0},null,8,["message"])):L("",!0),E("div",k_t,[E("button",{onClick:R[0]||(R[0]=I=>f.$router.push("/"))},A(f.$t("common.HOME")),1)])])}}}),pS=ne(w_t,[["__scopeId","data-v-e57bd03a"]]),M_t={id:"user-profile-edition",class:"center-card"},W_t=Q({__name:"index",props:{user:{},tab:{}},setup(e){const t=e,{user:n,tab:s}=pe(t),{isAuthUserSuspended:a}=Ye(),o=F(()=>a.value?["PROFILE","ACCOUNT","PICTURE","PREFERENCES","PRIVACY-POLICY"]:["PROFILE","ACCOUNT","PICTURE","PREFERENCES","SPORTS","NOTIFICATIONS","EQUIPMENTS","PRIVACY-POLICY"]);return(i,r)=>{const u=j("router-view"),l=j("Card");return S(),g("div",M_t,[M(l,null,{title:X(()=>[B(A(i.$t(`user.PROFILE.${p(s)}_EDITION`)),1)]),content:X(()=>[M(U1,{tabs:o.value,selectedTab:p(s),edition:!0},null,8,["tabs","selectedTab"]),M(u,{user:p(n)},null,8,["user"])]),_:1})])}}}),gi=new Map,F_t=e=>{const{method:t,url:n,params:s={},data:a={}}=e;return[t,n,JSON.stringify(s),JSON.stringify(a)].join("")},yo=e=>{const t=F_t(e);if(gi.has(t)){const n=gi.get(t)||{};n==null||n.abort(),gi.delete(t)}return t},ia=Wt.create({baseURL:nr()});ia.interceptors.request.use(e=>{const t=new AbortController;e.signal=t.signal;const n=yo(e);return gi.set(n,t),e},e=>Promise.reject(e));ia.interceptors.response.use(e=>(yo(e.config),e),e=>(e.message!=="canceled"&&e.response&&yo(e.response.config),Promise.reject(e)));const w1=(e,t)=>{e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.delete(`users/${t.username}`).then(n=>{n.status===204?t.fromAdmin?it.push("/admin/users"):e.dispatch(K.ACTIONS.LOGOUT).then(()=>it.push("/")):te(e,null)}).catch(n=>te(e,n))},mS=(e,t,n=!1)=>{e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_USERS_LOADING,!0),n&&(t.with_inactive="true",t.with_hidden="true",t.with_suspended="true"),ge.get("users",{params:t}).then(s=>{s.data.status==="success"?(e.commit(ue.MUTATIONS.UPDATE_USERS,s.data.data.users),e.commit(ue.MUTATIONS.UPDATE_USERS_PAGINATION,s.data.pagination)):te(e,null)}).catch(s=>te(e,s)).finally(()=>e.commit(ue.MUTATIONS.UPDATE_USERS_LOADING,!1))},z_t={[ue.ACTIONS.EMPTY_USER](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_USER,{})},[ue.ACTIONS.EMPTY_USERS](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_USERS,[]),e.commit(ue.MUTATIONS.UPDATE_USERS_PAGINATION,{})},[ue.ACTIONS.EMPTY_RELATIONSHIPS](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_USER_RELATIONSHIPS,[]),e.commit(ue.MUTATIONS.UPDATE_USERS_PAGINATION,{})},[ue.ACTIONS.GET_USER](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_USERS_LOADING,!0),ge.get(`users/${t}`).then(n=>{n.data.status==="success"?e.commit(ue.MUTATIONS.UPDATE_USER,n.data.data.users[0]):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(ue.MUTATIONS.UPDATE_USERS_LOADING,!1))},[ue.ACTIONS.GET_USER_SANCTIONS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_USER_SANCTIONS_LOADING,!0);const{username:n,...s}=t;ge.get(`users/${n}/sanctions`,{params:s}).then(a=>{a.data.status==="success"?(e.commit(ue.MUTATIONS.UPDATE_USER_SANCTIONS,a.data.data.sanctions),e.commit(ue.MUTATIONS.UPDATE_USER_SANCTIONS_PAGINATION,a.data.pagination)):te(e,null)}).catch(a=>te(e,a)).finally(()=>e.commit(ue.MUTATIONS.UPDATE_USER_SANCTIONS_LOADING,!1))},[ue.ACTIONS.GET_USER_WORKOUTS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_USER_WORKOUTS_LOADING,!0),ge.get(`users/${t}/workouts`).then(n=>{n.data.status==="success"?e.commit(ue.MUTATIONS.UPDATE_USER_WORKOUTS,n.data.data.workouts):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(ue.MUTATIONS.UPDATE_USER_WORKOUTS_LOADING,!1))},[ue.ACTIONS.GET_USERS](e,t){mS(e,t,!1)},[ue.ACTIONS.GET_USERS_FOR_ADMIN](e,t){mS(e,t,!0)},[ue.ACTIONS.UPDATE_USER](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_IS_SUCCESS,!1);const n={};t.role!==void 0&&(n.role=t.role),t.resetPassword&&(n.reset_password=t.resetPassword),"activate"in t&&t.activate!==void 0&&(n.activate=t.activate),t.new_email!==void 0&&(n.new_email=t.new_email),ge.patch(`users/${t.username}`,n).then(s=>{s.data.status==="success"?(e.commit(ue.MUTATIONS.UPDATE_USER_IN_USERS,s.data.data.users[0]),(t.resetPassword||t.new_email||t.role)&&e.commit(ue.MUTATIONS.UPDATE_IS_SUCCESS,!0),(t.activate||t.new_email)&&e.commit(ue.MUTATIONS.UPDATE_USER,s.data.data.users[0])):te(e,null)}).catch(s=>te(e,s)).finally(()=>e.commit(ue.MUTATIONS.UPDATE_USERS_LOADING,!1))},[ue.ACTIONS.UPDATE_RELATIONSHIP](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_USERS_LOADING,!0),ge.post(`users/${t.username}/${t.action}`).then(n=>{n.data.status==="success"?ge.get(`users/${t.username}`).then(s=>{if(s.data.status==="success"){if(t.from==="blocked-users"){e.dispatch(K.ACTIONS.GET_BLOCKED_USERS,t.payload);return}e.commit(t.from==="userInfos"?ue.MUTATIONS.UPDATE_USER:t.from==="userCard"?ue.MUTATIONS.UPDATE_USER_IN_USERS:ue.MUTATIONS.UPDATE_USER_IN_RELATIONSHIPS,s.data.data.users[0]),e.dispatch(K.ACTIONS.GET_USER_PROFILE,{light:!0})}else te(e,null)}):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(ue.MUTATIONS.UPDATE_USERS_LOADING,!1))},[ue.ACTIONS.GET_RELATIONSHIPS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_USERS_LOADING,!0),ge.get(`users/${t.username}/${t.relationship}`,{params:{page:t.page}}).then(n=>{n.data.status==="success"?(e.commit(ue.MUTATIONS.UPDATE_USER_RELATIONSHIPS,n.data.data[t.relationship]),e.commit(ue.MUTATIONS.UPDATE_USERS_PAGINATION,n.data.pagination)):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(ue.MUTATIONS.UPDATE_USERS_LOADING,!1))},[ue.ACTIONS.DELETE_USER_ACCOUNT](e,t){w1(e,{username:t.username,fromAdmin:!0})}},$r=e=>{localStorage.removeItem("authToken"),e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(wt.MUTATIONS.EMPTY_USER_STATS),e.commit(wt.MUTATIONS.EMPTY_USER_SPORT_STATS),e.commit(K.MUTATIONS.CLEAR_AUTH_USER_TOKEN),e.commit(K.MUTATIONS.UPDATE_FOLLOW_REQUESTS,[]),e.commit(ue.MUTATIONS.UPDATE_USERS,[]),e.commit(J.MUTATIONS.EMPTY_WORKOUTS),e.commit(J.MUTATIONS.EMPTY_WORKOUT),it.push("/login")},B_t={[K.ACTIONS.CHECK_AUTH_USER](e){window.localStorage.authToken&&!e.getters[K.GETTERS.IS_AUTHENTICATED]&&(e.commit(K.MUTATIONS.UPDATE_AUTH_TOKEN,window.localStorage.authToken),e.dispatch(K.ACTIONS.GET_USER_PROFILE,{updateUI:!0})),!window.localStorage.authToken&&e.getters[K.GETTERS.IS_AUTHENTICATED]&&$r(e)},[K.ACTIONS.CONFIRM_ACCOUNT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ia.post("auth/account/confirm",{token:t.token}).then(n=>{if(n.data.status==="success"){const s=n.data.auth_token;window.localStorage.setItem("authToken",s),e.commit(K.MUTATIONS.UPDATE_AUTH_TOKEN,s),e.dispatch(K.ACTIONS.GET_USER_PROFILE,{}).then(()=>it.push("/"))}else te(e,null)}).catch(n=>{te(e,n)})},[K.ACTIONS.CONFIRM_EMAIL](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!1),ia.post("/auth/email/update",{token:t.token}).then(n=>{n.data.status==="success"?(e.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!0),t.refreshUser&&e.dispatch(K.ACTIONS.GET_USER_PROFILE,{}).then(()=>it.push("/profile/edit/account")),it.push("/profile/edit/account")):te(e,null)}).catch(n=>{te(e,n)})},[K.ACTIONS.GET_USER_PROFILE](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("auth/profile").then(n=>{if(n.data.status==="success"){const s=e.getters[K.GETTERS.IS_PROFILE_NOT_LOADED];e.commit(K.MUTATIONS.UPDATE_AUTH_USER_PROFILE,n.data.data),n.data.data.accepted_privacy_policy||e.dispatch(ee.ACTIONS.GET_APPLICATION_PRIVACY_POLICY),e.commit(ue.MUTATIONS.UPDATE_USER_IN_USERS,n.data.data),(s||t.updateUI)&&(n.data.data.language&&e.dispatch(ee.ACTIONS.UPDATE_APPLICATION_LANGUAGE,n.data.data.language),e.commit(ee.MUTATIONS.UPDATE_DARK_MODE,n.data.data.use_dark_mode)),(!("light"in t)||!t.light)&&(e.commit(ee.MUTATIONS.UPDATE_DISPLAY_OPTIONS,n.data.data),e.dispatch(xt.ACTIONS.GET_SPORTS),e.dispatch(Be.ACTIONS.GET_EQUIPMENTS),e.dispatch(Be.ACTIONS.GET_EQUIPMENT_TYPES)),n.data.data.suspended_at===null?Cn.dispatch(ct.ACTIONS.GET_UNREAD_STATUS):!it.currentRoute.value.path.startsWith("/profile")&&!it.currentRoute.value.meta.allowedToSuspendedUser&&it.push("/profile")}else te(e,null),$r(e)}).catch(n=>{n.message!=="canceled"&&(te(e,n),$r(e))})},[K.ACTIONS.GET_ACCOUNT_SUSPENSION](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),ge.get("auth/account/suspension").then(t=>{t.data.status==="success"?e.commit(K.MUTATIONS.SET_ACCOUNT_SUSPENSION,t.data.user_suspension):te(e,null)}).catch(t=>{t.message!=="canceled"&&te(e,t)}).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.GET_FOLLOW_REQUESTS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),ge.get("follow-requests",{params:t}).then(n=>{n.data.status==="success"?(e.commit(K.MUTATIONS.UPDATE_FOLLOW_REQUESTS,n.data.data.follow_requests),e.commit(ue.MUTATIONS.UPDATE_USERS_PAGINATION,n.data.pagination)):te(e,null)}).catch(n=>{te(e,n)}).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.LOGIN_OR_REGISTER](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_IS_REGISTRATION_SUCCESS,!1),ia.post(`/auth/${t.actionType}`,t.formData).then(n=>{if(n.data.status==="success")if(t.actionType==="login"){const s=n.data.auth_token;window.localStorage.setItem("authToken",s),e.commit(K.MUTATIONS.UPDATE_AUTH_TOKEN,s),e.dispatch(K.ACTIONS.GET_USER_PROFILE,{updateUI:!0}).then(()=>it.push(typeof t.redirectUrl=="string"?t.redirectUrl:"/"))}else it.push("/login").then(()=>e.commit(K.MUTATIONS.UPDATE_IS_REGISTRATION_SUCCESS,!0));else te(e,null)}).catch(n=>te(e,n))},[K.ACTIONS.LOGOUT](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.post("auth/logout").then(t=>{t.data.status==="success"?$r(e):te(e,null)}).catch(t=>te(e,t))},[K.ACTIONS.APPEAL](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),e.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!1);const n=t.actionType==="user_suspension"?"auth/account/suspension/appeal":`auth/account/sanctions/${t.actionId}/appeal`;ge.post(n,{text:t.text}).then(s=>{s.data.status==="success"?e.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!0):te(e,null)}).catch(s=>{s.message!=="canceled"&&te(e,s)}).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.UPDATE_FOLLOW_REQUESTS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.post(`follow-requests/${t.username}/${t.action}`).then(n=>{n.data.status==="success"?t.getFollowRequests&&e.dispatch(K.ACTIONS.GET_FOLLOW_REQUESTS).then(()=>e.dispatch(K.ACTIONS.GET_USER_PROFILE,{})):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.UPDATE_USER_PROFILE](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),ge.post("auth/profile/edit",t).then(n=>{n.data.status==="success"?(e.commit(K.MUTATIONS.UPDATE_AUTH_USER_PROFILE,n.data.data),it.push("/profile")):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.UPDATE_USER_ACCOUNT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),e.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!1),ge.patch("auth/profile/edit/account",t).then(n=>{n.data.status==="success"?(e.commit(K.MUTATIONS.UPDATE_AUTH_USER_PROFILE,n.data.data),e.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!0)):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.UPDATE_USER_PREFERENCES](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),ge.post("auth/profile/edit/preferences",t).then(n=>{n.data.status==="success"?(e.commit(K.MUTATIONS.UPDATE_AUTH_USER_PROFILE,n.data.data),e.commit(ee.MUTATIONS.UPDATE_DISPLAY_OPTIONS,n.data.data),e.commit(ee.MUTATIONS.UPDATE_DARK_MODE,n.data.data.use_dark_mode),e.dispatch(ee.ACTIONS.UPDATE_APPLICATION_LANGUAGE,n.data.data.language).then(()=>it.push("/profile/preferences"))):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.RESET_USER_SPORT_PREFERENCES](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),ge.delete(`auth/profile/reset/sports/${t.sportId}`).then(n=>{n.status===204?(e.dispatch(xt.ACTIONS.GET_SPORTS),t.fromSport&&it.push(`/profile/sports/${t.sportId}`)):te(e,null)}).catch(n=>{te(e,n),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1)})},[K.ACTIONS.UPDATE_USER_SPORT_PREFERENCES](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0);const{fromSport:n,...s}=t;ge.post("auth/profile/edit/sports",s).then(a=>{a.data.status==="success"?(e.dispatch(xt.ACTIONS.GET_SPORTS),n&&it.push(`/profile/sports/${s.sport_id}`)):te(e,null)}).catch(a=>{te(e,a),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1)})},[K.ACTIONS.UPDATE_USER_PICTURE](e,t){if(e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),!t.picture)throw new Error("No file part");const n=new FormData;n.append("file",t.picture),ge.post("auth/picture",n,{headers:{"content-type":"multipart/form-data"}}).then(s=>{s.data.status==="success"?e.dispatch(K.ACTIONS.GET_USER_PROFILE,{}).then(()=>it.push("/profile")):te(e,null)}).catch(s=>te(e,s)).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.DELETE_ACCOUNT](e,t){w1(e,t)},[K.ACTIONS.DELETE_PICTURE](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),ge.delete("auth/picture").then(t=>{t.status===204?e.dispatch(K.ACTIONS.GET_USER_PROFILE,{}).then(()=>it.push("/profile")):te(e,null)}).catch(t=>te(e,t)).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.SEND_PASSWORD_RESET_REQUEST](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ia.post("auth/password/reset-request",t).then(n=>{n.data.status==="success"?it.push("/password-reset/sent"):te(e,null)}).catch(n=>te(e,n))},[K.ACTIONS.RESEND_ACCOUNT_CONFIRMATION_EMAIL](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ia.post("auth/account/resend-confirmation",t).then(n=>{n.data.status==="success"?it.push("/account-confirmation/email-sent"):te(e,null)}).catch(n=>te(e,n))},[K.ACTIONS.RESET_USER_PASSWORD](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ia.post("auth/password/update",t).then(n=>{n.data.status==="success"?it.push("/password-reset/password-updated"):te(e,null)}).catch(n=>te(e,n))},[K.ACTIONS.ACCEPT_PRIVACY_POLICY](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.post("auth/account/privacy-policy",{accepted_policy:t}).then(n=>{n.data.status==="success"?e.dispatch(K.ACTIONS.GET_USER_PROFILE,{}).then(()=>it.push("/profile")):te(e,null)}).catch(n=>te(e,n))},[K.ACTIONS.REQUEST_DATA_EXPORT](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.post("auth/account/export/request").then(t=>{t.data.status==="success"?e.commit(K.MUTATIONS.SET_EXPORT_REQUEST,t.data.request):te(e,null)}).catch(t=>te(e,t))},[K.ACTIONS.GET_REQUEST_DATA_EXPORT](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("auth/account/export").then(t=>{t.data.status==="success"?e.commit(K.MUTATIONS.SET_EXPORT_REQUEST,t.data.request):te(e,null)}).catch(t=>te(e,t))},[K.ACTIONS.GET_BLOCKED_USERS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),ge.get("auth/blocked-users",{params:t}).then(n=>{n.data.status==="success"?(e.commit(K.MUTATIONS.UPDATE_BLOCKED_USERS,n.data.blocked_users),e.commit(ue.MUTATIONS.UPDATE_USERS_PAGINATION,n.data.pagination)):te(e,null)}).catch(n=>{te(e,n)}).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.GET_USER_SANCTION](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),ge.get(`auth/account/sanctions/${t}`).then(n=>{n.data.status==="success"?e.commit(K.MUTATIONS.SET_USER_SANCTION,n.data.sanction):te(e,null)}).catch(n=>{n.message!=="canceled"&&te(e,n)}).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))},[K.ACTIONS.UPDATE_USER_NOTIFICATIONS_PREFERENCES](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!0),ge.post("auth/profile/edit/notifications",t).then(n=>{n.data.status==="success"?(e.commit(K.MUTATIONS.UPDATE_AUTH_USER_PROFILE,n.data.data),it.push("/profile/notifications")):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1))}},G_t={[K.GETTERS.AUTH_TOKEN]:e=>e.authToken,[K.GETTERS.AUTH_USER_PROFILE]:e=>e.authUserProfile,[K.GETTERS.BLOCKED_USERS]:e=>e.blockedUsers,[K.GETTERS.FOLLOW_REQUESTS]:e=>e.followRequests,[K.GETTERS.EXPORT_REQUEST]:e=>e.exportRequest,[K.GETTERS.IS_AUTHENTICATED]:e=>e.authToken!==null,[K.GETTERS.HAS_ADMIN_RIGHTS]:e=>e.authUserProfile&&["admin","owner"].includes(e.authUserProfile.role),[K.GETTERS.HAS_MODERATOR_RIGHTS]:e=>e.authUserProfile&&["admin","moderator","owner"].includes(e.authUserProfile.role),[K.GETTERS.HAS_OWNER_RIGHTS]:e=>e.authUserProfile&&e.authUserProfile.role==="owner",[K.GETTERS.IS_REGISTRATION_SUCCESS]:e=>e.isRegistrationSuccess,[K.GETTERS.IS_SUCCESS]:e=>e.isSuccess,[K.GETTERS.IS_SUSPENDED]:e=>e.authUserProfile&&e.authUserProfile.suspended_at!==null,[K.GETTERS.IS_PROFILE_LOADED]:e=>{var t;return((t=e.authUserProfile)==null?void 0:t.username)!==void 0},[K.GETTERS.USER_LOADING]:e=>e.loading,[K.GETTERS.IS_PROFILE_NOT_LOADED]:e=>e.authUserProfile.username===void 0,[K.GETTERS.ACCOUNT_SUSPENSION]:e=>e.userReportAction,[K.GETTERS.USER_SANCTION]:e=>e.userReportAction},x_t={[K.MUTATIONS.CLEAR_AUTH_USER_TOKEN](e){e.authToken=null,e.authUserProfile={}},[K.MUTATIONS.UPDATE_AUTH_TOKEN](e,t){e.authToken=t},[K.MUTATIONS.UPDATE_AUTH_USER_PROFILE](e,t){e.authUserProfile=t},[K.MUTATIONS.UPDATE_IS_REGISTRATION_SUCCESS](e,t){e.isRegistrationSuccess=t},[K.MUTATIONS.UPDATE_IS_SUCCESS](e,t){e.isSuccess=t},[K.MUTATIONS.UPDATE_FOLLOW_REQUESTS](e,t){e.followRequests=t},[K.MUTATIONS.UPDATE_USER_LOADING](e,t){e.loading=t},[K.MUTATIONS.SET_EXPORT_REQUEST](e,t){e.exportRequest=t},[K.MUTATIONS.UPDATE_BLOCKED_USERS](e,t){e.blockedUsers=t},[K.MUTATIONS.SET_ACCOUNT_SUSPENSION](e,t){e.userReportAction=t},[K.MUTATIONS.SET_USER_SANCTION](e,t){e.userReportAction=t}},V_t={authToken:null,authUserProfile:{},isSuccess:!1,isRegistrationSuccess:!1,loading:!1,exportRequest:null,followRequests:[],blockedUsers:[],userReportAction:{}},H_t={state:V_t,actions:B_t,getters:G_t,mutations:x_t},K_t={[Be.ACTIONS.ADD_EQUIPMENT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.post("equipments",{description:t.description,equipment_type_id:t.equipmentTypeId,label:t.label,default_for_sport_ids:t.defaultForSportIds,visibility:t.visibility}).then(n=>{if(n.data.status==="created"){if(n.data.data.equipments.length>0){const s=n.data.data.equipments[0];e.commit(Be.MUTATIONS.ADD_EQUIPMENT,s),it.push(`/profile/equipments/${s.id}`)}e.dispatch(xt.ACTIONS.GET_SPORTS),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1)}else te(e,null)}).catch(n=>te(e,n))},[Be.ACTIONS.DELETE_EQUIPMENT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.delete(`equipments/${t.id}${t.force?"?force":""}`).then(()=>{e.commit(Be.MUTATIONS.REMOVE_EQUIPMENT,t.id),e.dispatch(xt.ACTIONS.GET_SPORTS),it.push("/profile/equipments")}).catch(n=>te(e,n))},[Be.ACTIONS.GET_EQUIPMENT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get(`equipments/${t}`).then(n=>{n.data.status==="success"?n.data.data.equipments.length>0&&e.commit(Be.MUTATIONS.UPDATE_EQUIPMENT,n.data.data.equipments[0]):te(e,null)}).catch(n=>te(e,n))},[Be.ACTIONS.GET_EQUIPMENTS](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("equipments").then(t=>{t.data.status==="success"?e.commit(Be.MUTATIONS.SET_EQUIPMENTS,t.data.data.equipments):te(e,null)}).catch(t=>te(e,t))},[Be.ACTIONS.GET_EQUIPMENT_TYPES](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("equipment-types").then(t=>{t.data.status==="success"?(e.commit(Be.MUTATIONS.SET_EQUIPMENT_TYPES,t.data.data.equipment_types),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1)):te(e,null)}).catch(t=>te(e,t))},[Be.ACTIONS.REFRESH_EQUIPMENT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(Be.MUTATIONS.SET_LOADING,!0),ge.post(`equipments/${t}/refresh`).then(n=>{n.data.status==="success"?n.data.data.equipments.length>0&&(e.commit(Be.MUTATIONS.UPDATE_EQUIPMENT,n.data.data.equipments[0]),it.push(`/profile/equipments/${t}`)):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(Be.MUTATIONS.SET_LOADING,!1))},[Be.ACTIONS.UPDATE_EQUIPMENT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(Be.MUTATIONS.SET_LOADING,!0),ge.patch(`equipments/${t.id}`,{description:t.description,equipment_type_id:t.equipmentTypeId,is_active:t.isActive,label:t.label,default_for_sport_ids:t.defaultForSportIds,visibility:t.visibility}).then(n=>{n.data.status==="success"?n.data.data.equipments.length>0&&(e.commit(Be.MUTATIONS.UPDATE_EQUIPMENT,n.data.data.equipments[0]),e.dispatch(xt.ACTIONS.GET_SPORTS),it.push(`/profile/equipments/${t.id}`)):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(Be.MUTATIONS.SET_LOADING,!1))},[Be.ACTIONS.UPDATE_EQUIPMENT_TYPE](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(Be.MUTATIONS.SET_LOADING,!0),ge.patch(`equipment-types/${t.id}`,{is_active:t.isActive}).then(n=>{n.data.status==="success"?e.dispatch(Be.ACTIONS.GET_EQUIPMENT_TYPES):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(Be.MUTATIONS.SET_LOADING,!1))}},Y_t={[Be.GETTERS.EQUIPMENTS]:e=>e.equipments,[Be.GETTERS.EQUIPMENT_TYPES]:e=>e.equipmentTypes,[Be.GETTERS.LOADING]:e=>e.loading},q_t={[Be.MUTATIONS.ADD_EQUIPMENT](e,t){e.equipments.push(t)},[Be.MUTATIONS.REMOVE_EQUIPMENT](e,t){e.equipments=e.equipments.filter(n=>n.id!=t)},[Be.MUTATIONS.SET_EQUIPMENTS](e,t){e.equipments=t},[Be.MUTATIONS.SET_EQUIPMENT_TYPES](e,t){e.equipmentTypes=t},[Be.MUTATIONS.SET_LOADING](e,t){e.loading=t},[Be.MUTATIONS.UPDATE_EQUIPMENT](e,t){const n=e.equipments.findIndex(s=>s.id===t.id);n!==-1&&(e.equipments[n]=t)}},j_t={equipments:[],equipmentTypes:[],loading:!1},X_t={state:j_t,actions:K_t,getters:Y_t,mutations:q_t},Q_t={[ct.ACTIONS.GET_UNREAD_STATUS](e){ge.get("notifications/unread").then(t=>{t.data.status==="success"&&e.commit(ct.MUTATIONS.UPDATE_UNREAD_STATUS,t.data.unread)}).catch(t=>te(e,t))},[ct.ACTIONS.GET_NOTIFICATION_TYPES](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("notifications/types",{params:t}).then(n=>{n.data.status==="success"?e.commit(ct.MUTATIONS.UPDATE_TYPES,n.data.notification_types):te(e,null)}).catch(n=>{n.message!=="canceled"&&te(e,n)})},[ct.ACTIONS.GET_NOTIFICATIONS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("notifications",{params:t}).then(n=>{n.data.status==="success"?(e.commit(ct.MUTATIONS.UPDATE_NOTIFICATIONS,n.data.notifications),e.commit(ct.MUTATIONS.UPDATE_PAGINATION,n.data.pagination)):te(e,null)}).catch(n=>{n.message!=="canceled"&&te(e,n)})},[ct.ACTIONS.MARK_ALL_AS_READ](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES);const n={};t.type&&(n.type=t.type),ge.post("notifications/mark-all-as-read",n).then(s=>{s.data.status==="success"?(e.dispatch(ct.ACTIONS.GET_NOTIFICATIONS,t),e.dispatch(ct.ACTIONS.GET_UNREAD_STATUS)):te(e,null)}).catch(s=>{s.message!=="canceled"&&te(e,s)})},[ct.ACTIONS.UPDATE_STATUS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.patch(`notifications/${t.notificationId}`,{read_status:t.markedAsRead}).then(n=>{n.data.status==="success"?(e.dispatch(ct.ACTIONS.GET_NOTIFICATIONS,t.currentQuery),e.dispatch(ct.ACTIONS.GET_UNREAD_STATUS)):te(e,null)}).catch(n=>{n.message!=="canceled"&&te(e,n)})}},Z_t={[ct.GETTERS.NOTIFICATIONS]:e=>e.notifications,[ct.GETTERS.PAGINATION]:e=>e.pagination,[ct.GETTERS.TYPES]:e=>e.types,[ct.GETTERS.UNREAD_STATUS]:e=>e.unread},J_t={[ct.MUTATIONS.UPDATE_NOTIFICATIONS](e,t){e.notifications=t},[ct.MUTATIONS.UPDATE_PAGINATION](e,t){e.pagination=t},[ct.MUTATIONS.UPDATE_TYPES](e,t){e.types=t},[ct.MUTATIONS.UPDATE_UNREAD_STATUS](e,t){e.unread=t},[ct.MUTATIONS.EMPTY_NOTIFICATIONS](e){e.notifications=[],e.pagination={}}},eTt={notifications:[],unread:!1,pagination:{},types:[]},tTt={state:eTt,actions:Q_t,getters:Z_t,mutations:J_t},fS=(e,t)=>{e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get(t).then(n=>{n.data.status==="success"?e.commit(nt.MUTATIONS.SET_CLIENT,n.data.data.client):te(e,null)}).catch(n=>te(e,n))},nTt={[nt.ACTIONS.AUTHORIZE_CLIENT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES);const n=new FormData;n.set("client_id",t.client_id),n.set("response_type",t.response_type),n.set("scope",t.scope),n.set("confirm","true"),t.state&&n.set("state",t.state),t.code_challenge&&n.set("code_challenge",t.code_challenge),t.code_challenge_method&&n.set("code_challenge_method",t.code_challenge_method),ge.post("oauth/authorize",n,{headers:{"Content-Type":"multipart/form-data"}}).then(s=>{s.status==200&&s.data.redirect_url?window.location.href=s.data.redirect_url:te(e,null)}).catch(s=>te(e,s))},[nt.ACTIONS.CREATE_CLIENT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.post("oauth/apps",t).then(n=>{n.data.status==="created"?(e.commit(nt.MUTATIONS.SET_CLIENT,n.data.data.client),it.push(`/profile/apps/${n.data.data.client.id}/created`)):te(e,null)}).catch(n=>te(e,n))},[nt.ACTIONS.DELETE_CLIENT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.delete(`oauth/apps/${t}`).then(n=>{n.status===204?e.dispatch(nt.ACTIONS.GET_CLIENTS).then(()=>it.push("/profile/apps")):te(e,null)}).catch(n=>te(e,n))},[nt.ACTIONS.GET_CLIENT_BY_CLIENT_ID](e,t){fS(e,`oauth/apps/${t}`)},[nt.ACTIONS.GET_CLIENT_BY_ID](e,t){fS(e,`oauth/apps/${t}/by_id`)},[nt.ACTIONS.GET_CLIENTS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("oauth/apps",{params:t}).then(n=>{n.data.status==="success"?(e.commit(nt.MUTATIONS.SET_CLIENTS,n.data.data.clients),e.commit(nt.MUTATIONS.SET_CLIENTS_PAGINATION,n.data.pagination)):te(e,null)}).catch(n=>te(e,n))},[nt.ACTIONS.REVOKE_ALL_TOKENS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(nt.MUTATIONS.SET_REVOCATION_SUCCESSFUL,!1),ge.post(`oauth/apps/${t}/revoke`).then(n=>{n.data.status==="success"?e.commit(nt.MUTATIONS.SET_REVOCATION_SUCCESSFUL,!0):te(e,null)}).catch(n=>te(e,n))}},sTt={[nt.GETTERS.CLIENT]:e=>e.client,[nt.GETTERS.CLIENTS]:e=>e.clients,[nt.GETTERS.CLIENTS_PAGINATION]:e=>e.pagination,[nt.GETTERS.REVOCATION_SUCCESSFUL]:e=>e.revocationSuccessful},aTt={[nt.MUTATIONS.SET_CLIENT](e,t){e.client=t},[nt.MUTATIONS.EMPTY_CLIENT](e){e.client={}},[nt.MUTATIONS.SET_CLIENTS](e,t){e.clients=t},[nt.MUTATIONS.SET_CLIENTS_PAGINATION](e,t){e.pagination=t},[nt.MUTATIONS.SET_REVOCATION_SUCCESSFUL](e,t){e.revocationSuccessful=t}},oTt={client:{},clients:[],pagination:{},revocationSuccessful:!1},iTt={state:oTt,actions:nTt,getters:sTt,mutations:aTt},rTt={[Ue.ACTIONS.EMPTY_REPORTS](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(Ue.MUTATIONS.EMPTY_REPORT),e.commit(Ue.MUTATIONS.SET_REPORTS,[]),e.commit(Ue.MUTATIONS.SET_REPORTS_PAGINATION,{})},[Ue.ACTIONS.GET_REPORT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(Ue.MUTATIONS[`SET_${t.loader}_LOADING`],!0),ge.get(`reports/${t.reportId}`).then(n=>{n.data.status==="success"?e.commit(Ue.MUTATIONS.SET_REPORT,n.data.report):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(Ue.MUTATIONS[`SET_${t.loader}_LOADING`],!1))},[Ue.ACTIONS.GET_REPORTS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("reports",{params:t}).then(n=>{n.data.status==="success"?(e.commit(Ue.MUTATIONS.SET_REPORTS,n.data.reports),e.commit(Ue.MUTATIONS.SET_REPORTS_PAGINATION,n.data.pagination)):te(e,null)}).catch(n=>te(e,n))},[Ue.ACTIONS.PROCESS_APPEAL](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES);const{appealId:n,reportId:s,...a}=t;ge.patch(`appeals/${n}`,a).then(o=>{o.data.status==="success"?e.dispatch(Ue.ACTIONS.GET_REPORT,{reportId:s,loader:"REPORT_UPDATE"}):te(e,null)}).catch(o=>{te(e,o)})},[Ue.ACTIONS.SUBMIT_ADMIN_ACTION](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ue.MUTATIONS.UPDATE_IS_SUCCESS,!1),e.commit(Ue.MUTATIONS.SET_REPORT_UPDATE_LOADING,!0);const{report_id:n,...s}=t;ge.post(`reports/${n}/actions`,s).then(a=>{a.data.status==="success"?(e.commit(Ue.MUTATIONS.SET_REPORT,a.data.report),e.commit(ue.MUTATIONS.UPDATE_IS_SUCCESS,!0)):te(e,null)}).catch(a=>{te(e,a)}).finally(()=>e.commit(Ue.MUTATIONS.SET_REPORT_UPDATE_LOADING,!1))},[Ue.ACTIONS.SUBMIT_REPORT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(Ue.MUTATIONS.SET_REPORT_STATUS,"loading"),ge.post("reports",t).then(n=>{n.data.status==="created"?(e.commit(Ue.MUTATIONS.SET_REPORT_STATUS,`${t.object_type}-${t.object_id}-created`),t.object_type==="comment"&&e.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{}),t.object_type==="workout"&&e.commit(J.MUTATIONS.SET_CURRENT_REPORTING,!1),t.object_type==="user"&&e.commit(ue.MUTATIONS.UPDATE_USER_CURRENT_REPORTING,!1)):(e.commit(Ue.MUTATIONS.SET_REPORT_STATUS,null),te(e,null))}).catch(n=>{te(e,n),e.commit(Ue.MUTATIONS.SET_REPORT_STATUS,null)})},[Ue.ACTIONS.UPDATE_REPORT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(Ue.MUTATIONS.SET_REPORT_UPDATE_LOADING,!0);const{reportId:n,...s}=t;ge.patch(`reports/${n}`,s).then(a=>{a.data.status==="success"?e.commit(Ue.MUTATIONS.SET_REPORT,a.data.report):(e.commit(Ue.MUTATIONS.SET_REPORT_STATUS,null),te(e,null))}).catch(a=>{te(e,a),e.commit(Ue.MUTATIONS.SET_REPORT_STATUS,null)}).finally(()=>e.commit(Ue.MUTATIONS.SET_REPORT_UPDATE_LOADING,!1))},[Ue.ACTIONS.GET_UNRESOLVED_REPORTS_STATUS](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("reports/unresolved").then(t=>{t.data.status==="success"?e.commit(Ue.MUTATIONS.SET_UNRESOLVED_REPORTS_STATUS,t.data.unresolved):te(e,null)}).catch(t=>te(e,t))}},uTt={[Ue.GETTERS.UNRESOLVED_REPORTS_STATUS]:e=>e.unresolved,[Ue.GETTERS.REPORT]:e=>e.report,[Ue.GETTERS.REPORT_LOADING]:e=>e.reportLoading,[Ue.GETTERS.REPORT_STATUS]:e=>e.reportStatus,[Ue.GETTERS.REPORT_UPDATE_LOADING]:e=>e.reportUpdateLoading,[Ue.GETTERS.REPORTS]:e=>e.reports,[Ue.GETTERS.REPORTS_PAGINATION]:e=>e.pagination},lTt={[Ue.MUTATIONS.EMPTY_REPORT](e){e.report={}},[Ue.MUTATIONS.SET_REPORT](e,t){e.report=t},[Ue.MUTATIONS.SET_REPORT_LOADING](e,t){e.reportLoading=t},[Ue.MUTATIONS.SET_REPORT_STATUS](e,t){e.reportStatus=t},[Ue.MUTATIONS.SET_REPORT_UPDATE_LOADING](e,t){e.reportUpdateLoading=t},[Ue.MUTATIONS.SET_REPORTS](e,t){e.reports=t},[Ue.MUTATIONS.SET_REPORTS_PAGINATION](e,t){e.pagination=t},[Ue.MUTATIONS.SET_UNRESOLVED_REPORTS_STATUS](e,t){e.unresolved=t}},cTt={unresolved:!1,report:{},reports:[],pagination:{},reportStatus:null,reportLoading:!1,reportUpdateLoading:!1},dTt={state:cTt,actions:rTt,getters:uTt,mutations:lTt},{locale:ETt}=Fo.global,_Tt={[ee.ACTIONS.GET_APPLICATION_CONFIG](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(ee.MUTATIONS.UPDATE_APPLICATION_LOADING,!0),ge.get("config").then(t=>{t.data.status==="success"?e.commit(ee.MUTATIONS.UPDATE_APPLICATION_CONFIG,t.data.data):te(e,null)}).catch(t=>te(e,t)).finally(()=>e.commit(ee.MUTATIONS.UPDATE_APPLICATION_LOADING,!1))},[ee.ACTIONS.GET_APPLICATION_STATS](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("stats/all").then(t=>{t.data.status==="success"?e.commit(ee.MUTATIONS.UPDATE_APPLICATION_STATS,t.data.data):te(e,null)}).catch(t=>te(e,t))},[ee.ACTIONS.GET_APPLICATION_PRIVACY_POLICY](e){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get("config").then(t=>{t.data.status==="success"?e.commit(ee.MUTATIONS.UPDATE_APPLICATION_PRIVACY_POLICY,t.data.data):te(e,null)}).catch(t=>te(e,t))},[ee.ACTIONS.UPDATE_APPLICATION_CONFIG](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.patch("config",t).then(n=>{n.data.status==="success"?(e.commit(ee.MUTATIONS.UPDATE_APPLICATION_CONFIG,n.data.data),it.push("/admin/application")):te(e,null)}).catch(n=>te(e,n))},[ee.ACTIONS.UPDATE_APPLICATION_LANGUAGE](e,t){var n;(n=document.querySelector("html"))==null||n.setAttribute("lang",t),e.commit(ee.MUTATIONS.UPDATE_LANG,t),ETt.value=t}},TTt={[ee.GETTERS.APP_CONFIG]:e=>e.application.config,[ee.GETTERS.APP_LOADING]:e=>e.appLoading,[ee.GETTERS.APP_STATS]:e=>e.application.statistics,[ee.GETTERS.DARK_MODE]:e=>e.darkMode,[ee.GETTERS.ERROR_MESSAGES]:e=>e.errorMessages,[ee.GETTERS.LANGUAGE]:e=>e.language,[ee.GETTERS.LOCALE]:e=>e.locale,[ee.GETTERS.DISPLAY_OPTIONS]:e=>e.application.displayOptions},pTt={[ee.MUTATIONS.EMPTY_ERROR_MESSAGES](e){e.errorMessages=null},[ee.MUTATIONS.SET_ERROR_MESSAGES](e,t){e.errorMessages=t},[ee.MUTATIONS.UPDATE_APPLICATION_CONFIG](e,t){e.application.config=t},[ee.MUTATIONS.UPDATE_APPLICATION_LOADING](e,t){e.appLoading=t},[ee.MUTATIONS.UPDATE_APPLICATION_PRIVACY_POLICY](e,t){e.application.config.privacy_policy=t.privacy_policy,e.application.config.privacy_policy_date=t.privacy_policy_date},[ee.MUTATIONS.UPDATE_APPLICATION_STATS](e,t){e.application.statistics=t},[ee.MUTATIONS.UPDATE_LANG](e,t){t in xa?(e.language=t,e.locale=xa[t]):(e.language="en",e.locale=ir)},[ee.MUTATIONS.UPDATE_DARK_MODE](e,t){e.darkMode=t},[ee.MUTATIONS.UPDATE_DISPLAY_OPTIONS](e,t){e.application.displayOptions={...e.application.displayOptions,dateFormat:t.date_format,displayAscent:t.display_ascent,timezone:t.timezone,useImperialUnits:t.imperial_units}}},mTt={root:!0,language:"en",locale:ir,errorMessages:null,application:{statistics:{sports:0,uploads_dir_size:0,users:0,workouts:0},displayOptions:{dateFormat:"MM/dd/yyyy",displayAscent:!0,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone?Intl.DateTimeFormat().resolvedOptions().timeZone:"Europe/Paris",useImperialUnits:!1}},appLoading:!1,darkMode:null},fTt={[xt.ACTIONS.GET_SPORTS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get(`sports${t?"?check_workouts=true":""}`).then(n=>{n.data.status==="success"?(e.commit(xt.MUTATIONS.SET_SPORTS,n.data.data.sports),e.commit(K.MUTATIONS.UPDATE_USER_LOADING,!1)):te(e,null)}).catch(n=>te(e,n))},[xt.ACTIONS.UPDATE_SPORTS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.patch(`sports/${t.id}`,{is_active:t.isActive}).then(n=>{n.data.status==="success"?e.dispatch(xt.ACTIONS.GET_SPORTS):te(e,null)}).catch(n=>te(e,n))}},STt={[xt.GETTERS.SPORTS]:e=>e.sports},ATt={[xt.MUTATIONS.SET_SPORTS](e,t){e.sports=t}},hTt={sports:[]},OTt={state:hTt,actions:fTt,getters:STt,mutations:ATt},ITt={[wt.ACTIONS.GET_USER_STATS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get(`stats/${t.username}/by_time`,{params:t.params}).then(n=>{n.data.status==="success"?e.commit(wt.MUTATIONS.UPDATE_USER_STATS,n.data.data.statistics):te(e,null)}).catch(n=>te(e,n))},[wt.ACTIONS.GET_USER_SPORT_STATS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(wt.MUTATIONS.UPDATE_STATS_LOADING,!0),ge.get(`stats/${t.username}/by_sport`,{params:{sport_id:t.sportId}}).then(n=>{n.data.status==="success"?(e.commit(wt.MUTATIONS.UPDATE_USER_SPORT_STATS,n.data.data.statistics),e.commit(wt.MUTATIONS.UPDATE_TOTAL_WORKOUTS,n.data.data.total_workouts)):te(e,null)}).catch(n=>te(e,n)).finally(()=>e.commit(wt.MUTATIONS.UPDATE_STATS_LOADING,!1))}},RTt={[wt.GETTERS.USER_SPORT_STATS]:e=>e.sportStatistics,[wt.GETTERS.USER_STATS]:e=>e.statistics,[wt.GETTERS.STATS_LOADING]:e=>e.loading,[wt.GETTERS.TOTAL_WORKOUTS]:e=>e.totalWorkouts},NTt={[wt.MUTATIONS.UPDATE_USER_STATS](e,t){e.statistics=t},[wt.MUTATIONS.EMPTY_USER_STATS](e){e.statistics={}},[wt.MUTATIONS.EMPTY_USER_SPORT_STATS](e){e.sportStatistics={},e.totalWorkouts=0},[wt.MUTATIONS.UPDATE_USER_SPORT_STATS](e,t){e.sportStatistics=t},[wt.MUTATIONS.UPDATE_STATS_LOADING](e,t){e.loading=t},[wt.MUTATIONS.UPDATE_TOTAL_WORKOUTS](e,t){e.totalWorkouts=t}},gTt={statistics:{},sportStatistics:{},totalWorkouts:0,loading:!1},bTt={state:gTt,actions:ITt,getters:RTt,mutations:NTt},vTt={[ue.GETTERS.USER]:e=>e.user,[ue.GETTERS.USER_CURRENT_REPORTING]:e=>e.currentReporting,[ue.GETTERS.USER_RELATIONSHIPS]:e=>e.user_relationships,[ue.GETTERS.USER_SANCTIONS]:e=>e.userSanctions.sanctions,[ue.GETTERS.USER_SANCTIONS_LOADING]:e=>e.userSanctions.loading,[ue.GETTERS.USER_SANCTIONS_PAGINATION]:e=>e.userSanctions.pagination,[ue.GETTERS.USER_WORKOUTS]:e=>e.userWorkouts.workouts,[ue.GETTERS.USER_WORKOUTS_LOADING]:e=>e.userWorkouts.loading,[ue.GETTERS.USERS]:e=>e.users,[ue.GETTERS.USERS_IS_SUCCESS]:e=>e.isSuccess,[ue.GETTERS.USERS_LOADING]:e=>e.loading,[ue.GETTERS.USERS_PAGINATION]:e=>e.pagination},CTt={[ue.MUTATIONS.UPDATE_USER](e,t){e.user=t},[ue.MUTATIONS.UPDATE_USER_IN_USERS](e,t){e.users=e.users.map(n=>n.username===t.username?t:n)},[ue.MUTATIONS.UPDATE_USER_IN_RELATIONSHIPS](e,t){e.user_relationships=e.user_relationships.map(n=>n.username===t.username?t:n)},[ue.MUTATIONS.UPDATE_USER_RELATIONSHIPS](e,t){e.user_relationships=t},[ue.MUTATIONS.UPDATE_USER_SANCTIONS](e,t){e.userSanctions.sanctions=t},[ue.MUTATIONS.UPDATE_USER_SANCTIONS_LOADING](e,t){e.userSanctions.loading=t},[ue.MUTATIONS.UPDATE_USER_SANCTIONS_PAGINATION](e,t){e.userSanctions.pagination=t},[ue.MUTATIONS.UPDATE_USERS](e,t){e.users=t},[ue.MUTATIONS.UPDATE_USERS_LOADING](e,t){e.loading=t},[ue.MUTATIONS.UPDATE_USERS_PAGINATION](e,t){e.pagination=t},[ue.MUTATIONS.UPDATE_IS_SUCCESS](e,t){e.isSuccess=t},[ue.MUTATIONS.UPDATE_USER_CURRENT_REPORTING](e,t){e.currentReporting=t},[ue.MUTATIONS.UPDATE_USER_WORKOUTS](e,t){e.userWorkouts.workouts=t},[ue.MUTATIONS.UPDATE_USER_WORKOUTS_LOADING](e,t){e.userWorkouts.loading=t}},PTt={user:{},userSanctions:{sanctions:[],loading:!1,pagination:{}},userWorkouts:{workouts:[],loading:!1},user_relationships:[],users:[],loading:!1,isSuccess:!1,pagination:{},currentReporting:!1},DTt={state:PTt,actions:z_t,getters:vTt,mutations:CTt},kr=(e,t,n)=>{e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get(n.match("TIMELINE")?"timeline":"workouts",{params:t}).then(s=>{s.data.status==="success"?(e.commit(J.MUTATIONS[n],s.data.data.workouts),[Gs.SET_USER_WORKOUTS,Gs.SET_TIMELINE_WORKOUTS,Gs.ADD_TIMELINE_WORKOUTS].includes(n)&&e.commit(J.MUTATIONS.SET_WORKOUTS_PAGINATION,s.data.pagination)):te(e,null)}).catch(s=>te(e,s))},M1=(e,t,n)=>{n?e.dispatch(J.ACTIONS.GET_WORKOUT_COMMENTS,n):e.dispatch(J.ACTIONS.GET_WORKOUT_COMMENT,t)},SS=(e,t,n=!1)=>{ge.post(`comments/${t.id}/like${n?"/undo":""}`).then(s=>{s.data.status==="success"&&M1(e,t.id,t.workout_id)}).catch(s=>{te(e,s)})},AS=(e,t,n=!1)=>{ge.post(`workouts/${t}/like${n?"/undo":""}`).then(s=>{s.data.status==="success"&&e.commit(J.MUTATIONS.SET_WORKOUT,s.data.data.workouts[0])}).catch(s=>{te(e,s)})},LTt={[J.ACTIONS.GET_CALENDAR_WORKOUTS](e,t){e.commit(J.MUTATIONS.EMPTY_CALENDAR_WORKOUTS),kr(e,t,Gs.SET_CALENDAR_WORKOUTS)},[J.ACTIONS.GET_AUTH_USER_WORKOUTS](e,t){kr(e,t,Gs.SET_USER_WORKOUTS)},[J.ACTIONS.GET_TIMELINE_WORKOUTS](e,t){kr(e,t,Gs.SET_TIMELINE_WORKOUTS)},[J.ACTIONS.GET_MORE_TIMELINE_WORKOUTS](e,t){kr(e,t,Gs.ADD_TIMELINE_WORKOUTS)},[J.ACTIONS.GET_WORKOUT_DATA](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(J.MUTATIONS.SET_WORKOUT_LOADING,!0);const n=t.segmentId?`/segment/${t.segmentId}`:"";ge.get(`workouts/${t.workoutId}`).then(s=>{const a=s.data.data.workouts[0];if(s.data.status==="success"){if(t.segmentId&&(a.segments.length===0||!a.segments[+t.segmentId-1]))throw new Error("WORKOUT_NOT_FOUND");e.commit(J.MUTATIONS.SET_WORKOUT,s.data.data.workouts[0]),s.data.data.workouts[0].with_analysis&&ge.get(`workouts/${t.workoutId}/chart_data${n}`).then(o=>{o.data.status==="success"&&e.commit(J.MUTATIONS.SET_WORKOUT_CHART_DATA,o.data.data.chart_data)}),s.data.data.workouts[0].with_gpx&&ge.get(`workouts/${t.workoutId}/gpx${n}`).then(o=>{o.data.status==="success"&&e.commit(J.MUTATIONS.SET_WORKOUT_GPX,o.data.data.gpx)}),t.segmentId||e.dispatch(J.ACTIONS.GET_WORKOUT_COMMENTS,s.data.data.workouts[0].id)}else e.commit(J.MUTATIONS.EMPTY_WORKOUT),te(e,null)}).catch(s=>{e.commit(J.MUTATIONS.EMPTY_WORKOUT),te(e,s)}).finally(()=>e.commit(J.MUTATIONS.SET_WORKOUT_LOADING,!1))},[J.ACTIONS.DELETE_WORKOUT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(J.MUTATIONS.SET_WORKOUT_LOADING,!0),ge.delete(`workouts/${t.workoutId}`).then(()=>{e.commit(J.MUTATIONS.EMPTY_WORKOUT),e.dispatch(K.ACTIONS.GET_USER_PROFILE,{}),it.push("/")}).catch(n=>{te(e,n)}).finally(()=>e.commit(J.MUTATIONS.SET_WORKOUT_LOADING,!1))},[J.ACTIONS.EDIT_WORKOUT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(J.MUTATIONS.SET_WORKOUT_LOADING,!0),ge.patch(`workouts/${t.workoutId}`,t.data).then(()=>{e.dispatch(K.ACTIONS.GET_USER_PROFILE,{}),e.dispatch(J.ACTIONS.GET_WORKOUT_DATA,{workoutId:t.workoutId}).then(()=>{it.push({name:"Workout",params:{workoutId:t.workoutId}})})}).catch(n=>{te(e,n)}).finally(()=>e.commit(J.MUTATIONS.SET_WORKOUT_LOADING,!1))},[J.ACTIONS.EDIT_WORKOUT_CONTENT](e,t){e.commit(J.MUTATIONS.SET_WORKOUT_CONTENT_LOADING,!0),e.commit(J.MUTATIONS.SET_WORKOUT_CONTENT_TYPE,t.contentType),e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES);const n={[t.contentType==="NOTES"?"notes":"description"]:t.content};ge.patch(`workouts/${t.workoutId}`,n).then(s=>{const a=s.data.data.workouts[0];e.commit(J.MUTATIONS.SET_WORKOUT_CONTENT,a)}).catch(s=>{te(e,s)}).finally(()=>e.commit(J.MUTATIONS.SET_WORKOUT_CONTENT_LOADING,!1))},[J.ACTIONS.ADD_WORKOUT](e,t){if(e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(J.MUTATIONS.SET_WORKOUT_LOADING,!0),!t.file)throw new Error("No file part");const n=t.notes.replace(/"/g,'\\"'),s=t.description.replace(/"/g,'\\"'),a=t.title.replace(/"/g,'\\"'),o=new FormData;o.append("file",t.file),o.append("data",`{"sport_id": ${t.sport_id}, "notes": "${n}", "description": "${s}", "title": "${a}", "equipment_ids": [${t.equipment_ids.map(i=>`"${i}"`).join(",")}], "workout_visibility": "${t.workout_visibility}", "analysis_visibility": "${t.analysis_visibility}", "map_visibility": "${t.map_visibility}"}`),ge.post("workouts",o,{headers:{"content-type":"multipart/form-data"}}).then(i=>{if(i.data.status==="created"){e.dispatch(K.ACTIONS.GET_USER_PROFILE,{});const r=i.data.data.workouts[0];it.push(i.data.data.workouts.length===1?`/workouts/${r.id}`:"/")}}).catch(i=>{te(e,i)}).finally(()=>e.commit(J.MUTATIONS.SET_WORKOUT_LOADING,!1))},[J.ACTIONS.ADD_WORKOUT_WITHOUT_GPX](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(J.MUTATIONS.SET_WORKOUT_LOADING,!0),ge.post("workouts/no_gpx",t).then(n=>{if(n.data.status==="created"){e.dispatch(K.ACTIONS.GET_USER_PROFILE,{});const s=n.data.data.workouts[0];it.push(`/workouts/${s.id}`)}}).catch(n=>{te(e,n)}).finally(()=>e.commit(J.MUTATIONS.SET_WORKOUT_LOADING,!1))},[J.ACTIONS.ADD_COMMENT](e,t){e.commit(J.MUTATIONS.SET_COMMENT_LOADING,"new");const n={text:t.text,text_visibility:t.text_visibility};e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.post(`/workouts/${t.workout_id}/comments`,n).then(s=>{s.data.status==="created"?(e.dispatch(J.ACTIONS.GET_WORKOUT_COMMENTS,t.workout_id),e.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{})):te(e,null)}).catch(s=>{te(e,s),e.commit(J.MUTATIONS.SET_COMMENT_LOADING,null)})},[J.ACTIONS.GET_WORKOUT_COMMENT](e,t){e.commit(J.MUTATIONS.SET_COMMENT_LOADING,"loading"),e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get(`/comments/${t}`).then(n=>{n.data.status==="success"?(e.commit(J.MUTATIONS.SET_WORKOUT_COMMENTS,[n.data.comment]),e.commit(J.MUTATIONS.SET_COMMENT_LOADING,null)):te(e,null)}).catch(n=>{te(e,n)}).finally(()=>e.commit(J.MUTATIONS.SET_COMMENT_LOADING,null))},[J.ACTIONS.GET_WORKOUT_COMMENTS](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get(`/workouts/${t}/comments`).then(n=>{n.data.status==="success"?(e.commit(J.MUTATIONS.SET_WORKOUT_COMMENTS,n.data.data.comments),e.commit(J.MUTATIONS.SET_COMMENT_LOADING,null)):te(e,null)}).catch(n=>{te(e,n.status===500?null:n,"error when getting comments")}).finally(()=>e.commit(J.MUTATIONS.SET_COMMENT_LOADING,null))},[J.ACTIONS.DELETE_WORKOUT_COMMENT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(J.MUTATIONS.SET_COMMENT_LOADING,"delete"),ge.delete(`comments/${t.commentId}`).then(n=>{n.status===204&&(t.workoutId?e.dispatch(J.ACTIONS.GET_WORKOUT_COMMENTS,t.workoutId):it.push("/"))}).catch(n=>{te(e,n)})},[J.ACTIONS.EDIT_WORKOUT_COMMENT](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(J.MUTATIONS.SET_COMMENT_LOADING,t.id),ge.patch(`comments/${t.id}`,{text:t.text}).then(n=>{n.data.status==="success"&&(M1(e,t.id,t.workout_id),e.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{}))}).catch(n=>{te(e,n),e.commit(J.MUTATIONS.SET_COMMENT_LOADING,null)})},[J.ACTIONS.LIKE_COMMENT](e,t){SS(e,t)},[J.ACTIONS.UNDO_LIKE_COMMENT](e,t){SS(e,t,!0)},[J.ACTIONS.LIKE_WORKOUT](e,t){AS(e,t)},[J.ACTIONS.UNDO_LIKE_WORKOUT](e,t){AS(e,t,!0)},[J.ACTIONS.MAKE_APPEAL](e,t){const n=`${t.objectType}_${t.objectId}`;e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),e.commit(J.MUTATIONS.SET_APPEAL_LOADING,n),e.commit(J.MUTATIONS.SET_SUCCESS,null),ge.post(`${t.objectType}s/${t.objectId}/suspension/appeal`,{text:t.text}).then(s=>{s.data.status==="success"&&e.commit(J.MUTATIONS.SET_SUCCESS,n)}).catch(s=>{te(e,s)}).finally(()=>e.commit(J.MUTATIONS.SET_APPEAL_LOADING,null))},[J.ACTIONS.GET_LIKES](e,t){e.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),ge.get(`${t.objectType}s/${t.objectId}/likes?page=${t.page}`).then(n=>{n.data.status==="success"&&(e.commit(ue.MUTATIONS.UPDATE_USERS,n.data.data.likes),e.commit(ue.MUTATIONS.UPDATE_USERS_PAGINATION,n.data.pagination))}).catch(n=>{te(e,n)})}},yTt={[J.GETTERS.APPEAL_LOADING]:e=>e.appealLoading,[J.GETTERS.CALENDAR_WORKOUTS]:e=>e.calendar_workouts,[J.GETTERS.CURRENT_REPORTING]:e=>e.workoutData.currentReporting,[J.GETTERS.SUCCESS]:e=>e.success,[J.GETTERS.TIMELINE_WORKOUTS]:e=>e.timeline_workouts,[J.GETTERS.AUTH_USER_WORKOUTS]:e=>e.user_workouts,[J.GETTERS.WORKOUT_CONTENT_EDITION]:e=>e.workoutContent,[J.GETTERS.WORKOUT_DATA]:e=>e.workoutData,[J.GETTERS.WORKOUTS_PAGINATION]:e=>e.pagination},UTt={[J.MUTATIONS.ADD_TIMELINE_WORKOUTS](e,t){e.timeline_workouts=e.timeline_workouts.concat(t)},[J.MUTATIONS.SET_APPEAL_LOADING](e,t){e.appealLoading=t},[J.MUTATIONS.SET_CALENDAR_WORKOUTS](e,t){e.calendar_workouts=t},[J.MUTATIONS.SET_SUCCESS](e,t){e.success=t},[J.MUTATIONS.SET_TIMELINE_WORKOUTS](e,t){e.timeline_workouts=t},[J.MUTATIONS.SET_USER_WORKOUTS](e,t){e.user_workouts=t},[J.MUTATIONS.SET_WORKOUTS_PAGINATION](e,t){e.pagination=t},[J.MUTATIONS.SET_WORKOUT](e,t){e.workoutData.workout=t},[J.MUTATIONS.SET_WORKOUT_CHART_DATA](e,t){e.workoutData.chartData=t},[J.MUTATIONS.SET_WORKOUT_GPX](e,t){e.workoutData.gpx=t},[J.MUTATIONS.SET_WORKOUT_LOADING](e,t){e.workoutData.loading=t},[J.MUTATIONS.SET_WORKOUT_CONTENT](e,t){e.workoutData.workout=t},[J.MUTATIONS.SET_WORKOUT_CONTENT_LOADING](e,t){e.workoutContent.loading=t},[J.MUTATIONS.SET_WORKOUT_CONTENT_TYPE](e,t){e.workoutContent.contentType=t},[J.MUTATIONS.EMPTY_CALENDAR_WORKOUTS](e){e.calendar_workouts=[]},[J.MUTATIONS.EMPTY_WORKOUTS](e){e.calendar_workouts=[],e.user_workouts=[],e.timeline_workouts=[]},[J.MUTATIONS.EMPTY_WORKOUT](e){e.workoutData={gpx:"",loading:!1,workout:{},chartData:[],comments:[],commentsLoading:null,currentCommentEdition:{},currentReporting:!1}},[J.MUTATIONS.SET_WORKOUT_COMMENTS](e,t){e.workoutData.comments=t},[J.MUTATIONS.ADD_WORKOUT_COMMENT](e,t){e.workoutData.comments.push(t)},[J.MUTATIONS.SET_COMMENT_LOADING](e,t){e.workoutData.commentsLoading=t},[J.MUTATIONS.SET_CURRENT_COMMENT_EDITION](e,t){e.workoutData.currentCommentEdition=t},[J.MUTATIONS.SET_CURRENT_REPORTING](e,t){e.workoutData.currentReporting=t}},$Tt={calendar_workouts:[],timeline_workouts:[],pagination:{},user_workouts:[],workoutData:{gpx:"",loading:!1,workout:{},chartData:[],comments:[],commentsLoading:null,currentCommentEdition:{},currentReporting:!1},workoutContent:{loading:!1,contentType:""},success:null,appealLoading:null,likes:[]},kTt={state:$Tt,actions:LTt,getters:yTt,mutations:UTt},wTt={authUserModule:H_t,equipmentModule:X_t,notificationsModule:tTt,oAuthModule:iTt,reportsModule:dTt,sportsModule:OTt,statsModule:bTt,usersModule:DTt,workoutsModule:kTt},MTt={state:mTt,actions:_Tt,getters:TTt,mutations:pTt,modules:wTt},Cn=NP(MTt),ge=Wt.create({baseURL:nr()});ge.interceptors.request.use(e=>{const t=new AbortController;e.signal=t.signal;const n=yo(e);gi.set(n,t);const s=Cn.getters[K.GETTERS.AUTH_TOKEN];if(s){const a=`Bearer ${s}`;e.headers&&e.headers.Authorization!==a&&(e.headers.Authorization=`Bearer ${s}`)}return e},e=>Promise.reject(e));ge.interceptors.response.use(e=>(yo(e.config),e),e=>(e.message!=="canceled"&&e.response&&yo(e.response.config),Promise.reject(e)));const mE=(e,t)=>e.push.apply(e,t),Uo=e=>e.sort((t,n)=>t.i-n.i||t.j-n.j),hS=e=>{const t={};let n=1;return e.forEach(s=>{t[s]=n,n+=1}),t};var WTt={4:[[1,2],[2,3]],5:[[1,3],[2,3],[2,4]],6:[[1,2],[2,4],[4,5]],7:[[1,3],[2,3],[4,5],[4,6]],8:[[2,4],[4,6]]};const OS=2050,IS=1e3,FTt=WTt,zTt=10,BTt=1e4,W1=10,F1=50,z1=20,B1=/^[A-Z\xbf-\xdf][^A-Z\xbf-\xdf]+$/,GTt=/^[^A-Z\xbf-\xdf]+[A-Z\xbf-\xdf]$/,xTt=/^[A-Z\xbf-\xdf]+$/,G1=/^[^a-z\xdf-\xff]+$/,VTt=/^[a-z\xdf-\xff]+$/,HTt=/^[^A-Z\xbf-\xdf]+$/,KTt=/[a-z\xdf-\xff]/,YTt=/[A-Z\xbf-\xdf]/,qTt=/[^A-Za-z\xbf-\xdf]/gi,jTt=/^\d+$/,H_=new Date().getFullYear(),XTt={recentYear:/19\d\d|200\d|201\d|202\d/g},x1=[" ",",",";",":","|","/","\\","_",".","-"],QTt=x1.length;class ZTt{match({password:t}){const n=[...this.getMatchesWithoutSeparator(t),...this.getMatchesWithSeparator(t)],s=this.filterNoise(n);return Uo(s)}getMatchesWithSeparator(t){const n=[],s=/^(\d{1,4})([\s/\\_.-])(\d{1,2})\2(\d{1,4})$/;for(let a=0;a<=Math.abs(t.length-6);a+=1)for(let o=a+5;o<=a+9&&!(o>=t.length);o+=1){const i=t.slice(a,+o+1||9e9),r=s.exec(i);if(r!=null){const u=this.mapIntegersToDayMonthYear([parseInt(r[1],10),parseInt(r[3],10),parseInt(r[4],10)]);u!=null&&n.push({pattern:"date",token:i,i:a,j:o,separator:r[2],year:u.year,month:u.month,day:u.day})}}return n}getMatchesWithoutSeparator(t){const n=[],s=/^\d{4,8}$/,a=o=>Math.abs(o.year-H_);for(let o=0;o<=Math.abs(t.length-4);o+=1)for(let i=o+3;i<=o+7&&!(i>=t.length);i+=1){const r=t.slice(o,+i+1||9e9);if(s.exec(r)){const u=[],l=r.length;if(FTt[l].forEach(([_,c])=>{const T=this.mapIntegersToDayMonthYear([parseInt(r.slice(0,_),10),parseInt(r.slice(_,c),10),parseInt(r.slice(c),10)]);T!=null&&u.push(T)}),u.length>0){let _=u[0],c=a(u[0]);u.slice(1).forEach(T=>{const m=a(T);m{let s=!1;const a=t.length;for(let o=0;o=n.j){s=!0;break}}return!s})}mapIntegersToDayMonthYear(t){if(t[1]>31||t[1]<=0)return null;let n=0,s=0,a=0;for(let o=0,i=t.length;o99&&rOS)return null;r>31&&(s+=1),r>12&&(n+=1),r<=0&&(a+=1)}return s>=2||n===3||a>=2?null:this.getDayMonth(t)}getDayMonth(t){const n=[[t[2],t.slice(0,2)],[t[0],t.slice(1,3)]],s=n.length;for(let a=0;a=1&&o<=31&&i>=1&&i<=12)return{day:o,month:i}}return null}twoToFourDigitYear(t){return t>99?t:t>50?t+1900:t+2e3}}const Ms=new Uint32Array(65536),JTt=(e,t)=>{const n=e.length,s=t.length,a=1<{const n=t.length,s=e.length,a=[],o=[],i=Math.ceil(n/32),r=Math.ceil(s/32);for(let m=0;m>>O&1,b=a[O/32|0]>>>O&1,C=I|m,v=((I|b)&f)+f^f|I|b;let y=m|~(v|f),D=f&v;y>>>31^N&&(o[O/32|0]^=1<>>31^b&&(a[O/32|0]^=1<>>m&1,h=a[m/32|0]>>>m&1,O=f|l,I=((f|h)&d)+d^d|f|h;let N=l|~(I|d),b=d&I;T+=N>>>s-1&1,T-=b>>>s-1&1,N>>>31^R&&(o[m/32|0]^=1<>>31^h&&(a[m/32|0]^=1<{if(e.length{const s=e.length<=t.length,a=e.length<=n;return s||a?Math.ceil(e.length/4):n},spt=(e,t,n)=>{let s=0;const a=Object.keys(t).find(o=>{const i=npt(e,o,n);if(Math.abs(e.length-o.length)>i)return!1;const r=tpt(e,o),u=r<=i;return u&&(s=r),u});return a?{levenshteinDistance:s,levenshteinDistanceEntry:a}:{}};var RS={a:["4","@"],b:["8"],c:["(","{","[","<"],d:["6","|)"],e:["3"],f:["#"],g:["6","9","&"],h:["#","|-|"],i:["1","!","|"],k:["<","|<"],l:["!","1","|","7"],m:["^^","nn","2n","/\\\\/\\\\"],n:["//"],o:["0","()"],q:["9"],u:["|_|"],s:["$","5"],t:["+","7"],v:["<",">","/"],w:["^/","uu","vv","2u","2v","\\\\/\\\\/"],x:["%","><"],z:["2"]},ud={warnings:{straightRow:"straightRow",keyPattern:"keyPattern",simpleRepeat:"simpleRepeat",extendedRepeat:"extendedRepeat",sequences:"sequences",recentYears:"recentYears",dates:"dates",topTen:"topTen",topHundred:"topHundred",common:"common",similarToCommon:"similarToCommon",wordByItself:"wordByItself",namesByThemselves:"namesByThemselves",commonNames:"commonNames",userInputs:"userInputs",pwned:"pwned"},suggestions:{l33t:"l33t",reverseWords:"reverseWords",allUppercase:"allUppercase",capitalization:"capitalization",dates:"dates",recentYears:"recentYears",associatedYears:"associatedYears",sequences:"sequences",repeated:"repeated",longerKeyboardPattern:"longerKeyboardPattern",anotherWord:"anotherWord",useWords:"useWords",noNeed:"noNeed",pwned:"pwned"},timeEstimation:{ltSecond:"ltSecond",second:"second",seconds:"seconds",minute:"minute",minutes:"minutes",hour:"hour",hours:"hours",day:"day",days:"days",month:"month",months:"months",year:"year",years:"years",centuries:"centuries"}};class Ki{constructor(t=[]){this.parents=t,this.children=new Map}addSub(t,...n){const s=t.charAt(0);this.children.has(s)||this.children.set(s,new Ki([...this.parents,s]));let a=this.children.get(s);for(let o=1;o(Object.entries(e).forEach(([n,s])=>{s.forEach(a=>{t.addSub(a,n)})}),t);class apt{constructor(){this.matchers={},this.l33tTable=RS,this.trieNodeRoot=NS(RS,new Ki),this.dictionary={userInputs:[]},this.rankedDictionaries={},this.rankedDictionariesMaxWordSize={},this.translations=ud,this.graphs={},this.useLevenshteinDistance=!1,this.levenshteinThreshold=2,this.l33tMaxSubstitutions=100,this.maxLength=256,this.setRankedDictionaries()}setOptions(t={}){t.l33tTable&&(this.l33tTable=t.l33tTable,this.trieNodeRoot=NS(t.l33tTable,new Ki)),t.dictionary&&(this.dictionary=t.dictionary,this.setRankedDictionaries()),t.translations&&this.setTranslations(t.translations),t.graphs&&(this.graphs=t.graphs),t.useLevenshteinDistance!==void 0&&(this.useLevenshteinDistance=t.useLevenshteinDistance),t.levenshteinThreshold!==void 0&&(this.levenshteinThreshold=t.levenshteinThreshold),t.l33tMaxSubstitutions!==void 0&&(this.l33tMaxSubstitutions=t.l33tMaxSubstitutions),t.maxLength!==void 0&&(this.maxLength=t.maxLength)}setTranslations(t){if(this.checkCustomTranslations(t))this.translations=t;else throw new Error("Invalid translations object fallback to keys")}checkCustomTranslations(t){let n=!0;return Object.keys(ud).forEach(s=>{if(s in t){const a=s;Object.keys(ud[a]).forEach(o=>{o in t[a]||(n=!1)})}else n=!1}),n}setRankedDictionaries(){const t={},n={};Object.keys(this.dictionary).forEach(s=>{t[s]=hS(this.dictionary[s]),n[s]=this.getRankedDictionariesMaxWordSize(this.dictionary[s])}),this.rankedDictionaries=t,this.rankedDictionariesMaxWordSize=n}getRankedDictionariesMaxWordSize(t){const n=t.map(s=>typeof s!="string"?s.toString().length:s.length);return n.length===0?0:n.reduce((s,a)=>Math.max(s,a),-1/0)}buildSanitizedRankedDictionary(t){const n=[];return t.forEach(s=>{const a=typeof s;(a==="string"||a==="number"||a==="boolean")&&n.push(s.toString().toLowerCase())}),hS(n)}extendUserInputsDictionary(t){this.dictionary.userInputs||(this.dictionary.userInputs=[]);const n=[...this.dictionary.userInputs,...t];this.rankedDictionaries.userInputs=this.buildSanitizedRankedDictionary(n),this.rankedDictionariesMaxWordSize.userInputs=this.getRankedDictionariesMaxWordSize(n)}addMatcher(t,n){this.matchers[t]?console.info(`Matcher ${t} already exists`):this.matchers[t]=n}}const Ve=new apt;class opt{constructor(t){this.defaultMatch=t}match({password:t}){const n=t.split("").reverse().join("");return this.defaultMatch({password:n}).map(s=>({...s,token:s.token.split("").reverse().join(""),reversed:!0,i:t.length-1-s.j,j:t.length-1-s.i}))}}class ipt{constructor({substr:t,limit:n,trieRoot:s}){this.buffer=[],this.finalPasswords=[],this.substr=t,this.limit=n,this.trieRoot=s}getAllPossibleSubsAtIndex(t){const n=[];let s=this.trieRoot;for(let a=t;a=this.limit)return;if(s===this.substr.length){t===n&&this.finalPasswords.push({password:this.buffer.join(""),changes:o});return}const u=[...this.getAllPossibleSubsAtIndex(s)];let l=!1;for(let d=s+u.length-1;d>=s;d-=1){const _=u[d-s];if(_.isTerminal()){if(i===_.parents.join("")&&r>=3)continue;l=!0;const c=_.subs;for(const T of c){this.buffer.push(T);const m=o.concat({i:a,letter:T,substitution:_.parents.join("")});if(this.helper({onlyFullSub:t,isFullSub:n,index:d+1,subIndex:a+T.length,changes:m,lastSubLetter:_.parents.join(""),consecutiveSubCount:i===_.parents.join("")?r+1:1}),this.buffer.pop(),this.finalPasswords.length>=this.limit)return}}}if(!t||!l){const d=this.substr.charAt(s);this.buffer.push(d),this.helper({onlyFullSub:t,isFullSub:n&&!l,index:s+1,subIndex:a+1,changes:o,lastSubLetter:i,consecutiveSubCount:r}),this.buffer.pop()}}getAll(){return this.helper({onlyFullSub:!0,isFullSub:!0,index:0,subIndex:0,changes:[],lastSubLetter:void 0,consecutiveSubCount:0}),this.helper({onlyFullSub:!1,isFullSub:!0,index:0,subIndex:0,changes:[],lastSubLetter:void 0,consecutiveSubCount:0}),this.finalPasswords}}const rpt=(e,t,n)=>new ipt({substr:e,limit:t,trieRoot:n}).getAll(),upt=(e,t,n)=>{const a=e.changes.filter(l=>l.il-d.letter.length+d.substitution.length,t),o=e.changes.filter(l=>l.i>=t&&l.i<=n),i=o.reduce((l,d)=>l-d.letter.length+d.substitution.length,n-t+a),r=[],u=[];return o.forEach(l=>{r.findIndex(_=>_.letter===l.letter&&_.substitution===l.substitution)<0&&(r.push({letter:l.letter,substitution:l.substitution}),u.push(`${l.substitution} -> ${l.letter}`))}),{i:a,j:i,subs:r,subDisplay:u.join(", ")}};class lpt{constructor(t){this.defaultMatch=t}isAlreadyIncluded(t,n){return t.some(s=>Object.entries(s).every(([a,o])=>a==="subs"||o===n[a]))}match({password:t}){const n=[],s=rpt(t,Ve.l33tMaxSubstitutions,Ve.trieNodeRoot);let a=!1,o=!0;return s.forEach(i=>{if(a)return;const r=this.defaultMatch({password:i.password,useLevenshtein:o});o=!1,r.forEach(u=>{a||(a=u.i===0&&u.j===t.length-1);const l=upt(i,u.i,u.j),d=t.slice(l.i,+l.j+1||9e9),_={...u,l33t:!0,token:d,...l},c=this.isAlreadyIncluded(n,_);d.toLowerCase()!==u.matchedWord&&!c&&n.push(_)})}),n.filter(i=>i.token.length>1)}}class cpt{constructor(){this.l33t=new lpt(this.defaultMatch),this.reverse=new opt(this.defaultMatch)}match({password:t}){const n=[...this.defaultMatch({password:t}),...this.reverse.match({password:t}),...this.l33t.match({password:t})];return Uo(n)}defaultMatch({password:t,useLevenshtein:n=!0}){const s=[],a=t.length,o=t.toLowerCase();return Object.keys(Ve.rankedDictionaries).forEach(i=>{const r=Ve.rankedDictionaries[i],u=Ve.rankedDictionariesMaxWordSize[i],l=Math.min(u,a);for(let d=0;d{const o=n[a];o.lastIndex=0;let i;for(;i=o.exec(t);)if(i){const r=i[0];s.push({pattern:"regex",token:r,i:i.index,j:i.index+i[0].length-1,regexName:a,regexMatch:i})}}),Uo(s)}}var Xa={nCk(e,t){let n=e;if(t>n)return 0;if(t===0)return 1;let s=1;for(let a=1;a<=t;a+=1)s*=n,s/=a,n-=1;return s},log10(e){return e===0?0:Math.log(e)/Math.log(10)},log2(e){return Math.log(e)/Math.log(2)},factorial(e){let t=1;for(let n=2;n<=e;n+=1)t*=n;return t}},Ept=({token:e})=>{let t=zTt**e.length;t===Number.POSITIVE_INFINITY&&(t=Number.MAX_VALUE);let n;return e.length===1?n=W1+1:n=F1+1,Math.max(t,n)},_pt=({year:e,separator:t})=>{let s=Math.max(Math.abs(e-H_),z1)*365;return t&&(s*=4),s};const Tpt=e=>{const t=e.split(""),n=t.filter(i=>i.match(YTt)).length,s=t.filter(i=>i.match(KTt)).length;let a=0;const o=Math.min(n,s);for(let i=1;i<=o;i+=1)a+=Xa.nCk(n+s,i);return a};var ppt=e=>{const t=e.replace(qTt,"");if(t.match(HTt)||t.toLowerCase()===t)return 1;const n=[B1,GTt,G1],s=n.length;for(let a=0;a{let n=0,s=e.indexOf(t);for(;s>=0;)n+=1,s=e.indexOf(t,s+t.length);return n},mpt=({sub:e,token:t})=>{const n=t.toLowerCase(),s=gS(n,e.substitution),a=gS(n,e.letter);return{subbedCount:s,unsubbedCount:a}};var fpt=({l33t:e,subs:t,token:n})=>{if(!e)return 1;let s=1;return t.forEach(a=>{const{subbedCount:o,unsubbedCount:i}=mpt({sub:a,token:n});if(o===0||i===0)s*=2;else{const r=Math.min(i,o);let u=0;for(let l=1;l<=r;l+=1)u+=Xa.nCk(i+o,l);s*=u}}),s},Spt=({rank:e,reversed:t,l33t:n,subs:s,token:a,dictionaryName:o})=>{const i=e,r=ppt(a),u=fpt({l33t:n,subs:s,token:a}),l=t&&2||1;let d;return o==="diceware"?d=6**5/2:d=i*r*u*l,{baseGuesses:i,uppercaseVariations:r,l33tVariations:u,calculation:d}},Apt=({regexName:e,regexMatch:t,token:n})=>{const s={alphaLower:26,alphaUpper:26,alpha:52,alphanumeric:62,digits:10,symbols:33};if(e in s)return s[e]**n.length;switch(e){case"recentYear":return Math.max(Math.abs(parseInt(t[0],10)-H_),z1)}return 0},hpt=({baseGuesses:e,repeatCount:t})=>e*t,Opt=({token:e,ascending:t})=>{const n=e.charAt(0);let s=0;return["a","A","z","Z","0","1","9"].includes(n)?s=4:n.match(/\d/)?s=10:s=26,t||(s*=2),s*e.length};const Ipt=e=>{let t=0;return Object.keys(e).forEach(n=>{const s=e[n];t+=s.filter(a=>!!a).length}),t/=Object.entries(e).length,t},Rpt=({token:e,graph:t,turns:n})=>{const s=Object.keys(Ve.graphs[t]).length,a=Ipt(Ve.graphs[t]);let o=0;const i=e.length;for(let r=2;r<=i;r+=1){const u=Math.min(n,r-1);for(let l=1;l<=u;l+=1)o+=Xa.nCk(r-1,l-1)*s*a**l}return o};var Npt=({graph:e,token:t,shiftedCount:n,turns:s})=>{let a=Rpt({token:t,graph:e,turns:s});if(n){const o=t.length-n;if(n===0||o===0)a*=2;else{let i=0;for(let r=1;r<=Math.min(n,o);r+=1)i+=Xa.nCk(n+o,r);a*=i}}return Math.round(a)},gpt=()=>QTt;const bpt=(e,t)=>{let n=1;return e.token.lengthbS[e]?bS[e](t):Ve.matchers[e]&&"scoring"in Ve.matchers[e]?Ve.matchers[e].scoring(t):0;var Cpt=(e,t)=>{const n={};if("guesses"in e&&e.guesses!=null)return e;const s=bpt(e,t),a=vpt(e.pattern,e);let o=0;typeof a=="number"?o=a:e.pattern==="dictionary"&&(o=a.calculation,n.baseGuesses=a.baseGuesses,n.uppercaseVariations=a.uppercaseVariations,n.l33tVariations=a.l33tVariations);const i=Math.max(o,s);return{...e,...n,guesses:i,guessesLog10:Xa.log10(i)}};const vn={password:"",optimal:{},excludeAdditive:!1,separatorRegex:void 0,fillArray(e,t){const n=[];for(let s=0;s1&&(a*=this.optimal.pi[s.i-1][t-1]);let o=Xa.factorial(t)*a;this.excludeAdditive||(o+=BTt**(t-1));let i=!1;Object.keys(this.optimal.g[n]).forEach(r=>{const u=this.optimal.g[n][r];parseInt(r,10)<=t&&u<=o&&(i=!0)}),i||(this.optimal.g[n][t]=o,this.optimal.m[n][t]=s,this.optimal.pi[n][t]=a)},bruteforceUpdate(e){let t=this.makeBruteforceMatch(0,e);this.update(t,1);for(let n=1;n<=e;n+=1){t=this.makeBruteforceMatch(n,e);const s=this.optimal.m[n-1];Object.keys(s).forEach(a=>{s[a].pattern!=="bruteforce"&&this.update(t,parseInt(a,10)+1)})}},unwind(e){const t=[];let n=e-1,s=0,a=1/0;const o=this.optimal.g[n];for(o&&Object.keys(o).forEach(i=>{const r=o[i];r=0;){const i=this.optimal.m[n][s];t.unshift(i),n=i.i-1,s-=1}return t}};var fE={mostGuessableMatchSequence(e,t,n=!1){vn.password=e,vn.excludeAdditive=n;const s=e.length;let a=vn.fillArray(s,"array");t.forEach(u=>{a[u.j].push(u)}),a=a.map(u=>u.sort((l,d)=>l.i-d.i)),vn.optimal={m:vn.fillArray(s,"object"),pi:vn.fillArray(s,"object"),g:vn.fillArray(s,"object")};for(let u=0;u{l.i>0?Object.keys(vn.optimal.m[l.i-1]).forEach(d=>{vn.update(l,parseInt(d,10)+1)}):vn.update(l,1)}),vn.bruteforceUpdate(u);const o=vn.unwind(s),i=o.length,r=this.getGuesses(e,i);return{password:e,guesses:r,guessesLog10:Xa.log10(r),sequence:o}},getGuesses(e,t){const n=e.length;let s=0;return e.length===0?s=1:s=vn.optimal.g[n-1][t],s}};class Ppt{match({password:t,omniMatch:n}){const s=[];let a=0;for(;ai instanceof Promise)?Promise.all(s):s}normalizeMatch(t,n,s,a){const o={pattern:"repeat",i:s.index,j:n,token:s[0],baseToken:t,baseGuesses:0,repeatCount:s[0].length/t.length};return a instanceof Promise?a.then(i=>({...o,baseGuesses:i})):{...o,baseGuesses:a}}getGreedyMatch(t,n){const s=/(.+)\1+/g;return s.lastIndex=n,s.exec(t)}getLazyMatch(t,n){const s=/(.+?)\1+/g;return s.lastIndex=n,s.exec(t)}setMatchToken(t,n){const s=/^(.+?)\1+$/;let a,o="";if(n&&t[0].length>n[0].length){a=t;const i=s.exec(a[0]);i&&(o=i[1])}else a=n,a&&(o=a[1]);return{match:a,baseToken:o}}getBaseGuesses(t,n){const s=n.match(t);return s instanceof Promise?s.then(o=>fE.mostGuessableMatchSequence(t,o).guesses):fE.mostGuessableMatchSequence(t,s).guesses}}class Dpt{constructor(){this.MAX_DELTA=5}match({password:t}){const n=[];if(t.length===1)return[];let s=0,a=null;const o=t.length;for(let i=1;i1||Math.abs(s)===1){const i=Math.abs(s);if(i>0&&i<=this.MAX_DELTA){const r=a.slice(t,+n+1||9e9),{sequenceName:u,sequenceSpace:l}=this.getSequence(r);return o.push({pattern:"sequence",i:t,j:n,token:a.slice(t,+n+1||9e9),sequenceName:u,sequenceSpace:l,ascending:s>0})}}return null}getSequence(t){let n="unicode",s=26;return VTt.test(t)?(n="lower",s=26):xTt.test(t)?(n="upper",s=26):jTt.test(t)&&(n="digits",s=10),{sequenceName:n,sequenceSpace:s}}}class Lpt{constructor(){this.SHIFTED_RX=/[~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?]/}match({password:t}){const n=[];return Object.keys(Ve.graphs).forEach(s=>{const a=Ve.graphs[s];mE(n,this.helper(t,a,s))}),Uo(n)}checkIfShifted(t,n,s){return!t.includes("keypad")&&this.SHIFTED_RX.test(n.charAt(s))?1:0}helper(t,n,s){let a;const o=[];let i=0;const r=t.length;for(;i2&&o.push({pattern:"spatial",i,j:u-1,token:t.slice(i,u),graph:s,turns:d,shiftedCount:a}),i=u;break}}}return o}}const ypt=new RegExp(`[${x1.join("")}]`);class tl{static getMostUsedSeparatorChar(t){const n=[...t.split("").filter(a=>ypt.test(a)).reduce((a,o)=>{const i=a.get(o);return i?a.set(o,i+1):a.set(o,1),a},new Map).entries()].sort(([a,o],[i,r])=>r-o);if(!n.length)return;const s=n[0];if(!(s[1]<2))return s[0]}static getSeparatorRegex(t){return new RegExp(`([^${t} +])(${t})(?!${t})`,"g")}match({password:t}){const n=[];if(t.length===0)return n;const s=tl.getMostUsedSeparatorChar(t);if(s===void 0)return n;const a=tl.getSeparatorRegex(s);for(const o of t.matchAll(a)){if(o.index===void 0)continue;const i=o.index+1;n.push({pattern:"separator",token:s,i,j:i})}return n}}class Upt{constructor(){this.matchers={date:ZTt,dictionary:cpt,regex:dpt,repeat:Ppt,sequence:Dpt,spatial:Lpt,separator:tl}}match(t){const n=[],s=[];return[...Object.keys(this.matchers),...Object.keys(Ve.matchers)].forEach(o=>{if(!this.matchers[o]&&!Ve.matchers[o])return;const i=this.matchers[o]?this.matchers[o]:Ve.matchers[o].Matching,u=new i().match({password:t,omniMatch:this});u instanceof Promise?(u.then(l=>{mE(n,l)}),s.push(u)):mE(n,u)}),s.length>0?new Promise((o,i)=>{Promise.all(s).then(()=>{o(Uo(n))}).catch(r=>{i(r)})}):Uo(n)}}const V1=1,H1=V1*60,K1=H1*60,Y1=K1*24,q1=Y1*31,j1=q1*12,$pt=j1*100,ld={second:V1,minute:H1,hour:K1,day:Y1,month:q1,year:j1,century:$pt};class kpt{translate(t,n){let s=t;n!==void 0&&n!==1&&(s+="s");const{timeEstimation:a}=Ve.translations;return a[s].replace("{base}",`${n}`)}estimateAttackTimes(t){const n={onlineThrottling100PerHour:t/.027777777777777776,onlineNoThrottling10PerSecond:t/10,offlineSlowHashing1e4PerSecond:t/1e4,offlineFastHashing1e10PerSecond:t/1e10},s={onlineThrottling100PerHour:"",onlineNoThrottling10PerSecond:"",offlineSlowHashing1e4PerSecond:"",offlineFastHashing1e10PerSecond:""};return Object.keys(n).forEach(a=>{const o=n[a];s[a]=this.displayTime(o)}),{crackTimesSeconds:n,crackTimesDisplay:s,score:this.guessesToScore(t)}}guessesToScore(t){return t<1005?0:t<1000005?1:t<100000005?2:t<1e10+5?3:4}displayTime(t){let n="centuries",s;const a=Object.keys(ld),o=a.findIndex(i=>t-1&&(n=a[o-1],o!==0?s=Math.round(t/ld[n]):n="ltSecond"),this.translate(n,s)}}var wpt=()=>null,Mpt=()=>({warning:Ve.translations.warnings.dates,suggestions:[Ve.translations.suggestions.dates]});const Wpt=(e,t)=>{let n=null;return t&&!e.l33t&&!e.reversed?e.rank<=10?n=Ve.translations.warnings.topTen:e.rank<=100?n=Ve.translations.warnings.topHundred:n=Ve.translations.warnings.common:e.guessesLog10<=4&&(n=Ve.translations.warnings.similarToCommon),n},Fpt=(e,t)=>{let n=null;return t&&(n=Ve.translations.warnings.wordByItself),n},zpt=(e,t)=>t?Ve.translations.warnings.namesByThemselves:Ve.translations.warnings.commonNames,Bpt=(e,t)=>{let n=null;const s=e.dictionaryName,a=s==="lastnames"||s.toLowerCase().includes("firstnames");return s==="passwords"?n=Wpt(e,t):s.includes("wikipedia")?n=Fpt(e,t):a?n=zpt(e,t):s==="userInputs"&&(n=Ve.translations.warnings.userInputs),n};var Gpt=(e,t)=>{const n=Bpt(e,t),s=[],a=e.token;return a.match(B1)?s.push(Ve.translations.suggestions.capitalization):a.match(G1)&&a.toLowerCase()!==a&&s.push(Ve.translations.suggestions.allUppercase),e.reversed&&e.token.length>=4&&s.push(Ve.translations.suggestions.reverseWords),e.l33t&&s.push(Ve.translations.suggestions.l33t),{warning:n,suggestions:s}},xpt=e=>e.regexName==="recentYear"?{warning:Ve.translations.warnings.recentYears,suggestions:[Ve.translations.suggestions.recentYears,Ve.translations.suggestions.associatedYears]}:{warning:null,suggestions:[]},Vpt=e=>{let t=Ve.translations.warnings.extendedRepeat;return e.baseToken.length===1&&(t=Ve.translations.warnings.simpleRepeat),{warning:t,suggestions:[Ve.translations.suggestions.repeated]}},Hpt=()=>({warning:Ve.translations.warnings.sequences,suggestions:[Ve.translations.suggestions.sequences]}),Kpt=e=>{let t=Ve.translations.warnings.keyPattern;return e.turns===1&&(t=Ve.translations.warnings.straightRow),{warning:t,suggestions:[Ve.translations.suggestions.longerKeyboardPattern]}},Ypt=()=>null;const vS={warning:null,suggestions:[]};class qpt{constructor(){this.matchers={bruteforce:wpt,date:Mpt,dictionary:Gpt,regex:xpt,repeat:Vpt,sequence:Hpt,spatial:Kpt,separator:Ypt},this.defaultFeedback={warning:null,suggestions:[]},this.setDefaultSuggestions()}setDefaultSuggestions(){this.defaultFeedback.suggestions.push(Ve.translations.suggestions.useWords,Ve.translations.suggestions.noNeed)}getFeedback(t,n){if(n.length===0)return this.defaultFeedback;if(t>2)return vS;const s=Ve.translations.suggestions.anotherWord,a=this.getLongestMatch(n);let o=this.getMatchFeedback(a,n.length===1);return o!=null?o.suggestions.unshift(s):o={warning:null,suggestions:[s]},o}getLongestMatch(t){let n=t[0];return t.slice(1).forEach(a=>{a.token.length>n.token.length&&(n=a)}),n}getMatchFeedback(t,n){return this.matchers[t.pattern]?this.matchers[t.pattern](t,n):Ve.matchers[t.pattern]&&"feedback"in Ve.matchers[t.pattern]?Ve.matchers[t.pattern].feedback(t,n):vS}}const X1=()=>new Date().getTime(),jpt=(e,t,n)=>{const s=new qpt,a=new kpt,o=fE.mostGuessableMatchSequence(t,e),i=X1()-n,r=a.estimateAttackTimes(o.guesses);return{calcTime:i,...o,...r,feedback:s.getFeedback(r.score,o.sequence)}},Xpt=(e,t)=>new Upt().match(e),Qpt=(e,t)=>{const n=X1(),s=Xpt(e);if(s instanceof Promise)throw new Error("You are using a Promised matcher, please use `zxcvbnAsync` for it.");return jpt(s,e,n)},Zpt="modulepreload",Jpt=function(e){return"/"+e},CS={},zt=function(t,n,s){let a=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),r=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));a=Promise.allSettled(n.map(u=>{if(u=Jpt(u),u in CS)return;CS[u]=!0;const l=u.endsWith(".css"),d=l?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${d}`))return;const _=document.createElement("link");if(_.rel=l?"stylesheet":Zpt,l||(_.as="script"),_.crossOrigin="",_.href=u,r&&_.setAttribute("nonce",r),document.head.appendChild(_),l)return new Promise((c,T)=>{_.addEventListener("load",c),_.addEventListener("error",()=>T(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(i){const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=i,window.dispatchEvent(r),!r.defaultPrevented)throw i}return a.then(i=>{for(const r of i||[])r.status==="rejected"&&o(r.reason);return t().catch(o)})},emt=async e=>{switch(e){case"fr":return await zt(()=>import("./password.fr-LQIeIoMk.js"),[]);case"de":return await zt(()=>import("./password.de-SDMVbHi1.js"),[]);case"it":return await zt(()=>import("./password.it-CReO5S7F.js"),[]);case"es":return await zt(()=>import("./password.es-es-DLU3Rh6X.js"),[]);case"pl":return await zt(()=>import("./password.pl-T3z7Kg0O.js"),[]);case"cs":return await zt(()=>import("./password.cs-CLn3Tyh5.js"),[]);default:return await zt(()=>import("./password.en-BDtqNyGO.js"),[])}},PS=async e=>{const t=await zt(()=>import("./password.common-bdamX4EN.js"),[]),n=await emt(e),s={graphs:t.adjacencyGraphs,dictionary:{...t.dictionary,...n.dictionary}};Ve.setOptions(s)},tmt=e=>{switch(e){case 2:return"AVERAGE";case 3:return"GOOD";case 4:return"STRONG";default:return"WEAK"}},nmt={class:"password-strength"},smt={for:"password-strength",class:"visually-hidden"},amt=["value"],omt={key:0,class:"password-strength-details"},imt={class:"password-strength-value"},rmt={key:0,class:"info-box"},umt={class:"password-feedback"},lmt=Q({__name:"PasswordStength",props:{password:{}},setup(e){const t=e,{password:n}=pe(t),s=ye(),{appLanguage:a}=Ge(),o=F(()=>s.getters[K.GETTERS.IS_SUCCESS]),i=Oe(0),r=Oe(""),u=Oe([]),l=Oe("0% 100%");Ze(async()=>await PS(a.value));function d(_){const c=Qpt(_);i.value=c.score,r.value=tmt(i.value),u.value=c.feedback.suggestions,l.value=i.value*100/4+"% 100%"}return Ce(()=>a.value,async _=>{await PS(_)}),Ce(()=>n.value,async _=>{o.value?r.value="":d(_)}),(_,c)=>(S(),g("div",nmt,[E("label",smt,A(_.$t("user.PASSWORD_STRENGTH.LABEL")),1),E("input",{id:"password-strength",class:fe(["password-slider",`strength-${i.value}`]),style:Gn({backgroundSize:l.value}),type:"range",value:i.value,min:"0",max:"4",step:"1",tabindex:-1,autocomplete:"off"},null,14,amt),r.value?(S(),g("div",omt,[E("span",imt,A(_.$t("user.PASSWORD_STRENGTH.LABEL"))+": "+A(_.$t(`user.PASSWORD_STRENGTH.${r.value}`)),1),u.value.length>0?(S(),g("div",rmt,[E("ul",umt,[(S(!0),g(ae,null,be(u.value,T=>(S(),g("li",{key:T},A(_.$t(`user.PASSWORD_STRENGTH.SUGGESTIONS.${T}`)),1))),128))])])):L("",!0)])):L("",!0)]))}}),cmt=ne(lmt,[["__scopeId","data-v-426a4a9b"]]),dmt={class:"password-input"},Emt=["id","disabled","placeholder","required","type","autocomplete"],_mt={class:"show-password"},Tmt={key:0,class:"form-info"},pmt=Q({__name:"PasswordInput",props:{checkStrength:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},id:{default:"password"},password:{default:""},placeholder:{},required:{type:Boolean,default:!1},autocomplete:{}},emits:["updatePassword","passwordError"],setup(e,{emit:t}){const n=e,{autocomplete:s,checkStrength:a,disabled:o,id:i,password:r,placeholder:u,required:l}=pe(n),d=t,_=Oe(!1),c=Oe("");function T(){_.value=!_.value}function m(R){d("updatePassword",R.target.value)}function f(){d("passwordError")}return Ce(()=>r.value,R=>{R===""&&(c.value="",_.value=!1)}),(R,h)=>(S(),g("div",dmt,[We(E("input",{id:p(i),disabled:p(o),placeholder:p(u),required:p(l),type:_.value?"text":"password","onUpdate:modelValue":h[0]||(h[0]=O=>c.value=O),minlength:"8",onInput:m,onInvalid:f,autocomplete:p(s)},null,40,Emt),[[pg,c.value]]),E("div",_mt,[E("button",{class:"transparent",onClick:Ne(T,["prevent"]),type:"button"},[B(A(R.$t(`user.${_.value?"HIDE":"SHOW"}_PASSWORD`))+" ",1),E("i",{class:fe(["fa",`fa-eye${_.value?"-slash":""}`]),"aria-hidden":"true"},null,2)])]),p(a)?(S(),g("div",Tmt,[h[1]||(h[1]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(R.$t("user.PASSWORD_INFO")),1)])):L("",!0),p(a)?(S(),G(cmt,{key:1,password:c.value},null,8,["password"])):L("",!0)]))}}),SE=ne(pmt,[["__scopeId","data-v-45564b7b"]]),mmt={id:"user-infos-edition"},fmt={class:"profile-form form-box"},Smt={key:1,class:"info-box success-message"},Amt={class:"form-items",for:"email"},hmt=["disabled"],Omt={class:"form-items",for:"password-field"},Imt={class:"form-items",for:"new-password-field"},Rmt={class:"form-buttons"},Nmt={class:"confirm",type:"submit"},gmt={class:"data-export"},bmt={class:"info-box"},vmt={key:0,class:"data-export-archive"},Cmt={key:1},Pmt={key:2},Dmt=Q({__name:"UserAccountEdition",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),s=ye(),{appConfig:a,errorMessages:o}=Ge(),{authUserLoading:i,authUserSuccess:r}=Ye(),u=Dt({email:"",password:"",new_password:""}),l=Oe(!1),d=Oe(!1),_=Oe(!1),c=Oe(!1),T=F(()=>s.getters[K.GETTERS.EXPORT_REQUEST]),m=F(()=>I());function f(){d.value=!0}function R(w){u.email=w.email}function h(w){u.password=w}function O(w){u.new_password=w}function I(){return T.value?Ut(T.value.created_at,n.value.timezone,n.value.date_format,!0,null,!0):null}function N(){return m.value?WL(new Date(m.value),BL(new Date)):!0}function b(){const w={email:u.email,password:u.password};u.new_password&&(w.new_password=u.new_password),l.value=u.email!==n.value.email,s.dispatch(K.ACTIONS.UPDATE_USER_ACCOUNT,w)}function C(w){_.value=w}function v(w){s.dispatch(K.ACTIONS.DELETE_ACCOUNT,{username:w})}function y(){s.dispatch(K.ACTIONS.REQUEST_DATA_EXPORT)}async function D(w){c.value=!0,await ge.get(`/auth/account/export/${w}`,{responseType:"blob"}).then(P=>{const W=window.URL.createObjectURL(new Blob([P.data],{type:"application/zip"})),Y=document.createElement("a");Y.href=W,Y.setAttribute("download",w),document.body.appendChild(Y),Y.click()}).finally(()=>c.value=!1)}return Ce(()=>r.value,async w=>{w&&(h(""),O(""),R(n.value),d.value=!1)}),Ce(()=>n.value.email,async()=>{R(n.value)}),Et(()=>{t.user&&(s.dispatch(K.ACTIONS.GET_REQUEST_DATA_EXPORT),R(t.user))}),ut(()=>{s.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!1)}),(w,P)=>{const W=j("Modal"),Y=j("ErrorMessage");return S(),g("div",mmt,[_.value?(S(),G(W,{key:0,title:w.$t("common.CONFIRMATION"),message:w.$t("user.CONFIRM_ACCOUNT_DELETION"),onConfirmAction:P[0]||(P[0]=he=>v(p(n).username)),onCancelAction:P[1]||(P[1]=he=>C(!1)),onKeydown:P[2]||(P[2]=Xe(he=>C(!1),["esc"]))},null,8,["title","message"])):L("",!0),E("div",fmt,[p(o)?(S(),G(Y,{key:0,message:p(o)},null,8,["message"])):L("",!0),p(r)?(S(),g("div",Smt,A(w.$t(`user.PROFILE.SUCCESSFUL_${l.value&&p(a).is_email_sending_enabled?"EMAIL_":""}UPDATE`)),1)):L("",!0),E("form",{class:fe({errors:d.value}),onSubmit:Ne(b,["prevent"])},[E("label",Amt,[B(A(w.$t("user.EMAIL"))+"* ",1),We(E("input",{id:"email","onUpdate:modelValue":P[3]||(P[3]=he=>u.email=he),disabled:p(i),required:!0,onInvalid:f,autocomplete:"email"},null,40,hmt),[[st,u.email]])]),E("label",Omt,[B(A(w.$t("user.CURRENT_PASSWORD"))+"* ",1),M(SE,{id:"password-field",disabled:p(i),password:u.password,required:!0,onUpdatePassword:h,onPasswordError:f,autocomplete:"current-password"},null,8,["disabled","password"])]),E("label",Imt,[B(A(w.$t("user.NEW_PASSWORD"))+" ",1),M(SE,{id:"new-password-field",disabled:p(i),checkStrength:!0,password:u.new_password,isSuccess:!1,onUpdatePassword:O,onPasswordError:f,autocomplete:"new-password"},null,8,["disabled","password"])]),E("div",Rmt,[E("button",Nmt,A(w.$t("buttons.SUBMIT")),1),E("button",{class:"cancel",onClick:P[4]||(P[4]=Ne(he=>w.$router.push("/profile"),["prevent"]))},A(w.$t("buttons.CANCEL")),1),E("button",{class:"danger",onClick:P[5]||(P[5]=Ne(he=>C(!0),["prevent"]))},A(w.$t("buttons.DELETE_MY_ACCOUNT")),1),N()?(S(),g("button",{key:0,class:"confirm",onClick:Ne(y,["prevent"])},A(w.$t("buttons.REQUEST_DATA_EXPORT")),1)):L("",!0)])],34),E("div",gmt,[E("span",bmt,[P[7]||(P[7]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(w.$t("user.EXPORT_REQUEST.ONLY_ONE_EXPORT_PER_DAY")),1)]),T.value?(S(),g("div",vmt,[B(A(w.$t("user.EXPORT_REQUEST.DATA_EXPORT"))+" ("+A(m.value)+"): ",1),T.value.status==="successful"?(S(),g("span",{key:0,class:"archive-link",onClick:P[6]||(P[6]=Ne(he=>D(T.value.file_name),["prevent"]))},[P[8]||(P[8]=E("i",{class:"fa fa-download","aria-hidden":"true"},null,-1)),B(" "+A(w.$t("user.EXPORT_REQUEST.DOWNLOAD_ARCHIVE"))+" ("+A(p(Ju)(T.value.file_size))+") ",1)])):(S(),g("span",Cmt,A(w.$t(`user.EXPORT_REQUEST.STATUS.${T.value.status}`)),1)),c.value?(S(),g("span",Pmt,[B(A(w.$t("user.EXPORT_REQUEST.GENERATING_LINK"))+" ",1),P[9]||(P[9]=E("i",{class:"fa fa-spinner fa-pulse","aria-hidden":"true"},null,-1))])):L("",!0)])):L("",!0)])])])}}}),Lmt=ne(Dmt,[["__scopeId","data-v-1d3ffb39"]]),ymt={id:"user-infos-edition"},Umt={class:"profile-form form-box"},$mt={class:"form-items",for:"registrationDate"},kmt=["value"],wmt={class:"form-items",for:"first_name"},Mmt=["disabled"],Wmt={class:"form-items",for:"last_name"},Fmt={class:"form-items",for:"birth_date"},zmt=["disabled"],Bmt={class:"form-items",for:"location"},Gmt=["disabled"],xmt={class:"form-items"},Vmt={class:"form-buttons"},Hmt={class:"confirm",type:"submit"},Kmt=Q({__name:"UserInfosEdition",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),s=ye(),{errorMessages:a}=Ge(),{authUserLoading:o}=Ye(),i=Dt({first_name:"",last_name:"",birth_date:"",location:"",bio:""}),r=F(()=>n.value.created_at?Ut(n.value.created_at,n.value.timezone,n.value.date_format):"");function u(_){i.first_name=_.first_name?_.first_name:"",i.last_name=_.last_name?_.last_name:"",i.birth_date=_.birth_date?mn(new Date(_.birth_date),"yyyy-MM-dd"):"",i.location=_.location?_.location:"",i.bio=_.bio?_.bio:""}function l(_){i.bio=_.value}function d(){s.dispatch(K.ACTIONS.UPDATE_USER_PROFILE,i)}return Et(()=>{n.value&&u(n.value)}),(_,c)=>{const T=j("ErrorMessage"),m=j("CustomTextArea");return S(),g("div",ymt,[E("div",Umt,[p(a)?(S(),G(T,{key:0,message:p(a)},null,8,["message"])):L("",!0),E("form",{onSubmit:Ne(d,["prevent"])},[E("label",$mt,[B(A(_.$t("user.PROFILE.REGISTRATION_DATE"))+" ",1),E("input",{id:"registrationDate",value:r.value,disabled:""},null,8,kmt)]),E("label",wmt,[B(A(_.$t("user.PROFILE.FIRST_NAME"))+" ",1),We(E("input",{id:"first_name","onUpdate:modelValue":c[0]||(c[0]=f=>i.first_name=f),disabled:p(o)},null,8,Mmt),[[st,i.first_name]])]),E("label",Wmt,[B(A(_.$t("user.PROFILE.LAST_NAME"))+" ",1),We(E("input",{id:"last_name","onUpdate:modelValue":c[1]||(c[1]=f=>i.last_name=f)},null,512),[[st,i.last_name]])]),E("label",Fmt,[B(A(_.$t("user.PROFILE.BIRTH_DATE"))+" ",1),We(E("input",{id:"birth_date",type:"date",class:"birth-date","onUpdate:modelValue":c[2]||(c[2]=f=>i.birth_date=f),disabled:p(o)},null,8,zmt),[[st,i.birth_date]])]),E("label",Bmt,[B(A(_.$t("user.PROFILE.LOCATION"))+" ",1),We(E("input",{id:"location","onUpdate:modelValue":c[3]||(c[3]=f=>i.location=f),disabled:p(o)},null,8,Gmt),[[st,i.location]])]),E("label",xmt,[B(A(_.$t("user.PROFILE.BIO"))+" ",1),M(m,{name:"bio",charLimit:200,input:i.bio,disabled:p(o),onUpdateValue:l},null,8,["input","disabled"])]),E("div",Vmt,[E("button",Hmt,A(_.$t("buttons.SUBMIT")),1),E("button",{class:"cancel",onClick:c[4]||(c[4]=Ne(f=>_.$router.push("/profile"),["prevent"]))},A(_.$t("buttons.CANCEL")),1)])],32)])])}}}),Ymt=ne(Kmt,[["__scopeId","data-v-36ae33d7"]]),qmt={id:"user-notifications-edition"},jmt={class:"notifications-form form-box"},Xmt={class:"checkboxes-label"},Qmt={class:"checkboxes"},Zmt=["id","name","checked","disabled","onInput"],Jmt={class:"checkbox-label"},eft=["id","name","checked","disabled","onInput"],tft={class:"checkbox-label"},nft={class:"form-buttons"},sft={class:"confirm",type:"submit"},aft=Q({__name:"UserNotificationsEdition",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),s=ye(),{errorMessages:a}=Ge(),{authUserLoading:o}=Ye(),i=F(()=>k1(n.value.role)),r=Dt({account_creation:!0,comment_like:!0,follow:!0,follow_request:!0,follow_request_approved:!0,mention:!0,workout_comment:!0,workout_like:!0});function u(_){i.value.forEach(c=>{r[c]=c in _?_[c]:!0})}function l(_,c){r[_]=c}function d(){s.dispatch(K.ACTIONS.UPDATE_USER_NOTIFICATIONS_PREFERENCES,r)}return Et(()=>{n.value&&u(n.value.notification_preferences)}),(_,c)=>{const T=j("ErrorMessage");return S(),g("div",qmt,[E("div",jmt,[p(a)?(S(),G(T,{key:0,message:p(a)},null,8,["message"])):L("",!0),E("form",{onSubmit:Ne(d,["prevent"])},[(S(!0),g(ae,null,be(i.value,m=>(S(),g("div",{class:"form-items form-checkboxes",key:m},[E("span",Xmt,A(Fe(_.$t(`user.PROFILE.NOTIFICATIONS.${m}`)))+": ",1),E("div",Qmt,[E("label",null,[E("input",{type:"radio",id:m,name:m,checked:r[m],disabled:p(o),onInput:f=>l(m,!0)},null,40,Zmt),E("span",Jmt,A(_.$t("common.ENABLED")),1)]),E("label",null,[E("input",{type:"radio",id:m,name:m,checked:!r[m],disabled:p(o),onInput:f=>l(m,!1)},null,40,eft),E("span",tft,A(_.$t("common.DISABLED")),1)])])]))),128)),E("div",nft,[E("button",sft,A(_.$t("buttons.SUBMIT")),1),E("button",{class:"cancel",onClick:c[0]||(c[0]=Ne(m=>_.$router.push("/profile/notifications"),["prevent"]))},A(_.$t("buttons.CANCEL")),1)])],32)])])}}}),oft=ne(aft,[["__scopeId","data-v-4701d1fb"]]),ift={id:"user-picture-edition"},rft={class:"user-picture-form"},uft={class:"picture-help"},lft={class:"info-box"},cft={class:"picture-buttons"},dft=["disabled"],Eft=Q({__name:"UserPictureEdition",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),s=ye(),{appConfig:a,errorMessages:o}=Ge(),i=Oe(null),r=F(()=>a.value.max_single_file_size?Ju(a.value.max_single_file_size):"");function u(){s.dispatch(K.ACTIONS.DELETE_PICTURE)}function l(_){_.target.files!==null&&(i.value=_.target.files[0])}function d(){i.value&&s.dispatch(K.ACTIONS.UPDATE_USER_PICTURE,{picture:i.value})}return(_,c)=>{const T=j("ErrorMessage");return S(),g("div",ift,[E("div",rft,[p(o)?(S(),G(T,{key:0,message:p(o)},null,8,["message"])):L("",!0),M(Vt,{user:p(n)},null,8,["user"]),E("form",{onSubmit:Ne(d,["prevent"])},[E("input",{type:"file",name:"picture",accept:".png,.jpg,.gif",onInput:l},null,32),E("div",uft,[E("span",lft,[c[1]||(c[1]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(_.$t("workouts.MAX_SIZE"))+": "+A(r.value),1)])]),E("div",cft,[E("button",{type:"submit",disabled:!i.value},A(_.$t("user.PROFILE.PICTURE_UPDATE")),9,dft),p(n).picture?(S(),g("button",{key:0,class:"danger",onClick:u},A(_.$t("user.PROFILE.PICTURE_REMOVE")),1)):L("",!0),E("button",{class:"cancel",onClick:c[0]||(c[0]=m=>_.$router.push("/profile"))},A(_.$t("user.PROFILE.BACK_TO_PROFILE")),1)])],32)])])}}}),_ft=ne(Eft,[["__scopeId","data-v-62f0dac1"]]),DS=["Africa/Abidjan","Africa/Accra","Africa/Algiers","Africa/Bissau","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/El_Aaiun","Africa/Johannesburg","Africa/Juba","Africa/Khartoum","Africa/Lagos","Africa/Maputo","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Araguaina","America/Argentina/Buenos_Aires","America/Argentina/Catamarca","America/Argentina/Cordoba","America/Argentina/Jujuy","America/Argentina/La_Rioja","America/Argentina/Mendoza","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Asuncion","America/Atikokan","America/Bahia","America/Bahia_Banderas","America/Barbados","America/Belem","America/Belize","America/Blanc-Sablon","America/Boa_Vista","America/Bogota","America/Boise","America/Cambridge_Bay","America/Campo_Grande","America/Cancun","America/Caracas","America/Cayenne","America/Chicago","America/Chihuahua","America/Costa_Rica","America/Creston","America/Cuiaba","America/Curacao","America/Danmarkshavn","America/Dawson","America/Dawson_Creek","America/Denver","America/Detroit","America/Edmonton","America/Eirunepe","America/El_Salvador","America/Fortaleza","America/Fort_Nelson","America/Glace_Bay","America/Godthab","America/Goose_Bay","America/Grand_Turk","America/Guatemala","America/Guayaquil","America/Guyana","America/Halifax","America/Havana","America/Hermosillo","America/Indiana/Indianapolis","America/Indiana/Knox","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Tell_City","America/Indiana/Vevay","America/Indiana/Vincennes","America/Indiana/Winamac","America/Inuvik","America/Iqaluit","America/Jamaica","America/Juneau","America/Kentucky/Louisville","America/Kentucky/Monticello","America/La_Paz","America/Lima","America/Los_Angeles","America/Maceio","America/Managua","America/Manaus","America/Martinique","America/Matamoros","America/Mazatlan","America/Menominee","America/Merida","America/Metlakatla","America/Mexico_City","America/Miquelon","America/Moncton","America/Monterrey","America/Montevideo","America/Nassau","America/New_York","America/Nipigon","America/Nome","America/Noronha","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Ojinaga","America/Panama","America/Pangnirtung","America/Paramaribo","America/Phoenix","America/Port-au-Prince","America/Port_of_Spain","America/Porto_Velho","America/Puerto_Rico","America/Punta_Arenas","America/Rainy_River","America/Rankin_Inlet","America/Recife","America/Regina","America/Resolute","America/Rio_Branco","America/Santarem","America/Santiago","America/Santo_Domingo","America/Sao_Paulo","America/Scoresbysund","America/Sitka","America/St_Johns","America/Swift_Current","America/Tegucigalpa","America/Thule","America/Thunder_Bay","America/Tijuana","America/Toronto","America/Vancouver","America/Whitehorse","America/Winnipeg","America/Yakutat","America/Yellowknife","Antarctica/Casey","Antarctica/Davis","Antarctica/DumontDUrville","Antarctica/Macquarie","Antarctica/Mawson","Antarctica/Palmer","Antarctica/Rothera","Antarctica/Syowa","Antarctica/Troll","Antarctica/Vostok","Asia/Almaty","Asia/Amman","Asia/Anadyr","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Atyrau","Asia/Baghdad","Asia/Baku","Asia/Bangkok","Asia/Barnaul","Asia/Beirut","Asia/Bishkek","Asia/Brunei","Asia/Chita","Asia/Choibalsan","Asia/Colombo","Asia/Damascus","Asia/Dhaka","Asia/Dili","Asia/Dubai","Asia/Dushanbe","Asia/Famagusta","Asia/Gaza","Asia/Hebron","Asia/Ho_Chi_Minh","Asia/Hong_Kong","Asia/Hovd","Asia/Irkutsk","Asia/Jakarta","Asia/Jayapura","Asia/Jerusalem","Asia/Kabul","Asia/Kamchatka","Asia/Karachi","Asia/Kathmandu","Asia/Khandyga","Asia/Kolkata","Asia/Krasnoyarsk","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Macau","Asia/Magadan","Asia/Makassar","Asia/Manila","Asia/Nicosia","Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk","Asia/Oral","Asia/Pontianak","Asia/Pyongyang","Asia/Qatar","Asia/Qostanay","Asia/Qyzylorda","Asia/Riyadh","Asia/Sakhalin","Asia/Samarkand","Asia/Seoul","Asia/Shanghai","Asia/Singapore","Asia/Srednekolymsk","Asia/Taipei","Asia/Tashkent","Asia/Tbilisi","Asia/Tehran","Asia/Thimphu","Asia/Tokyo","Asia/Tomsk","Asia/Ulaanbaatar","Asia/Urumqi","Asia/Ust-Nera","Asia/Vladivostok","Asia/Yakutsk","Asia/Yangon","Asia/Yekaterinburg","Asia/Yerevan","Atlantic/Azores","Atlantic/Bermuda","Atlantic/Canary","Atlantic/Cape_Verde","Atlantic/Faroe","Atlantic/Madeira","Atlantic/Reykjavik","Atlantic/South_Georgia","Atlantic/Stanley","Australia/Adelaide","Australia/Brisbane","Australia/Broken_Hill","Australia/Currie","Australia/Darwin","Australia/Eucla","Australia/Hobart","Australia/Lindeman","Australia/Lord_Howe","Australia/Melbourne","Australia/Perth","Australia/Sydney","Europe/Amsterdam","Europe/Andorra","Europe/Astrakhan","Europe/Athens","Europe/Belgrade","Europe/Berlin","Europe/Brussels","Europe/Bucharest","Europe/Budapest","Europe/Chisinau","Europe/Copenhagen","Europe/Dublin","Europe/Gibraltar","Europe/Helsinki","Europe/Istanbul","Europe/Kaliningrad","Europe/Kiev","Europe/Kirov","Europe/Lisbon","Europe/London","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Minsk","Europe/Monaco","Europe/Moscow","Europe/Oslo","Europe/Paris","Europe/Prague","Europe/Riga","Europe/Rome","Europe/Samara","Europe/Saratov","Europe/Simferopol","Europe/Sofia","Europe/Stockholm","Europe/Tallinn","Europe/Tirane","Europe/Ulyanovsk","Europe/Uzhgorod","Europe/Vienna","Europe/Vilnius","Europe/Volgograd","Europe/Warsaw","Europe/Zaporozhye","Europe/Zurich","Indian/Chagos","Indian/Christmas","Indian/Cocos","Indian/Kerguelen","Indian/Mahe","Indian/Maldives","Indian/Mauritius","Indian/Reunion","Pacific/Apia","Pacific/Auckland","Pacific/Bougainville","Pacific/Chatham","Pacific/Chuuk","Pacific/Easter","Pacific/Efate","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Fiji","Pacific/Funafuti","Pacific/Galapagos","Pacific/Gambier","Pacific/Guadalcanal","Pacific/Guam","Pacific/Honolulu","Pacific/Kiritimati","Pacific/Kosrae","Pacific/Kwajalein","Pacific/Majuro","Pacific/Marquesas","Pacific/Nauru","Pacific/Niue","Pacific/Norfolk","Pacific/Noumea","Pacific/Pago_Pago","Pacific/Palau","Pacific/Pitcairn","Pacific/Pohnpei","Pacific/Port_Moresby","Pacific/Rarotonga","Pacific/Tahiti","Pacific/Tarawa","Pacific/Tongatapu","Pacific/Wake","Pacific/Wallis"],Tft={id:"tz-dropdown"},pft=["value","disabled","aria-expanded"],mft=["aria-label"],fft=["id","onClick","onMouseover","autofocus"],Sft=Q({__name:"TimezoneDropdown",props:{input:{},disabled:{type:Boolean,default:!1}},emits:["updateTimezone"],setup(e,{emit:t}){const n=e,{input:s,disabled:a}=pe(n),o=t,i=Oe(s.value),r=Oe(!1),u=Oe(0),l=F(()=>s.value?DS.filter(N=>d(N)):DS);function d(N){return N.toLowerCase().match(i.value.toLowerCase())}function _(N){u.value=N}function c(N){l.value.length>N&&(i.value=l.value[N],o("updateTimezone",i.value),r.value=!1)}function T(N){N.preventDefault(),l.value.length>0&&c(u.value)}function m(N){N.preventDefault(),r.value=!0,i.value=N.target.value.trim()}function f(){c(u.value)}function R(N){const b=document.getElementById(`tz-dropdown-item-${N}`);b&&(b.focus(),b.scrollIntoView({behavior:"smooth",block:"nearest"}))}function h(){r.value=!0,u.value=u.value===null?0:u.value+=1,u.value>=l.value.length&&(u.value=0),R(u.value)}function O(){r.value=!0,u.value=u.value===null?l.value.length-1:u.value-=1,u.value<=-1&&(u.value=l.value.length-1),R(u.value)}function I(){r.value&&(r.value=!1,i.value=s.value)}return Ce(()=>n.input,N=>{i.value=N}),(N,b)=>(S(),g("div",Tft,[E("input",{class:"tz-dropdown-input",id:"timezone",name:"timezone",value:i.value,disabled:p(a),required:"",role:"combobox","aria-autocomplete":"list","aria-controls":"tz-dropdown-list","aria-expanded":r.value,onKeydown:[b[0]||(b[0]=Xe(C=>I(),["esc"])),Xe(T,["enter"]),b[2]||(b[2]=Xe(C=>h(),["down"])),b[3]||(b[3]=Xe(C=>O(),["up"]))],onInput:m,onBlur:b[1]||(b[1]=C=>f())},null,40,pft),r.value?(S(),g("ul",{key:0,class:"tz-dropdown-list",id:"tz-dropdown-list",role:"listbox",tabindex:"-1","aria-label":N.$t("user.PROFILE.TIMEZONE",0)},[(S(!0),g(ae,null,be(l.value,(C,v)=>(S(),g("li",{key:C,id:`tz-dropdown-item-${v}`,class:fe(["tz-dropdown-item",{focus:v===u.value}]),onClick:y=>c(v),onMouseover:y=>_(v),autofocus:v===u.value,role:"option"},A(C),43,fft))),128))],8,mft)):L("",!0)]))}}),Aft=ne(Sft,[["__scopeId","data-v-8adc4a59"]]),hft={id:"user-preferences-edition"},Oft={class:"profile-form form-box"},Ift={class:"preferences-section"},Rft={class:"form-items"},Nft=["disabled"],gft=["value"],bft={class:"form-items"},vft=["disabled"],Cft=["value"],Pft={class:"form-items"},Dft={class:"form-items"},Lft=["disabled"],yft=["value"],Uft={class:"form-items form-checkboxes"},$ft={class:"checkboxes-label"},kft={class:"checkboxes"},wft=["id","name","checked","disabled","onInput"],Mft={class:"checkbox-label"},Wft={class:"preferences-section"},Fft={class:"form-items form-checkboxes"},zft={class:"checkboxes-label"},Bft={class:"checkboxes"},Gft=["id","name","checked","disabled","onInput"],xft={class:"checkbox-label"},Vft={class:"form-items form-checkboxes"},Hft={class:"checkboxes-label"},Kft={class:"checkboxes"},Yft=["id","name","checked","disabled","onInput"],qft={class:"checkbox-label"},jft={class:"preferences-section"},Xft={class:"form-items form-checkboxes"},Qft={class:"checkboxes-label"},Zft={class:"checkboxes"},Jft=["id","name","checked","disabled","onInput"],eSt={class:"checkbox-label"},tSt={class:"form-items form-checkboxes"},nSt={class:"checkboxes-label"},sSt={class:"checkboxes"},aSt=["id","name","checked","disabled","onInput"],oSt={class:"checkbox-label"},iSt={class:"form-items form-checkboxes"},rSt={class:"checkboxes-label"},uSt={class:"checkboxes"},lSt=["id","name","checked","disabled","onInput"],cSt={class:"checkbox-label"},dSt={class:"form-items form-checkboxes"},ESt={class:"checkboxes-label"},_St={class:"checkboxes"},TSt=["id","name","checked","disabled","onInput"],pSt={class:"checkbox-label"},mSt={class:"info-box raw-speed-help"},fSt={class:"form-items"},SSt=["disabled"],ASt=["value"],hSt={class:"form-items"},OSt=["disabled"],ISt=["value"],RSt={class:"form-items"},NSt=["disabled"],gSt=["value"],bSt={class:"form-buttons"},vSt={class:"confirm",type:"submit"},CSt=Q({__name:"UserPreferencesEdition",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),s=ye(),{errorMessages:a}=Ge(),{authUserLoading:o}=Ye(),i=[{label:"SUNDAY",value:!1},{label:"MONDAY",value:!0}],r=[{label:"METRIC",value:!1},{label:"IMPERIAL",value:!0}],u=[{label:"DISPLAYED",value:!0},{label:"HIDDEN",value:!1}],l=[{label:"ZERO",value:!0},{label:"MIN_ALT",value:!1}],d=[{label:"FILTERED_SPEED",value:!1},{label:"RAW_SPEED",value:!0}],_=[{label:"DARK",value:!0},{label:"DEFAULT",value:null},{label:"LIGHT",value:!1}],c=[{label:"MANUALLY",value:!0},{label:"AUTOMATICALLY",value:!1}],T=[{label:"HIDDEN",value:!0},{label:"DISPLAYED",value:!1}],m=Dt({analysis_visibility:"private",date_format:"dd/MM/yyyy",display_ascent:!0,hide_profile_in_users_directory:!0,imperial_units:!1,language:"en",manually_approves_followers:!0,map_visibility:"private",start_elevation_at_zero:!1,timezone:"Europe/Paris",use_dark_mode:!1,use_raw_gpx_speed:!1,weekm:!1,workouts_visibility:"private"}),f=F(()=>dtt(new Date().toUTCString(),n.value.timezone,m.language)),R=F(()=>k_()),h=F(()=>Zu(m.workouts_visibility)),O=F(()=>Zu(m.analysis_visibility));function I(y){m.analysis_visibility=y.analysis_visibility?y.analysis_visibility:"private",m.display_ascent=y.display_ascent,m.start_elevation_at_zero=y.start_elevation_at_zero?y.start_elevation_at_zero:!1,m.use_raw_gpx_speed=y.use_raw_gpx_speed?y.use_raw_gpx_speed:!1,m.imperial_units=y.imperial_units?y.imperial_units:!1,m.language=y.language&&y.language in So?y.language:"en",m.manually_approves_followers="manually_approves_followers"in y?y.manually_approves_followers:!0,m.map_visibility=y.map_visibility?y.map_visibility:"private",m.timezone=y.timezone?y.timezone:"Europe/Paris",m.date_format=y.date_format?y.date_format:"dd/MM/yyyy",m.weekm=y.weekm?y.weekm:!1,m.use_dark_mode=y.use_dark_mode,m.workouts_visibility=y.workouts_visibility?y.workouts_visibility:"private",m.hide_profile_in_users_directory=y.hide_profile_in_users_directory}function N(){s.dispatch(K.ACTIONS.UPDATE_USER_PREFERENCES,m)}function b(y,D){m[y]=D}function C(){m.analysis_visibility=Qu(m.analysis_visibility,m.workouts_visibility),v()}function v(){m.map_visibility=Qu(m.map_visibility,m.analysis_visibility)}return Et(()=>{n.value&&I(n.value)}),(y,D)=>{const w=j("ErrorMessage");return S(),g("div",hft,[E("div",Oft,[p(a)?(S(),G(w,{key:0,message:p(a)},null,8,["message"])):L("",!0),E("form",{onSubmit:Ne(N,["prevent"])},[E("div",Ift,A(y.$t("user.PROFILE.INTERFACE")),1),E("label",Rft,[B(A(y.$t("user.PROFILE.LANGUAGE"))+" ",1),We(E("select",{id:"language","onUpdate:modelValue":D[0]||(D[0]=P=>m.language=P),disabled:p(o)},[(S(!0),g(ae,null,be(p(sE),P=>(S(),g("option",{value:P.value,key:P.value},A(P.label),9,gft))),128))],8,Nft),[[qt,m.language]])]),E("label",bft,[B(A(y.$t("user.PROFILE.THEME_MODE.LABEL"))+" ",1),We(E("select",{id:"use_dark_mode","onUpdate:modelValue":D[1]||(D[1]=P=>m.use_dark_mode=P),disabled:p(o)},[(S(),g(ae,null,be(_,P=>E("option",{value:P.value,key:P.label},A(y.$t(`user.PROFILE.THEME_MODE.VALUES.${P.label}`)),9,Cft)),64))],8,vft),[[qt,m.use_dark_mode]])]),E("label",Pft,[B(A(y.$t("user.PROFILE.TIMEZONE"))+" ",1),M(Aft,{input:m.timezone,disabled:p(o),onUpdateTimezone:D[2]||(D[2]=P=>b("timezone",P))},null,8,["input","disabled"])]),E("label",Dft,[B(A(y.$t("user.PROFILE.DATE_FORMAT"))+" ",1),We(E("select",{id:"date_format","onUpdate:modelValue":D[3]||(D[3]=P=>m.date_format=P),disabled:p(o)},[(S(!0),g(ae,null,be(f.value,P=>(S(),g("option",{value:P.value,key:P.value},A(P.label),9,yft))),128))],8,Lft),[[qt,m.date_format]])]),E("div",Uft,[E("span",$ft,A(y.$t("user.PROFILE.FIRST_DAY_OF_WEEK")),1),E("div",kft,[(S(),g(ae,null,be(i,P=>E("label",{key:P.label},[E("input",{type:"radio",id:P.label,name:P.label,checked:P.value===m.weekm,disabled:p(o),onInput:W=>b("weekm",P.value)},null,40,wft),E("span",Mft,A(y.$t(`user.PROFILE.${P.label}`)),1)])),64))])]),E("div",Wft,A(y.$t("user.PROFILE.TABS.ACCOUNT")),1),E("div",Fft,[E("span",zft,A(y.$t("user.PROFILE.FOLLOW_REQUESTS_APPROVAL.LABEL")),1),E("div",Bft,[(S(),g(ae,null,be(c,P=>E("label",{key:P.label},[E("input",{type:"radio",id:P.label,name:P.label,checked:P.value===m.manually_approves_followers,disabled:p(o),onInput:W=>b("manually_approves_followers",P.value)},null,40,Gft),E("span",xft,A(y.$t(`user.PROFILE.FOLLOW_REQUESTS_APPROVAL.${P.label}`)),1)])),64))])]),E("div",Vft,[E("span",Hft,A(y.$t("user.PROFILE.PROFILE_IN_USERS_DIRECTORY.LABEL")),1),E("div",Kft,[(S(),g(ae,null,be(T,P=>E("label",{key:P.label},[E("input",{type:"radio",id:`hide_profile_${P.label}`,name:`hide_profile_${P.label}`,checked:P.value===m.hide_profile_in_users_directory,disabled:p(o),onInput:W=>b("hide_profile_in_users_directory",P.value)},null,40,Yft),E("span",qft,A(y.$t(`user.PROFILE.PROFILE_IN_USERS_DIRECTORY.${P.label}`)),1)])),64))])]),E("div",jft,A(y.$t("workouts.WORKOUT",0)),1),E("div",Xft,[E("span",Qft,A(y.$t("user.PROFILE.UNITS.LABEL")),1),E("div",Zft,[(S(),g(ae,null,be(r,P=>E("label",{key:P.label},[E("input",{type:"radio",id:P.label,name:P.label,checked:P.value===m.imperial_units,disabled:p(o),onInput:W=>b("imperial_units",P.value)},null,40,Jft),E("span",eSt,A(y.$t(`user.PROFILE.UNITS.${P.label}`)),1)])),64))])]),E("div",tSt,[E("span",nSt,A(y.$t("user.PROFILE.ASCENT_DATA")),1),E("div",sSt,[(S(),g(ae,null,be(u,P=>E("label",{key:P.label},[E("input",{type:"radio",id:P.label,name:P.label,checked:P.value===m.display_ascent,disabled:p(o),onInput:W=>b("display_ascent",P.value)},null,40,aSt),E("span",oSt,A(y.$t(`common.${P.label}`)),1)])),64))])]),E("div",iSt,[E("span",rSt,A(y.$t("user.PROFILE.ELEVATION_CHART_START.LABEL")),1),E("div",uSt,[(S(),g(ae,null,be(l,P=>E("label",{key:P.label},[E("input",{type:"radio",id:P.label,name:P.label,checked:P.value===m.start_elevation_at_zero,disabled:p(o),onInput:W=>b("start_elevation_at_zero",P.value)},null,40,lSt),E("span",cSt,A(y.$t(`user.PROFILE.ELEVATION_CHART_START.${P.label}`)),1)])),64))])]),E("div",dSt,[E("span",ESt,A(y.$t("user.PROFILE.USE_RAW_GPX_SPEED.LABEL")),1),E("div",_St,[(S(),g(ae,null,be(d,P=>E("label",{key:P.label},[E("input",{type:"radio",id:P.label,name:P.label,checked:P.value===m.use_raw_gpx_speed,disabled:p(o),onInput:W=>b("use_raw_gpx_speed",P.value)},null,40,TSt),E("span",pSt,A(y.$t(`user.PROFILE.USE_RAW_GPX_SPEED.${P.label}`)),1)])),64))]),E("div",mSt,[E("span",null,[D[8]||(D[8]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(y.$t("user.PROFILE.USE_RAW_GPX_SPEED.HELP")),1)])])]),E("label",fSt,[B(A(y.$t("visibility_levels.WORKOUTS_VISIBILITY"))+" ",1),We(E("select",{id:"workouts_visibility","onUpdate:modelValue":D[4]||(D[4]=P=>m.workouts_visibility=P),disabled:p(o),onChange:C},[(S(!0),g(ae,null,be(R.value,P=>(S(),g("option",{value:P,key:P},A(y.$t(`visibility_levels.LEVELS.${P}`)),9,ASt))),128))],40,SSt),[[qt,m.workouts_visibility]])]),E("label",hSt,[B(A(y.$t("visibility_levels.ANALYSIS_VISIBILITY"))+" ",1),We(E("select",{id:"analysis_visibility","onUpdate:modelValue":D[5]||(D[5]=P=>m.analysis_visibility=P),disabled:p(o),onChange:v},[(S(!0),g(ae,null,be(h.value,P=>(S(),g("option",{value:P,key:P},A(y.$t(`visibility_levels.LEVELS.${P}`)),9,ISt))),128))],40,OSt),[[qt,m.analysis_visibility]])]),E("label",RSt,[B(A(y.$t("visibility_levels.MAP_VISIBILITY"))+" ",1),We(E("select",{id:"map_visibility","onUpdate:modelValue":D[6]||(D[6]=P=>m.map_visibility=P),disabled:p(o)},[(S(!0),g(ae,null,be(O.value,P=>(S(),g("option",{value:P,key:P},A(y.$t(`visibility_levels.LEVELS.${P}`)),9,gSt))),128))],8,NSt),[[qt,m.map_visibility]])]),E("div",bSt,[E("button",vSt,A(y.$t("buttons.SUBMIT")),1),E("button",{class:"cancel",onClick:D[7]||(D[7]=Ne(P=>y.$router.push("/profile/preferences"),["prevent"]))},A(y.$t("buttons.CANCEL")),1)])],32)])])}}}),PSt=ne(CSt,[["__scopeId","data-v-5ce5e58d"]]),DSt={class:"privacy-policy-text"},LSt={class:"last-update"},ySt=["innerHTML"],USt=["innerHTML"],$St=Q({__name:"PrivacyPolicy",setup(e){const{appConfig:t}=Ge(),{dateFormat:n,timezone:s}=Ye(),a=["DATA_COLLECTED","INFORMATION_USAGE","INFORMATION_PROTECTION","INFORMATION_DISCLOSURE","SITE_USAGE_BY_CHILDREN","YOUR_CONSENT","ACCOUNT_DELETION","CHANGES_TO_OUR_PRIVACY_POLICY"],o=F(()=>i());function i(){return Ut(t.value.privacy_policy_date,s.value,n.value,!1)}return(r,u)=>(S(),g("div",DSt,[E("h1",null,A(Fe(r.$t("privacy_policy.TITLE"))),1),E("p",LSt,[B(A(r.$t("privacy_policy.LAST_UPDATE"))+": ",1),E("time",null,A(o.value),1)]),p(t).privacy_policy?(S(),g("div",{key:0,innerHTML:p(Vi)(p(t).privacy_policy)},null,8,ySt)):(S(),g(ae,{key:1},be(a,l=>(S(),g(ae,{key:l},[E("h2",null,A(r.$t(`privacy_policy.CONTENT.${l}.TITLE`)),1),E("p",{innerHTML:p(Vi)(r.$t(`privacy_policy.CONTENT.${l}.CONTENT`))},null,8,USt)],64))),64))]))}}),Q1=ne($St,[["__scopeId","data-v-b4f970e9"]]),kSt={id:"user-privacy-policy"},wSt={key:1},MSt={class:"policy-content"},WSt={for:"accepted_policy",class:"accepted_policy"},FSt={class:"form-buttons"},zSt={class:"confirm",type:"submit"},BSt=Q({__name:"UserPrivacyPolicyValidation",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),s=ye(),{errorMessages:a}=Ge(),o=Oe(!1),i=Oe(!1);function r(){s.dispatch(K.ACTIONS.ACCEPT_PRIVACY_POLICY,o.value)}function u(){i.value=!0}return(l,d)=>{const _=j("ErrorMessage"),c=j("router-link"),T=j("i18n-t");return S(),g("div",kSt,[p(a)?(S(),G(_,{key:0,message:p(a)},null,8,["message"])):L("",!0),p(n).accepted_privacy_policy?(S(),g("div",wSt,[E("p",null,[M(T,{keypath:"user.YOU_HAVE_ACCEPTED_PRIVACY_POLICY"},{default:X(()=>[M(c,{to:"/privacy-policy"},{default:X(()=>[B(A(l.$t("privacy_policy.TITLE")),1)]),_:1})]),_:1})]),E("button",{class:"cancel",onClick:d[0]||(d[0]=m=>l.$router.push("/profile"))},A(l.$t("user.PROFILE.BACK_TO_PROFILE")),1)])):(S(),g("form",{key:2,class:fe({errors:i.value}),onSubmit:d[3]||(d[3]=Ne(m=>r(),["prevent"]))},[E("div",MSt,[M(Q1)]),E("label",WSt,[We(E("input",{type:"checkbox",id:"accepted_policy",required:"","onUpdate:modelValue":d[1]||(d[1]=m=>o.value=m),onInvalid:u},null,544),[[_l,o.value]]),E("span",null,[M(T,{keypath:"user.READ_AND_ACCEPT_PRIVACY_POLICY"},{default:X(()=>[B(A(l.$t("privacy_policy.TITLE")),1)]),_:1})])]),M(c,{to:"/profile/edit/account"},{default:X(()=>[B(A(l.$t("user.I_WANT_TO_DELETE_MY_ACCOUNT")),1)]),_:1}),E("div",FSt,[E("button",zSt,A(l.$t("buttons.SUBMIT")),1),E("button",{class:"cancel",onClick:d[2]||(d[2]=m=>l.$router.push("/profile"))},A(l.$t("user.PROFILE.BACK_TO_PROFILE")),1)])],34))])}}}),GSt=ne(BSt,[["__scopeId","data-v-eb3ea2a3"]]),xSt={key:0},VSt={key:1},HSt={key:2},KSt={class:"no-suspension"},YSt=Q({__name:"UserAccountSuspension",setup(e){const t=ye(),{authUserLoading:n,authUserSuccess:s}=Ye(),a=Oe(""),o=F(()=>t.getters[K.GETTERS.ACCOUNT_SUSPENSION]);function i(){t.dispatch(K.ACTIONS.GET_ACCOUNT_SUSPENSION)}function r(u){a.value=u,t.dispatch(K.ACTIONS.APPEAL,{actionId:o.value.id,actionType:"user_suspension",text:u})}return Et(()=>i()),ut(()=>{t.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),t.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!1)}),(u,l)=>{const d=j("Loader");return p(n)&&!a.value?(S(),g("div",xSt,[M(d)])):o.value.id?(S(),g("div",VSt,[E("div",null,A(u.$t("user.YOUR_ACCOUNT_HAS_BEEN_SUSPENDED"))+".",1),M(Pl,{"report-action":o.value,success:p(s),loading:p(n),onSubmitForm:r},{additionalButtons:X(()=>[E("button",{onClick:l[0]||(l[0]=_=>u.$router.push("/profile"))},A(u.$t("user.PROFILE.BACK_TO_PROFILE")),1)]),_:1},8,["report-action","success","loading"])])):(S(),g("div",HSt,[E("div",KSt,A(u.$t("user.ACTIVE_ACCOUNT")),1),E("button",{onClick:l[1]||(l[1]=_=>u.$router.push("/profile"))},A(u.$t("user.PROFILE.BACK_TO_PROFILE")),1)]))}}}),qSt=ne(YSt,[["__scopeId","data-v-16a3b9da"]]),jSt=["equipments:read","equipments:write","follow:read","follow:write","notifications:read","notifications:write","profile:read","profile:write","reports:read","reports:write","users:read","users:write","workouts:read","workouts:write"],XSt=["application:write"],QSt={id:"new-oauth2-app"},ZSt={id:"new-oauth2-title"},JSt={id:"apps-form"},eAt={class:"form-items"},tAt={class:"form-item"},nAt={for:"app-name"},sAt={class:"form-item"},aAt={for:"app-description"},oAt={class:"form-item"},iAt={for:"app-url"},rAt={class:"form-item"},uAt={for:"app-redirect-uri"},lAt={class:"form-item-scope"},cAt={class:"form-item-scope-label"},dAt={class:"scope-label"},EAt=["name","checked","onChange"],_At=["innerHTML"],TAt={class:"form-buttons"},pAt=["disabled"],mAt=Q({__name:"AddUserApp",setup(e){const t=ye(),{errorMessages:n}=Ge(),{authUserHasAdminRights:s}=Ye(),a=Dt({client_name:"",client_uri:"",client_description:"",description:"",redirect_uri:""}),o=Dt([]),i=F(()=>d(s.value,XSt,jSt));function r(){const _={client_name:a.client_name,client_description:a.client_description,client_uri:a.client_uri,redirect_uris:[a.redirect_uri],scope:o.sort().join(" ")};t.dispatch(nt.ACTIONS.CREATE_CLIENT,_)}function u(_){a.client_description=_.value}function l(_){const c=o.indexOf(_);c>-1?o.splice(c,1):o.push(_)}function d(_,c,T){const m=[...T];return _&&m.push(...c),m.sort()}return(_,c)=>{const T=j("CustomTextArea"),m=j("ErrorMessage");return S(),g("div",QSt,[E("h1",ZSt,A(_.$t("oauth2.ADD_A_NEW_APP")),1),E("div",JSt,[E("form",{onSubmit:Ne(r,["prevent"])},[E("div",eAt,[E("div",tAt,[E("label",nAt,A(_.$t("oauth2.APP.NAME"))+"*",1),We(E("input",{id:"app-name",type:"text",required:"","onUpdate:modelValue":c[0]||(c[0]=f=>a.client_name=f)},null,512),[[st,a.client_name]])]),E("div",sAt,[E("label",aAt,A(_.$t("oauth2.APP.DESCRIPTION")),1),M(T,{name:"app-description",charLimit:200,input:a.description,onUpdateValue:u},null,8,["input"])]),E("div",oAt,[E("label",iAt,A(_.$t("oauth2.APP.URL"))+"*",1),We(E("input",{id:"app-url",type:"text",required:"","onUpdate:modelValue":c[1]||(c[1]=f=>a.client_uri=f)},null,512),[[st,a.client_uri]])]),E("div",rAt,[E("label",uAt,A(_.$t("oauth2.APP.REDIRECT_URL"))+"* ",1),We(E("input",{id:"app-redirect-uri",type:"text",required:"","onUpdate:modelValue":c[2]||(c[2]=f=>a.redirect_uri=f)},null,512),[[st,a.redirect_uri]])]),E("div",lAt,[E("div",cAt,A(_.$t("oauth2.APP.SCOPE.LABEL"))+"* ",1),(S(!0),g(ae,null,be(i.value,f=>(S(),g("div",{class:"form-item-scope-checkboxes",key:f},[E("label",dAt,[E("input",{type:"checkbox",name:f,checked:o.includes(f),onChange:R=>l(f)},null,40,EAt),E("code",null,A(f),1)]),E("p",{class:"scope-description",innerHTML:_.$t(`oauth2.APP.SCOPE.${f}_DESCRIPTION`)},null,8,_At)]))),128))])]),p(n)?(S(),G(m,{key:0,message:p(n)},null,8,["message"])):L("",!0),E("div",TAt,[E("button",{class:"confirm",type:"submit",disabled:o.length===0},A(_.$t("buttons.SUBMIT")),9,pAt),E("button",{class:"cancel",onClick:c[3]||(c[3]=Ne(()=>_.$router.push("/profile/apps"),["prevent"]))},A(_.$t("buttons.CANCEL")),1)])],32)])])}}}),fAt=ne(mAt,[["__scopeId","data-v-6390afb0"]]),SAt={id:"authorize-oauth2-app"},AAt={key:0},hAt={id:"authorize-oauth2-title"},OAt={class:"oauth2-access description-list"},IAt={class:"client-scope"},RAt=["innerHTML"],NAt={class:"authorize-oauth2-buttons"},gAt={key:1},bAt={class:"no-app"},vAt=Q({__name:"AuthorizeUserApp",setup(e){const t=at(),n=ye(),{errorMessages:s}=Ge(),a=F(()=>n.getters[nt.GETTERS.CLIENT]);function o(){t.query.client_id&&typeof t.query.client_id=="string"&&n.dispatch(nt.ACTIONS.GET_CLIENT_BY_CLIENT_ID,t.query.client_id)}function i(){n.dispatch(nt.ACTIONS.AUTHORIZE_CLIENT,{client_id:`${t.query.client_id}`,redirect_uri:`${t.query.redirect_uri}`,response_type:`${t.query.response_type}`,scope:`${t.query.scope}`,state:`${t.query.state?t.query.state:""}`,code_challenge:`${t.query.code_challenge?t.query.code_challenge:""}`,code_challenge_method:`${t.query.code_challenge_method?t.query.code_challenge_method:""}`})}return Ze(()=>o()),(r,u)=>{const l=j("router-link"),d=j("i18n-t"),_=j("ErrorMessage");return S(),g("div",SAt,[a.value.client_id?(S(),g("div",AAt,[E("h1",hAt,[M(d,{keypath:"oauth2.AUTHORIZE_APP"},{default:X(()=>[M(l,{to:{name:"UserApp",params:{id:a.value.id}}},{default:X(()=>[B(A(a.value.name),1)]),_:1},8,["to"])]),_:1})]),p(s)?(S(),G(_,{key:0,message:p(s)},null,8,["message"])):L("",!0),E("div",OAt,[E("p",null,A(r.$t("oauth2.APP_REQUESTING_ACCESS")),1),E("dl",null,[(S(!0),g(ae,null,be(a.value.scope.split(" "),c=>(S(),g(ae,{key:c},[E("dt",IAt,[E("code",null,A(c),1)]),E("dd",{innerHTML:r.$t(`oauth2.APP.SCOPE.${c}_DESCRIPTION`)},null,8,RAt)],64))),128))]),E("div",NAt,[E("button",{class:"danger",onClick:i},A(r.$t("buttons.AUTHORIZE")),1),E("button",{class:"cancel",onClick:u[0]||(u[0]=c=>r.$router.push("/profile/apps"))},A(r.$t("buttons.CANCEL")),1)])])])):(S(),g("div",gAt,[E("p",bAt,A(r.$t("oauth2.NO_APP")),1),E("button",{onClick:u[1]||(u[1]=c=>r.$router.push("/profile/apps"))},A(r.$t("buttons.BACK")),1)]))])}}}),CAt=ne(vAt,[["__scopeId","data-v-173deb39"]]),PAt={id:"oauth2-apps"},DAt=Q({__name:"index",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),s=ye();return ut(()=>{s.commit(nt.MUTATIONS.SET_CLIENTS,[])}),(a,o)=>{const i=j("router-view");return S(),g("div",PAt,[M(i,{authUser:p(n)},null,8,["authUser"])])}}}),LAt={id:"oauth2-app",class:"description-list"},yAt={key:1},UAt={key:0,class:"info-box success-message"},$At=["title"],kAt={key:0},wAt={key:1,class:"app-secret"},MAt=["title"],WAt={class:"client-scopes"},FAt={class:"app-buttons"},zAt={key:2},BAt={class:"no-app"},GAt=Q({__name:"UserApp",props:{authUser:{},afterCreation:{type:Boolean,default:!1}},setup(e){const t=e,{afterCreation:n,authUser:s}=pe(t),a=at(),o=ye(),i=Oe(!1),r=Oe(""),u=Oe(!1),l=Oe(!1),d=Oe(!1),_=F(()=>o.getters[nt.GETTERS.CLIENT]),c=F(()=>o.getters[nt.GETTERS.REVOCATION_SUCCESSFUL]);function T(){!n.value&&a.params.id&&typeof a.params.id=="string"&&o.dispatch(nt.ACTIONS.GET_CLIENT_BY_ID,+a.params.id)}function m(I){r.value=I?"oauth2.APP_DELETION_CONFIRMATION":"oauth2.TOKENS_REVOCATION_CONFIRMATION",f(!0)}function f(I){i.value=I,I||(r.value="")}function R(I){r.value==="oauth2.APP_DELETION_CONFIRMATION"?o.dispatch(nt.ACTIONS.DELETE_CLIENT,I):o.dispatch(nt.ACTIONS.REVOKE_ALL_TOKENS,I)}function h(){navigator.clipboard.writeText(_.value.client_id),u.value=!0,l.value=!1,setTimeout(()=>{u.value=!1},3e3)}function O(){_.value.client_secret&&(navigator.clipboard.writeText(_.value.client_secret),l.value=!0,u.value=!1,setTimeout(()=>{l.value=!1},3e3))}return Ce(()=>c.value,I=>{I&&f(!1)}),Ze(()=>{T(),navigator.clipboard&&(d.value=!0)}),ut(()=>{o.commit(nt.MUTATIONS.EMPTY_CLIENT),o.commit(nt.MUTATIONS.SET_REVOCATION_SUCCESSFUL,!1)}),(I,N)=>{const b=j("Modal");return S(),g("div",LAt,[i.value?(S(),G(b,{key:0,title:I.$t("common.CONFIRMATION"),message:I.$t(r.value),onConfirmAction:N[0]||(N[0]=C=>R(_.value.id)),onCancelAction:N[1]||(N[1]=C=>f(!1)),onKeydown:N[2]||(N[2]=Xe(C=>f(!1),["esc"]))},null,8,["title","message"])):L("",!0),_.value&&_.value.client_id?(S(),g("div",yAt,[p(n)||c.value?(S(),g("div",UAt,A(I.$t(p(n)?"oauth2.APP_CREATED_SUCCESSFULLY":"oauth2.TOKENS_REVOKED")),1)):L("",!0),E("dl",null,[E("dt",null,A(I.$t("oauth2.APP.CLIENT_ID"))+":",1),E("dd",null,[B(A(_.value.client_id)+" ",1),p(n)&&d.value?(S(),g("i",{key:0,class:fe(`fa fa-${u.value?"check":"copy"}`),"aria-hidden":"true",title:I.$t("oauth2.COPY_TO_CLIPBOARD"),onClick:h},null,10,$At)):L("",!0)]),p(n)&&_.value.client_secret?(S(),g("dt",kAt,A(I.$t("oauth2.APP.CLIENT_SECRET"))+": ",1)):L("",!0),p(n)&&_.value.client_secret?(S(),g("dd",wAt,[B(A(_.value.client_secret)+" ",1),d.value?(S(),g("i",{key:0,class:fe(`fa fa-${l.value?"check":"copy"}`),"aria-hidden":"true",title:I.$t("oauth2.COPY_TO_CLIPBOARD"),onClick:O},null,10,MAt)):L("",!0)])):L("",!0),E("dt",null,A(Fe(I.$t("oauth2.APP.ISSUE_AT")))+":",1),E("dd",null,[E("time",null,A(p(Ut)(_.value.issued_at,p(s).timezone,p(s).date_format)),1)]),E("dt",null,A(I.$t("oauth2.APP.NAME"))+":",1),E("dd",null,A(_.value.name),1),E("dt",null,A(I.$t("oauth2.APP.DESCRIPTION"))+":",1),E("dd",{class:fe({"no-description":!_.value.client_description})},A(_.value.client_description?_.value.client_description:I.$t("common.NO_DESCRIPTION")),3),E("dt",null,A(I.$t("oauth2.APP.URL"))+":",1),E("dd",null,A(_.value.website),1),E("dt",null,A(I.$t("oauth2.APP.REDIRECT_URL"))+":",1),E("dd",null,A(_.value.redirect_uris.length>0?_.value.redirect_uris[0]:""),1),E("dt",null,A(I.$t("oauth2.APP.SCOPE.LABEL"))+":",1),E("dd",WAt,[(S(!0),g(ae,null,be(_.value.scope.split(" "),C=>(S(),g("span",{class:"client-scope",key:C},[E("code",null,A(C),1)]))),128))])]),E("div",FAt,[E("button",{class:"danger",onClick:N[3]||(N[3]=C=>m(!1))},A(I.$t("oauth2.REVOKE_ALL_TOKENS")),1),E("button",{class:"danger",onClick:N[4]||(N[4]=C=>m(!0))},A(I.$t("oauth2.DELETE_APP")),1),E("button",{onClick:N[5]||(N[5]=C=>I.$router.push("/profile/apps"))},A(I.$t("buttons.BACK")),1)])])):(S(),g("div",zAt,[E("p",BAt,A(I.$t("oauth2.NO_APP")),1),E("button",{onClick:N[6]||(N[6]=C=>I.$router.push("/profile/apps"))},A(I.$t("buttons.BACK")),1)]))])}}}),LS=ne(GAt,[["__scopeId","data-v-b4f3ae2a"]]),xAt={id:"oauth2-apps-list"},VAt={class:"apps-list"},HAt={key:0},KAt={class:"app-issued-at"},YAt={key:1,class:"no-apps"},qAt={class:"app-list-buttons"},jAt=Q({__name:"UserAppsList",props:{authUser:{}},setup(e){const t=e,{authUser:n}=pe(t),s=ye(),a=at();let o=u(a.query);const i=F(()=>s.getters[nt.GETTERS.CLIENTS]),r=F(()=>s.getters[nt.GETTERS.CLIENTS_PAGINATION]);function u(d){const _={};return d.page&&(_.page=Do(d.page,cr)),_}function l(d){s.dispatch(nt.ACTIONS.GET_CLIENTS,d)}return Ce(()=>a.query,async d=>{o=u(d),l(o)}),Ze(()=>{l(o)}),(d,_)=>{const c=j("router-link");return S(),g("div",xAt,[E("h1",VAt,A(d.$t("oauth2.APPS_LIST")),1),i.value.length>0?(S(),g("ul",HAt,[(S(!0),g(ae,null,be(i.value,T=>(S(),g("li",{key:T.client_id},[M(c,{to:{name:"UserApp",params:{id:T.id}}},{default:X(()=>[B(A(T.name),1)]),_:2},1032,["to"]),E("span",KAt,[B(A(d.$t("oauth2.APP.ISSUE_AT"))+" ",1),E("time",null,A(p(Ut)(T.issued_at,p(n).timezone,p(n).date_format)),1)])]))),128))])):(S(),g("div",YAt,A(d.$t("oauth2.NO_APPS")),1)),i.value.length>0?(S(),G(Yn,{key:2,pagination:r.value,path:"/profile/apps",query:p(o)},null,8,["pagination","query"])):L("",!0),E("div",qAt,[p(n).suspended_at?L("",!0):(S(),g("button",{key:0,onClick:_[0]||(_[0]=T=>d.$router.push("/profile/apps/new"))},A(d.$t("oauth2.NEW_APP")),1)),E("button",{onClick:_[1]||(_[1]=T=>d.$router.push("/"))},A(d.$t("common.HOME")),1)])])}}}),XAt=ne(jAt,[["__scopeId","data-v-2ba68d9c"]]);function cd(e){return e===0?!1:Array.isArray(e)&&e.length===0?!0:!e}function QAt(e){return(...t)=>!e(...t)}function ZAt(e,t){return e===void 0&&(e="undefined"),e===null&&(e="null"),e===!1&&(e="false"),e.toString().toLowerCase().indexOf(t.trim())!==-1}function JAt(e){return e.filter(t=>!t.$isLabel)}function dd(e,t){return n=>n.reduce((s,a)=>a[e]&&a[e].length?(s.push({$groupLabel:a[t],$isLabel:!0}),s.concat(a[e])):s,[])}const yS=(...e)=>t=>e.reduce((n,s)=>s(n),t);var eht={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(e,t){return cd(e)?"":t?e[t]:e}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1},filteringSortFunc:{type:Function,default:null}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||this.modelValue===0?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const e=this.search||"",t=e.toLowerCase().trim();let n=this.options.concat();return this.internalSearch?n=this.groupValues?this.filterAndFlat(n,t,this.label):this.filterOptions(n,t,this.label,this.customLabel):n=this.groupValues?dd(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(QAt(this.isSelected)):n,this.taggable&&t.length&&!this.isExistingOption(t)&&(this.tagPosition==="bottom"?n.push({isTag:!0,label:e}):n.unshift({isTag:!0,label:e})),n.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(e=>e[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(t=>this.customLabel(t,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:this.internalValue.length===0?null:this.internalValue[0]},filterAndFlat(e,t,n){return yS(this.filterGroups(t,n,this.groupValues,this.groupLabel,this.customLabel),dd(this.groupValues,this.groupLabel))(e)},flatAndStrip(e){return yS(dd(this.groupValues,this.groupLabel),JAt)(e)},updateSearch(e){this.search=e},isExistingOption(e){return this.options?this.optionKeys.indexOf(e)>-1:!1},isSelected(e){const t=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(t)>-1},isOptionDisabled(e){return!!e.$isDisabled},getOptionLabel(e){if(cd(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;const t=this.customLabel(e,this.label);return cd(t)?"":t},select(e,t){if(e.$isLabel&&this.groupSelect){this.selectGroup(e);return}if(!(this.blockKeys.indexOf(t)!==-1||this.disabled||e.$isDisabled||e.$isLabel)&&!(this.max&&this.multiple&&this.internalValue.length===this.max)&&!(t==="Tab"&&!this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(e)){t!=="Tab"&&this.removeElement(e);return}this.multiple?this.$emit("update:modelValue",this.internalValue.concat([e])):this.$emit("update:modelValue",e),this.$emit("select",e,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(e){const t=this.options.find(n=>n[this.groupLabel]===e.$groupLabel);if(t){if(this.wholeGroupSelected(t)){this.$emit("remove",t[this.groupValues],this.id);const n=this.trackBy?t[this.groupValues].map(a=>a[this.trackBy]):t[this.groupValues],s=this.internalValue.filter(a=>n.indexOf(this.trackBy?a[this.trackBy]:a)===-1);this.$emit("update:modelValue",s)}else{const n=t[this.groupValues].filter(s=>!(this.isOptionDisabled(s)||this.isSelected(s)));this.max&&n.splice(this.max-this.internalValue.length),this.$emit("select",n,this.id),this.$emit("update:modelValue",this.internalValue.concat(n))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(e){return e[this.groupValues].every(t=>this.isSelected(t)||this.isOptionDisabled(t))},wholeGroupDisabled(e){return e[this.groupValues].every(this.isOptionDisabled)},removeElement(e,t=!0){if(this.disabled||e.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1){this.deactivate();return}const n=typeof e=="object"?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);if(this.multiple){const s=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("update:modelValue",s)}else this.$emit("update:modelValue",null);this.$emit("remove",e,this.id),this.closeOnSelect&&t&&this.deactivate()},removeLastElement(){this.blockKeys.indexOf("Delete")===-1&&this.search.length===0&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&this.pointer===0&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search!==null&&typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const e=this.$el.getBoundingClientRect().top,t=window.innerHeight-this.$el.getBoundingClientRect().bottom;t>this.maxHeight||t>e||this.openDirection==="below"||this.openDirection==="bottom"?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(t-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))},filterOptions(e,t,n,s){return t?e.filter(a=>ZAt(s(a,n),t)).sort((a,o)=>typeof this.filteringSortFunc=="function"?this.filteringSortFunc(a,o):s(a,n).length-s(o,n).length):e},filterGroups(e,t,n,s,a){return o=>o.map(i=>{if(!i[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const r=this.filterOptions(i[n],e,t,a);return r.length?{[s]:i[s],[n]:r}:[]})}}},tht={data(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(e,t){return{"multiselect__option--highlight":e===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(t)}},groupHighlight(e,t){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":t.$isLabel}];const n=this.options.find(s=>s[this.groupLabel]===t.$groupLabel);return n&&!this.wholeGroupDisabled(n)?["multiselect__option--group",{"multiselect__option--highlight":e===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(n)}]:"multiselect__option--disabled"},addPointerElement({key:e}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerReset()},pointerForward(){this.pointer0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(e){this.pointer=e,this.pointerDirty=!0}}},Z1={name:"vue-multiselect",mixins:[eht,tht],compatConfig:{MODE:3,ATTR_ENUMERATED_COERCION:!1},props:{name:{type:String,default:""},modelValue:{type:null,default(){return[]}},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:e=>`and ${e} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},spellcheck:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0},required:{type:Boolean,default:!1}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||this.singleValue===0)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!this.internalValue.length&&(!this.searchable||!this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return this.openDirection==="above"||this.openDirection==="top"?!0:this.openDirection==="below"||this.openDirection==="bottom"?!1:this.preferredOpenDirection==="above"},showSearchInput(){return this.searchable&&(this.hasSingleSelectedSlot&&(this.visibleSingleValue||this.visibleSingleValue===0)?this.isOpen:!0)},isRequired(){return this.required===!1?!1:this.internalValue.length<=0}}};const nht=["tabindex","aria-expanded","aria-owns","aria-activedescendant"],sht={ref:"tags",class:"multiselect__tags"},aht={class:"multiselect__tags-wrap"},oht=["textContent"],iht=["onKeypress","onMousedown"],rht=["textContent"],uht={class:"multiselect__spinner"},lht=["name","id","spellcheck","placeholder","required","value","disabled","tabindex","aria-label","aria-controls"],cht=["id","aria-multiselectable"],dht={key:0},Eht={class:"multiselect__option"},_ht=["aria-selected","id","role"],Tht=["onClick","onMouseenter","data-select","data-selected","data-deselect"],pht=["data-select","data-deselect","onMouseenter","onMousedown"],mht={class:"multiselect__option"},fht={class:"multiselect__option"};function Sht(e,t,n,s,a,o){return S(),g("div",{tabindex:e.searchable?-1:n.tabindex,class:fe([{"multiselect--active":e.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":o.isAbove,"multiselect--has-options-group":o.hasOptionGroup},"multiselect"]),onFocus:t[14]||(t[14]=i=>e.activate()),onBlur:t[15]||(t[15]=i=>e.searchable?!1:e.deactivate()),onKeydown:[t[16]||(t[16]=Xe(Ne(i=>e.pointerForward(),["self","prevent"]),["down"])),t[17]||(t[17]=Xe(Ne(i=>e.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:t[18]||(t[18]=Xe(Ne(i=>e.addPointerElement(i),["stop","self"]),["enter","tab"])),onKeyup:t[19]||(t[19]=Xe(i=>e.deactivate(),["esc"])),role:"combobox","aria-expanded":e.isOpen,"aria-owns":"listbox-"+e.id,"aria-activedescendant":e.isOpen&&e.pointer!==null?e.id+"-"+e.pointer:null},[yt(e.$slots,"caret",{toggle:e.toggle},()=>[E("div",{onMousedown:t[0]||(t[0]=Ne(i=>e.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),yt(e.$slots,"clear",{search:e.search}),E("div",sht,[yt(e.$slots,"selection",{search:e.search,remove:e.removeElement,values:o.visibleValues,isOpen:e.isOpen},()=>[We(E("div",aht,[(S(!0),g(ae,null,be(o.visibleValues,(i,r)=>yt(e.$slots,"tag",{option:i,search:e.search,remove:e.removeElement},()=>[(S(),g("span",{class:"multiselect__tag",key:r,onMousedown:t[1]||(t[1]=Ne(()=>{},["prevent"]))},[E("span",{textContent:A(e.getOptionLabel(i))},null,8,oht),E("i",{tabindex:"1",onKeypress:Xe(Ne(u=>e.removeElement(i),["prevent"]),["enter"]),onMousedown:Ne(u=>e.removeElement(i),["prevent"]),class:"multiselect__tag-icon"},null,40,iht)],32))])),256))],512),[[Yo,o.visibleValues.length>0]]),e.internalValue&&e.internalValue.length>n.limit?yt(e.$slots,"limit",{key:0},()=>[E("strong",{class:"multiselect__strong",textContent:A(n.limitText(e.internalValue.length-n.limit))},null,8,rht)]):L("v-if",!0)]),M(PT,{name:"multiselect__loading"},{default:X(()=>[yt(e.$slots,"loading",{},()=>[We(E("div",uht,null,512),[[Yo,n.loading]])])]),_:3}),e.searchable?(S(),g("input",{key:0,ref:"search",name:n.name,id:e.id,type:"text",autocomplete:"off",spellcheck:n.spellcheck,placeholder:e.placeholder,required:o.isRequired,style:Gn(o.inputStyle),value:e.search,disabled:n.disabled,tabindex:n.tabindex,"aria-label":n.name+"-searchbox",onInput:t[2]||(t[2]=i=>e.updateSearch(i.target.value)),onFocus:t[3]||(t[3]=Ne(i=>e.activate(),["prevent"])),onBlur:t[4]||(t[4]=Ne(i=>e.deactivate(),["prevent"])),onKeyup:t[5]||(t[5]=Xe(i=>e.deactivate(),["esc"])),onKeydown:[t[6]||(t[6]=Xe(Ne(i=>e.pointerForward(),["prevent"]),["down"])),t[7]||(t[7]=Xe(Ne(i=>e.pointerBackward(),["prevent"]),["up"])),t[9]||(t[9]=Xe(Ne(i=>e.removeLastElement(),["stop"]),["delete"]))],onKeypress:t[8]||(t[8]=Xe(Ne(i=>e.addPointerElement(i),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+e.id},null,44,lht)):L("v-if",!0),o.isSingleLabelVisible?(S(),g("span",{key:1,class:"multiselect__single",onMousedown:t[10]||(t[10]=Ne((...i)=>e.toggle&&e.toggle(...i),["prevent"]))},[yt(e.$slots,"singleLabel",{option:o.singleValue},()=>[B(A(e.currentOptionLabel),1)])],32)):L("v-if",!0),o.isPlaceholderVisible?(S(),g("span",{key:2,class:"multiselect__placeholder",onMousedown:t[11]||(t[11]=Ne((...i)=>e.toggle&&e.toggle(...i),["prevent"]))},[yt(e.$slots,"placeholder",{},()=>[B(A(e.placeholder),1)])],32)):L("v-if",!0)],512),M(PT,{name:"multiselect",persisted:""},{default:X(()=>[We(E("div",{class:"multiselect__content-wrapper",onFocus:t[12]||(t[12]=(...i)=>e.activate&&e.activate(...i)),tabindex:"-1",onMousedown:t[13]||(t[13]=Ne(()=>{},["prevent"])),style:Gn({maxHeight:e.optimizedHeight+"px"}),ref:"list"},[E("ul",{class:"multiselect__content",style:Gn(o.contentStyle),role:"listbox",id:"listbox-"+e.id,"aria-multiselectable":e.multiple},[yt(e.$slots,"beforeList"),e.multiple&&e.max===e.internalValue.length?(S(),g("li",dht,[E("span",Eht,[yt(e.$slots,"maxElements",{},()=>[B("Maximum of "+A(e.max)+" options selected. First remove a selected option to select another.",1)])])])):L("v-if",!0),!e.max||e.internalValue.length(S(),g("li",{class:"multiselect__element",key:r,"aria-selected":e.isSelected(i),id:e.id+"-"+r,role:i&&(i.$isLabel||i.$isDisabled)?null:"option"},[i&&(i.$isLabel||i.$isDisabled)?L("v-if",!0):(S(),g("span",{key:0,class:fe([e.optionHighlight(r,i),"multiselect__option"]),onClick:Ne(u=>e.select(i),["stop"]),onMouseenter:Ne(u=>e.pointerSet(r),["self"]),"data-select":i&&i.isTag?e.tagPlaceholder:o.selectLabelText,"data-selected":o.selectedLabelText,"data-deselect":o.deselectLabelText},[yt(e.$slots,"option",{option:i,search:e.search,index:r},()=>[E("span",null,A(e.getOptionLabel(i)),1)])],42,Tht)),i&&(i.$isLabel||i.$isDisabled)?(S(),g("span",{key:1,"data-select":e.groupSelect&&o.selectGroupLabelText,"data-deselect":e.groupSelect&&o.deselectGroupLabelText,class:fe([e.groupHighlight(r,i),"multiselect__option"]),onMouseenter:Ne(u=>e.groupSelect&&e.pointerSet(r),["self"]),onMousedown:Ne(u=>e.selectGroup(i),["prevent"])},[yt(e.$slots,"option",{option:i,search:e.search,index:r},()=>[E("span",null,A(e.getOptionLabel(i)),1)])],42,pht)):L("v-if",!0)],8,_ht))),128)):L("v-if",!0),We(E("li",null,[E("span",mht,[yt(e.$slots,"noResult",{search:e.search},()=>[t[20]||(t[20]=B("No elements found. Consider changing the search query."))])])],512),[[Yo,n.showNoResults&&e.filteredOptions.length===0&&e.search&&!n.loading]]),We(E("li",null,[E("span",fht,[yt(e.$slots,"noOptions",{},()=>[t[21]||(t[21]=B("List is empty."))])])],512),[[Yo,n.showNoOptions&&(e.options.length===0||o.hasOptionGroup===!0&&e.filteredOptions.length===0)&&!e.search&&!n.loading]]),yt(e.$slots,"afterList")],12,cht)],36),[[Yo,e.isOpen]])]),_:3})],42,nht)}Z1.render=Sht;const Aht=Q({__name:"SportsMultiSelect",props:{sports:{},name:{},equipmentSports:{default:()=>[]},disabled:{type:Boolean,default:!1}},emits:["updatedValues"],setup(e,{emit:t}){const n=e,{equipmentSports:s,name:a,sports:o}=pe(n),i=t,r=Oe([]);function u(l){i("updatedValues",l.map(d=>d.id))}return Ce(()=>s.value,async l=>{r.value=l,u(l)}),Ze(()=>{s.value&&(r.value=s.value)}),(l,d)=>p(o)?(S(),G(p(Z1),{key:0,placeholder:"",id:p(a),name:p(a),disabled:l.disabled,modelValue:r.value,"onUpdate:modelValue":[d[0]||(d[0]=_=>r.value=_),u],multiple:!0,options:p(o),taggable:!0,label:"translatedLabel","track-by":"id",selectLabel:l.$t("workouts.MULTISELECT.selectLabel"),selectedLabel:l.$t("workouts.MULTISELECT.selectedLabel"),deselectLabel:l.$t("workouts.MULTISELECT.deselectLabel")},null,8,["id","name","disabled","modelValue","options","selectLabel","selectedLabel","deselectLabel"])):L("",!0)}}),hht=ne(Aht,[["__scopeId","data-v-010e24b3"]]);function K_(){const e=at(),t=ye(),{t:n}=Lt(),s=F(()=>u(a.value)),a=F(()=>t.getters[Be.GETTERS.EQUIPMENTS]),o=F(()=>t.getters[Be.GETTERS.LOADING]),i=F(()=>t.getters[Be.GETTERS.EQUIPMENT_TYPES]),r=F(()=>b1(i.value,n));function u(l){if(!e.params.id)return null;const d=l.filter(_=>e.params.id?_.id===e.params.id:null);return d.length===0?null:d[0]}return{equipment:s,equipments:a,equipmentTypes:i,translatedEquipmentTypes:r,equipmentsLoading:o}}const Oht={id:"new-equipment"},Iht={key:0,id:"new-equipment-title"},Rht={id:"equipment-form"},Nht={class:"form-items"},ght={class:"form-item"},bht={for:"equipment-label"},vht={class:"equipment-label-help"},Cht={class:"info-box"},Pht={class:"form-item"},Dht={for:"equipment-type-id"},Lht=["value"],yht={key:0,class:"equipment-warning"},Uht={class:"info-box"},$ht={class:"form-item"},kht={for:"equipment-description"},wht={class:"form-item"},Mht={for:"equipment-visibility"},Wht=["value"],Fht={key:1,class:"form-item-checkbox"},zht={for:"equipment-active"},Bht={class:"form-item"},Ght={for:"equipment-sports"},xht={class:"form-buttons"},Vht=["disabled"],Hht=["disabled"],Kht=Q({__name:"EquipmentEdition",props:{translatedEquipmentTypes:{},equipmentsLoading:{type:Boolean}},setup(e){const t=e,{equipmentsLoading:n,translatedEquipmentTypes:s}=pe(t),a=ye(),o=at(),{t:i}=Lt(),{errorMessages:r}=Ge(),{equipment:u}=K_(),l=Dt({id:"",label:"",description:"",equipmentTypeId:0,isActive:!0,visibility:"private",defaultForSportIds:[]}),d=Oe(!1),_=F(()=>rs(a.getters[xt.GETTERS.SPORTS],i)),c=F(()=>s.value.filter(v=>v.id===l.equipmentTypeId)),T=F(()=>c.value.length>0?_.value.filter(v=>v1[c.value[0].label].includes(v.label)):[]),m=Oe([]),f=F(()=>s.value.filter(v=>{var y;return v.is_active||((y=u.value)==null?void 0:y.equipment_type.id)===v.id})),R=F(()=>k_());function h(v){m.value=rs(_.value,i,"all").filter(y=>v.default_for_sport_ids.includes(y.id))}function O(v){l.id=v.id,l.label=v.label,l.description=v.description?v.description:"",l.equipmentTypeId=v.equipment_type.id,l.isActive=v.is_active,l.visibility=v.visibility,h(v)}function I(){a.dispatch(Be.ACTIONS[l.id?"UPDATE_EQUIPMENT":"ADD_EQUIPMENT"],l)}function N(v){l.description=v.value}function b(){d.value=!0}function C(v){l.defaultForSportIds=v}return Ce(()=>u.value,v=>{o.params.id&&(v!=null&&v.id)&&O(v)}),Ce(()=>l.equipmentTypeId,v=>{u.value&&v===u.value.equipment_type.id?h(u.value):m.value=[]}),Et(()=>{var y;const v=document.getElementById("equipment-label");v==null||v.focus(),o.params.id&&o.params.id&&(y=u.value)!=null&&y.id&&O(u.value)}),(v,y)=>{var P,W;const D=j("CustomTextArea"),w=j("ErrorMessage");return S(),g("div",Oht,[l.id?L("",!0):(S(),g("h1",Iht,A(v.$t("equipments.ADD_A_NEW_EQUIPMENT")),1)),E("div",Rht,[E("form",{class:fe({errors:d.value}),onSubmit:Ne(I,["prevent"])},[E("div",Nht,[E("div",ght,[E("label",bht,A(Fe(v.$t("common.LABEL")))+"* ",1),We(E("input",{id:"equipment-label",maxlength:"50",type:"text",required:"",onInvalid:b,"onUpdate:modelValue":y[0]||(y[0]=Y=>l.label=Y)},null,544),[[st,l.label]]),E("div",vht,[E("span",Cht,[y[5]||(y[5]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(v.$t("equipments.50_CHARACTERS_MAX")),1)])])]),E("div",Pht,[E("label",Dht,A(Fe(v.$t("equipments.EQUIPMENT_TYPE")))+"* ",1),We(E("select",{id:"equipment-type-id",required:"",onInvalid:b,"onUpdate:modelValue":y[1]||(y[1]=Y=>l.equipmentTypeId=Y)},[(S(!0),g(ae,null,be(f.value,Y=>(S(),g("option",{value:Y.id,key:Y.id},A(Y.translatedLabel)+" "+A(Y.is_active?"":`(${v.$t("common.INACTIVE")})`),9,Lht))),128))],544),[[qt,l.equipmentTypeId]])]),(P=p(u))!=null&&P.workouts_count&&l.equipmentTypeId!==((W=p(u))==null?void 0:W.equipment_type.id)?(S(),g("div",yht,[E("span",Uht,[y[6]||(y[6]=E("i",{class:"fa fa-exclamation-triangle warning","aria-hidden":"true"},null,-1)),B(" "+A(v.$t("equipments.ALL_WORKOUTS_ASSOCIATIONS_REMOVED")),1)])])):L("",!0),E("div",$ht,[E("label",kht,A(v.$t("common.DESCRIPTION")),1),M(D,{name:"equipment-description",charLimit:200,input:l.description,onUpdateValue:N},null,8,["input"])]),E("div",wht,[E("label",Mht,A(Fe(v.$t("visibility_levels.VISIBILITY"))),1),We(E("select",{id:"workout_visibility","onUpdate:modelValue":y[2]||(y[2]=Y=>l.visibility=Y)},[(S(!0),g(ae,null,be(R.value,Y=>(S(),g("option",{value:Y,key:Y},A(v.$t(`visibility_levels.LEVELS.${Y}`)),9,Wht))),128))],512),[[qt,l.visibility]])]),l.id?(S(),g("div",Fht,[E("label",zht,A(Fe(v.$t("common.ACTIVE"))),1),We(E("input",{id:"equipment-active",name:"equipment-active",type:"checkbox","onUpdate:modelValue":y[3]||(y[3]=Y=>l.isActive=Y)},null,512),[[_l,l.isActive]])])):L("",!0),E("div",Bht,[E("label",Ght,A(Fe(v.$t("equipments.DEFAULT_FOR_SPORTS",0))),1),M(hht,{sports:T.value,name:"equipment-sports",equipmentSports:m.value,disabled:!l.equipmentTypeId,onUpdatedValues:C},null,8,["sports","equipmentSports","disabled"])])]),p(r)?(S(),G(w,{key:0,message:p(r),"no-margin":!0},null,8,["message"])):L("",!0),E("div",xht,[E("button",{class:"confirm",type:"submit",disabled:p(n)},A(v.$t("buttons.SUBMIT")),9,Vht),E("button",{class:"cancel",disabled:p(n),onClick:y[4]||(y[4]=Ne(()=>{var Y;return v.$router.push((Y=p(u))!=null&&Y.id?v.$route.query.fromEdition?"/profile/edit/equipments":`/profile/equipments/${p(u).id}`:"/profile/equipments")},["prevent"]))},A(v.$t("buttons.CANCEL")),9,Hht)])],34)])])}}}),US=ne(Kht,[["__scopeId","data-v-c8d3abaa"]]),Yht={key:0,id:"user-equipments"},$S=Q({__name:"index",props:{user:{},isEdition:{type:Boolean}},setup(e){const t=e,{user:n}=pe(t),s=at(),a=ye(),{equipments:o,translatedEquipmentTypes:i,equipmentsLoading:r}=K_();return Ce(()=>s.name,u=>{u==="UserEquipmentsList"&&a.dispatch(Be.ACTIONS.GET_EQUIPMENTS)}),Ze(()=>{a.dispatch(Be.ACTIONS.GET_EQUIPMENT_TYPES),a.dispatch(Be.ACTIONS.GET_EQUIPMENTS)}),(u,l)=>{const d=j("router-view");return p(i)?(S(),g("div",Yht,[M(d,{authUser:p(n),equipments:p(o),translatedEquipmentTypes:p(i),isEdition:u.isEdition,equipmentsLoading:p(r)},null,8,["authUser","equipments","translatedEquipmentTypes","isEdition","equipmentsLoading"])])):L("",!0)}}}),qht=(e,t=!1)=>{let n="0";t&&(n=String(Math.floor(e/86400)),e%=86400);const s=String(Math.floor(e/3600)).padStart(2,"0");e%=3600;const a=String(Math.floor(e/60)).padStart(2,"0"),o=String(e%60).padStart(2,"0");return t?`${n==="0"?"":`${n}d `}${s==="00"?"":`${s}h `}${a}m ${o}s`:`${s==="00"?"":`${s}:`}${a}:${o}`},Y_=(e,t)=>{const n=e.match(/day/g)?e.split(", ")[1]:e;return{days:e.match(/day/g)?`${e.split(" ")[0]} ${e.match(/days/g)?t("common.DAY",2):t("common.DAY",1)}`:`0 ${t("common.DAY",2)},`,duration:`${n.split(":")[0]}h ${n.split(":")[1]}min`}},AE=(e,t)=>{if(e.match(/day/g)){const n=Y_(e,t);return`${n.days}, ${n.duration}`}return e},jht={key:0,id:"user-equipment",class:"description-list"},Xht={class:"equipment-type"},Qht={key:0,class:"equipment-description"},Zht={key:1,class:"no-description"},Jht={class:"duration-detail"},eOt={class:"sports-list"},tOt={class:"equipment-buttons"},nOt=["disabled"],sOt=["disabled"],aOt=["disabled"],oOt=["disabled"],iOt={key:1},rOt={class:"no-equipment"},uOt=["disabled"],lOt=Q({__name:"UserEquipment",props:{authUser:{},equipmentsLoading:{type:Boolean}},setup(e){const t=e,{authUser:n}=pe(t),s=ye(),{t:a}=Lt(),{errorMessages:o}=Ge(),{equipment:i}=K_(),{sportColors:r,sports:u}=Jt(),l=Oe(!1),d=F(()=>rs(u.value,a,"all",n.value.sports_list).filter(m=>{var f;return i.value?(f=i.value)==null?void 0:f.default_for_sport_ids.includes(m.id):!1}));function _(m){l.value=m}function c(){var m,f;if((m=i.value)!=null&&m.id){const R={id:i.value.id};((f=i.value)==null?void 0:f.workouts_count)>0&&(R.force=!0),s.dispatch(Be.ACTIONS.DELETE_EQUIPMENT,R)}}function T(m){s.dispatch(Be.ACTIONS.REFRESH_EQUIPMENT,m)}return Ze(()=>{s.dispatch(Be.ACTIONS.GET_EQUIPMENTS)}),(m,f)=>{const R=j("Modal"),h=j("EquipmentTypeImage"),O=j("router-link"),I=j("Distance"),N=j("SportImage"),b=j("ErrorMessage");return p(i)?(S(),g("div",jht,[l.value?(S(),G(R,{key:0,title:m.$t("common.CONFIRMATION"),message:"user.PROFILE.EQUIPMENTS.CONFIRM_EQUIPMENT_DELETION",strongMessage:p(i).label,warning:p(i).workouts_count>0?m.$t("user.PROFILE.EQUIPMENTS.EQUIPMENT_ASSOCIATED_WITH_WORKOUTS"):"",onConfirmAction:c,onCancelAction:f[0]||(f[0]=C=>_(!1)),onKeydown:f[1]||(f[1]=Xe(C=>_(!1),["esc"]))},null,8,["title","strongMessage","warning"])):L("",!0),E("dl",null,[E("dt",null,A(Fe(m.$t("common.LABEL"))),1),E("dd",null,A(p(i).label),1),E("dt",null,A(Fe(m.$t("equipments.EQUIPMENT_TYPE"))),1),E("dd",Xht,[M(h,{title:m.$t(`equipment_types.${p(i).equipment_type.label}.LABEL`),"equipment-type-label":p(i).equipment_type.label},null,8,["title","equipment-type-label"]),E("span",null,A(m.$t(`equipment_types.${p(i).equipment_type.label}.LABEL`))+" "+A(p(i).equipment_type.is_active?"":`(${m.$t("common.INACTIVE")})`),1)]),E("dt",null,A(m.$t("common.DESCRIPTION")),1),E("dd",null,[p(i).description?(S(),g("span",Qht,A(p(i).description),1)):(S(),g("span",Zht,A(m.$t("common.NO_DESCRIPTION")),1))]),E("dt",null,A(Fe(m.$t("workouts.WORKOUT",0))),1),E("dd",null,[p(i).workouts_count?(S(),G(O,{key:0,to:`/workouts?equipment_id=${p(i).id}`},{default:X(()=>[B(A(p(i).workouts_count),1)]),_:1},8,["to"])):(S(),g(ae,{key:1},[B(A(p(i).workouts_count),1)],64))]),E("dt",null,A(Fe(m.$t("workouts.TOTAL_DISTANCE",0))),1),E("dd",null,[M(I,{distance:p(i).total_distance,unitFrom:"km",digits:2,displayUnit:!1,useImperialUnits:p(n).imperial_units},null,8,["distance","useImperialUnits"]),E("span",null,A(p(n).imperial_units?"miles":"km"),1)]),E("dt",null,A(Fe(m.$t("workouts.TOTAL_DURATION",0))),1),E("dd",null,[B(A(p(AE)(p(i).total_moving,m.$t))+" ",1),p(i).total_duration!==p(i).total_moving?(S(),g(ae,{key:0},[f[7]||(f[7]=B(" (")),E("span",Jht,A(m.$t("common.TOTAL_DURATION_WITH_PAUSES"))+": ",1),B(" "+A(p(AE)(p(i).total_duration,m.$t))+") ",1)],64)):L("",!0)]),E("dt",null,A(Fe(m.$t("visibility_levels.VISIBILITY"))),1),E("dd",null,A(m.$t(`visibility_levels.LEVELS.${p(i).visibility}`)),1),E("dt",null,A(Fe(m.$t("common.ACTIVE",0))),1),E("dd",null,[E("i",{class:fe(`fa fa-${p(i).is_active?"check-":""}square-o`),"aria-hidden":"true"},null,2)]),p(i).default_for_sport_ids.length>0?(S(),g(ae,{key:0},[E("dt",null,A(Fe(m.$t("equipments.DEFAULT_FOR_SPORTS",0))),1),E("dd",eOt,[(S(!0),g(ae,null,be(d.value,C=>(S(),g("span",{class:fe(["sport-badge",{inactive:!C.is_active_for_user}]),key:C.label},[M(N,{title:C.translatedLabel,"sport-label":C.label,color:C.color?C.color:p(r)[C.label]},null,8,["title","sport-label","color"]),M(O,{to:`/profile/sports/${C.id}?fromEquipmentId=${p(i).id}`},{default:X(()=>[B(A(C.translatedLabel)+" "+A(C.is_active_for_user?"":`(${m.$t("common.INACTIVE")})`),1)]),_:2},1032,["to"])],2))),128))])],64)):L("",!0)]),p(o)?(S(),G(b,{key:1,message:p(o)},null,8,["message"])):L("",!0),E("div",tOt,[p(n).suspended_at?L("",!0):(S(),g(ae,{key:0},[E("button",{onClick:f[2]||(f[2]=C=>m.$router.push(`/profile/edit/equipments/${p(i).id}`)),disabled:m.equipmentsLoading},A(m.$t("buttons.EDIT")),9,nOt),E("button",{disabled:m.equipmentsLoading,onClick:f[3]||(f[3]=C=>T(p(i).id))},A(m.$t("buttons.REFRESH_TOTALS")),9,sOt),E("button",{class:"danger",onClick:f[4]||(f[4]=C=>l.value=!0),disabled:m.equipmentsLoading},A(m.$t("buttons.DELETE")),9,aOt)],64)),E("button",{disabled:m.equipmentsLoading,onClick:f[5]||(f[5]=C=>m.$router.push(m.$route.query.fromWorkoutId?`/workouts/${m.$route.query.fromWorkoutId}`:m.$route.query.fromSportId?`/profile/sports/${m.$route.query.fromSportId}`:"/profile/equipments"))},A(m.$t("buttons.BACK")),9,oOt)])])):(S(),g("div",iOt,[E("p",rOt,A(m.$t("equipments.NO_EQUIPMENT")),1),E("button",{onClick:f[6]||(f[6]=C=>m.$router.push("/profile/equipments")),disabled:m.equipmentsLoading},A(m.$t("buttons.BACK")),9,uOt)]))}}}),cOt=ne(lOt,[["__scopeId","data-v-f9d765d6"]]),dOt={id:"user-equipments-list"},EOt={key:0,class:"mobile-display"},_Ot={key:1,class:"equipments-list"},TOt={key:3},pOt={class:"responsive-table"},mOt={class:"text-left"},fOt={class:"text-left"},SOt={class:"text-left"},AOt={class:"text-left"},hOt={key:0},OOt={class:"equipment-label"},IOt={class:"cell-heading"},ROt={class:"column"},NOt={class:"cell-heading"},gOt={class:"column"},bOt={class:"cell-heading"},vOt={class:"active"},COt={class:"cell-heading"},POt={key:0,class:"action-buttons"},DOt={class:"cell-heading"},LOt=["onClick"],yOt={class:"equipments-list-buttons"},UOt=Q({__name:"UserEquipmentsList",props:{equipments:{},translatedEquipmentTypes:{},authUser:{},isEdition:{type:Boolean}},setup(e){const t=e,{authUser:n,isEdition:s,equipments:a,translatedEquipmentTypes:o}=pe(t),i=F(()=>r(a.value));function r(u){const l={};return u.map(d=>{d.equipment_type.id in l?l[d.equipment_type.id].push(d):l[d.equipment_type.id]=[d]}),l}return(u,l)=>{const d=j("EquipmentTypeImage"),_=j("router-link"),c=j("Distance");return S(),g("div",dOt,[p(a).length>0?(S(),g("div",EOt,[p(s)?L("",!0):(S(),g("button",{key:0,onClick:l[0]||(l[0]=T=>u.$router.push("/profile/edit/equipments"))},A(u.$t("equipments.EDIT_EQUIPMENTS")),1)),p(s)?L("",!0):(S(),g("button",{key:1,onClick:l[1]||(l[1]=T=>u.$router.push("/profile/equipments/new"))},A(u.$t("equipments.NEW_EQUIPMENT")),1)),p(s)?(S(),g("button",{key:2,onClick:l[2]||(l[2]=T=>u.$router.push("/profile/equipments"))},A(u.$t("buttons.BACK")),1)):(S(),g("button",{key:3,onClick:l[3]||(l[3]=T=>u.$router.push("/"))},A(u.$t("common.HOME")),1))])):L("",!0),p(s)?L("",!0):(S(),g("h1",_Ot,A(u.$t("user.PROFILE.EQUIPMENTS.YOUR_EQUIPMENTS")),1)),p(a).length===0?(S(),g("p",{key:2,class:fe(["no-equipments",{edition:p(s)}])},A(u.$t("equipments.NO_EQUIPMENTS")),3)):(S(),g("div",TOt,[(S(!0),g(ae,null,be(p(o),T=>(S(),g(ae,{key:T.label},[i.value[T.id]?(S(),g(ae,{key:0},[E("h2",null,[M(d,{title:T.translatedLabel,"equipment-type-label":T.label},null,8,["title","equipment-type-label"]),B(" "+A(T.translatedLabel)+" "+A(T.is_active?"":`(${u.$t("common.INACTIVE")})`),1)]),E("div",pOt,[E("table",null,[E("thead",null,[E("tr",null,[E("th",mOt,A(u.$t("common.LABEL")),1),E("th",fOt,A(u.$t("workouts.WORKOUT",0)),1),E("th",SOt,A(Fe(u.$t("workouts.TOTAL_DISTANCE"))),1),E("th",AOt,A(u.$t("common.ACTIVE")),1),p(s)&&!p(n).suspended_at?(S(),g("th",hOt,A(u.$t("common.ACTION")),1)):L("",!0),l[8]||(l[8]=E("th",null,null,-1))])]),E("tbody",null,[(S(!0),g(ae,null,be(i.value[T.id].sort(p(G_)),m=>(S(),g("tr",{key:m.label},[E("td",OOt,[E("span",IOt,A(u.$t("common.LABEL")),1),M(_,{to:{name:"Equipment",params:{id:m.id}}},{default:X(()=>[B(A(m.label),1)]),_:2},1032,["to"])]),E("td",ROt,[E("span",NOt,A(u.$t("workouts.WORKOUT",0)),1),m.workouts_count?(S(),G(_,{key:0,to:`/workouts?equipment_id=${m.id}`},{default:X(()=>[B(A(m.workouts_count),1)]),_:2},1032,["to"])):(S(),g(ae,{key:1},[B(A(m.workouts_count),1)],64))]),E("td",gOt,[E("span",bOt,A(u.$t("workouts.TOTAL_DISTANCE",0)),1),M(c,{distance:m.total_distance,unitFrom:"km",digits:2,displayUnit:!1,useImperialUnits:p(n).imperial_units},null,8,["distance","useImperialUnits"]),E("span",null,A(p(n).imperial_units?"miles":"km"),1)]),E("td",vOt,[E("span",COt,A(u.$t("common.ACTIVE")),1),E("i",{class:fe(`fa fa${m.is_active?"-check":""}`),"aria-hidden":"true"},null,2)]),p(s)&&!p(n).suspended_at?(S(),g("td",POt,[E("span",DOt,A(u.$t("user.PROFILE.SPORT.ACTION")),1),E("button",{onClick:f=>u.$router.push(`/profile/edit/equipments/${m.id}${p(s)?"?fromEdition=true":""}`)},A(u.$t("buttons.EDIT")),9,LOt)])):L("",!0)]))),128))])])])],64)):L("",!0)],64))),128))])),E("div",yOt,[!p(s)&&!p(n).suspended_at&&p(a).length>0?(S(),g("button",{key:0,onClick:l[4]||(l[4]=T=>u.$router.push("/profile/edit/equipments"))},A(u.$t("equipments.EDIT_EQUIPMENTS")),1)):L("",!0),!p(s)&&!p(n).suspended_at?(S(),g("button",{key:1,onClick:l[5]||(l[5]=T=>u.$router.push("/profile/equipments/new"))},A(u.$t("equipments.NEW_EQUIPMENT")),1)):L("",!0),p(s)?(S(),g("button",{key:2,onClick:l[6]||(l[6]=T=>u.$router.push("/profile/equipments"))},A(u.$t("buttons.BACK")),1)):(S(),g("button",{key:3,onClick:l[7]||(l[7]=T=>u.$router.push("/"))},A(u.$t("common.HOME")),1))])])}}}),kS=ne(UOt,[["__scopeId","data-v-db60807d"]]),$Ot=Q({__name:"index",props:{user:{}},setup(e){const t=e,{user:n}=pe(t);return(s,a)=>{const o=j("router-view");return S(),g("div",null,[M(o,{authUser:p(n)},null,8,["authUser"])])}}}),kOt={key:0,class:"notification-object"},wOt={class:"box comment-box"},MOt=Q({__name:"CommentForUser",props:{comment:{},displayObjectName:{type:Boolean},action:{}},emits:["commentLinkClicked"],setup(e){const t=e,{comment:n,displayObjectName:s}=pe(t),{authUser:a}=Ye();return(o,i)=>(S(),g(ae,null,[p(s)?(S(),g("div",kOt,A(o.$t("workouts.COMMENTS.COMMENT"))+": ",1)):L("",!0),E("div",wOt,[M(M_,{comment:p(n),authUser:p(a),"display-appeal":!1,"hide-suspension-appeal":p(s),"comments-loading":"null","for-notification":!0,action:o.action,onCommentLinkClicked:i[0]||(i[0]=r=>o.$emit("commentLinkClicked"))},null,8,["comment","authUser","hide-suspension-appeal","action"])])],64))}}),q_=ne(MOt,[["__scopeId","data-v-cc067259"]]),WOt={class:"appeal-action"},FOt=Q({__name:"WorkoutActionAppeal",props:{action:{},workout:{},displaySuspensionMessage:{type:Boolean,default:!1}},setup(e){const t=e,{workout:n}=pe(t),{appealLoading:s,displayAppealForm:a,success:o,submitAppeal:i,cancelAppeal:r}=c_(),u=F(()=>`workout_${n.value.id}`);return(l,d)=>(S(),g("div",WOt,[E("div",{class:fe({suspended:l.displaySuspensionMessage,"info-box":l.displaySuspensionMessage})},[l.displaySuspensionMessage?(S(),g(ae,{key:0},[d[4]||(d[4]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(l.$t("workouts.SUSPENDED_BY_ADMIN")),1)],64)):L("",!0),l.displaySuspensionMessage&&!p(o)&&!p(a)?(S(),g("button",{key:1,class:"transparent appeal-button",onClick:d[0]||(d[0]=_=>a.value=u.value)},A(l.$t("user.APPEAL")),1)):L("",!0)],2),p(a)?(S(),G(Pl,{key:0,"report-action":l.action,success:p(o)===u.value,loading:p(s)===u.value,onSubmitForm:d[2]||(d[2]=_=>p(i)(_,"workout",p(n).id)),onHideMessage:d[3]||(d[3]=_=>a.value=null)},{cancelButton:X(()=>[E("button",{onClick:d[1]||(d[1]=_=>p(r)())},A(l.$t("buttons.CANCEL")),1)]),_:1},8,["report-action","success","loading"])):L("",!0)]))}}),J1=ne(FOt,[["__scopeId","data-v-5404e027"]]),zOt={key:0,class:"notification-object"},BOt=Q({__name:"WorkoutForUser",props:{action:{default:null},displayAppeal:{type:Boolean},displayObjectName:{type:Boolean},workout:{},reportId:{}},emits:["workoutLinkClicked"],setup(e){const t=e,{action:n,displayAppeal:s,displayObjectName:a,reportId:o,workout:i}=pe(t),{getWorkoutSport:r}=Jt(),{dateFormat:u,imperialUnits:l,timezone:d}=Ye(),_=F(()=>r(i.value)),c=F(()=>{var T,m,f;return i.value.suspended===!0&&n.value!==null&&(!n.value.appeal||((T=n.value.appeal)==null?void 0:T.approved)===!1||((m=n.value.appeal)==null?void 0:m.approved)===null&&!((f=n.value.appeal)!=null&&f.updated_at))&&s.value});return(T,m)=>{var O;const f=j("router-link"),R=j("i18n-t"),h=j("AlertMessage");return S(),g(ae,null,[p(a)?(S(),g("div",zOt,A(T.$t("workouts.WORKOUT"))+": ",1)):L("",!0),M(Hi,{workout:p(i),sport:_.value,user:p(i).user,useImperialUnits:p(l),dateFormat:p(u),timezone:p(d),onWorkoutLinkClicked:m[0]||(m[0]=I=>T.$emit("workoutLinkClicked"))},null,8,["workout","sport","user","useImperialUnits","dateFormat","timezone"]),p(n)&&c.value?(S(),G(J1,{key:1,action:p(n),workout:p(i),"display-suspension-message":p(n).action_type==="workout_suspension"},null,8,["action","workout","display-suspension-message"])):(O=p(i).suspension)!=null&&O.report_id?(S(),G(h,{key:2,message:"workouts.SUSPENDED_BY_ADMIN"},ho({_:2},[p(i).suspension.report_id!==p(o)?{name:"additionalMessage",fn:X(()=>[M(R,{keypath:"common.SEE_REPORT",tag:"span"},{default:X(()=>[M(f,{to:`/admin/reports/${p(i).suspension.report_id}`},{default:X(()=>[B(" #"+A(p(i).suspension.report_id),1)]),_:1},8,["to"])]),_:1})]),key:"0"}:void 0]),1024)):L("",!0)],64)}}}),j_=ne(BOt,[["__scopeId","data-v-6aa3f232"]]),GOt={id:"user-sanction"},xOt={key:0},VOt={key:1},HOt={class:"deleted-object-type"},KOt={class:"deleted-object"},YOt={class:"deleted-object-type"},qOt={class:"deleted-object"},jOt={key:2},XOt={class:"no-warning"},QOt={class:"buttons"},ZOt=Q({__name:"UserSanctionDetail",props:{authUser:{}},setup(e){const t=e,{authUser:n}=pe(t),s=ye(),a=at(),{authUserLoading:o,authUserSuccess:i}=Ye(),r=Oe(""),u=F(()=>s.getters[K.GETTERS.USER_SANCTION]),l=F(()=>n.value.suspended_at!==null||u.value.action_type==="user_suspension"||"comment"in u.value&&u.value.comment===null||"workout"in u.value&&u.value.workout===null);function d(){s.dispatch(K.ACTIONS.GET_USER_SANCTION,a.params.action_id)}function _(c){r.value=c,s.dispatch(K.ACTIONS.APPEAL,{actionId:u.value.id,actionType:"user_warning",text:c})}return Et(()=>d()),ut(()=>{s.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!1),s.commit(K.MUTATIONS.SET_USER_SANCTION,{})}),(c,T)=>{const m=j("Loader");return S(),g("div",GOt,[p(o)&&!r.value?(S(),g("div",xOt,[M(m)])):u.value.id?(S(),g("div",VOt,[E("h1",null,A(c.$t(`user.PROFILE.SANCTIONS.${u.value.action_type}`,{date:p(Ut)(u.value.created_at,p(n).timezone,p(n).date_format)})),1),"comment"in u.value?(S(),g(ae,{key:0},[u.value.comment?(S(),G(q_,{key:0,"display-object-name":!0,comment:u.value.comment},null,8,["comment"])):(S(),g(ae,{key:1},[E("div",HOt,A(c.$t("workouts.COMMENTS.COMMENT"))+": ",1),E("div",KOt,A(c.$t("admin.DELETED_COMMENT")),1)],64))],64)):"workout"in u.value?(S(),g(ae,{key:1},[u.value.workout?(S(),G(j_,{key:0,action:u.value,"display-appeal":!1,"display-object-name":!0,workout:u.value.workout},null,8,["action","workout"])):(S(),g(ae,{key:1},[E("div",YOt,A(c.$t("workouts.WORKOUT"))+":",1),E("div",qOt,A(c.$t("admin.DELETED_WORKOUT")),1)],64))],64)):L("",!0),M(Pl,{"report-action":u.value,success:p(i),loading:p(o),"can-appeal":!l.value,onSubmitForm:_},null,8,["report-action","success","loading","can-appeal"])])):(S(),g("div",jOt,[E("div",XOt,A(c.$t("user.NO_WARNING_FOUND")),1)])),E("div",QOt,[E("button",{onClick:T[0]||(T[0]=f=>c.$router.push("/profile/moderation"))},A(c.$t("buttons.BACK")),1),p(n).suspended_at?L("",!0):(S(),g(ae,{key:0},[E("button",{onClick:T[1]||(T[1]=f=>c.$router.push("/"))},A(c.$t("common.HOME")),1),E("button",{onClick:T[2]||(T[2]=f=>c.$router.push("/notifications"))},A(c.$t("notifications.NOTIFICATIONS",0)),1)],64))])])}}}),JOt=ne(ZOt,[["__scopeId","data-v-d9df91cd"]]),e0t={id:"user-moderation"},t0t={key:0,id:"user-sanctions"},n0t={key:0},s0t={class:"last-sanctions"},a0t={key:1},o0t={class:"no-sanctions"},i0t=Q({__name:"UserSanctionsList",props:{authUser:{}},setup(e){const t=e,{authUser:n}=pe(t),s=at(),a=ye(),{displayOptions:o}=Ge(),{errorMessages:i}=Ge();let r=Dt(_(s.query));const u=F(()=>a.getters[ue.GETTERS.USER_SANCTIONS]),l=F(()=>a.getters[ue.GETTERS.USER_SANCTIONS_LOADING]),d=F(()=>a.getters[ue.GETTERS.USER_SANCTIONS_PAGINATION]);function _(m){const f={};return m.page&&(f.page=Do(m.page,cr)),f}function c(m){if(m.updated_at)switch(m.approved){case!0:return"APPROVED";case!1:return"REJECTED";default:return"IN_PROGRESS"}return"IN_PROGRESS"}function T(m){a.dispatch(ue.ACTIONS.GET_USER_SANCTIONS,{username:n.value.username,...m})}return Ce(()=>s.query,async m=>{r=_(m),T(r)}),Ze(()=>T({})),ut(()=>a.commit(ue.MUTATIONS.UPDATE_USER_SANCTIONS,[])),(m,f)=>{const R=j("router-link"),h=j("ErrorMessage");return S(),g("div",e0t,[E("h1",null,A(m.$t("user.PROFILE.SANCTIONS_RECEIVED")),1),p(n).sanctions_count?(S(),g("div",t0t,[l.value?(S(),g("div",n0t,[M(Wl)])):(S(),g(ae,{key:1},[E("ul",s0t,[(S(!0),g(ae,null,be(u.value,O=>(S(),g("li",{key:O.id},[E("div",null,[M(R,{to:`/profile/moderation/sanctions/${O.id}`},{default:X(()=>[B(A(m.$t(`user.PROFILE.SANCTIONS.${O.action_type}`,{date:p(Ut)(O.created_at,p(o).timezone,p(o).dateFormat)})),1)]),_:2},1032,["to"]),O.appeal?(S(),g("span",{key:0,class:fe(["info-box appeal",{approved:c(O.appeal)==="APPROVED",rejected:c(O.appeal)==="REJECTED"}])},[E("i",{class:fe(["fa",{"fa-info-circle":c(O.appeal)!=="REJECTED","fa-times":c(O.appeal)==="REJECTED"}]),"aria-hidden":"true"},null,2),B(" "+A(m.$t(`user.PROFILE.SANCTION_APPEAL.${c(O.appeal)}`)),1)],2)):L("",!0)])]))),128))]),M(Yn,{pagination:d.value,path:"/profile/moderation",query:p(r)},null,8,["pagination","query"])],64))])):(S(),g("div",a0t,[E("p",o0t,A(m.$t("user.PROFILE.NO_SANCTIONS")),1)])),p(i)?(S(),G(h,{key:2,message:p(i),"no-margin":!0},null,8,["message"])):L("",!0),E("div",null,[E("button",{onClick:f[0]||(f[0]=O=>m.$router.push("/"))},A(m.$t("common.HOME")),1)])])}}}),r0t=ne(i0t,[["__scopeId","data-v-0b5f9854"]]),u0t={class:"relationships"},l0t={key:0},c0t={class:"user-relationships"},d0t={key:1,class:"no-relationships"},E0t={class:"profile-buttons"},_0t=Q({__name:"UserRelationships",props:{user:{},relationship:{}},setup(e){const t=e,{relationship:n,user:s}=pe(t),a=ye(),o=at(),{authUser:i}=Ye(),{errorMessages:r}=Ge(),u=Oe(null),l=F(()=>({username:s.value.username,relationship:n.value,page:1})),d=F(()=>a.getters[ue.GETTERS.USER_RELATIONSHIPS]),_=F(()=>a.getters[ue.GETTERS.USERS_PAGINATION]);function c(m){a.dispatch(ue.ACTIONS.GET_RELATIONSHIPS,m)}function T(m){u.value=m}return Ce(()=>o.path,m=>{l.value.page=_.value.page,l.value.relationship=m.includes("following")?"following":"followers",c(l.value)}),Ce(()=>o.query,(m,f)=>{m.page!==f.page&&(l.value.page=m.page?+m.page:1,c(l.value))}),Ce(()=>s.value.following,()=>{c(l.value)}),Ce(()=>s.value.followers,()=>{c(l.value)}),Ze(()=>c(l.value)),ut(()=>{a.dispatch(ue.ACTIONS.EMPTY_RELATIONSHIPS)}),(m,f)=>{const R=j("ErrorMessage");return S(),g("div",u0t,[d.value.length>0?(S(),g("div",l0t,[E("div",c0t,[(S(!0),g(ae,null,be(d.value,h=>(S(),G(Fl,{key:h.username,authUser:p(i),user:h,updatedUser:u.value,onUpdatedUserRelationship:T,from:"relationship"},null,8,["authUser","user","updatedUser"]))),128))]),M(Yn,{path:`/profile/${p(n)}`,pagination:_.value,query:{}},null,8,["path","pagination"])])):(S(),g("p",d0t,A(m.$t(`user.RELATIONSHIPS.NO_${p(n).toUpperCase()}`)),1)),p(r)?(S(),G(R,{key:2,message:p(r),"no-margin":!0},null,8,["message"])):L("",!0),E("div",E0t,[E("button",{onClick:f[0]||(f[0]=h=>m.$route.path.startsWith("/profile")?m.$router.push("/profile"):m.$router.push(`/users/${p(s).username}`))},A(m.$t("user.PROFILE.BACK_TO_PROFILE")),1)])])}}}),wr=ne(_0t,[["__scopeId","data-v-857f94f2"]]),T0t={id:"users-sports"},wS=Q({__name:"index",props:{user:{},isEdition:{type:Boolean}},setup(e){const t=e,{user:n,isEdition:s}=pe(t),a=ye(),{t:o}=Lt(),{sports:i}=Jt(),r=F(()=>rs(i.value,o,"is_active",n.value.sports_list));return ut(()=>{a.commit(nt.MUTATIONS.SET_CLIENTS,[])}),(u,l)=>{const d=j("router-view");return S(),g("div",T0t,[M(d,{authUser:p(n),isEdition:p(s),translatedSports:r.value},null,8,["authUser","isEdition","translatedSports"])])}}}),p0t=Q({__name:"EquipmentBadge",props:{equipment:{},workoutId:{},sportId:{}},setup(e){const t=e,{equipment:n,sportId:s,workoutId:a}=pe(t);return(o,i)=>{var l;const r=j("EquipmentTypeImage"),u=j("router-link");return"id"in p(n)?(S(),G(u,{key:0,class:fe(["equipment-badge",{inactive:!p(n).is_active}]),to:{name:"Equipment",params:{id:p(n).id},query:{fromWorkoutId:p(a),fromSportId:(l=p(s))==null?void 0:l.toString()}}},{default:X(()=>[M(r,{title:o.$t(`equipment_types.${p(n).equipment_type.label}.LABEL`),"equipment-type-label":p(n).equipment_type.label},null,8,["title","equipment-type-label"]),E("span",null,A(p(n).label)+" "+A(p(n).is_active?"":`(${o.$t("common.INACTIVE")})`),1)]),_:1},8,["class","to"])):(S(),g("div",{key:1,class:fe(["equipment-badge",{inactive:!p(n).is_active}])},[M(r,{title:o.$t(`equipment_types.${p(n).equipment_type.label}.LABEL`),"equipment-type-label":p(n).equipment_type.label},null,8,["title","equipment-type-label"]),E("span",null,A(p(n).label)+" "+A(p(n).is_active?"":`(${o.$t("common.INACTIVE")})`),1)],2))}}}),eI=ne(p0t,[["__scopeId","data-v-74589efc"]]),m0t={key:0,id:"user-sport",class:"description-list"},f0t={class:"sport-equipments"},S0t={key:0,class:"no-equipments"},A0t={class:"sport-buttons"},h0t=["disabled"],O0t={key:1},I0t={class:"no-sport"},R0t=Q({__name:"UserSport",props:{authUser:{},translatedSports:{}},setup(e){const t=e,{translatedSports:n}=pe(t),s=at(),{errorMessages:a}=Ge(),{displayModal:o,sportColors:i,resetSport:r,updateDisplayModal:u}=Jt(),{authUserLoading:l}=Ye(),d=F(()=>_(n.value));function _(c){if(!s.params.id)return null;const T=c.filter(m=>s.params.id?m.id===+s.params.id:null);return T.length===0?null:T[0]}return Ce(()=>l.value,c=>{!c&&!a.value&&u(!1)}),(c,T)=>{const m=j("Modal"),f=j("SportImage"),R=j("Distance");return d.value?(S(),g("div",m0t,[p(o)?(S(),G(m,{key:0,title:c.$t("common.CONFIRMATION"),message:c.$t(`user.PROFILE.SPORT.CONFIRM_SPORT_RESET${d.value.default_equipments.length>0?"_WITH_EQUIPMENTS":""}`),onConfirmAction:T[0]||(T[0]=h=>p(r)(d.value.id,!0)),onCancelAction:T[1]||(T[1]=h=>p(u)(!1)),onKeydown:T[2]||(T[2]=Xe(h=>p(u)(!1),["esc"]))},null,8,["title","message"])):L("",!0),E("dl",null,[E("dt",null,A(Fe(c.$t("workouts.SPORT",1))),1),E("dd",null,A(d.value.translatedLabel),1),E("dt",null,A(Fe(c.$t("user.PROFILE.SPORT.COLOR"))),1),E("dd",null,[M(f,{title:d.value.translatedLabel,"sport-label":d.value.label,color:d.value.color?d.value.color:p(i)[d.value.label]},null,8,["title","sport-label","color"])]),E("dt",null,A(Fe(c.$t("workouts.WORKOUT",0))),1),E("dd",null,[E("i",{class:fe(`fa fa-${c.authUser.sports_list.includes(d.value.id)?"check-":""}square-o`),"aria-hidden":"true"},null,2)]),E("dt",null,A(Fe(c.$t("user.PROFILE.SPORT.STOPPED_SPEED_THRESHOLD"))),1),E("dd",null,[M(R,{distance:d.value.stopped_speed_threshold,unitFrom:"km",speed:!0,useImperialUnits:c.authUser.imperial_units},null,8,["distance","useImperialUnits"])]),E("dt",null,A(Fe(c.$t("common.ACTIVE",0))),1),E("dd",null,[E("i",{class:fe(`fa fa-${d.value.is_active_for_user?"check-":""}square-o`),"aria-hidden":"true"},null,2)]),E("dt",null,A(c.$t("user.PROFILE.SPORT.DEFAULT_EQUIPMENTS",1)),1),E("dd",f0t,[(S(!0),g(ae,null,be(d.value.default_equipments,h=>(S(),G(eI,{equipment:h,"sport-id":d.value.id,key:h.label},null,8,["equipment","sport-id"]))),128)),d.value.default_equipments.length===0?(S(),g("div",S0t,A(c.$t("equipments.NO_EQUIPMENTS")),1)):L("",!0)])]),E("div",A0t,[c.authUser.suspended_at?L("",!0):(S(),g(ae,{key:0},[E("button",{onClick:T[3]||(T[3]=h=>c.$router.push(`/profile/edit/sports/${d.value.id}`))},A(c.$t("buttons.EDIT")),1),E("button",{disabled:p(l),class:"danger",onClick:T[4]||(T[4]=Ne(h=>p(u)(!0),["prevent"]))},A(c.$t("buttons.RESET")),9,h0t)],64)),E("button",{onClick:T[5]||(T[5]=h=>c.$router.push(p(s).query.fromEquipmentId?`/profile/equipments/${p(s).query.fromEquipmentId}`:"/profile/sports"))},A(c.$t("buttons.BACK")),1)])])):(S(),g("div",O0t,[E("p",I0t,A(c.$t("user.NO_SPORT_FOUND")),1),E("button",{onClick:T[6]||(T[6]=h=>c.$router.push("/profile/sports"))},A(c.$t("buttons.BACK")),1)]))}}}),N0t=ne(R0t,[["__scopeId","data-v-17025437"]]),g0t={key:0,id:"sport-edition"},b0t={class:"form-items"},v0t={class:"form-item"},C0t={for:"sport-label"},P0t={class:"form-item"},D0t={for:"sport-color"},L0t=["disabled"],y0t={class:"form-item"},U0t={for:"sport-threshold"},$0t=["disabled"],k0t={class:"form-item-checkbox"},w0t={for:"equipment-active"},M0t=["checked","disabled"],W0t={class:"form-item"},F0t={for:"sport-default-equipment"},z0t=["disabled"],B0t={value:""},G0t=["value"],x0t={class:"form-buttons"},V0t=["disabled"],H0t=["disabled"],K0t=Q({__name:"UserSportEdition",props:{authUser:{},translatedSports:{}},setup(e){const t=e,{authUser:n,translatedSports:s}=pe(t),{t:a}=Lt(),o=ye(),i=at(),{errorMessages:r}=Ge(),{defaultColor:u,defaultEquipmentId:l,sportColors:d,sportPayload:_,updateIsActive:c,updateSport:T}=Jt(),{authUserLoading:m}=Ye(),f=Oe(!1),R=F(()=>I(s.value)),h=F(()=>o.getters[Be.GETTERS.EQUIPMENTS]),O=F(()=>h.value&&R.value?C1(h.value,a,"withIncludedIds",R.value,R.value.default_equipments.map(v=>v.id)):[]);function I(v){if(!i.params.id)return null;const y=v.filter(D=>i.params.id?D.id===+i.params.id:null);return y.length===0?null:y[0]}function N(v,y=!1){v!==null&&(_.sport_id=v.id,_.color=v.color?v.color:d?d[v.label]:u,_.is_active=v.is_active_for_user,_.stopped_speed_threshold=+`${n.value.imperial_units?jt(v.stopped_speed_threshold,"km","mi",2):parseFloat(v.stopped_speed_threshold.toFixed(2))}`,_.fromSport=!0,y&&(l.value=v.default_equipments.length>0?v.default_equipments[0].id:""))}function b(){_.default_equipment_ids=l.value?[l.value]:[],T(n.value)}function C(){f.value=!0}return Ce(()=>R.value,v=>{i.params.id&&(v!=null&&v.id)&&N(v,!0)}),Et(()=>{var y;const v=document.getElementById("sport-color");v==null||v.focus(),i.params.id&&i.params.id&&(y=R.value)!=null&&y.id&&N(R.value,!0)}),(v,y)=>{const D=j("ErrorMessage");return R.value?(S(),g("div",g0t,[E("form",{class:fe({errors:f.value}),onSubmit:Ne(b,["prevent"])},[E("div",b0t,[E("div",v0t,[E("label",C0t,A(Fe(v.$t("workouts.SPORT",1))),1),B(" "+A(R.value.translatedLabel),1)]),E("div",P0t,[E("label",D0t,A(Fe(v.$t("user.PROFILE.SPORT.COLOR"))),1),We(E("input",{id:"sport-color",name:"sport-color",class:"sport-color",type:"color",required:"","onUpdate:modelValue":y[0]||(y[0]=w=>p(_).color=w),disabled:p(m),onInvalid:C},null,40,L0t),[[st,p(_).color]])]),E("div",y0t,[E("label",U0t,A(Fe(v.$t("user.PROFILE.SPORT.STOPPED_SPEED_THRESHOLD")))+" ("+A(`${p(n).imperial_units?"mi":"km"}/h`)+")* ",1),We(E("input",{id:"sport-threshold",name:"sport-threshold",class:"threshold-input",type:"number",min:"0",step:"0.1",required:"","onUpdate:modelValue":y[1]||(y[1]=w=>p(_).stopped_speed_threshold=w),disabled:p(m),onInvalid:C},null,40,$0t),[[st,p(_).stopped_speed_threshold]])]),E("div",k0t,[E("label",w0t,A(Fe(v.$t("common.ACTIVE"))),1),E("input",{id:"equipment-active",name:"equipment-active",type:"checkbox",checked:R.value.is_active_for_user,onChange:y[2]||(y[2]=(...w)=>p(c)&&p(c)(...w)),disabled:p(m)},null,40,M0t)]),E("div",W0t,[E("label",F0t,A(v.$t("user.PROFILE.SPORT.DEFAULT_EQUIPMENTS",1)),1),We(E("select",{id:"sport-default-equipment",onInvalid:C,disabled:p(m),"onUpdate:modelValue":y[3]||(y[3]=w=>Ht(l)?l.value=w:null)},[E("option",B0t,A(v.$t("equipments.NO_EQUIPMENTS")),1),(S(!0),g(ae,null,be(O.value,w=>(S(),g("option",{value:w.id,key:w.id},A(w.label),9,G0t))),128))],40,z0t),[[qt,p(l)]])])]),p(r)?(S(),G(D,{key:0,message:p(r),"no-margin":!0},null,8,["message"])):L("",!0),E("div",x0t,[E("button",{class:"confirm",type:"submit",disabled:p(m)},A(v.$t("buttons.SUBMIT")),9,V0t),E("button",{class:"cancel",onClick:y[4]||(y[4]=Ne(()=>{var w;return v.$router.push(`/profile/sports/${(w=R.value)==null?void 0:w.id}`)},["prevent"])),disabled:p(m)},A(v.$t("buttons.CANCEL")),9,H0t)])],34)])):L("",!0)}}}),Y0t=ne(K0t,[["__scopeId","data-v-36efa47b"]]),q0t={id:"user-sport-preferences"},j0t={key:1,class:"responsive-table"},X0t={class:"mobile-display"},Q0t={key:0,class:"profile-buttons mobile-display"},Z0t={key:1,class:"profile-buttons"},J0t={class:"text-left"},e1t={class:"threshold"},t1t={key:0},n1t={class:"cell-heading"},s1t={class:"cell-heading"},a1t={key:2,class:"disabled-message"},o1t={key:3,class:"fa fa-refresh fa-spin fa-fw"},i1t={class:"cell-heading"},r1t={class:"cell-heading"},u1t={class:"cell-heading"},l1t=["checked"],c1t={class:"cell-heading"},d1t={key:1},E1t={key:0,class:"action-buttons"},_1t={class:"cell-heading"},T1t=["onClick"],p1t={key:1,class:"edition-buttons"},m1t=["disabled"],f1t=["disabled"],S1t=["disabled"],A1t={key:0,class:"profile-buttons"},h1t={key:1,class:"profile-buttons"},O1t=Q({__name:"UserSportPreferences",props:{authUser:{},translatedSports:{},isEdition:{type:Boolean}},setup(e){const t=e,{authUser:n,isEdition:s,translatedSports:a}=pe(t),o=ye(),{errorMessages:i}=Ge(),{defaultColor:r,displayModal:u,sportColors:l,sportPayload:d,resetSport:_,updateDisplayModal:c,updateIsActive:T,updateSport:m}=Jt(),{authUserLoading:f}=Ye(),R=Oe(!1);function h(N){N!==null?(d.sport_id=N.id,d.color=N.color?N.color:l?l[N.label]:r,d.is_active=N.is_active_for_user,d.stopped_speed_threshold=+`${n.value.imperial_units?jt(N.stopped_speed_threshold,"km","mi",2):parseFloat(N.stopped_speed_threshold.toFixed(2))}`,R.value=N.default_equipments.length>0):I()}function O(N){return d.sport_id===N}function I(){d.sport_id=0,d.color=null,d.is_active=!0,d.stopped_speed_threshold=1,R.value=!1,o.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES)}return Ce(()=>f.value,N=>{!N&&!i.value&&(I(),c(!1))}),(N,b)=>{const C=j("Modal"),v=j("SportImage"),y=j("router-link"),D=j("ErrorMessage"),w=j("Distance");return S(),g("div",q0t,[p(u)?(S(),G(C,{key:0,title:N.$t("common.CONFIRMATION"),message:N.$t(`user.PROFILE.SPORT.CONFIRM_SPORT_RESET${R.value?"_WITH_EQUIPMENTS":""}`),onConfirmAction:b[0]||(b[0]=P=>p(_)(p(d).sport_id)),onCancelAction:b[1]||(b[1]=P=>p(c)(!1)),onKeydown:b[2]||(b[2]=Xe(P=>p(c)(!1),["esc"]))},null,8,["title","message"])):L("",!0),p(a).length>0?(S(),g("div",j0t,[E("div",X0t,[p(s)?(S(),g("div",Q0t,[E("button",{class:"cancel",onClick:b[3]||(b[3]=Ne(P=>N.$router.push("/profile/sports"),["prevent"]))},A(N.$t("buttons.BACK")),1)])):(S(),g("div",Z0t,[E("button",{onClick:b[4]||(b[4]=P=>N.$router.push("/profile/edit/sports"))},A(N.$t("user.PROFILE.EDIT_SPORTS_PREFERENCES")),1),E("button",{onClick:b[5]||(b[5]=P=>N.$router.push("/"))},A(N.$t("common.HOME")),1)]))]),E("table",null,[E("thead",null,[E("tr",null,[E("th",null,A(N.$t("user.PROFILE.SPORT.COLOR")),1),E("th",J0t,A(N.$t("workouts.SPORT",0)),1),E("th",null,A(N.$t("workouts.WORKOUT",0)),1),E("th",null,A(N.$t("equipments.EQUIPMENT",0)),1),E("th",null,A(N.$t("user.PROFILE.SPORT.IS_ACTIVE")),1),E("th",null,[E("div",e1t,[E("span",null,A(N.$t("user.PROFILE.SPORT.STOPPED_SPEED_THRESHOLD")),1),E("span",null," ("+A(`${p(n).imperial_units?"mi":"km"}/h`)+") ",1)])]),p(s)&&!p(n).suspended_at?(S(),g("th",t1t,A(N.$t("user.PROFILE.SPORT.ACTION")),1)):L("",!0)])]),E("tbody",null,[(S(!0),g(ae,null,be(p(a),P=>(S(),g("tr",{key:P.id},[E("td",null,[E("span",n1t,A(N.$t("user.PROFILE.SPORT.COLOR")),1),O(P.id)?We((S(),g("input",{key:0,class:"sport-color",type:"color","onUpdate:modelValue":b[6]||(b[6]=W=>p(d).color=W)},null,512)),[[st,p(d).color]]):(S(),G(v,{key:1,title:P.translatedLabel,"sport-label":P.label,color:P.color?P.color:p(l)[P.label]},null,8,["title","sport-label","color"]))]),E("td",{class:fe(["sport-label",{"disabled-sport":!P.is_active}])},[E("span",s1t,A(N.$t("user.PROFILE.SPORT.LABEL")),1),O(P.id)?(S(),g(ae,{key:0},[B(A(P.translatedLabel),1)],64)):(S(),G(y,{key:1,to:`/profile/sports/${P.id}`},{default:X(()=>[B(A(P.translatedLabel),1)]),_:2},1032,["to"])),P.is_active?L("",!0):(S(),g("span",a1t," ("+A(N.$t("user.PROFILE.SPORT.DISABLED_BY_ADMIN"))+") ",1)),p(f)&&O(P.id)?(S(),g("i",o1t)):L("",!0),p(i)&&p(d).sport_id===P.id?(S(),G(D,{key:4,message:p(i)},null,8,["message"])):L("",!0)],2),E("td",{class:fe(["text-center",{"disabled-sport":!P.is_active}])},[E("span",i1t,A(N.$t("workouts.WORKOUT",0)),1),E("i",{class:fe(`fa fa${p(n).sports_list.includes(P.id)?"-check":""}`),"aria-hidden":"true"},null,2)],2),E("td",{class:fe(["text-center",{"disabled-sport":!P.is_active}])},[E("span",r1t,A(N.$t("equipments.EQUIPMENT",0)),1),E("i",{class:fe(`fa fa${P.default_equipments.length>0?"-check":""}`),"aria-hidden":"true"},null,2)],2),E("td",{class:fe(["text-center",{"disabled-sport":!P.is_active}])},[E("span",u1t,A(N.$t("user.PROFILE.SPORT.IS_ACTIVE")),1),O(P.id)&&P.is_active?(S(),g("input",{key:0,type:"checkbox",checked:P.is_active_for_user,onChange:b[7]||(b[7]=(...W)=>p(T)&&p(T)(...W))},null,40,l1t)):(S(),g("i",{key:1,class:fe(`fa fa${P.is_active_for_user?"-check":""}`),"aria-hidden":"true"},null,2))],2),E("td",{class:fe(["text-center",{"disabled-sport":!P.is_active}])},[E("span",c1t,A(N.$t("user.PROFILE.SPORT.STOPPED_SPEED_THRESHOLD"))+" "+A(`${p(n).imperial_units?"mi":"km"}/h`),1),O(P.id)&&P.is_active?We((S(),g("input",{key:0,class:"threshold-input",type:"number",min:"0",step:"0.1","onUpdate:modelValue":b[8]||(b[8]=W=>p(d).stopped_speed_threshold=W)},null,512)),[[st,p(d).stopped_speed_threshold]]):(S(),g("span",d1t,[M(w,{distance:P.stopped_speed_threshold,unitFrom:"km",speed:!0,useImperialUnits:p(n).imperial_units,displayUnit:!1},null,8,["distance","useImperialUnits"])]))],2),p(s)&&!p(n).suspended_at?(S(),g("td",E1t,[E("span",_1t,A(N.$t("user.PROFILE.SPORT.ACTION")),1),p(d).sport_id===0?(S(),g("button",{key:0,onClick:W=>h(P)},A(N.$t("buttons.EDIT")),9,T1t)):L("",!0),O(P.id)?(S(),g("div",p1t,[E("button",{disabled:p(f),onClick:b[9]||(b[9]=Ne(W=>p(m)(p(n)),["prevent"]))},A(N.$t("buttons.SUBMIT")),9,m1t),E("button",{disabled:p(f),class:"warning",onClick:b[10]||(b[10]=Ne(W=>p(c)(!0),["prevent"]))},A(N.$t("buttons.RESET")),9,f1t),E("button",{disabled:p(f),onClick:b[11]||(b[11]=W=>h(null))},A(N.$t("buttons.CANCEL")),9,S1t)])):L("",!0)])):L("",!0)]))),128))])]),p(s)?(S(),g("div",A1t,[E("button",{class:"cancel",onClick:b[12]||(b[12]=Ne(P=>N.$router.push("/profile/sports"),["prevent"]))},A(N.$t("buttons.BACK")),1)])):(S(),g("div",h1t,[p(n).suspended_at?L("",!0):(S(),g("button",{key:0,onClick:b[13]||(b[13]=P=>N.$router.push("/profile/edit/sports"))},A(N.$t("user.PROFILE.EDIT_SPORTS_PREFERENCES")),1)),E("button",{onClick:b[14]||(b[14]=P=>N.$router.push("/"))},A(N.$t("common.HOME")),1)]))])):L("",!0)])}}}),MS=ne(O1t,[["__scopeId","data-v-1ea3864e"]]),I1t={class:"about-text"},R1t=["innerHTML"],N1t=["href"],g1t={href:"https://github.com/SamR1/FitTrackee",target:"_blank",rel:"noopener noreferrer"},b1t={key:0},v1t=["href"],C1t={key:1},P1t=["href"],D1t={class:"about-instance"},L1t=["innerHTML"],y1t=Q({__name:"About",setup(e){const{appConfig:t,appLanguage:n}=Ge(),s=F(()=>o()),a=F(()=>i());function o(){const r={};return t.value.weatherProvider==="visualcrossing"&&(r.name="Visual Crossing",r.url="https://www.visualcrossing.com"),r}function i(){let r="https://docs.fittrackee.org/";return n.value==="fr"&&(r+="fr/"),r}return(r,u)=>{const l=j("i18n-t");return S(),g("div",I1t,[E("div",null,[E("p",{class:"error-message",innerHTML:r.$t("about.FITTRACKEE_DESCRIPTION")},null,8,R1t),E("p",null,[u[0]||(u[0]=E("i",{class:"fa fa-book fa-padding","aria-hidden":"true"},null,-1)),E("a",{class:"documentation-link",href:a.value,target:"_blank",rel:"noopener noreferrer"},A(Fe(r.$t("common.DOCUMENTATION"))),9,N1t)]),E("p",null,[u[1]||(u[1]=E("i",{class:"fa fa-github fa-padding","aria-hidden":"true"},null,-1)),E("a",g1t,A(r.$t("about.SOURCE_CODE")),1)]),E("p",null,[u[3]||(u[3]=E("i",{class:"fa fa-balance-scale fa-padding","aria-hidden":"true"},null,-1)),M(l,{keypath:"about.FITTRACKEE_LICENSE"},{default:X(()=>u[2]||(u[2]=[E("a",{href:"https://choosealicense.com/licenses/agpl-3.0/",target:"_blank",rel:"noopener noreferrer"},"AGPLv3",-1)])),_:1})]),p(t).admin_contact?(S(),g("div",b1t,[u[4]||(u[4]=E("i",{class:"fa fa-envelope-o fa-padding","aria-hidden":"true"},null,-1)),E("a",{href:`mailto:${p(t).admin_contact}`},A(r.$t("about.CONTACT_ADMIN")),9,v1t)])):L("",!0),s.value&&s.value.name?(S(),g("div",C1t,[B(A(r.$t("about.WEATHER_DATA_FROM"))+" ",1),E("a",{href:s.value.url,target:"_blank",rel:"nofollow noopener"},A(s.value.name),9,P1t)])):L("",!0),p(t).about?(S(),g(ae,{key:2},[E("p",D1t,A(r.$t("about.ABOUT_THIS_INSTANCE")),1),E("div",{innerHTML:p(Vi)(p(t).about)},null,8,L1t)],64)):L("",!0)])])}}}),U1t=ne(y1t,[["__scopeId","data-v-849f2cdf"]]),$1t={},k1t={id:"bike"};function w1t(e,t){return S(),g("div",k1t,t[0]||(t[0]=[E("img",{class:"bike-img",src:"/img/bike.svg",alt:"mountain bike"},null,-1)]))}const tI=ne($1t,[["render",w1t],["__scopeId","data-v-13a50e87"]]),M1t={id:"about",class:"view"},W1t={class:"container"},F1t={class:"container-sub"},z1t={class:"container-sub about-details"},B1t=Q({__name:"AboutView",setup(e){return(t,n)=>(S(),g("div",M1t,[E("div",W1t,[E("div",F1t,[M(tI)]),E("div",z1t,[M(U1t)])])]))}}),G1t=ne(B1t,[["__scopeId","data-v-c3185f0c"]]),x1t={id:"admin",class:"view"},V1t={key:0,class:"container"},H1t={key:1,class:"container"},K1t=Q({__name:"AdminView",setup(e){const t=ye(),{authUserHasModeratorRights:n,authUserHasAdminRights:s,authUserLoading:a}=Ye();return Ze(()=>{n.value&&t.dispatch(ee.ACTIONS.GET_APPLICATION_STATS)}),(o,i)=>{const r=j("router-view");return S(),g("div",x1t,[p(a)?L("",!0):(S(),g("div",V1t,[(o.$route.meta.minimumRole==="moderator"?p(n):p(s))?(S(),G(r,{key:0})):(S(),g("div",H1t,[M(zo)])),i[0]||(i[0]=E("div",{id:"bottom"},null,-1))]))])}}}),Y1t=ne(K1t,[["__scopeId","data-v-c2668dab"]]),q1t={},j1t={class:"no-workouts box"};function X1t(e,t){const n=j("router-link");return S(),g("div",j1t,[E("div",null,[B(A(e.$t("workouts.NO_WORKOUTS"))+" ",1),M(n,{to:"/workouts/add"},{default:X(()=>[B(A(e.$t("workouts.UPLOAD_FIRST_WORKOUT")),1)]),_:1})])])}const X_=ne(q1t,[["render",X1t],["__scopeId","data-v-b0c91cc6"]]),la={ligthMode:{text:"#666",line:"rgba(0, 0, 0, 0.1)"},darkMode:{text:"#a1a1a1",line:"#3f3f3f"}},Q1t=(e,t,n,s=!1)=>{const a={speed:{label:t("workouts.SPEED"),backgroundColor:["transparent"],borderColor:[s?"#5f5c97":"#8884d8"],borderWidth:2,data:[],yAxisID:"ySpeed"},elevation:{label:t("workouts.ELEVATION"),backgroundColor:[s?"#303030":"#e5e5e5"],borderColor:[s?"#222222":"#cccccc"],borderWidth:1,fill:!0,data:[],yAxisID:"yElevation"}},o=[],i=[],r=[];return e.map(u=>{o.push(Jr("km",u.distance,n)),i.push(u.duration),a.speed.data.push(Jr("km",u.speed,n)),u.elevation!==void 0&&a.elevation.data.push(Jr("m",u.elevation,n)),r.push({latitude:u.latitude,longitude:u.longitude})}),{distance_labels:o,duration_labels:i,datasets:a,coordinates:r}},Z1t=e=>{const t=e.length;if(t===0)return{};const n={};return e.map(s=>{n[s.sport_id]||(n[s.sport_id]={count:0,percentage:0}),n[s.sport_id].count+=1,n[s.sport_id].percentage=n[s.sport_id].count/t}),n},Yi={order:"desc",order_by:"workout_date"},J1t={id:"timeline"},eIt={class:"section-title"},tIt={key:0},nIt={key:1},sIt={key:1,class:"more-workouts"},Mr=5,aIt=Q({__name:"Timeline",props:{sports:{},authUser:{}},setup(e){const t=e,{sports:n,authUser:s}=pe(t),{dateFormat:a}=Ye(),o=ye(),i=Oe(1),r=F(()=>s.value.nb_workouts>=Mr?Mr:s.value.nb_workouts),u=F(()=>o.getters[J.GETTERS.TIMELINE_WORKOUTS]),l=F(()=>o.getters[J.GETTERS.WORKOUTS_PAGINATION]),d=F(()=>o.getters[K.GETTERS.IS_SUSPENDED]);function _(){d.value||o.dispatch(J.ACTIONS.GET_TIMELINE_WORKOUTS,{page:i.value,per_page:Mr,...Yi})}function c(){d.value||(i.value+=1,o.dispatch(J.ACTIONS.GET_MORE_TIMELINE_WORKOUTS,{page:i.value,per_page:Mr,...Yi}))}return Ze(()=>_()),ut(()=>o.commit(J.MUTATIONS.SET_WORKOUTS_PAGINATION,{})),(T,m)=>(S(),g("div",J1t,[E("div",eIt,A(T.$t("workouts.LATEST_WORKOUTS")),1),p(s).nb_workouts>0&&u.value.length===0?(S(),g("div",tIt,[(S(!0),g(ae,null,be([...Array(r.value).keys()],f=>(S(),G(Hi,{user:p(s),useImperialUnits:p(s).imperial_units,dateFormat:p(a),timezone:p(s).timezone,key:f},null,8,["user","useImperialUnits","dateFormat","timezone"]))),128))])):(S(),g("div",nIt,[(S(!0),g(ae,null,be(u.value,f=>(S(),G(Hi,{workout:f,sport:u.value.length>0?p(n).filter(R=>R.id===f.sport_id)[0]:null,user:f.user,useImperialUnits:p(s).imperial_units,dateFormat:p(a),timezone:p(s).timezone,key:f.id},null,8,["workout","sport","user","useImperialUnits","dateFormat","timezone"]))),128)),u.value.length===0?(S(),G(X_,{key:0})):L("",!0),l.value.has_next?(S(),g("div",sIt,[E("button",{onClick:c},A(T.$t("workouts.LOAD_MORE_WORKOUT")),1)])):L("",!0)]))]))}}),oIt=ne(aIt,[["__scopeId","data-v-bab374a4"]]),iIt=["title"],nI=Q({__name:"CalendarWorkout",props:{displayHARecord:{type:Boolean},workout:{},sportLabel:{},sportColor:{}},setup(e){const t=e,{displayHARecord:n,workout:s,sportLabel:a,sportColor:o}=pe(t);return(i,r)=>{const u=j("SportImage"),l=j("router-link");return S(),G(l,{class:"calendar-workout",to:{name:"Workout",params:{workoutId:p(s).id}}},{default:X(()=>[M(u,{"sport-label":p(a),title:p(s).title,color:p(o)},null,8,["sport-label","title","color"]),E("sup",null,[p(s).records.length>0?(S(),g("i",{key:0,class:"fa fa-trophy custom-fa-small","aria-hidden":"true",title:p(s).records.filter(d=>p(n)?!0:d.record_type!=="HA").map(d=>` ${i.$t(`workouts.RECORD_${d.record_type}`)}`)[0]},null,8,iIt)):L("",!0)])]),_:1},8,["to"])}}}),rIt={class:"donut-chart"},uIt={height:"34",width:"34",viewBox:"0 0 34 34"},lIt=["stroke","stroke-dashoffset","transform"],WS=16,FS=16,zS=14,cIt=Q({__name:"DonutChart",props:{colors:{},datasets:{}},setup(e){const t=e,{colors:n,datasets:s}=pe(t);let a=-90;const o=2*Math.PI*zS;function i(u,l){return l-u*l}function r(u,l){const d=`rotate(${a}, ${WS}, ${FS})`;return a=l*360+a,d}return(u,l)=>(S(),g("div",rIt,[(S(),g("svg",uIt,[(S(!0),g(ae,null,be(Object.entries(p(s)),(d,_)=>(S(),g("g",{key:_},[E("circle",{cx:WS,cy:FS,r:zS,fill:"transparent",stroke:p(n)[+d[0]],"stroke-dashoffset":i(d[1].percentage,o),"stroke-dasharray":o,"stroke-width":"3","stroke-opacity":"0.8",transform:r(_,d[1].percentage)},null,8,lIt)]))),128))]))]))}}),dIt={class:"calendar-workouts-chart"},EIt=["id"],_It={class:"workouts-count"},TIt={key:0,class:"workouts-pane"},pIt=["id"],mIt=Q({__name:"CalendarWorkoutsChart",props:{colors:{},datasets:{},sports:{},workouts:{},displayHARecord:{type:Boolean},index:{}},setup(e){const t=e,{colors:n,datasets:s,index:a,sports:o,workouts:i}=pe(t);let r=0;const u=Oe(!0);function l(){const c=document.getElementById(`workouts-pane-${a.value}`);return c!=null&&c.children&&(c==null?void 0:c.children.length)>0?c:null}async function d(c){var m;c.preventDefault(),c.stopPropagation(),u.value=!u.value,await on();const T=l();u.value?(m=document.getElementById(`workouts-donut-${a.value}`))==null||m.focus():(T==null?void 0:T.children[0]).focus()}function _(c){if(!u.value){if(!u.value&&(c.key==="Tab"||c.keyCode===9)){c.preventDefault(),c.stopPropagation();const T=l();T&&(c.shiftKey?(r-=1,r<0&&(r=T.children.length-1)):(r+=1,r>=T.children.length&&(r=0)),T.children[r].focus())}c.key==="Escape"&&d(c)}}return Et(()=>{document.addEventListener("keydown",_)}),ut(()=>{document.removeEventListener("keydown",_)}),(c,T)=>{const m=sN("click-outside");return S(),g("div",dIt,[E("button",{class:"workouts-chart transparent",id:`workouts-donut-${p(a)}`,onClick:d},[E("div",_It,A(p(i).length),1),M(cIt,{datasets:p(s),colors:p(n)},null,8,["datasets","colors"])],8,EIt),u.value?L("",!0):(S(),g("div",TIt,[We((S(),g("div",{class:"more-workouts",id:`workouts-pane-${p(a)}`},[E("button",{class:"calendar-more-close transparent",onClick:d},T[0]||(T[0]=[E("i",{class:"fa fa-times","aria-hidden":"true"},null,-1)])),(S(!0),g(ae,null,be(p(i),(f,R)=>(S(),G(nI,{key:R,displayHARecord:c.displayHARecord,workout:f,sportLabel:p(z_)(f,p(o)),sportColor:p(B_)(f,p(o))},null,8,["displayHARecord","workout","sportLabel","sportColor"]))),128))],8,pIt)),[[m,d]])]))])}}}),BS=ne(mIt,[["__scopeId","data-v-57ede11f"]]),fIt={class:"calendar-workouts"},SIt={class:"desktop-display"},AIt={key:0,class:"workouts-display"},hIt={key:1,class:"donut-display"},OIt={class:"mobile-display"},IIt={key:0,class:"donut-display"},GS=6,RIt=Q({__name:"CalendarWorkouts",props:{displayHARecord:{type:Boolean},workouts:{},sports:{},index:{}},setup(e){const t=e,{displayHARecord:n,index:s,sports:a,workouts:o}=pe(t),i=F(()=>Z1t(t.workouts)),r=F(()=>ort(t.sports));return(u,l)=>(S(),g("div",fIt,[E("div",SIt,[p(o).length<=GS?(S(),g("div",AIt,[(S(!0),g(ae,null,be(p(o).slice(0,GS),(d,_)=>(S(),G(nI,{key:_,displayHARecord:p(n),workout:d,sportLabel:p(z_)(d,p(a)),sportColor:p(B_)(d,p(a))},null,8,["displayHARecord","workout","sportLabel","sportColor"]))),128))])):(S(),g("div",hIt,[M(BS,{workouts:p(o),sports:p(a),datasets:i.value,colors:r.value,displayHARecord:p(n),index:p(s)},null,8,["workouts","sports","datasets","colors","displayHARecord","index"])]))]),E("div",OIt,[p(o).length>0?(S(),g("div",IIt,[M(BS,{workouts:p(o),sports:p(a),datasets:i.value,colors:r.value,displayHARecord:p(n),index:p(s)},null,8,["workouts","sports","datasets","colors","displayHARecord","index"])])):L("",!0)])]))}}),NIt={class:"calendar-cells"},gIt={class:"calendar-cell-day"},bIt=Q({__name:"CalendarCells",props:{currentDay:{},displayHARecord:{type:Boolean},endDate:{},sports:{},startDate:{},timezone:{},weekStartingMonday:{type:Boolean},workouts:{}},setup(e){const t=e,{currentDay:n,displayHARecord:s,endDate:a,sports:o,startDate:i,timezone:r,weekStartingMonday:u,workouts:l}=pe(t),d=Oe([]);function _(){d.value=[];let m=i.value;for(;m<=a.value;){const f=[];for(let R=0;R<7;R++)f.push(m),m=sr(m,1);d.value.push(f)}}function c(m){return u.value?[5,6].includes(m):[0,6].includes(m)}function T(m,f){return f?f.filter(R=>m0(Cl(R.workout_date,r.value),m)).reverse():[]}return Ce(()=>t.currentDay,()=>_()),Et(()=>_()),(m,f)=>(S(),g("div",NIt,[(S(!0),g(ae,null,be(d.value,(R,h)=>(S(),g("div",{class:"calendar-row",key:h},[(S(!0),g(ae,null,be(R,(O,I)=>(S(),g("div",{class:fe(["calendar-cell",{"disabled-cell":!p(FL)(O,p(n)),"week-end":c(I),today:p(zL)(O)}]),key:I},[M(RIt,{workouts:T(O,p(l)),sports:p(o),displayHARecord:p(s),index:I},null,8,["workouts","sports","displayHARecord","index"]),E("div",gIt,A(p(mn)(O,"d")),1)],2))),128))]))),128))]))}}),vIt={class:"calendar-days"},CIt=Q({__name:"CalendarDays",props:{startDate:{},localeOptions:{}},setup(e){const t=e,n=[];for(let s=0;s<7;s++)n.push(sr(t.startDate,s));return(s,a)=>(S(),g("div",vIt,[(S(),g(ae,null,be(n,(o,i)=>E("div",{class:"calendar-day",key:i},A(p(mn)(o,s.localeOptions.code==="eu"?"EEEEEE.":"EEE",{locale:s.localeOptions})),1)),64))]))}}),PIt={class:"calendar-header"},DIt=["aria-label"],LIt={class:"calendar-month"},yIt=["aria-label"],UIt=Q({__name:"CalendarHeader",props:{day:{},localeOptions:{}},emits:["displayNextMonth","displayPreviousMonth"],setup(e,{emit:t}){const n=e,{day:s,localeOptions:a}=pe(n),o=t;return(i,r)=>(S(),g("div",PIt,[E("button",{class:"calendar-arrow calendar-arrow-left transparent",onClick:r[0]||(r[0]=u=>o("displayPreviousMonth")),"aria-label":i.$t("common.PREVIOUS")},r[2]||(r[2]=[E("i",{class:"fa fa-chevron-left","aria-hidden":"true"},null,-1)]),8,DIt),E("div",LIt,[E("span",null,A(p(mn)(p(s),"MMM yyyy",{locale:p(a)})),1)]),E("button",{class:"calendar-arrow calendar-arrow-right transparent",onClick:r[1]||(r[1]=u=>o("displayNextMonth")),"aria-label":i.$t("common.NEXT")},r[3]||(r[3]=[E("i",{class:"fa fa-chevron-right","aria-hidden":"true"},null,-1)]),8,yIt)]))}}),$It={id:"user-calendar"},kIt={class:"section-title"},wIt={class:"calendar-card box"},xS="yyyy-MM-dd",MIt=Q({__name:"index",props:{sports:{},user:{}},setup(e){const t=e,{sports:n,user:s}=pe(t),a=ye(),{locale:o}=Ge(),{isAuthUserSuspended:i}=Ye(),r=Oe(new Date),u=Oe(Gm(r.value,s.value.weekm)),l=F(()=>a.getters[J.GETTERS.CALENDAR_WORKOUTS]);function d(){if(!i.value){u.value=Gm(r.value,t.user.weekm);const T={from:mn(u.value.start,xS),to:mn(u.value.end,xS),page:1,per_page:100,...Yi};a.dispatch(J.ACTIONS.GET_CALENDAR_WORKOUTS,T)}}function _(){r.value=go(r.value,1),d()}function c(){r.value=Mi(r.value,1),d()}return Ze(()=>d()),(T,m)=>(S(),g("div",$It,[E("div",kIt,A(T.$t("workouts.MY_WORKOUTS")),1),E("div",wIt,[M(UIt,{day:r.value,"locale-options":p(o),onDisplayNextMonth:_,onDisplayPreviousMonth:c},null,8,["day","locale-options"]),M(CIt,{"start-date":u.value.start,"locale-options":p(o)},null,8,["start-date","locale-options"]),M(bIt,{currentDay:r.value,displayHARecord:p(s).display_ascent,"end-date":u.value.end,sports:p(n),"start-date":u.value.start,timezone:p(s).timezone,workouts:l.value,weekStartingMonday:p(s).weekm},null,8,["currentDay","displayHARecord","end-date","sports","start-date","timezone","workouts","weekStartingMonday"])])]))}}),sI={data:{type:Object,required:!0},options:{type:Object,default:()=>({})},plugins:{type:Array,default:()=>[]},datasetIdKey:{type:String,default:"label"},updateMode:{type:String,default:void 0}},WIt={ariaLabel:{type:String},ariaDescribedby:{type:String}},FIt={type:{type:String,required:!0},destroyDelay:{type:Number,default:0},...sI,...WIt},zIt=Oh[0]==="2"?(e,t)=>Object.assign(e,{attrs:t}):(e,t)=>Object.assign(e,t);function so(e){return ji(e)?lt(e):e}function BIt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e;return ji(t)?new Proxy(e,{}):e}function GIt(e,t){const n=e.options;n&&t&&Object.assign(n,t)}function aI(e,t){e.labels=t}function oI(e,t,n){const s=[];e.datasets=t.map(a=>{const o=e.datasets.find(i=>i[n]===a[n]);return!o||!a.data||s.includes(o)?{...a}:(s.push(o),Object.assign(o,a),o)})}function xIt(e,t){const n={labels:[],datasets:[]};return aI(n,e.labels),oI(n,e.datasets,t),n}const VIt=Q({props:FIt,setup(e,t){let{expose:n,slots:s}=t;const a=Oe(null),o=rl(null);n({chart:o});const i=()=>{if(!a.value)return;const{type:l,data:d,options:_,plugins:c,datasetIdKey:T}=e,m=xIt(d,T),f=BIt(m,d);o.value=new IE(a.value,{type:l,data:f,options:{..._},plugins:c})},r=()=>{const l=lt(o.value);l&&(e.destroyDelay>0?setTimeout(()=>{l.destroy(),o.value=null},e.destroyDelay):(l.destroy(),o.value=null))},u=l=>{l.update(e.updateMode)};return Et(i),ut(r),Ce([()=>e.options,()=>e.data],(l,d)=>{let[_,c]=l,[T,m]=d;const f=lt(o.value);if(!f)return;let R=!1;if(_){const h=so(_),O=so(T);h&&h!==O&&(GIt(f,h),R=!0)}if(c){const h=so(c.labels),O=so(m.labels),I=so(c.datasets),N=so(m.datasets);h!==O&&(aI(f.config.data,h),R=!0),I&&I!==N&&(oI(f.config.data,I,e.datasetIdKey),R=!0)}R&&on(()=>{u(f)})},{deep:!0}),()=>In("canvas",{role:"img",ariaLabel:e.ariaLabel,ariaDescribedby:e.ariaDescribedby,ref:a},[In("p",{},[s.default?s.default():""])])}});function iI(e,t){return IE.register(t),Q({props:sI,setup(n,s){let{expose:a}=s;const o=rl(null),i=r=>{o.value=r==null?void 0:r.chart};return a({chart:o}),()=>In(VIt,zIt({ref:i},{type:e,...n}))}})}const HIt=iI("bar",iA),KIt=iI("line",oA),ai=(e,t,n,s=!0,a="km")=>{const o=n?On[a].defaultTarget:a;switch(e){case"average_speed":return`${t.toFixed(2)} ${o}/h`;case"average_duration":case"total_duration":return qht(t,s);case"average_distance":case"average_ascent":case"average_descent":case"total_distance":case"total_ascent":case"total_descent":return`${t.toFixed(2)} ${o}`;default:return t.toString()}},YIt=Q({__name:"Chart",props:{datasets:{},labels:{},displayedData:{},displayedSportIds:{},fullStats:{type:Boolean},useImperialUnits:{type:Boolean},label:{}},setup(e){const t=e,{datasets:n,labels:s,displayedData:a,displayedSportIds:o,fullStats:i,useImperialUnits:r}=pe(t),{t:u}=Lt(),{darkTheme:l}=Ge(),d=F(()=>({color:l.value?la.darkMode.line:la.ligthMode.line})),_=F(()=>({color:l.value?la.darkMode.text:la.ligthMode.text})),c=F(()=>a.value!=="average_workouts"&&a.value.startsWith("average")),T=F(()=>({labels:s.value,datasets:JSON.parse(JSON.stringify(n.value))})),m=F(()=>({responsive:!0,maintainAspectRatio:!1,animation:!1,layout:{padding:{top:i.value?40:22}},scales:{x:{stacked:!0,grid:{drawOnChartArea:!1,...d.value},border:{...d.value},ticks:{..._.value}},y:{stacked:!a.value.startsWith("average"),grid:{drawOnChartArea:!1,...d.value},border:{...d.value},ticks:{maxTicksLimit:6,callback:function(O){return ai(a.value,+O,r.value,!1,h(a.value))},..._.value},afterFit:function(O){O.width=i.value?90:60}}},plugins:{datalabels:{anchor:"end",align:"end",color:function(O){return c.value&&O.dataset.backgroundColor?O.dataset.backgroundColor[0]:_.value.color},rotation:function(O){return i.value&&O.chart.chartArea.width<580?310:0},display:function(O){return i.value&&O.chart.chartArea.width<300?!1:c.value?o.value.length==1?"auto":!1:!0},formatter:function(O,I){if(a.value.startsWith("average"))return ai(a.value,O,r.value,!1);{const N=I.chart.data.datasets.map(b=>b.data[I.dataIndex]).reduce((b,C)=>R(b,C),0);return I.datasetIndex===o.value.length-1&&N>0?ai(a.value,N,r.value,!1,h(a.value)):null}}},legend:{display:!1},tooltip:{interaction:{intersect:!0,mode:"index",position:c.value?"nearest":"average"},filter:function(O){return O.formattedValue!=="0"},callbacks:{label:function(O){let I=a.value==="average_workouts"?u("workouts.WORKOUT",0):u(`sports.${O.dataset.label}.LABEL`)||"";return I&&(I+=": "),O.parsed.y!==null&&(I+=ai(a.value,O.parsed.y,r.value,!0,h(a.value))),I},footer:function(O){if(a.value.startsWith("average"))return"";let I=0;return O.map(N=>{I+=N.parsed.y}),`${u("common.TOTAL")}: `+ai(a.value,I,r.value,!0,h(a.value))}}}}}));function f(O){return isNaN(O)?0:+O}function R(O,I){return f(O)+f(I)}function h(O){return O.includes("scent")?"m":"km"}return(O,I)=>(S(),g("div",{class:fe(["bar-chart",{minimal:!p(i)}])},[M(p(HIt),{data:T.value,options:m.value,"aria-label":O.label},null,8,["data","options","aria-label"])],2))}}),qIt=ne(YIt,[["__scopeId","data-v-656704a1"]]),{locale:nl}=Fo.global,rI={week:{api:"yyyy-MM-dd",chart:"MM/dd/yyyy"},month:{api:"yyyy-MM",chart:"MM/yyyy"},year:{api:"yyyy",chart:"yyyy"}},jIt=["average_ascent","average_descent","average_distance","average_duration","average_speed","total_workouts","total_duration","total_distance","total_ascent","total_descent"],XIt=(e,t)=>{const n=[];for(let s=rtt(e.duration,e.start,t);s<=e.end;s=utt(e.duration,s))n.push(s);return n},ms=(e,t,n=!1)=>{const s={label:e,backgroundColor:[t],data:[]};return n?(s.type="line",s.borderColor=[t],s.spanGaps=!0):s.type="bar",s},QIt=e=>{const t={average_ascent:[],average_descent:[],average_distance:[],average_duration:[],average_speed:[],average_workouts:[],total_workouts:[],total_distance:[],total_duration:[],total_ascent:[],total_descent:[]};return e.map(n=>{const s=n.color?n.color:F_[n.label];t.average_ascent.push(ms(n.label,s,!0)),t.average_descent.push(ms(n.label,s,!0)),t.average_distance.push(ms(n.label,s,!0)),t.average_duration.push(ms(n.label,s,!0)),t.average_speed.push(ms(n.label,s,!0)),t.total_workouts.push(ms(n.label,s)),t.total_distance.push(ms(n.label,s)),t.total_duration.push(ms(n.label,s)),t.total_ascent.push(ms(n.label,s)),t.total_descent.push(ms(n.label,s))}),t},ZIt=(e,t,n)=>{switch(e){case"average_speed":case"total_distance":case"total_ascent":case"total_descent":case"average_distance":case"average_ascent":case"average_descent":return Jr(["average_speed","total_distance","average_distance"].includes(e)?"km":"m",t,n);default:case"total_workouts":case"total_duration":case"average_duration":return t}},hE=(e,t,n,s)=>mn(e,t==="week"?Oa(n,nl.value):s,{locale:xa[nl.value]}),JIt=(e,t,n,s,a,o,i)=>{const r=XIt(e,t),u=rI[e.duration],l=n.filter(T=>s.includes(T.id)),d=[],_=QIt(l),c={};return l.map(T=>c[T.label]=T.id),r.map(T=>{const m=mn(T,u.api),f=hE(T,e.duration,i,u.chart);mn(T,e.duration==="week"?Oa(i,nl.value):u.chart,{locale:xa[nl.value]}),d.push(f),jIt.map(R=>{_[R].map(h=>{h.data.push(m in a&&c[h.label]in a[m]?ZIt(R,a[m][c[h.label]][R],o):R.startsWith("average")?null:0)})})}),{labels:d,datasets:_}},eRt=(e,t,n,s)=>{const a=n?1:0,o=t==="year"?Nl(Vd(e,9)):t==="week"?is(Mi(e,2),{weekStartsOn:a}):or(Mi(e,11)),i=t==="year"?f0(e):t==="week"?XE(e,{weekStartsOn:a}):ar(e);return{duration:t,end:i,start:o,statsType:s}},tRt=(e,t,n)=>{const{duration:s,start:a,end:o}=e,i=n?1:0;return{duration:s,end:s==="year"?f0(t?Vd(o,1):fu(o,1)):s==="week"?XE(t?jp(o):xd(o,1),{weekStartsOn:i}):ar(t?Mi(o,1):go(o,1)),start:s==="year"?Nl(t?Vd(a,1):fu(a,1)):s==="week"?is(t?jp(a):xd(a,1),{weekStartsOn:i}):or(t?Mi(a,1):go(a,1)),statsType:e.statsType}},VS=e=>{const t=e.reduce((s,a)=>(s||0)+(a||0),0);return+(e.length?(t||0)/e.length:0).toFixed(1)},nRt=(e,t)=>{const n=e.label.toLowerCase(),s=t.label.toLowerCase();return n>s?1:n{const n=[],s={label:"workouts_average",backgroundColor:[],data:[]};let a=[];const o=e.map(i=>(i.label=t(`sports.${i.label}.LABEL`),i)).sort(nRt);for(const i of o)s.data.push(VS(i.data)),s.backgroundColor.push(i.backgroundColor[0]),n.push(i.label),a.length>0?a=a.map((r,u)=>r+(i.data[u]||0)):a=i.data.map(r=>r||0);return{labels:n,datasets:{workouts_average:[s]},workoutsAverage:VS(a)}},aRt={class:"stats-chart"},oRt={key:0},iRt={key:1},rRt={class:"chart-radio"},uRt=["value","checked","disabled"],lRt=["value","checked","disabled"],cRt=["value","checked","disabled"],dRt={key:0},ERt=["checked","disabled"],_Rt={key:1},TRt=["value","checked","disabled"],pRt={key:2},mRt=["value","checked","disabled"],fRt={class:"workouts-average"},SRt={key:0,class:"info-box"},ARt=Q({__name:"index",props:{sports:{},user:{},chartParams:{},displayedSportIds:{default:()=>[]},fullStats:{type:Boolean,default:!1},hideChartIfNoData:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},selectedTimeFrame:{default:null}},setup(e){const t=e,{sports:n,user:s,chartParams:a,displayedSportIds:o,fullStats:i,hideChartIfNoData:r,isDisabled:u}=pe(t),l=ye(),{t:d}=Lt(),_=Oe("total_distance"),c=F(()=>l.getters[wt.GETTERS.USER_STATS]),T=F(()=>rI[a.value.duration].chart),m=F(()=>hE(a.value.start,a.value.duration,s.value.date_format,T.value)),f=F(()=>hE(a.value.end,a.value.duration,s.value.date_format,T.value)),R=F(()=>JIt(a.value,s.value.weekm,n.value,o.value,c.value,s.value.imperial_units,s.value.date_format)),h=F(()=>R.value.datasets[_.value]),O=F(()=>R.value.labels),I=F(()=>Object.keys(c.value).length===0),N=F(()=>a.value.statsType),b=F(()=>sRt(R.value.datasets.total_workouts,d));function C(D){s.value.suspended_at||l.dispatch(wt.ACTIONS.GET_USER_STATS,{username:s.value.username,params:D})}function v(D){_.value=D.target.value}function y(D,w){return{from:mn(D.start,"yyyy-MM-dd"),to:mn(D.end,"yyyy-MM-dd"),time:D.duration==="week"?`week${w.weekm?"m":""}`:D.duration,type:N.value}}return Ce(()=>a.value,async D=>{C(y(D,s.value))}),Ce(()=>N.value,async D=>{_.value=D==="total"&&_.value==="average_speed"?"total_distance":`${N.value}_${_.value.split("_")[1]}`}),Ze(()=>C(y(a.value,s.value))),(D,w)=>(S(),g("div",aRt,[p(r)&&I.value?(S(),g("div",oRt,A(D.$t("workouts.NO_WORKOUTS")),1)):(S(),g("div",iRt,[E("div",rRt,[E("label",null,[E("input",{type:"radio",name:"value_type",value:`${N.value}_distance`,checked:_.value===`${N.value}_distance`,disabled:p(u),onClick:v},null,8,uRt),B(" "+A(D.$t("workouts.DISTANCE")),1)]),E("label",null,[E("input",{type:"radio",name:"value_type",value:`${N.value}_duration`,checked:_.value===`${N.value}_duration`,disabled:p(u),onClick:v},null,8,lRt),B(" "+A(D.$t("workouts.DURATION")),1)]),E("label",null,[E("input",{type:"radio",name:"value_type",value:`${N.value}_workouts`,checked:_.value===`${N.value}_workouts`,disabled:p(u),onClick:v},null,8,cRt),B(" "+A(D.$t("workouts.WORKOUT",2)),1)]),p(i)&&N.value==="average"?(S(),g("label",dRt,[E("input",{type:"radio",name:"value_type",value:"average_speed",checked:_.value==="average_speed",disabled:p(u),onClick:v},null,8,ERt),B(" "+A(D.$t("workouts.SPEED")),1)])):L("",!0),p(i)?(S(),g("label",_Rt,[E("input",{type:"radio",name:"value_type",value:`${N.value}_ascent`,checked:_.value===`${N.value}_ascent`,disabled:p(u),onClick:v},null,8,TRt),B(" "+A(D.$t("workouts.ASCENT")),1)])):L("",!0),p(i)?(S(),g("label",pRt,[E("input",{type:"radio",name:"value_type",value:`${N.value}_descent`,checked:_.value===`${N.value}_descent`,disabled:p(u),onClick:v},null,8,mRt),B(" "+A(D.$t("workouts.DESCENT")),1)])):L("",!0)]),O.value.length>0||b.value.labels.length>0?(S(),G(qIt,{key:0,datasets:_.value==="average_workouts"?b.value.datasets.workouts_average:h.value,labels:_.value==="average_workouts"?b.value.labels:O.value,displayedData:_.value,displayedSportIds:p(o),fullStats:p(i),useImperialUnits:p(s).imperial_units,label:D.$t(`statistics.STATISTICS_CHARTS.${p(a).duration}`)+` (${m.value} - ${f.value})`},null,8,["datasets","labels","displayedData","displayedSportIds","fullStats","useImperialUnits","label"])):L("",!0),E("div",fRt,[_.value==="average_workouts"&&D.selectedTimeFrame?(S(),g("div",SRt,[w[0]||(w[0]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(D.$t("statistics.DATES"))+": "+A(m.value)+" - "+A(f.value)+", "+A(D.$t("statistics.WORKOUTS_AVERAGE"))+": "+A(b.value.workoutsAverage)+"/"+A(D.$t(`statistics.TIME_FRAMES.${D.selectedTimeFrame}`)),1)])):L("",!0)])]))]))}}),uI=ne(ARt,[["__scopeId","data-v-4f4f507b"]]),hRt={class:"user-month-stats"},ORt={class:"section-title"},IRt={class:"box"},RRt=Q({__name:"UserMonthStats",props:{sports:{},user:{}},setup(e){const t=e,{sports:n,user:s}=pe(t),a=new Date,o={duration:"week",start:or(a),end:ar(a),statsType:"total"},i=F(()=>n.value.map(r=>r.id));return(r,u)=>(S(),g("div",hRt,[E("div",ORt,[u[0]||(u[0]=E("i",{class:"fa fa-calendar custom-fa-small","aria-hidden":"true"},null,-1)),B(" "+A(r.$t("dashboard.THIS_MONTH")),1)]),E("div",IRt,[M(uI,{sports:p(n),user:p(s),"chart-params":o,"displayed-sport-ids":i.value,"hide-chart-if-no-data":!0},null,8,["sports","user","displayed-sport-ids"])])]))}}),NRt=ne(RRt,[["__scopeId","data-v-969d3887"]]),gRt={class:"record"},bRt={class:"record-type"},vRt={class:"record-value"},CRt={class:"record-date"},PRt=Q({__name:"SportRecordsTable",props:{record:{}},setup(e){const t=e,{record:n}=pe(t);return(s,a)=>{const o=j("router-link");return S(),g("div",gRt,[E("span",bRt,A(Fe(p(n).label)),1),E("span",vRt,A(p(n).value),1),E("span",CRt,[M(o,{to:{name:"Workout",params:{workoutId:p(n).workout_id}}},{default:X(()=>[E("time",null,A(p(n).workout_date),1)]),_:1},8,["to"])])])}}}),lI=ne(PRt,[["__scopeId","data-v-1226dbc9"]]),{locale:DRt}=Fo.global,LRt=(e,t,n,s)=>{const a="km",o=n?On[a].defaultTarget:a,i="m",r=n?On[i].defaultTarget:i;let u;switch(e.record_type){case"AS":case"MS":u=`${jt(+e.value,a,o,2)} ${o}/h`;break;case"FD":u=`${jt(+e.value,a,o,3)} ${o}`;break;case"HA":u=`${jt(+e.value,i,r,2)} ${r}`;break;case"LD":u=e.value;break;default:throw new Error(`Invalid record type, expected: "AS", "FD", "HA", "LD", "MD", got: "${e.record_type}"`)}return{id:e.id,record_type:e.record_type,sport_id:e.sport_id,value:u,user:e.user,workout_date:Ut(e.workout_date,t,s,!1),workout_id:e.workout_id}},cI=(e,t)=>{const n=e.label.toLowerCase(),s=t.label.toLowerCase();return n>s?1:n(o=Oa(o,DRt.value),e.filter(r=>a?!0:r.record_type!=="HA").reduce((r,u)=>{const l=t.find(d=>d.id===u.sport_id);return l&&l.label&&(i===null||l.id===i)&&(r[l.translatedLabel]===void 0&&(r[l.translatedLabel]={label:l.label,color:l.color,records:[]}),r[l.translatedLabel].records.push(LRt(u,n,s,o))),r},{})),yRt={class:"records-card"},URt=Q({__name:"RecordsCard",props:{records:{},sportTranslatedLabel:{}},setup(e){const t=e,{records:n,sportTranslatedLabel:s}=pe(t),a=ye(),{t:o}=Lt(),i=F(()=>a.getters[ee.GETTERS.LANGUAGE]),r=F(()=>i.value==="bg");function u(l){const d=[];return l.map(_=>{d.push({..._,label:o(`workouts.RECORD_${_.record_type}`)})}),d.sort(cI)}return(l,d)=>{const _=j("SportImage"),c=j("Card");return S(),g("div",yRt,[M(c,null,{title:X(()=>[M(_,{"sport-label":p(n).label,color:p(n).color},null,8,["sport-label","color"]),B(" "+A(p(s)),1)]),content:X(()=>[(S(!0),g(ae,null,be(u(p(n).records),T=>(S(),G(lI,{class:fe({"max-width":r.value}),record:T,key:T.id},null,8,["class","record"]))),128))]),_:1})])}}}),$Rt=ne(URt,[["__scopeId","data-v-7f2119fd"]]),kRt={class:"user-records-section"},wRt={class:"section-title"},MRt={class:"title"},WRt={class:"user-records"},FRt={key:0,class:"no-records"},zRt=Q({__name:"index",props:{sports:{},user:{}},setup(e){const t=e,{user:n}=pe(t),{t:s}=Lt(),a=F(()=>dI(n.value.records,rs(t.sports,s),n.value.timezone,n.value.imperial_units,n.value.display_ascent,n.value.date_format));return(o,i)=>(S(),g("div",kRt,[E("div",wRt,[i[0]||(i[0]=E("i",{class:"fa fa-trophy custom-fa-small","aria-hidden":"true"},null,-1)),E("span",MRt,A(o.$t("workouts.RECORD",2)),1)]),E("div",WRt,[Object.keys(a.value).length===0?(S(),g("div",FRt,A(o.$t("workouts.NO_RECORDS")),1)):L("",!0),(S(!0),g(ae,null,be(Object.keys(a.value).sort(),r=>(S(),G($Rt,{sportTranslatedLabel:r,records:a.value[r],key:r,useImperialUnits:p(n).imperial_units},null,8,["sportTranslatedLabel","records","useImperialUnits"]))),128))])]))}}),BRt=ne(zRt,[["__scopeId","data-v-f9001ca7"]]),GRt={id:"user-stats"},Ed="km",_d="m",xRt=Q({__name:"index",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),{t:s}=Lt(),a=F(()=>Y_(n.value.total_duration,s)),o=F(()=>n.value.imperial_units?On[Ed].defaultTarget:Ed),i=F(()=>n.value.imperial_units?jt(n.value.total_distance,Ed,o.value,2):parseFloat(n.value.total_distance.toFixed(2))),r=F(()=>n.value.imperial_units?On[_d].defaultTarget:_d),u=F(()=>n.value.imperial_units?jt(n.value.total_ascent,_d,r.value,2):parseFloat(n.value.total_ascent.toFixed(2)));return(l,d)=>(S(),g("div",GRt,[M(Bs,{icon:"calendar",value:p(n).nb_workouts,text:l.$t("workouts.WORKOUT",p(n).nb_workouts)},null,8,["value","text"]),M(Bs,{icon:"road",value:i.value,text:o.value==="mi"?"miles":o.value},null,8,["value","text"]),p(n).display_ascent?(S(),G(Bs,{key:0,icon:"location-arrow",value:u.value,text:r.value==="ft"?"feet":r.value},null,8,["value","text"])):L("",!0),M(Bs,{icon:"clock-o",value:a.value.days,text:a.value.duration},null,8,["value","text"]),p(n).display_ascent?L("",!0):(S(),G(Bs,{key:1,icon:"tags",value:p(n).nb_sports,text:l.$t("workouts.SPORT",p(n).nb_sports)},null,8,["value","text"]))]))}}),VRt={class:"policy-message"},HRt=Q({__name:"PrivacyPolicyToAccept",props:{isPrivacyUpdated:{type:Boolean}},setup(e){const t=e,{isPrivacyUpdated:n}=pe(t);return(s,a)=>{const o=j("router-link"),i=j("i18n-t");return S(),g("div",VRt,[E("span",null,[M(i,{keypath:`user.${p(n)?"LAST_":""}PRIVACY_POLICY_TO_VALIDATE`},{default:X(()=>[M(o,{to:"/profile/edit/privacy-policy",class:"policy-link"},{default:X(()=>[B(A(s.$t("user.REVIEW")),1)]),_:1})]),_:1},8,["keypath"])])])}}}),KRt=ne(HRt,[["__scopeId","data-v-f91bc64f"]]),YRt={key:0,id:"dashboard",class:"view"},qRt={class:"container mobile-menu"},jRt={class:"box"},XRt={key:0,class:"container policy-container"},QRt={class:"container"},ZRt={class:"container dashboard-container"},JRt={class:"left-container dashboard-sub-container"},eNt={class:"right-container dashboard-sub-container"},tNt={key:1,class:"app-loading"},nNt=Q({__name:"Dashboard",setup(e){const t=ye(),{authUser:n}=Ye(),{sports:s}=Jt(),a=Oe("calendar");function o(i){a.value=i}return Ze(()=>t.dispatch(K.ACTIONS.GET_USER_PROFILE,{})),(i,r)=>{const u=j("Loader");return p(n).username&&p(s).length>0?(S(),g("div",YRt,[E("div",qRt,[E("div",jRt,[E("div",{class:fe(["mobile-menu-item",{"is-selected":a.value==="calendar"}]),onClick:r[0]||(r[0]=l=>o("calendar"))},r[4]||(r[4]=[E("i",{class:"fa fa-calendar","aria-hidden":"true"},null,-1)]),2),E("div",{class:fe(["mobile-menu-item",{"is-selected":a.value==="chart"}]),onClick:r[1]||(r[1]=l=>o("chart"))},r[5]||(r[5]=[E("i",{class:"fa fa-bar-chart","aria-hidden":"true"},null,-1)]),2),E("div",{class:fe(["mobile-menu-item",{"is-selected":a.value==="timeline"}]),onClick:r[2]||(r[2]=l=>o("timeline"))},r[6]||(r[6]=[E("i",{class:"fa fa-map-o","aria-hidden":"true"},null,-1)]),2),E("div",{class:fe(["mobile-menu-item",{"is-selected":a.value==="records"}]),onClick:r[3]||(r[3]=l=>o("records"))},r[7]||(r[7]=[E("i",{class:"fa fa-trophy","aria-hidden":"true"},null,-1)]),2)])]),p(n).accepted_privacy_policy!==!0?(S(),g("div",XRt,[M(KRt,{"is-privacy-updated":p(n).accepted_privacy_policy===!1},null,8,["is-privacy-updated"])])):L("",!0),E("div",QRt,[M(xRt,{user:p(n)},null,8,["user"])]),E("div",ZRt,[E("div",JRt,[M(NRt,{sports:p(s),user:p(n),class:fe({"is-hidden":a.value!=="chart"})},null,8,["sports","user","class"]),M(BRt,{sports:p(s),user:p(n),class:fe({"is-hidden":a.value!=="records"})},null,8,["sports","user","class"])]),E("div",eNt,[M(MIt,{sports:p(s),user:p(n),class:fe({"is-hidden":a.value!=="calendar"})},null,8,["sports","user","class"]),M(oIt,{sports:p(s),authUser:p(n),class:fe({"is-hidden":a.value!=="timeline"})},null,8,["sports","authUser","class"])])]),r[8]||(r[8]=E("div",{id:"bottom"},null,-1))])):(S(),g("div",tNt,[M(u)]))}}}),sNt=ne(nNt,[["__scopeId","data-v-7583b70b"]]),aNt={class:"not-found view"},oNt=Q({__name:"NotFoundView",setup(e){return(t,n)=>(S(),g("div",aNt,[M(zo)]))}}),iNt={key:0,class:"follow-request"},rNt={class:"follow-request-user"},uNt={class:"user-name"},lNt={key:0,class:"follow-request-actions"},cNt={key:1,class:"follow-request-actions"},dNt=Q({__name:"RelationshipDetail",props:{authUser:{},notification:{}},emits:["updatedUserRelationship","userLinkClicked"],setup(e,{emit:t}){const n=e,{authUser:s,notification:a}=pe(n),o=t,i=ye();function r(u,l){i.dispatch(K.ACTIONS.UPDATE_FOLLOW_REQUESTS,{username:u,action:l}),o("updatedUserRelationship")}return(u,l)=>{const d=j("router-link");return p(a).from?(S(),g("div",iNt,[E("div",rNt,[M(Vt,{user:p(a).from},null,8,["user"]),E("div",uNt,[M(d,{to:`/users/${p(a).from.username}`,onClick:l[0]||(l[0]=_=>u.$emit("userLinkClicked"))},{default:X(()=>[B(A(p(a).from.username),1)]),_:1},8,["to"])])]),p(a).type==="follow_request"?(S(),g("div",lNt,[E("button",{onClick:l[1]||(l[1]=_=>r(p(a).from.username,"accept"))},[l[4]||(l[4]=E("i",{class:"fa fa-check","aria-hidden":"true"},null,-1)),B(" "+A(u.$t("buttons.ACCEPT")),1)]),E("button",{onClick:l[2]||(l[2]=_=>r(p(a).from.username,"reject")),class:"danger"},[l[5]||(l[5]=E("i",{class:"fa fa-times","aria-hidden":"true"},null,-1)),B(" "+A(u.$t("buttons.REJECT")),1)])])):(S(),g("div",cNt,[M(el,{authUser:p(s),user:p(a).from,from:"notifications",displayFollowsYou:!0,onUpdatedUser:l[3]||(l[3]=()=>o("updatedUserRelationship"))},null,8,["authUser","user"])]))])):L("",!0)}}}),ENt=ne(dNt,[["__scopeId","data-v-2fb30145"]]),_Nt={class:"report-notification"},TNt={key:0,class:"reported-workout"},pNt={key:1,class:"deleted-object"},mNt={key:1,class:"reported-comment"},fNt={key:1,class:"deleted-object"},SNt={key:0,class:"reported-user"},ANt={class:"user-name"},hNt={key:1,class:"reported-user"},ONt={class:"deleted-object"},INt={class:"report-button"},RNt=Q({__name:"ReportNotification",props:{report:{}},emits:["reportButtonClicked"],setup(e,{emit:t}){const n=e,{report:s}=pe(n),a=t,o=fn();function i(r){o.push(`/admin/reports/${r}`),a("reportButtonClicked")}return(r,u)=>{const l=j("router-link");return S(),g("div",_Nt,[p(s).object_type==="workout"?(S(),g("div",TNt,[p(s).reported_workout?(S(),G(j_,{key:0,"display-appeal":!1,"display-object-name":!0,workout:p(s).reported_workout,"report-id":p(s).id},null,8,["workout","report-id"])):(S(),g("div",pNt,A(r.$t("admin.DELETED_WORKOUT")),1))])):L("",!0),p(s).object_type==="comment"?(S(),g("div",mNt,[p(s).reported_comment?(S(),G(q_,{key:0,"display-object-name":!0,comment:p(s).reported_comment},null,8,["comment"])):(S(),g("div",fNt,A(r.$t("admin.DELETED_COMMENT")),1))])):L("",!0),p(s).object_type==="user"?(S(),g(ae,{key:2},[p(s).reported_user?(S(),g("div",SNt,[M(Vt,{user:p(s).reported_user},null,8,["user"]),E("div",ANt,[M(l,{to:`/users/${p(s).reported_user.username}`},{default:X(()=>[B(A(p(s).reported_user.username),1)]),_:1},8,["to"])])])):(S(),g("div",hNt,[E("span",ONt,A(r.$t("admin.DELETED_USER")),1)]))],64)):L("",!0),E("div",INt,[E("button",{onClick:u[0]||(u[0]=d=>i(p(s).id))},A(r.$t("admin.APP_MODERATION.VIEW_REPORT"))+" #"+A(p(s).id),1)])])}}}),NNt=ne(RNt,[["__scopeId","data-v-d8331538"]]),gNt={class:"notification-data-button"},bNt={class:"notification-date"},vNt=["title"],CNt={class:"hidden-content"},PNt={key:0},DNt={class:"notification-reason"},LNt={key:1,class:"deleted-object"},yNt={key:1,class:"deleted-object"},UNt={key:5,class:"auth-user"},$Nt={class:"user-name"},kNt={key:6},wNt={key:0,class:"info-box appeal-in-progress"},MNt=Q({__name:"NotificationDetail",props:{authUser:{},notification:{}},emits:["reload","updateReadStatus"],setup(e,{emit:t}){const n=e,{authUser:s,notification:a}=pe(n),o=t,{locale:i}=Ge(),r=F(()=>R(a.value.type));function u(){o("reload")}function l(h,O){o("updateReadStatus",{notificationId:h,markedAsRead:O})}function d(h){h.marked_as_read||l(h.id,!0)}function _(){return["comment_like","comment_suspension","comment_unsuspension","mention","user_warning","user_warning_lifting","workout_comment"].includes(a.value.type)&&"comment"in a.value}function c(){return["workout_like","workout_suspension","workout_unsuspension","user_warning","user_warning_lifting","workout_comment"].includes(a.value.type)&&"workout"in a.value}function T(h){return["account_creation","follow","follow_request","follow_request_approved"].includes(h)}function m(){return!a.value.report_action||a.value.report_action.action_type!=="user_warning"?!1:!("workout"in a.value&&a.value.workout===null||"comment"in a.value&&a.value.comment===null)}function f(h){var O;switch(h){case"account_creation":return"notifications.SIGN_UP";case"comment_like":return"notifications.LIKED_YOUR_COMMENT";case"comment_suspension":return"notifications.YOUR_COMMENT_HAS_BEEN_SUSPENDED";case"comment_unsuspension":return"notifications.YOUR_COMMENT_HAS_BEEN_UNSUSPENDED";case"follow":return"user.RELATIONSHIPS.FOLLOWS_YOU";case"follow_request":return"notifications.SEND_FOLLOW_REQUEST_TO_YOU";case"follow_request_approved":return"notifications.ACCEPTED_FOLLOW_REQUEST";case"mention":return"notifications.MENTIONED_YOU";case"suspension_appeal":return"notifications.APPEALED_SUSPENSION";case"user_warning":return"notifications.YOU_RECEIVED_A_WARNING";case"user_warning_appeal":return"notifications.APPEALED_USER_WARNING";case"user_warning_lifting":return"notifications.YOUR_WARNING_HAS_BEEN_LIFTED";case"workout_comment":return"notifications.COMMENTED_YOUR_WORKOUT";case"workout_like":return"notifications.LIKED_YOUR_WORKOUT";case"workout_suspension":return"notifications.YOUR_WORKOUT_HAS_BEEN_SUSPENDED";case"workout_unsuspension":return"notifications.YOUR_WORKOUT_HAS_BEEN_UNSUSPENDED";case"report":return`notifications.REPORTED_USER_${(O=a.value.report)!=null&&O.object_type?a.value.report.object_type.toUpperCase():""}`;default:return""}}function R(h){switch(h){case"account_creation":return"user";case"follow":case"follow_request":case"follow_request_approved":return"user-plus";case"mention":return"at";case"comment_suspension":case"comment_unsuspension":case"report":case"suspension_appeal":case"user_warning":case"user_warning_appeal":case"user_warning_lifting":case"workout_suspension":case"workout_unsuspension":return"flag";case"comment_like":case"workout_like":return"heart";case"workout_comment":return"comment";default:return"bell"}}return(h,O)=>{const I=j("router-link"),N=j("Card");return p(a).id?(S(),G(N,{key:0,class:fe(["notification-card",{read:p(a).marked_as_read}])},{title:X(()=>[E("div",null,[E("i",{class:fe([`fa-${r.value}`,"fa notification-icon"]),"aria-hidden":"true"},null,2),p(a).from?(S(),G(I,{key:0,to:`/users/${p(a).from.username}`},{default:X(()=>[B(A(p(a).from.username),1)]),_:1},8,["to"])):L("",!0),B(" "+A(h.$t(f(p(a).type))),1)]),E("div",gNt,[E("div",bNt,A(p(Ga)(new Date(p(a).created_at),new Date,{addSuffix:!0,locale:p(i)})),1),E("button",{class:"mark-action",title:h.$t(`notifications.MARK_AS_${p(a).marked_as_read?"UN":""}READ`),onClick:O[0]||(O[0]=()=>l(p(a).id,!p(a).marked_as_read))},[E("span",CNt,A(h.$t(`notifications.MARK_AS_${p(a).marked_as_read?"UN":""}READ`)),1),E("i",{class:fe(["fa",`fa-eye${p(a).marked_as_read?"-slash":""}`]),"aria-hidden":"true"},null,2)],8,vNt)])]),content:X(()=>{var b,C,v,y,D,w;return[(b=p(a).report_action)!=null&&b.reason?(S(),g("div",PNt,[E("span",DNt,A(h.$t("admin.APP_MODERATION.REASON"))+": ",1),B(" "+A(p(a).report_action.reason),1)])):L("",!0),_()?(S(),g(ae,{key:1},[p(a).comment?(S(),G(q_,{key:0,"display-object-name":p(a).type.startsWith("user_warning"),comment:p(a).comment,action:p(a).report_action,onCommentLinkClicked:O[1]||(O[1]=P=>d(p(a)))},null,8,["display-object-name","comment","action"])):(S(),g("div",LNt,A(h.$t("admin.DELETED_COMMENT")),1))],64)):T(p(a).type)?(S(),G(ENt,{key:2,notification:p(a),authUser:p(s),onUpdatedUserRelationship:u,onUserLinkClicked:O[2]||(O[2]=P=>d(p(a)))},null,8,["notification","authUser"])):["report","suspension_appeal","user_warning_appeal"].includes(p(a).type)&&p(a).report?(S(),G(NNt,{key:3,report:p(a).report,onReportButtonClicked:O[3]||(O[3]=P=>d(p(a)))},null,8,["report"])):c()?(S(),g(ae,{key:4},[p(a).workout?(S(),G(j_,{key:0,action:p(a).report_action,"display-appeal":p(a).type!=="user_warning","display-object-name":p(a).type.startsWith("user_warning"),workout:p(a).workout,onWorkoutLinkClicked:O[4]||(O[4]=P=>d(p(a)))},null,8,["action","display-appeal","display-object-name","workout"])):(S(),g("div",yNt,A(h.$t("admin.DELETED_WORKOUT")),1))],64)):L("",!0),((C=p(a).report_action)==null?void 0:C.action_type)==="user_warning_lifting"&&!("comment"in p(a))&&!("workout"in p(a))?(S(),g("div",UNt,[M(Vt,{user:p(s)},null,8,["user"]),E("div",$Nt,[M(I,{to:`/users/${p(s).username}`},{default:X(()=>[B(A(p(s).username),1)]),_:1},8,["to"])])])):L("",!0),m()?(S(),g("div",kNt,[((y=(v=p(a).report_action)==null?void 0:v.appeal)==null?void 0:y.approved)===null?(S(),g("div",wNt,[E("span",null,[O[6]||(O[6]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(h.$t("user.APPEAL_IN_PROGRESS")),1)])])):!((D=p(a).report_action)!=null&&D.appeal)&&((w=p(a).report_action)!=null&&w.id)?(S(),G(I,{key:1,class:"appeal-link",to:`profile/moderation/sanctions/${p(a).report_action.id}`,onClick:O[5]||(O[5]=P=>d(p(a)))},{default:X(()=>[B(A(h.$t("user.APPEAL")),1)]),_:1},8,["to"])):L("",!0)])):L("",!0)]}),_:1},8,["class"])):L("",!0)}}}),WNt=ne(MNt,[["__scopeId","data-v-4dcac89e"]]),FNt={key:0,id:"notifications"},zNt={key:0,class:"no-notifications box"},BNt={class:"preferences-link"},GNt=Q({__name:"Notifications",setup(e){const t=ye(),n=at(),{authUser:s,isAuthUserSuspended:a}=Ye();let o=Dt(u(n.query));const i=F(()=>t.getters[ct.GETTERS.NOTIFICATIONS]),r=F(()=>t.getters[ct.GETTERS.PAGINATION]);function u(T){const m={};return"page"in T&&T.page&&(m.page=+T.page),"type"in T&&T.type&&(m.type=T.type),"status"in T&&T.status==="unread"&&(m.status="unread"),m}function l(){setTimeout(()=>{d(o)},500)}function d(T){a.value||t.dispatch(ct.ACTIONS.GET_NOTIFICATIONS,T)}function _(T){t.dispatch(ct.ACTIONS.UPDATE_STATUS,{...T,currentQuery:o})}function c(){t.dispatch(ct.ACTIONS.MARK_ALL_AS_READ,o)}return Ce(()=>n.query,T=>{o=u(T),d(o)}),Ce(()=>a.value,T=>{T||d(o)}),Ze(()=>d(o)),ut(()=>{t.commit(ct.MUTATIONS.EMPTY_NOTIFICATIONS)}),(T,m)=>{const f=j("router-link");return p(s).username?(S(),g("div",FNt,[i.value.length===0?(S(),g("div",zNt,A(T.$t("notifications.NO_NOTIFICATIONS")),1)):(S(),g(ae,{key:1},[E("button",{class:"mark-all-action",onClick:c},A(T.$t("notifications.MARK_ALL_AS_READ")),1),(S(!0),g(ae,null,be(i.value,R=>(S(),G(WNt,{key:R.id,"auth-user":p(s),notification:R,onReload:l,onUpdateReadStatus:_},null,8,["auth-user","notification"]))),128)),r.value.page?(S(),G(Yn,{key:0,path:"/notifications",pagination:r.value,query:p(o)},null,8,["pagination","query"])):L("",!0)],64)),E("div",BNt,[M(f,{to:"/profile/edit/notifications"},{default:X(()=>[B(A(T.$t("user.PROFILE.EDIT_NOTIFICATION_PREFERENCES")),1)]),_:1})])])):L("",!0)}}}),xNt=ne(GNt,[["__scopeId","data-v-13733b32"]]),VNt={class:"notifications-filters"},HNt={class:"box"},KNt={class:"form"},YNt={class:"form-all-items"},qNt={class:"form-items-group"},jNt={class:"status-title"},XNt={class:"status-radio"},QNt=["checked"],ZNt=["checked"],JNt={class:"form-items-group"},egt={class:"form-item"},tgt={for:"notification-labels"},ngt=["disabled","value"],sgt={value:""},agt=["value"],ogt=Q({__name:"NotificationsFilters",setup(e){const t=at(),n=fn(),s=ye(),{t:a}=Lt(),{authUserHasModeratorRights:o,isAuthUserSuspended:i}=Ye(),r=F(()=>s.getters[ct.GETTERS.TYPES]),u=F(()=>h());let l=Object.assign({},t.query);const d=Oe(_(t.query));function _(O){return"status"in O?O.status:null}function c(O){d.value=O,l.status=O,m()}function T(O){const I=O.target;I.value===""?delete l[I.name]:l[I.name]=I.value,m()}function m(){"page"in l&&(l.page="1"),n.push({path:"/notifications",query:l})}function f(O,I){return O.label>I.label?1:O.label!["report","suspension_appeal","user_warning_appeal"].includes(I)||o.value).map(I=>{O.push({label:a(`notifications.TYPES.${I}`),value:I})}),O.sort(f)}return Ce(()=>t.query,O=>{l=Object.assign({},O),d.value=_(O),R()}),Ze(()=>R()),ut(()=>{s.commit(ct.MUTATIONS.UPDATE_TYPES,[])}),(O,I)=>(S(),g("div",VNt,[E("div",HNt,[E("form",KNt,[E("div",YNt,[E("div",qNt,[E("span",jNt,A(O.$t("notifications.STATUS")),1),E("div",XNt,[E("label",null,[E("input",{type:"radio",name:"duration",checked:d.value==="unread",onClick:I[0]||(I[0]=N=>c("unread"))},null,8,QNt),B(" "+A(O.$t("notifications.UNREAD")),1)]),E("label",null,[E("input",{type:"radio",name:"all",checked:d.value!=="unread",onClick:I[1]||(I[1]=N=>c("all"))},null,8,ZNt),B(" "+A(O.$t("notifications.ALL")),1)])])]),E("div",JNt,[E("div",egt,[E("label",tgt,A(O.$t("notifications.TYPES.LABEL")),1),E("select",{class:"notification-labels",id:"notification-labels",name:"type",disabled:u.value.length===0,value:O.$route.query.type,onChange:T},[u.value.length>0?(S(),g(ae,{key:0},[E("option",sgt,A(O.$t("notifications.TYPES.ALL")),1),I[2]||(I[2]=E("option",{disabled:""},"──────",-1))],64)):L("",!0),(S(!0),g(ae,null,be(u.value,N=>(S(),g("option",{value:N.value,key:N.value},A(N.label),9,agt))),128))],40,ngt)])])])])])]))}}),igt=ne(ogt,[["__scopeId","data-v-af5b0c4c"]]),rgt={id:"notifications",class:"view items-list-view"},ugt={class:"container items-list-container"},lgt={class:"display-filters"},cgt={class:"list-container"},dgt=Q({__name:"NotificationsView",setup(e){const t=Oe(!0);function n(){t.value=!t.value}return(s,a)=>(S(),g("div",rgt,[E("div",ugt,[E("div",{class:fe(["filters-container",{hidden:t.value}])},[M(igt)],2),E("div",lgt,[E("div",{onClick:n},[E("i",{class:fe(`fa fa-caret-${t.value?"down":"up"}`),"aria-hidden":"true"},null,2),E("span",null,A(s.$t(`workouts.${t.value?"DISPLAY":"HIDE"}_FILTERS`)),1)])]),E("div",cgt,[M(xNt)])])]))}}),Egt={id:"privacy-policy",class:"view"},_gt={class:"container"},Tgt=Q({__name:"PrivacyPolicyView",setup(e){const t=ye();return Ze(()=>{t.dispatch(ee.ACTIONS.GET_APPLICATION_PRIVACY_POLICY)}),(n,s)=>(S(),g("div",Egt,[E("div",_gt,[M(Q1)]),s[0]||(s[0]=E("div",{id:"bottom"},null,-1))]))}}),pgt={class:"chart-menu"},mgt=["disabled","aria-label"],fgt={class:"time-frames custom-checkboxes-group"},Sgt={class:"time-frames-checkboxes custom-checkboxes"},Agt=["id","name","checked","onInput","disabled"],hgt=["id","tabindex","onKeydown"],Ogt=["disabled","aria-label"],Igt={class:"stats-type"},Rgt={class:"stats-type-radio"},Ngt=["checked","disabled"],ggt=["checked","disabled"],bgt=Q({__name:"StatsMenu",props:{isDisabled:{type:Boolean}},emits:["arrowClick","statsTypeUpdate","timeFrameUpdate"],setup(e,{emit:t}){const n=e,{isDisabled:s}=pe(n),a=t,o=["week","month","year"],i=Oe("month"),r=Oe("total");function u(d){i.value=d,a("timeFrameUpdate",d)}function l(d){r.value=d.target.value,a("statsTypeUpdate",r.value)}return(d,_)=>(S(),g(ae,null,[E("div",pgt,[E("button",{class:"chart-arrow transparent",onClick:_[0]||(_[0]=c=>a("arrowClick",!0)),onKeydown:_[1]||(_[1]=Xe(c=>a("arrowClick",!0),["enter"])),disabled:p(s),"aria-label":d.$t("common.PREVIOUS")},_[4]||(_[4]=[E("i",{class:"fa fa-chevron-left","aria-hidden":"true"},null,-1)]),40,mgt),E("div",fgt,[E("div",Sgt,[(S(),g(ae,null,be(o,c=>E("div",{class:"time-frame custom-checkbox",key:c},[E("label",null,[E("input",{type:"radio",id:c,name:c,checked:i.value===c,onInput:T=>u(c),disabled:p(s)},null,40,Agt),E("span",{id:`frame-${c}`,tabindex:p(s)?-1:0,role:"button",onKeydown:Xe(T=>u(c),["enter"])},A(d.$t(`statistics.TIME_FRAMES.${c}`)),41,hgt)])])),64))])]),E("button",{class:"chart-arrow transparent",onClick:_[2]||(_[2]=c=>a("arrowClick",!1)),onKeydown:_[3]||(_[3]=Xe(c=>a("arrowClick",!1),["enter"])),disabled:p(s),"aria-label":d.$t("common.NEXT")},_[5]||(_[5]=[E("i",{class:"fa fa-chevron-right","aria-hidden":"true"},null,-1)]),40,Ogt)]),E("div",Igt,[E("div",Rgt,[E("label",null,[E("input",{type:"radio",name:"stats_type",value:"total",checked:r.value==="total",disabled:p(s),onClick:l},null,8,Ngt),B(" "+A(d.$t("common.TOTAL")),1)]),E("label",null,[E("input",{type:"radio",name:"stats_type",value:"average",checked:r.value==="average",disabled:p(s),onClick:l},null,8,ggt),B(" "+A(d.$t("statistics.AVERAGE")),1)])])])],64))}}),vgt=ne(bgt,[["__scopeId","data-v-e11033fc"]]),Cgt={class:"sports-menu"},Pgt=["id","name","checked","onInput","onKeyup"],Dgt={class:"sport-label"},Lgt=Q({__name:"StatsSportsMenu",props:{userSports:{},selectedSportIds:{default:()=>[]}},emits:["selectedSportIdsUpdate"],setup(e,{emit:t}){const n=e,{selectedSportIds:s,userSports:a}=pe(n),o=t,{t:i}=Lt(),{sportColors:r}=Jt(),u=F(()=>rs(a.value,i));function l(d){o("selectedSportIdsUpdate",d)}return(d,_)=>{const c=j("SportImage");return S(),g("div",Cgt,[(S(!0),g(ae,null,be(u.value,T=>(S(),g("label",{type:"checkbox",key:T.id,style:Gn({color:T.color?T.color:p(r)[T.label]})},[E("input",{type:"checkbox",id:`${T.id}`,name:T.label,checked:p(s).includes(T.id),onInput:m=>l(T.id),onKeyup:Xe(Ne(m=>l(T.id),["prevent"]),["space"])},null,40,Pgt),M(c,{"sport-label":T.label,color:T.color},null,8,["sport-label","color"]),E("span",Dgt,A(T.translatedLabel),1)],4))),128))])}}}),ygt={key:0,id:"user-statistics"},Ugt=Q({__name:"index",props:{sports:{},user:{},isDisabled:{type:Boolean}},setup(e){const t=e,{sports:n,user:s}=pe(t),{t:a}=Lt(),o=Oe("month"),i=Oe("total"),r=Oe(c(o.value,i.value)),u=Oe(m(n.value)),l=F(()=>rs(t.sports,a));function d(R){o.value=R,r.value=c(R,i.value)}function _(R){i.value=R,r.value=c(o.value,R)}function c(R,h){return eRt(new Date,R,t.user.weekm,h)}function T(R){r.value=tRt(r.value,R,t.user.weekm)}function m(R){return R.map(h=>h.id)}function f(R){u.value.includes(R)?u.value=u.value.filter(h=>h!==R):u.value.push(R)}return Ce(()=>t.sports,R=>{u.value=m(R)}),(R,h)=>l.value?(S(),g("div",ygt,[M(vgt,{onStatsTypeUpdate:_,onTimeFrameUpdate:d,onArrowClick:T,isDisabled:R.isDisabled},null,8,["isDisabled"]),M(uI,{sports:p(n),user:p(s),chartParams:r.value,"displayed-sport-ids":u.value,fullStats:!0,isDisabled:R.isDisabled,selectedTimeFrame:o.value},null,8,["sports","user","chartParams","displayed-sport-ids","isDisabled","selectedTimeFrame"]),M(Lgt,{"selected-sport-ids":u.value,"user-sports":p(n),onSelectedSportIdsUpdate:f},null,8,["selected-sport-ids","user-sports"])])):L("",!0)}}),$gt=ne(Ugt,[["__scopeId","data-v-7214a579"]]),kgt={class:"sport-stat-card"},wgt={class:"stat-content"},Mgt={class:"stat-icon"},Wgt={class:"stat-details"},Fgt={class:"stat-label"},zgt={class:"stat-values"},Bgt={key:0,class:"fa fa-refresh fa-spin fa-fw"},Ggt={key:1,class:"stat-huge"},xgt={key:2,class:"stat"},Vgt={key:0,class:"stat-average"},Hgt={key:0},ao=Q({__name:"SportStatCard",props:{icon:{},text:{default:""},totalValue:{},label:{},loading:{type:Boolean}},setup(e){const t=e,{icon:n,loading:s,text:a,totalValue:o}=pe(t);return(i,r)=>(S(),g("div",kgt,[E("div",wgt,[E("div",Mgt,[E("i",{class:fe(["fa",`fa-${p(n)}`])},null,2)]),E("div",Wgt,[E("div",Fgt,A(i.label),1),E("div",zgt,[p(s)?(S(),g("i",Bgt)):(S(),g("span",Ggt,A(p(o)?p(o):""),1)),p(a)?(S(),g("span",xgt,A(p(a)),1)):L("",!0)]),["calendar","tachometer"].includes(p(n))?L("",!0):(S(),g("div",Vgt,[p(s)?(S(),g("div",Hgt,r[0]||(r[0]=[E("i",{class:"fa fa-refresh fa-spin fa-fw"},null,-1)]))):yt(i.$slots,"average",{key:1})]))])])]))}}),Kgt={id:"sport-statistics"},Ygt={for:"sport"},qgt=["value"],jgt={key:0,class:"sport-statistics"},Xgt={class:"sport-img-label"},Qgt={class:"sport-label"},Zgt={class:"label"},Jgt={class:"statistics"},ebt={key:0,class:"statistics-workouts-count"},tbt={key:1,class:"statistics-workouts-count"},nbt={class:"statistics"},sbt={class:"records"},abt={class:"label"},obt=Q({__name:"SportStatistics",props:{sports:{},authUser:{}},setup(e){const t=e,{authUser:n,sports:s}=pe(t),a=at(),o=fn(),i=ye(),{t:r}=Lt(),u=F(()=>rs(s.value,r,"all")),l=F(()=>u.value.map(v=>v.id)),d=F(()=>a.query.sport_id&&l.value.includes(+a.query.sport_id)?+a.query.sport_id:l.value[0]),_=F(()=>dI(n.value.records,u.value,n.value.timezone,n.value.imperial_units,n.value.display_ascent,n.value.date_format,d.value)),c=F(()=>u.value.find(v=>v.id===d.value)),T=F(()=>i.getters.USER_SPORT_STATS[d.value]),m=F(()=>i.getters.TOTAL_WORKOUTS),f=F(()=>n.value.imperial_units?On.km.defaultTarget:"km"),R=F(()=>n.value.imperial_units?On.m.defaultTarget:"m"),h=F(()=>i.getters.STATS_LOADING),O=F(()=>T.value?Y_(T.value.total_duration,r):{days:"",duration:""});function I(v,y){if(v===void 0)return"";const D=n.value.imperial_units?On[y].defaultTarget:y;return n.value.imperial_units?jt(v,y,D,2):v}function N(){i.dispatch(wt.ACTIONS.GET_USER_SPORT_STATS,{username:n.value.username,sportId:d.value})}function b(v){var D,w;const y=[];return(D=c.value)!=null&&D.translatedLabel&&v[(w=c.value)==null?void 0:w.translatedLabel].records.map(P=>{y.push({...P,label:r(`workouts.RECORD_${P.record_type}`)})}),y.sort(cI)}function C(v){o.push({path:"/statistics",query:{chart:"by_sport",sport_id:v.target.value}})}return Ce(()=>a.query,()=>{N()}),Ze(()=>N()),(v,y)=>{var P,W,Y,he,ie,me;const D=j("SportImage"),w=j("Distance");return S(),g("div",Kgt,[E("label",Ygt,A(v.$t("workouts.SPORT",1))+": ",1),We(E("select",{id:"sport","onUpdate:modelValue":y[0]||(y[0]=Ie=>d.value=Ie),onChange:C},[(S(!0),g(ae,null,be(u.value,Ie=>(S(),g("option",{value:Ie.id,key:Ie.id},A(Ie.translatedLabel),9,qgt))),128))],544),[[qt,d.value]]),c.value?(S(),g("div",jgt,[E("div",Xgt,[M(D,{"sport-label":c.value.label,color:c.value.color},null,8,["sport-label","color"]),E("div",Qgt,A(c.value.translatedLabel),1)]),E("div",null,[E("div",Zgt,[y[1]||(y[1]=E("i",{class:"fa fa-line-chart custom-fa-small","aria-hidden":"true"},null,-1)),B(" "+A(v.$t("statistics.STATISTICS",0)),1)]),E("div",Jgt,[M(ao,{icon:"calendar",loading:h.value,"total-value":m.value,label:v.$t("workouts.WORKOUT",0)},null,8,["loading","total-value","label"])]),T.value&&T.value.total_workouts[E("div",null,A(v.$t("statistics.AVERAGE"))+":",1),T.value?(S(),G(w,{key:0,distance:T.value.average_distance,unitFrom:"km",useImperialUnits:p(n).imperial_units},null,8,["distance","useImperialUnits"])):L("",!0)]),_:1},8,["loading","total-value","text","label"]),M(ao,{icon:"clock-o",loading:h.value,"total-value":O.value.days,text:O.value.duration,label:v.$t("workouts.DURATION")},{average:X(()=>[E("div",null,A(v.$t("statistics.AVERAGE"))+":",1),E("span",null,A(T.value?p(AE)(T.value.average_duration,v.$t):""),1)]),_:1},8,["loading","total-value","text","label"]),M(ao,{icon:"tachometer",loading:h.value,"total-value":I((W=T.value)==null?void 0:W.average_speed,"km"),text:`${f.value}/h`,label:v.$t("workouts.AVE_SPEED")},null,8,["loading","total-value","text","label"]),((Y=T.value)==null?void 0:Y.total_ascent)!==null?(S(),G(ao,{key:0,icon:"location-arrow",loading:h.value,"total-value":I((he=T.value)==null?void 0:he.total_ascent,"m"),text:R.value,label:v.$t("workouts.ASCENT")},{average:X(()=>[E("div",null,A(v.$t("statistics.AVERAGE"))+":",1),T.value?(S(),G(w,{key:0,distance:T.value.average_ascent,unitFrom:"m",useImperialUnits:p(n).imperial_units},null,8,["distance","useImperialUnits"])):L("",!0)]),_:1},8,["loading","total-value","text","label"])):L("",!0),((ie=T.value)==null?void 0:ie.total_descent)!==null?(S(),G(ao,{key:1,icon:"location-arrow fa-rotate-90",loading:h.value,"total-value":I((me=T.value)==null?void 0:me.total_descent,"m"),text:R.value,label:v.$t("workouts.DESCENT")},{average:X(()=>[E("div",null,A(v.$t("statistics.AVERAGE"))+":",1),T.value?(S(),G(w,{key:0,distance:T.value.average_descent,unitFrom:"m",useImperialUnits:p(n).imperial_units},null,8,["distance","useImperialUnits"])):L("",!0)]),_:1},8,["loading","total-value","text","label"])):L("",!0)])]),E("div",sbt,[E("div",abt,[y[2]||(y[2]=E("i",{class:"fa fa-trophy custom-fa-small","aria-hidden":"true"},null,-1)),B(" "+A(v.$t("workouts.RECORD",0)),1)]),E("div",null,[(S(!0),g(ae,null,be(b(_.value),Ie=>(S(),G(lI,{record:Ie,key:Ie.id},null,8,["record"]))),128))])])])):L("",!0)])}}}),ibt=ne(obt,[["__scopeId","data-v-32871e56"]]),rbt={id:"statistics",class:"view"},ubt={key:0,class:"container"},lbt={class:"visually-hidden",for:"stats-type"},cbt=["value"],dbt=Q({__name:"StatisticsView",setup(e){const t=at(),n=fn(),{authUser:s}=Ye(),{sports:a}=Jt(),o=["by_time","by_sport"],i=Oe("by_time"),r=F(()=>a.value.filter(d=>s.value.sports_list.includes(d.id))),u=F(()=>s.value.nb_workouts===0);function l(d){n.push({path:"/statistics",query:{chart:d.target.value}})}return Ze(()=>{i.value=t.query.chart&&o.includes(t.query.chart)?t.query.chart:"by_time"}),Et(()=>{if(!u.value){const d=document.getElementById("stats-type");d==null||d.focus()}}),(d,_)=>{const c=j("Card");return S(),g("div",rbt,[p(s).username?(S(),g("div",ubt,[M(c,null,{title:X(()=>[B(A(d.$t("statistics.STATISTICS"))+" ",1),E("label",lbt,A(d.$t("statistics.STATISTICS_TYPE")),1),r.value.length>0?We((S(),g("select",{key:0,class:"stats-types",name:"stats-type",id:"stats-type","onUpdate:modelValue":_[0]||(_[0]=T=>i.value=T),onChange:l},[(S(),g(ae,null,be(o,T=>E("option",{value:T,key:T},A(d.$t(`statistics.STATISTICS_TYPES.${T}`)),9,cbt)),64))],544)),[[qt,i.value]]):L("",!0)]),content:X(()=>[d.$route.query.chart!=="by_sport"?(S(),G($gt,{key:0,class:fe({"stats-disabled":u.value}),user:p(s),sports:r.value,isDisabled:u.value},null,8,["class","user","sports","isDisabled"])):r.value.length>0?(S(),G(ibt,{key:1,sports:r.value,authUser:p(s)},null,8,["sports","authUser"])):L("",!0)]),_:1}),p(s).nb_workouts===0?(S(),G(X_,{key:0})):L("",!0)])):L("",!0)])}}}),Ebt=ne(dbt,[["__scopeId","data-v-07517405"]]),_bt={name:"EmailSent"},Tbt={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 345.834 345.834",style:{"enable-background":"new 0 0 345.834 345.834"},"xml:space":"preserve"};function pbt(e,t,n,s,a,o){return S(),g("svg",Tbt,t[0]||(t[0]=[E("g",null,[E("path",{d:`M339.798,260.429c0.13-0.026,0.257-0.061,0.385-0.094c0.109-0.028,0.219-0.051,0.326-0.084 c0.125-0.038,0.247-0.085,0.369-0.129c0.108-0.039,0.217-0.074,0.324-0.119c0.115-0.048,0.226-0.104,0.338-0.157 c0.109-0.052,0.22-0.1,0.327-0.158c0.107-0.057,0.208-0.122,0.312-0.184c0.107-0.064,0.215-0.124,0.319-0.194 c0.111-0.074,0.214-0.156,0.321-0.236c0.09-0.067,0.182-0.13,0.27-0.202c0.162-0.133,0.316-0.275,0.466-0.421 @@ -683,7 +683,7 @@ and ensure you are accounting for this risk. V234.967z M185.878,179.888c0.535-0.535,0.969-1.131,1.308-1.765l28.051,24.835c1.418,1.255,3.194,1.885,4.972,1.885 c1.726,0,3.451-0.593,4.853-1.781l28.587-24.254c0.26,0.38,0.553,0.743,0.89,1.08l65.687,65.687H120.191L185.878,179.888z`}),E("path",{d:`M7.5,170.676h126.667c4.143,0,7.5-3.357,7.5-7.5s-3.357-7.5-7.5-7.5H7.5c-4.143,0-7.5,3.357-7.5,7.5 S3.357,170.676,7.5,170.676z`}),E("path",{d:`M20.625,129.345H77.5c4.143,0,7.5-3.357,7.5-7.5s-3.357-7.5-7.5-7.5H20.625c-4.143,0-7.5,3.357-7.5,7.5 - S16.482,129.345,20.625,129.345z`}),E("path",{d:"M62.5,226.51h-55c-4.143,0-7.5,3.357-7.5,7.5s3.357,7.5,7.5,7.5h55c4.143,0,7.5-3.357,7.5-7.5S66.643,226.51,62.5,226.51z"})],-1)]))}const dI=ne(Zgt,[["render",ebt]]),tbt={id:"user-form"},nbt={key:2,class:"info-box success-message"},sbt={class:"form-items"},abt={key:0,for:"username"},obt=["disabled"],ibt={key:2,class:"form-info"},rbt={key:3,for:"email"},ubt=["disabled"],lbt={key:5,class:"form-info"},cbt={key:6,for:"password"},dbt={key:8,for:"accepted_policy",class:"accepted_policy"},Ebt=["disabled"],_bt=["disabled"],Tbt={key:3},pbt={key:0},mbt={key:4},fbt={class:"account"},Sbt={key:5},Abt=Q({__name:"UserAuthForm",props:{action:{},token:{default:""}},setup(e){const t=e,{action:n,token:s}=pe(t),a=at(),o=ye(),{appConfig:i,appLanguage:r,errorMessages:u}=Ge(),{authUserSuccess:l}=Ye(),d=Lt({username:"",email:"",password:"",accepted_policy:!1}),_=Oe(!1),c=F(()=>R(t.action)),T=F(()=>o.getters[K.GETTERS.IS_REGISTRATION_SUCCESS]),m=F(()=>t.action==="register"&&!i.value.is_registration_enabled),S=F(()=>["reset-request","account-confirmation-resend"].includes(t.action)&&!i.value.is_email_sending_enabled);function R(b){switch(b){case"reset-request":case"reset":return"buttons.SUBMIT";default:return`buttons.${t.action.toUpperCase()}`}}function h(){_.value=!0}function O(b){d.password=b}function I(b){switch(b){case"reset":return s.value?o.dispatch(K.ACTIONS.RESET_USER_PASSWORD,{password:d.password,token:String(s.value)}):o.commit(ee.MUTATIONS.SET_ERROR_MESSAGES,"user.INVALID_TOKEN");case"reset-request":return o.dispatch(K.ACTIONS.SEND_PASSWORD_RESET_REQUEST,{email:d.email});case"account-confirmation-resend":return o.dispatch(K.ACTIONS.RESEND_ACCOUNT_CONFIRMATION_EMAIL,{email:d.email});default:d.language=r.value,o.dispatch(K.ACTIONS.LOGIN_OR_REGISTER,{actionType:b,formData:d,redirectUrl:a.query.from})}}function N(){d.username="",d.email="",d.password="",d.accepted_policy=!1}return Pe(()=>a.path,async()=>{o.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),o.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!1),o.commit(K.MUTATIONS.UPDATE_IS_REGISTRATION_SUCCESS,!1),_.value=!1,N()}),(b,P)=>{const C=j("AlertMessage"),y=j("router-link"),L=j("i18n-t"),w=j("ErrorMessage");return f(),g("div",{id:"user-auth-form",class:fe(`${["reset","reset-request"].includes(p(n))?p(n):"user-form"}`)},[E("div",tbt,[E("div",{class:fe(["form-box",{disabled:m.value}])},[m.value?(f(),G(C,{key:0,message:"user.REGISTER_DISABLED"})):v("",!0),S.value?(f(),G(C,{key:1,message:"admin.EMAIL_SENDING_DISABLED"})):v("",!0),p(l)||T.value?(f(),g("div",nbt,A(b.$t(`user.PROFILE.SUCCESSFUL_${T.value?`REGISTRATION${p(i).is_email_sending_enabled?"_WITH_EMAIL":""}`:"UPDATE"}`)),1)):v("",!0),E("form",{class:fe({errors:_.value}),onSubmit:P[3]||(P[3]=Ne(D=>I(p(n)),["prevent"]))},[E("div",sbt,[p(n)==="register"?(f(),g("label",abt,A(b.$t("user.USERNAME",0)),1)):v("",!0),p(n)==="register"?We((f(),g("input",{key:1,id:"username",disabled:m.value,required:"",pattern:"[a-zA-Z0-9_]+",minlength:"3",maxlength:"30",onInvalid:h,"onUpdate:modelValue":P[0]||(P[0]=D=>d.username=D),autocomplete:"username"},null,40,obt)),[[st,d.username]]):v("",!0),p(n)==="register"?(f(),g("div",ibt,[P[4]||(P[4]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(b.$t("user.USERNAME_INFO")),1)])):v("",!0),p(n)!=="reset"?(f(),g("label",rbt,A(b.$t("user.EMAIL",0)),1)):v("",!0),p(n)!=="reset"?We((f(),g("input",{key:4,id:"email",disabled:m.value||S.value,required:"",onInvalid:h,type:"email","onUpdate:modelValue":P[1]||(P[1]=D=>d.email=D),autocomplete:"email"},null,40,ubt)),[[st,d.email]]):v("",!0),["reset-request","register","account-confirmation-resend"].includes(p(n))?(f(),g("div",lbt,[P[5]||(P[5]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(b.$t("user.EMAIL_INFO")),1)])):v("",!0),["account-confirmation-resend","reset-request"].includes(p(n))?v("",!0):(f(),g("label",cbt,A(b.$t(`user.${p(n)==="reset"?"ENTER_PASSWORD":"PASSWORD"}`)),1)),["account-confirmation-resend","reset-request"].includes(p(n))?v("",!0):(f(),G(SE,{key:7,id:"password",disabled:m.value,required:!0,password:d.password,checkStrength:["reset","register"].includes(p(n)),onUpdatePassword:O,onPasswordError:h,autocomplete:"current-password"},null,8,["disabled","password","checkStrength"])),p(n)==="register"?(f(),g("label",dbt,[We(E("input",{type:"checkbox",id:"accepted_policy",disabled:m.value,required:"",onInvalid:h,"onUpdate:modelValue":P[2]||(P[2]=D=>d.accepted_policy=D)},null,40,Ebt),[[El,d.accepted_policy]]),E("span",null,[M(L,{keypath:"user.READ_AND_ACCEPT_PRIVACY_POLICY"},{default:X(()=>[M(y,{to:"/privacy-policy",target:"_blank"},{default:X(()=>[B(A(b.$t("privacy_policy.TITLE")),1)]),_:1})]),_:1})])])):v("",!0)]),E("button",{type:"submit",disabled:m.value||S.value},A(b.$t(c.value)),9,_bt)],34),p(n)==="login"?(f(),g("div",Tbt,[M(y,{class:"links",to:"/register"},{default:X(()=>[B(A(b.$t("user.REGISTER")),1)]),_:1}),p(i).is_email_sending_enabled?(f(),g("span",pbt,"-")):v("",!0),p(i).is_email_sending_enabled?(f(),G(y,{key:1,class:"links",to:"/password-reset/request"},{default:X(()=>[B(A(b.$t("user.PASSWORD_FORGOTTEN")),1)]),_:1})):v("",!0)])):v("",!0),p(n)==="register"?(f(),g("div",mbt,[E("span",fbt,A(b.$t("user.ALREADY_HAVE_ACCOUNT")),1),M(y,{class:"links",to:"/login"},{default:X(()=>[B(A(b.$t("user.LOGIN")),1)]),_:1})])):v("",!0),["login","register"].includes(p(n))&&p(i).is_email_sending_enabled?(f(),g("div",Sbt,[M(y,{class:"links",to:"/account-confirmation/resend"},{default:X(()=>[B(A(b.$t("user.ACCOUNT_CONFIRMATION_NOT_RECEIVED")),1)]),_:1})])):v("",!0),p(u)?(f(),G(w,{key:6,message:p(u)},null,8,["message"])):v("",!0)],2)])],2)}}}),X_=ne(Abt,[["__scopeId","data-v-5670ff78"]]),hbt={id:"account-confirmation-email",class:"center-card with-margin"},Obt={key:0,class:"email-sent"},Ibt={class:"email-sent-message"},Rbt={key:1},Nbt=Q({__name:"AccountConfirmationEmail",props:{action:{}},setup(e){const t=e,{action:n}=pe(t);return(s,a)=>{const o=j("Card");return f(),g("div",hbt,[p(n)==="email-sent"?(f(),g("div",Obt,[M(dI),E("div",Ibt,A(s.$t("user.ACCOUNT_CONFIRMATION_SENT")),1)])):(f(),g("div",Rbt,[M(o,null,{title:X(()=>[B(A(s.$t("user.RESENT_ACCOUNT_CONFIRMATION")),1)]),content:X(()=>[M(X_,{action:p(n)},null,8,["action"])]),_:1})]))])}}}),gbt=ne(Nbt,[["__scopeId","data-v-f404ba6a"]]),bbt={id:"account-confirmation",class:"view"},Cbt={class:"container"},Pbt=Q({__name:"AccountConfirmationResendView",props:{action:{}},setup(e){const t=e,{action:n}=pe(t);return(s,a)=>(f(),g("div",bbt,[E("div",Cbt,[M(gbt,{action:p(n)},null,8,["action"])])]))}}),VS=ne(Pbt,[["__scopeId","data-v-0ad8bbf3"]]),Dbt={key:0,id:"account-confirmation",class:"center-card with-margin"},Lbt={class:"error-message"},vbt=Q({__name:"AccountConfirmationView",setup(e){const t=On(),n=ye(),{errorMessages:s}=Ge(),{token:a}=Ye();function o(){a.value?n.dispatch(K.ACTIONS.CONFIRM_ACCOUNT,{token:a.value}):t.push("/")}return Ze(()=>o()),(i,r)=>{const u=j("router-link");return p(s)?(f(),g("div",Dbt,[M(l_),E("p",Lbt,[E("span",null,A(i.$t("error.SOMETHING_WRONG"))+".",1),M(u,{class:"links",to:"/account-confirmation/resend"},{default:X(()=>[B(A(i.$t("buttons.ACCOUNT-CONFIRMATION-RESEND"))+"? ",1)]),_:1})])])):v("",!0)}}}),ybt=ne(vbt,[["__scopeId","data-v-69bebdbd"]]),Ubt={key:0,id:"email-update",class:"center-card with-margin"},$bt={class:"error-message"},kbt=Q({__name:"EmailUpdateView",setup(e){const t=On(),n=ye(),{errorMessages:s}=Ge(),{authUser:a,isAuthenticated:o,token:i}=Ye();function r(){i.value?n.dispatch(K.ACTIONS.CONFIRM_EMAIL,{token:i.value,refreshUser:o.value}):t.push("/")}return Pe(()=>s.value,u=>{a.value.username&&u&&t.push("/")}),Ze(()=>r()),(u,l)=>{const d=j("router-link"),_=j("i18n-t");return p(s)&&!p(a).username?(f(),g("div",Ubt,[M(l_),E("p",$bt,[E("span",null,A(u.$t("error.SOMETHING_WRONG"))+".",1),E("span",null,[M(_,{keypath:"user.PROFILE.ERRORED_EMAIL_UPDATE"},{default:X(()=>[M(d,{to:"/login"},{default:X(()=>[B(A(u.$t("user.LOG_IN")),1)]),_:1})]),_:1})])])])):v("",!0)}}}),wbt=ne(kbt,[["__scopeId","data-v-96975d15"]]),Mbt={id:"loginOrRegister",class:"view"},Wbt={class:"container"},Fbt={class:"container-sub"},zbt={class:"container-sub"},Bbt=Q({__name:"LoginOrRegister",props:{action:{}},setup(e){const t=e,{action:n}=pe(t);return(s,a)=>(f(),g("div",Mbt,[E("div",Wbt,[E("div",Fbt,[M(eI)]),E("div",zbt,[M(X_,{action:p(n)},null,8,["action"])])])]))}}),HS=ne(Bbt,[["__scopeId","data-v-cfd921c5"]]),Gbt={name:"Password"},xbt={version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512.001 512.001",style:{"enable-background":"new 0 0 512.001 512.001"},"xml:space":"preserve"};function Vbt(e,t,n,s,a,o){return f(),g("svg",xbt,t[0]||(t[0]=[Pn(`R(t.action)),T=F(()=>o.getters[K.GETTERS.IS_REGISTRATION_SUCCESS]),m=F(()=>t.action==="register"&&!i.value.is_registration_enabled),f=F(()=>["reset-request","account-confirmation-resend"].includes(t.action)&&!i.value.is_email_sending_enabled);function R(b){switch(b){case"reset-request":case"reset":return"buttons.SUBMIT";default:return`buttons.${t.action.toUpperCase()}`}}function h(){_.value=!0}function O(b){d.password=b}function I(b){switch(b){case"reset":return s.value?o.dispatch(K.ACTIONS.RESET_USER_PASSWORD,{password:d.password,token:String(s.value)}):o.commit(ee.MUTATIONS.SET_ERROR_MESSAGES,"user.INVALID_TOKEN");case"reset-request":return o.dispatch(K.ACTIONS.SEND_PASSWORD_RESET_REQUEST,{email:d.email});case"account-confirmation-resend":return o.dispatch(K.ACTIONS.RESEND_ACCOUNT_CONFIRMATION_EMAIL,{email:d.email});default:d.language=r.value,o.dispatch(K.ACTIONS.LOGIN_OR_REGISTER,{actionType:b,formData:d,redirectUrl:a.query.from})}}function N(){d.username="",d.email="",d.password="",d.accepted_policy=!1}return Ce(()=>a.path,async()=>{o.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),o.commit(K.MUTATIONS.UPDATE_IS_SUCCESS,!1),o.commit(K.MUTATIONS.UPDATE_IS_REGISTRATION_SUCCESS,!1),_.value=!1,N()}),(b,C)=>{const v=j("AlertMessage"),y=j("router-link"),D=j("i18n-t"),w=j("ErrorMessage");return S(),g("div",{id:"user-auth-form",class:fe(`${["reset","reset-request"].includes(p(n))?p(n):"user-form"}`)},[E("div",mbt,[E("div",{class:fe(["form-box",{disabled:m.value}])},[m.value?(S(),G(v,{key:0,message:"user.REGISTER_DISABLED"})):L("",!0),f.value?(S(),G(v,{key:1,message:"admin.EMAIL_SENDING_DISABLED"})):L("",!0),p(l)||T.value?(S(),g("div",fbt,A(b.$t(`user.PROFILE.SUCCESSFUL_${T.value?`REGISTRATION${p(i).is_email_sending_enabled?"_WITH_EMAIL":""}`:"UPDATE"}`)),1)):L("",!0),E("form",{class:fe({errors:_.value}),onSubmit:C[3]||(C[3]=Ne(P=>I(p(n)),["prevent"]))},[E("div",Sbt,[p(n)==="register"?(S(),g("label",Abt,A(b.$t("user.USERNAME",0)),1)):L("",!0),p(n)==="register"?We((S(),g("input",{key:1,id:"username",disabled:m.value,required:"",pattern:"[a-zA-Z0-9_]+",minlength:"3",maxlength:"30",onInvalid:h,"onUpdate:modelValue":C[0]||(C[0]=P=>d.username=P),autocomplete:"username"},null,40,hbt)),[[st,d.username]]):L("",!0),p(n)==="register"?(S(),g("div",Obt,[C[4]||(C[4]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(b.$t("user.USERNAME_INFO")),1)])):L("",!0),p(n)!=="reset"?(S(),g("label",Ibt,A(b.$t("user.EMAIL",0)),1)):L("",!0),p(n)!=="reset"?We((S(),g("input",{key:4,id:"email",disabled:m.value||f.value,required:"",onInvalid:h,type:"email","onUpdate:modelValue":C[1]||(C[1]=P=>d.email=P),autocomplete:"email"},null,40,Rbt)),[[st,d.email]]):L("",!0),["reset-request","register","account-confirmation-resend"].includes(p(n))?(S(),g("div",Nbt,[C[5]||(C[5]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(b.$t("user.EMAIL_INFO")),1)])):L("",!0),["account-confirmation-resend","reset-request"].includes(p(n))?L("",!0):(S(),g("label",gbt,A(b.$t(`user.${p(n)==="reset"?"ENTER_PASSWORD":"PASSWORD"}`)),1)),["account-confirmation-resend","reset-request"].includes(p(n))?L("",!0):(S(),G(SE,{key:7,id:"password",disabled:m.value,required:!0,password:d.password,checkStrength:["reset","register"].includes(p(n)),onUpdatePassword:O,onPasswordError:h,autocomplete:"current-password"},null,8,["disabled","password","checkStrength"])),p(n)==="register"?(S(),g("label",bbt,[We(E("input",{type:"checkbox",id:"accepted_policy",disabled:m.value,required:"",onInvalid:h,"onUpdate:modelValue":C[2]||(C[2]=P=>d.accepted_policy=P)},null,40,vbt),[[_l,d.accepted_policy]]),E("span",null,[M(D,{keypath:"user.READ_AND_ACCEPT_PRIVACY_POLICY"},{default:X(()=>[M(y,{to:"/privacy-policy",target:"_blank"},{default:X(()=>[B(A(b.$t("privacy_policy.TITLE")),1)]),_:1})]),_:1})])])):L("",!0)]),E("button",{type:"submit",disabled:m.value||f.value},A(b.$t(c.value)),9,Cbt)],34),p(n)==="login"?(S(),g("div",Pbt,[M(y,{class:"links",to:"/register"},{default:X(()=>[B(A(b.$t("user.REGISTER")),1)]),_:1}),p(i).is_email_sending_enabled?(S(),g("span",Dbt,"-")):L("",!0),p(i).is_email_sending_enabled?(S(),G(y,{key:1,class:"links",to:"/password-reset/request"},{default:X(()=>[B(A(b.$t("user.PASSWORD_FORGOTTEN")),1)]),_:1})):L("",!0)])):L("",!0),p(n)==="register"?(S(),g("div",Lbt,[E("span",ybt,A(b.$t("user.ALREADY_HAVE_ACCOUNT")),1),M(y,{class:"links",to:"/login"},{default:X(()=>[B(A(b.$t("user.LOGIN")),1)]),_:1})])):L("",!0),["login","register"].includes(p(n))&&p(i).is_email_sending_enabled?(S(),g("div",Ubt,[M(y,{class:"links",to:"/account-confirmation/resend"},{default:X(()=>[B(A(b.$t("user.ACCOUNT_CONFIRMATION_NOT_RECEIVED")),1)]),_:1})])):L("",!0),p(u)?(S(),G(w,{key:6,message:p(u)},null,8,["message"])):L("",!0)],2)])],2)}}}),Q_=ne($bt,[["__scopeId","data-v-5670ff78"]]),kbt={id:"account-confirmation-email",class:"center-card with-margin"},wbt={key:0,class:"email-sent"},Mbt={class:"email-sent-message"},Wbt={key:1},Fbt=Q({__name:"AccountConfirmationEmail",props:{action:{}},setup(e){const t=e,{action:n}=pe(t);return(s,a)=>{const o=j("Card");return S(),g("div",kbt,[p(n)==="email-sent"?(S(),g("div",wbt,[M(EI),E("div",Mbt,A(s.$t("user.ACCOUNT_CONFIRMATION_SENT")),1)])):(S(),g("div",Wbt,[M(o,null,{title:X(()=>[B(A(s.$t("user.RESENT_ACCOUNT_CONFIRMATION")),1)]),content:X(()=>[M(Q_,{action:p(n)},null,8,["action"])]),_:1})]))])}}}),zbt=ne(Fbt,[["__scopeId","data-v-f404ba6a"]]),Bbt={id:"account-confirmation",class:"view"},Gbt={class:"container"},xbt=Q({__name:"AccountConfirmationResendView",props:{action:{}},setup(e){const t=e,{action:n}=pe(t);return(s,a)=>(S(),g("div",Bbt,[E("div",Gbt,[M(zbt,{action:p(n)},null,8,["action"])])]))}}),HS=ne(xbt,[["__scopeId","data-v-0ad8bbf3"]]),Vbt={key:0,id:"account-confirmation",class:"center-card with-margin"},Hbt={class:"error-message"},Kbt=Q({__name:"AccountConfirmationView",setup(e){const t=fn(),n=ye(),{errorMessages:s}=Ge(),{token:a}=Ye();function o(){a.value?n.dispatch(K.ACTIONS.CONFIRM_ACCOUNT,{token:a.value}):t.push("/")}return Ze(()=>o()),(i,r)=>{const u=j("router-link");return p(s)?(S(),g("div",Vbt,[M(l_),E("p",Hbt,[E("span",null,A(i.$t("error.SOMETHING_WRONG"))+".",1),M(u,{class:"links",to:"/account-confirmation/resend"},{default:X(()=>[B(A(i.$t("buttons.ACCOUNT-CONFIRMATION-RESEND"))+"? ",1)]),_:1})])])):L("",!0)}}}),Ybt=ne(Kbt,[["__scopeId","data-v-69bebdbd"]]),qbt={key:0,id:"email-update",class:"center-card with-margin"},jbt={class:"error-message"},Xbt=Q({__name:"EmailUpdateView",setup(e){const t=fn(),n=ye(),{errorMessages:s}=Ge(),{authUser:a,isAuthenticated:o,token:i}=Ye();function r(){i.value?n.dispatch(K.ACTIONS.CONFIRM_EMAIL,{token:i.value,refreshUser:o.value}):t.push("/")}return Ce(()=>s.value,u=>{a.value.username&&u&&t.push("/")}),Ze(()=>r()),(u,l)=>{const d=j("router-link"),_=j("i18n-t");return p(s)&&!p(a).username?(S(),g("div",qbt,[M(l_),E("p",jbt,[E("span",null,A(u.$t("error.SOMETHING_WRONG"))+".",1),E("span",null,[M(_,{keypath:"user.PROFILE.ERRORED_EMAIL_UPDATE"},{default:X(()=>[M(d,{to:"/login"},{default:X(()=>[B(A(u.$t("user.LOG_IN")),1)]),_:1})]),_:1})])])])):L("",!0)}}}),Qbt=ne(Xbt,[["__scopeId","data-v-96975d15"]]),Zbt={id:"loginOrRegister",class:"view"},Jbt={class:"container"},evt={class:"container-sub"},tvt={class:"container-sub"},nvt=Q({__name:"LoginOrRegister",props:{action:{}},setup(e){const t=e,{action:n}=pe(t);return(s,a)=>(S(),g("div",Zbt,[E("div",Jbt,[E("div",evt,[M(tI)]),E("div",tvt,[M(Q_,{action:p(n)},null,8,["action"])])])]))}}),KS=ne(nvt,[["__scopeId","data-v-cfd921c5"]]),svt={name:"Password"},avt={version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512.001 512.001",style:{"enable-background":"new 0 0 512.001 512.001"},"xml:space":"preserve"};function ovt(e,t,n,s,a,o){return S(),g("svg",avt,t[0]||(t[0]=[Nn(``,7)]))}const Hbt=ne(Gbt,[["render",Vbt]]),Kbt={id:"password-action-done",class:"center-card with-margin"},Ybt={class:"password-message"},qbt={key:0},jbt=Q({__name:"PasswordActionDone",props:{action:{}},setup(e){const t=e,{action:n}=pe(t);return(s,a)=>{const o=j("router-link"),i=j("i18n-t");return f(),g("div",Kbt,[p(n)==="request-sent"?(f(),G(dI,{key:0})):(f(),G(Hbt,{key:1})),E("div",Ybt,[p(n)==="request-sent"?(f(),g("span",qbt,A(s.$t("user.PASSWORD_SENT_EMAIL_TEXT")),1)):(f(),G(i,{key:1,keypath:"user.PASSWORD_UPDATED"},{default:X(()=>[M(o,{to:"/login"},{default:X(()=>[B(A(s.$t("common.HERE")),1)]),_:1})]),_:1}))])])}}}),Xbt=ne(jbt,[["__scopeId","data-v-82edbe6c"]]),Qbt={id:"password-reset-request",class:"center-card with-margin"},Zbt=Q({__name:"PasswordResetForm",props:{action:{},token:{default:""}},setup(e){const t=e,{action:n,token:s}=pe(t);return(a,o)=>{const i=j("Card");return f(),g("div",Qbt,[M(i,null,{title:X(()=>[B(A(a.$t("user.RESET_PASSWORD")),1)]),content:X(()=>[M(X_,{action:p(n),token:p(s)},null,8,["action","token"])]),_:1})])}}}),Jbt=ne(Zbt,[["__scopeId","data-v-25ace80f"]]),eCt={id:"password-reset",class:"view"},tCt={class:"container"},nCt=Q({__name:"PasswordResetView",props:{action:{}},setup(e){const t=e,{action:n}=pe(t),s=On(),{token:a}=Ye();return Ze(()=>{t.action==="reset"&&!a.value&&s.push("/")}),(o,i)=>(f(),g("div",eCt,[E("div",tCt,[p(n).startsWith("reset")?(f(),G(Jbt,{key:0,action:p(n),token:p(a)},null,8,["action","token"])):(f(),G(Xbt,{key:1,action:p(n)},null,8,["action"]))])]))}}),Mr=ne(nCt,[["__scopeId","data-v-aceaa6d3"]]),sCt={key:0,id:"profile",class:"view"},aCt=Q({__name:"ProfileView",setup(e){const{authUser:t}=Ye();return(n,s)=>{const a=j("router-view");return p(t).username?(f(),g("div",sCt,[M(a,{user:p(t)},null,8,["user"]),s[0]||(s[0]=E("div",{id:"bottom"},null,-1))])):v("",!0)}}}),oCt=ne(aCt,[["__scopeId","data-v-34141bd4"]]),iCt={id:"user-workouts"},rCt={key:0},uCt={class:"section-title"},lCt=Q({__name:"UserWorkoutsList",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),{dateFormat:s,imperialUnits:a,timezone:o}=Ye(),{sports:i}=en(),r=ye(),u=F(()=>r.getters[ue.GETTERS.USER_WORKOUTS]),l=F(()=>r.getters[ue.GETTERS.USER_WORKOUTS_LOADING]);function d(_){r.dispatch(ue.ACTIONS.GET_USER_WORKOUTS,_)}return Pe(()=>n.value,_=>{d(_.username)}),Ze(()=>{d(n.value.username),i.value.length===0&&n.value.nb_workouts>0&&r.dispatch(Vt.ACTIONS.GET_SPORTS)}),ut(()=>r.commit(ue.MUTATIONS.UPDATE_USER_WORKOUTS,[])),(_,c)=>{const T=j("Loader");return f(),g("div",iCt,[l.value?(f(),G(T,{key:0})):(f(),g(ae,{key:1},[u.value.length>0?(f(),g("div",rCt,[E("div",uCt,A(_.$t("workouts.LATEST_WORKOUTS")),1),(f(!0),g(ae,null,be(u.value,m=>(f(),G(Hi,{workout:m,sport:p(i).filter(S=>S.id===m.sport_id)[0],user:m.user,useImperialUnits:p(a),dateFormat:p(s),timezone:p(o),key:m.id},null,8,["workout","sport","user","useImperialUnits","dateFormat","timezone"]))),128))])):v("",!0)],64))])}}}),cCt=ne(lCt,[["__scopeId","data-v-661a0cb3"]]),dCt={id:"user",class:"view"},ECt={class:"box"},_Ct={key:1},TCt=Q({__name:"UserView",props:{fromAdmin:{type:Boolean}},setup(e){const t=e,{fromAdmin:n}=pe(t),s=at(),a=ye(),{authUser:o}=Ye(),i=F(()=>a.getters[ue.GETTERS.USER]),r=F(()=>s.name==="User"&&i.value.nb_workouts>0);function u(l){l.username&&typeof l.username=="string"&&(a.dispatch(ue.ACTIONS.GET_USER,l.username),a.dispatch(ue.ACTIONS.EMPTY_RELATIONSHIPS))}return Pe(()=>s.params,l=>{u(l)}),Ze(()=>{u(s.params)}),Qi(()=>{a.dispatch(ue.ACTIONS.EMPTY_USER),a.dispatch(ue.ACTIONS.EMPTY_RELATIONSHIPS)}),(l,d)=>{const _=j("router-view");return f(),g("div",dCt,[i.value.username?(f(),g(ae,{key:0},[M(v1,{user:i.value},null,8,["user"]),E("div",ECt,[l.$route.path.includes("follow")?(f(),G(_,{key:0,authUser:p(o),user:i.value},null,8,["authUser","user"])):(f(),G(U1,{key:1,authUser:p(o),user:i.value,"from-admin":p(n)},null,8,["authUser","user","from-admin"]))]),r.value?(f(),G(cCt,{key:0,user:i.value},null,8,["user"])):v("",!0)],64)):(f(),g("div",_Ct,[M(Fo,{target:"USER"})]))])}}}),KS=ne(TCt,[["__scopeId","data-v-d30f462a"]]),pCt={class:"users-list"},mCt={key:0,class:"container users-container"},fCt={key:1,class:"no-users"},SCt="created_at",ACt=Q({__name:"UsersList",props:{authUser:{}},setup(e){const t=e,{authUser:n}=pe(t),s=ye(),a=at(),o=On(),{isAuthUserSuspended:i}=Ye(),{errorMessages:r}=Ge(),u=["created_at","username","workouts_count"];let l=Lt(R(a.query));const d=Oe(null),_=F(()=>s.getters[ue.GETTERS.USERS]),c=F(()=>s.getters[ue.GETTERS.USERS_PAGINATION]);function T(h){i.value||(h.per_page=9,s.dispatch(ue.ACTIONS.GET_USERS,h))}function m(h){d.value=h}function S(h){if(h.value!=="")l=R({q:h.value});else{const O=Object.assign({},a.query);l=R(O)}o.push({path:"/users",query:l})}function R(h){const O=Lo(h,u,SCt);return h.q&&(O.q=h.q),O}return Pe(()=>a.query,h=>{l=R(h),T(l)}),Ze(()=>T(l)),ut(()=>{s.dispatch(ue.ACTIONS.EMPTY_USERS)}),(h,O)=>{const I=j("ErrorMessage");return f(),g("div",pCt,[M(L1,{onFilterOnUsername:S}),_.value.length>0?(f(),g("div",mCt,[(f(!0),g(ae,null,be(_.value,N=>(f(),g("div",{key:N.username,class:"user-box"},[M(Wl,{authUser:p(n),user:N,updatedUser:d.value,onUpdatedUserRelationship:m},null,8,["authUser","user","updatedUser"])]))),128))])):(f(),g("div",fCt,A(h.$t("user.NO_USERS_FOUND")),1)),c.value.page?(f(),G(Zn,{key:2,path:"/users",pagination:c.value,query:p(l)},null,8,["pagination","query"])):v("",!0),p(r)?(f(),G(I,{key:3,message:p(r)},null,8,["message"])):v("",!0)])}}}),hCt=ne(ACt,[["__scopeId","data-v-dd90017f"]]),OCt={key:0,id:"users",class:"view"},ICt={class:"container"},RCt=Q({__name:"UsersView",setup(e){const{authUser:t}=Ye();return(n,s)=>p(t).username?(f(),g("div",OCt,[E("div",ICt,[M(hCt,{authUser:p(t)},null,8,["authUser"])])])):v("",!0)}}),NCt={id:"workout-form"},gCt={class:"form-items"},bCt={key:0,class:"form-item-radio"},CCt=["checked","disabled"],PCt={for:"withGpx"},DCt=["checked","disabled"],LCt={for:"withoutGpx"},vCt={class:"form-item"},yCt={for:"sport"},UCt=["disabled"],$Ct=["value"],kCt={key:1,class:"form-item"},wCt={for:"gpxFile"},MCt=["disabled"],WCt={class:"files-help info-box"},FCt={class:"form-item"},zCt={for:"title"},BCt=["required","disabled"],GCt={key:0,class:"field-help"},xCt={class:"info-box"},VCt={key:2},HCt={class:"workout-date-duration"},KCt={class:"form-item"},YCt={class:"workout-date-time"},qCt=["disabled"],jCt=["disabled"],XCt={class:"form-item"},QCt={for:"workout-duration-hour",class:"visually-hidden"},ZCt=["disabled"],JCt={for:"workout-duration-minutes",class:"visually-hidden"},ePt=["disabled"],tPt={for:"workout-duration-seconds",class:"visually-hidden"},nPt=["disabled"],sPt={class:"workout-data"},aPt={class:"form-item"},oPt=["disabled"],iPt={class:"form-item"},rPt=["disabled"],uPt={class:"form-item"},lPt=["disabled"],cPt={key:3,class:"form-item"},dPt={for:"workout-equipment"},EPt=["disabled"],_Pt={value:""},TPt=["value"],pPt={class:"form-item"},mPt={for:"workout_visibility"},fPt=["disabled"],SPt=["value"],APt={key:4,class:"form-item"},hPt={for:"analysis_visibility"},OPt=["disabled"],IPt=["value"],RPt={key:5,class:"form-item"},NPt={for:"map_visibility"},gPt=["disabled"],bPt=["value"],CPt={key:6,class:"form-item"},PPt={for:"description"},DPt={key:0,class:"field-help"},LPt={class:"info-box"},vPt={key:7,class:"form-item"},yPt={for:"notes"},UPt={key:0,class:"field-help"},$Pt={class:"info-box"},kPt={key:1},wPt={key:2,class:"form-buttons"},MPt=["disabled"],WPt=Q({__name:"WorkoutEdition",props:{authUser:{},sports:{},isCreation:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},workout:{default:()=>({})}},setup(e){const t=e,{authUser:n,workout:s,isCreation:a,loading:o}=pe(t),i=On(),r=ye(),{t:u}=vt(),{appConfig:l,errorMessages:d}=Ge();let _=null;const c=Lt({sport_id:"",title:"",notes:"",workoutDate:"",workoutTime:"",workoutDurationHour:"",workoutDurationMinutes:"",workoutDurationSeconds:"",workoutDistance:"",workoutAscent:"",workoutDescent:"",equipment_id:"",description:"",mapVisibility:n.value.map_visibility,analysisVisibility:n.value.analysis_visibility,workoutVisibility:n.value.workouts_visibility}),T=Oe(s.value.id&&s.value.with_gpx?!0:a.value),m=Oe(!1),S=Oe([]),R=F(()=>ds(t.sports,u,"is_active_for_user",s.value.id?[s.value.sport_id]:[])),h=F(()=>l.value.max_single_file_size?Zu(l.value.max_single_file_size):""),O=F(()=>l.value.gpx_limit_import),I=F(()=>l.value.max_zip_file_size?Zu(l.value.max_zip_file_size):""),N=F(()=>r.getters[Be.GETTERS.EQUIPMENTS]),b=F(()=>c.sport_id?R.value.filter(se=>se.id===+c.sport_id)[0]:null),P=F(()=>N.value?C1(N.value,u,a.value?"is_active":"withIncludedIds",b.value,a.value?[]:s.value.equipments.map(se=>se.id)):[]),C=F(()=>$_()),y=F(()=>Qu(c.workoutVisibility)),L=F(()=>Qu(c.analysisVisibility));function w(se){c.notes=se.value}function D(se){c.description=se.value}function W(){T.value=!T.value,m.value=!1}function Y(se){se.target.files&&(_=se.target.files[0])}function he(se){if(c.sport_id=`${se.sport_id}`,c.title=se.title,c.description=se.description,c.notes=se.notes,c.equipment_id=se.equipments.length>0&&"id"in se.equipments[0]?`${se.equipments[0].id}`:"",c.workoutVisibility=se.workout_visibility?se.workout_visibility:"private",c.analysisVisibility=se.analysis_visibility?se.analysis_visibility:"private",c.mapVisibility=se.map_visibility?se.map_visibility:"private",!se.with_gpx){const $e=z0(Cl(se.workout_date,t.authUser.timezone),"yyyy-MM-dd");if(se.duration){const dt=se.duration.split(":");c.workoutDurationHour=dt[0],c.workoutDurationMinutes=dt[1],c.workoutDurationSeconds=dt[2]}se.distance&&(c.workoutDistance=`${n.value.imperial_units?Xt(se.distance,"km","mi",3):parseFloat(se.distance.toFixed(3))}`),c.workoutDate=$e.workout_date,c.workoutTime=$e.workout_time,c.workoutAscent=se.ascent===null?"":`${n.value.imperial_units?Xt(se.ascent,"m","ft",2):parseFloat(se.ascent.toFixed(2))}`,c.workoutDescent=se.descent===null?"":`${n.value.imperial_units?Xt(se.descent,"m","ft",2):parseFloat(se.descent.toFixed(2))}`}}function ie(){return S.value.includes("workouts.INVALID_DISTANCE")}function me(){return S.value.includes("workouts.INVALID_DURATION")}function Ie(){return S.value.includes("workouts.INVALID_ASCENT_OR_DESCENT")}function ve(se){S.value=[],se.duration=+c.workoutDurationHour*3600+ +c.workoutDurationMinutes*60+ +c.workoutDurationSeconds,se.duration<=0&&S.value.push("workouts.INVALID_DURATION"),se.distance=n.value.imperial_units?Xt(+c.workoutDistance,"mi","km",3):+c.workoutDistance,se.distance<=0&&S.value.push("workouts.INVALID_DISTANCE"),se.workout_date=`${c.workoutDate} ${c.workoutTime}`,se.ascent=c.workoutAscent===""?null:n.value.imperial_units?Xt(+c.workoutAscent,"ft","m",3):+c.workoutAscent,se.descent=c.workoutDescent===""?null:n.value.imperial_units?Xt(+c.workoutDescent,"ft","m",3):+c.workoutDescent,(se.ascent!==null&&se.descent===null||se.ascent===null&&se.descent!==null)&&S.value.push("workouts.INVALID_ASCENT_OR_DESCENT"),se.workout_visibility=c.workoutVisibility}function Ke(){const se={sport_id:+c.sport_id,description:c.description,notes:c.notes,equipment_ids:c.equipment_id&&P.value.find($e=>$e.id===c.equipment_id)?[c.equipment_id]:[],title:c.title,workout_visibility:c.workoutVisibility};if(t.workout.id)t.workout.with_gpx?(se.analysis_visibility=c.analysisVisibility,se.map_visibility=c.mapVisibility):ve(se),S.value.length>0?r.commit(ee.MUTATIONS.SET_ERROR_MESSAGES,S.value):r.dispatch(J.ACTIONS.EDIT_WORKOUT,{workoutId:t.workout.id,data:se});else if(T.value){if(!_){r.commit(ee.MUTATIONS.SET_ERROR_MESSAGES,"workouts.NO_FILE_PROVIDED");return}se.file=_,se.analysis_visibility=c.analysisVisibility,se.map_visibility=c.mapVisibility,r.dispatch(J.ACTIONS.ADD_WORKOUT,se)}else ve(se),S.value.length>0?r.commit(ee.MUTATIONS.SET_ERROR_MESSAGES,S.value):r.dispatch(J.ACTIONS.ADD_WORKOUT_WITHOUT_GPX,se)}function Je(){t.workout.id?i.push({name:"Workout",params:{workoutId:t.workout.id}}):i.go(-1)}function He(){m.value=!0}function Tt(){c.analysisVisibility=Xu(c.analysisVisibility,c.workoutVisibility),we()}function we(){c.mapVisibility=Xu(c.mapVisibility,c.analysisVisibility)}return Pe(()=>t.workout,async(se,$e)=>{se!==$e&&se&&se.id&&he(se)}),Pe(()=>b.value,se=>{a.value&&(c.equipment_id=se!=null&&se.default_equipments&&(se==null?void 0:se.default_equipments.length)>0?`${se.default_equipments[0].id}`:"")}),Pe(()=>n.value,se=>{se&&a&&(c.workoutVisibility=se.workouts_visibility,c.analysisVisibility=se.analysis_visibility,c.mapVisibility=se.map_visibility)}),Et(()=>{let se;t.workout.id?(he(t.workout),se=document.getElementById("sport")):se=document.getElementById("withGpx"),se&&se.focus()}),(se,$e)=>{const dt=j("CustomTextArea"),_e=j("ErrorMessage"),Z=j("Loader"),Ae=j("Card");return f(),g("div",{id:"workout-edition",class:fe(["center-card",{"center-form":p(s)&&p(s).with_gpx,"with-margin":!p(a)}])},[M(Ae,null,{title:X(()=>[B(A(se.$t(`workouts.${p(a)?"ADD":"EDIT"}_WORKOUT`)),1)]),content:X(()=>[E("div",NCt,[E("form",{class:fe({errors:m.value}),onSubmit:Ne(Ke,["prevent"])},[E("div",gCt,[p(a)?(f(),g("div",bCt,[E("div",null,[E("input",{id:"withGpx",type:"radio",checked:T.value,disabled:p(o),onClick:W},null,8,CCt),E("label",PCt,A(se.$t("workouts.WITH_GPX")),1)]),E("div",null,[E("input",{id:"withoutGpx",type:"radio",checked:!T.value,disabled:p(o),onClick:W},null,8,DCt),E("label",LCt,A(se.$t("workouts.WITHOUT_GPX")),1)])])):v("",!0),E("div",vCt,[E("label",yCt,A(se.$t("workouts.SPORT",1))+"*: ",1),We(E("select",{id:"sport",required:"",onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[0]||($e[0]=Te=>c.sport_id=Te)},[(f(!0),g(ae,null,be(R.value,Te=>(f(),g("option",{value:Te.id,key:Te.id},A(Te.translatedLabel),9,$Ct))),128))],40,UCt),[[jt,c.sport_id]])]),p(a)&&T.value?(f(),g("div",kCt,[E("label",wCt,A(se.$t("workouts.GPX_FILE"))+" "+A(se.$t("workouts.ZIP_ARCHIVE_DESCRIPTION"))+"*: ",1),E("input",{id:"gpxFile",name:"gpxFile",type:"file",accept:".gpx, .zip",disabled:p(o),required:"",onInvalid:He,onInput:Y},null,40,MCt),E("div",WCt,[E("div",null,[E("strong",null,A(se.$t("workouts.GPX_FILE"))+":",1),E("ul",null,[E("li",null,A(se.$t("workouts.MAX_SIZE"))+": "+A(h.value),1)])]),E("div",null,[E("strong",null,A(se.$t("workouts.ZIP_ARCHIVE"))+":",1),E("ul",null,[E("li",null,A(se.$t("workouts.NO_FOLDER")),1),E("li",null,A(se.$t("workouts.MAX_FILES"))+": "+A(O.value),1),E("li",null,A(se.$t("workouts.MAX_SIZE"))+": "+A(I.value),1)])])])])):v("",!0),E("div",FCt,[E("label",zCt,A(se.$t("workouts.TITLE"))+A(p(a)?"":"*")+": ",1),We(E("input",{id:"title",name:"title",type:"text",required:!p(a),onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[1]||($e[1]=Te=>c.title=Te),maxlength:"255"},null,40,BCt),[[st,c.title]]),T.value&&p(a)?(f(),g("div",GCt,[E("span",xCt,[$e[14]||($e[14]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(se.$t("workouts.TITLE_FIELD_HELP")),1)])])):v("",!0)]),T.value?v("",!0):(f(),g("div",VCt,[E("div",HCt,[E("div",KCt,[E("label",null,A(se.$t("workouts.WORKOUT_DATE"))+"*:",1),E("div",YCt,[We(E("input",{id:"workout-date",name:"workout-date",type:"date",required:"",onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[2]||($e[2]=Te=>c.workoutDate=Te)},null,40,qCt),[[st,c.workoutDate]]),We(E("input",{id:"workout-time",name:"workout-time",class:"workout-time",type:"time",required:"",onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[3]||($e[3]=Te=>c.workoutTime=Te)},null,40,jCt),[[st,c.workoutTime]])])]),E("div",XCt,[E("label",null,A(se.$t("workouts.DURATION"))+"*:",1),E("div",null,[E("label",QCt,A(se.$t("common.HOURS",0)),1),We(E("input",{id:"workout-duration-hour",name:"workout-duration-hour",class:fe(["workout-duration",{errored:me()}]),type:"text",placeholder:"HH",minlength:"1",maxlength:"2",pattern:"^([0-1]?[0-9]|2[0-3])$",required:"",onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[4]||($e[4]=Te=>c.workoutDurationHour=Te)},null,42,ZCt),[[st,c.workoutDurationHour]]),$e[15]||($e[15]=B(" : ")),E("label",JCt,A(se.$t("common.MINUTES",0)),1),We(E("input",{id:"workout-duration-minutes",name:"workout-duration-minutes",class:fe(["workout-duration",{errored:me()}]),type:"text",pattern:"^([0-5][0-9])$",minlength:"2",maxlength:"2",placeholder:"MM",required:"",onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[5]||($e[5]=Te=>c.workoutDurationMinutes=Te)},null,42,ePt),[[st,c.workoutDurationMinutes]]),$e[16]||($e[16]=B(" : ")),E("label",tPt,A(se.$t("common.SECONDS",0)),1),We(E("input",{id:"workout-duration-seconds",name:"workout-duration-seconds",class:fe(["workout-duration",{errored:me()}]),type:"text",pattern:"^([0-5][0-9])$",minlength:"2",maxlength:"2",placeholder:"SS",required:"",onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[6]||($e[6]=Te=>c.workoutDurationSeconds=Te)},null,42,nPt),[[st,c.workoutDurationSeconds]])])])]),E("div",sPt,[E("div",aPt,[E("label",null,A(se.$t("workouts.DISTANCE"))+" ("+A(p(n).imperial_units?"mi":"km")+")*: ",1),We(E("input",{class:fe({errored:ie()}),name:"workout-distance",type:"number",min:"0",step:"0.001",required:"",onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[7]||($e[7]=Te=>c.workoutDistance=Te)},null,42,oPt),[[st,c.workoutDistance]])]),E("div",iPt,[E("label",null,A(se.$t("workouts.ASCENT"))+" ("+A(p(n).imperial_units?"ft":"m")+"): ",1),We(E("input",{class:fe({errored:Ie()}),name:"workout-ascent",type:"number",min:"0",step:"0.01",onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[8]||($e[8]=Te=>c.workoutAscent=Te)},null,42,rPt),[[st,c.workoutAscent]])]),E("div",uPt,[E("label",null,A(se.$t("workouts.DESCENT"))+" ("+A(p(n).imperial_units?"ft":"m")+"): ",1),We(E("input",{class:fe({errored:Ie()}),name:"workout-descent",type:"number",min:"0",step:"0.01",onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[9]||($e[9]=Te=>c.workoutDescent=Te)},null,42,lPt),[[st,c.workoutDescent]])])])])),N.value?(f(),g("div",cPt,[E("label",dPt,A(se.$t("equipments.EQUIPMENT",1))+": ",1),We(E("select",{id:"workout-equipment",onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[10]||($e[10]=Te=>c.equipment_id=Te)},[E("option",_Pt,A(se.$t("equipments.NO_EQUIPMENTS")),1),(f(!0),g(ae,null,be(P.value,Te=>(f(),g("option",{value:Te.id,key:Te.id},A(Te.label),9,TPt))),128))],40,EPt),[[jt,c.equipment_id]])])):v("",!0),E("div",pPt,[E("label",mPt,A(se.$t("visibility_levels.WORKOUT_VISIBILITY"))+": ",1),We(E("select",{id:"workout_visibility","onUpdate:modelValue":$e[11]||($e[11]=Te=>c.workoutVisibility=Te),disabled:p(o),onChange:Tt},[(f(!0),g(ae,null,be(C.value,Te=>(f(),g("option",{value:Te,key:Te},A(se.$t(`visibility_levels.LEVELS.${Te}`)),9,SPt))),128))],40,fPt),[[jt,c.workoutVisibility]])]),T.value?(f(),g("div",APt,[E("label",hPt,A(se.$t("visibility_levels.ANALYSIS_VISIBILITY"))+": ",1),We(E("select",{id:"analysis_visibility","onUpdate:modelValue":$e[12]||($e[12]=Te=>c.analysisVisibility=Te),onChange:we,disabled:p(o)},[(f(!0),g(ae,null,be(y.value,Te=>(f(),g("option",{value:Te,key:Te},A(se.$t(`visibility_levels.LEVELS.${Te}`)),9,IPt))),128))],40,OPt),[[jt,c.analysisVisibility]])])):v("",!0),T.value?(f(),g("div",RPt,[E("label",NPt,A(se.$t("visibility_levels.MAP_VISIBILITY"))+": ",1),We(E("select",{id:"map_visibility","onUpdate:modelValue":$e[13]||($e[13]=Te=>c.mapVisibility=Te),disabled:p(o)},[(f(!0),g(ae,null,be(L.value,Te=>(f(),g("option",{value:Te,key:Te},A(se.$t(`visibility_levels.LEVELS.${Te}`)),9,bPt))),128))],8,gPt),[[jt,c.mapVisibility]])])):v("",!0),p(a)?(f(),g("div",CPt,[E("label",PPt,A(se.$t("workouts.DESCRIPTION"))+": ",1),M(dt,{name:"description",input:c.description,disabled:p(o),charLimit:1e4,rows:5,onUpdateValue:D},null,8,["input","disabled"]),T.value&&p(a)?(f(),g("div",DPt,[E("span",LPt,[$e[17]||($e[17]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(se.$t("workouts.DESCRIPTION_FIELD_HELP")),1)])])):v("",!0)])):v("",!0),p(a)?(f(),g("div",vPt,[E("label",yPt,A(se.$t("workouts.PRIVATE_NOTES"))+": ",1),M(dt,{name:"notes",input:c.notes,disabled:p(o),onUpdateValue:w},null,8,["input","disabled"]),p(a)?(f(),g("div",UPt,[E("span",$Pt,[$e[18]||($e[18]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(se.$t("workouts.PRIVATE_NOTES_FIELD_HELP")),1)])])):v("",!0)])):v("",!0)]),p(d)?(f(),G(_e,{key:0,message:p(d)},null,8,["message"])):v("",!0),p(o)?(f(),g("div",kPt,[M(Z)])):(f(),g("div",wPt,[E("button",{class:"confirm",type:"submit",disabled:p(o)},A(se.$t("buttons.SUBMIT")),9,MPt),E("button",{class:"cancel",onClick:Ne(Je,["prevent"])},A(se.$t("buttons.CANCEL")),1)]))],34)])]),_:1})],2)}}}),EI=ne(WPt,[["__scopeId","data-v-b437a952"]]),FPt={id:"add-workout",class:"view"},zPt={class:"container"},BPt=Q({__name:"AddWorkout",setup(e){const t=ye(),{authUser:n}=Ye(),{sports:s}=en(),a=F(()=>t.getters[J.GETTERS.WORKOUT_DATA]);return(o,i)=>(f(),g("div",FPt,[E("div",zPt,[M(EI,{authUser:p(n),sports:p(s),isCreation:!0,loading:a.value.loading},null,8,["authUser","sports","loading"])])]))}}),GPt={class:"workout-comments"},xPt={key:0,class:"no-comments"},VPt={key:1,class:"add-comment"},HPt={key:2,class:"add-comment-button"},KPt=Q({__name:"Comments",props:{workoutData:{},authUser:{}},setup(e){const t=e,{workoutData:n}=pe(t),s=at(),a=ye(),o=Oe(),i=F(()=>n.value.comments),r=F(()=>n.value.currentCommentEdition.type==="delete"),u=F(()=>n.value.currentCommentEdition.type==="new"),l=F(()=>n.value.commentsLoading==="all"),d=F(()=>n.value.commentsLoading==="delete"),_=F(()=>s.params.commentId);function c(){const R=n.value.currentCommentEdition.comment;R&&a.dispatch(J.ACTIONS.DELETE_WORKOUT_COMMENT,{workoutId:R.workout_id,commentId:R.id})}function T(){a.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{})}function m(){a.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{type:"new"}),o.value=setTimeout(()=>{const R=document.getElementById("text");R&&(R.focus(),R.scrollIntoView({behavior:"smooth"}))},100)}function S(R){o.value=setTimeout(()=>{const h=document.getElementById(R);h&&h.scrollIntoView({behavior:"smooth"})},500)}return Pe(()=>n.value.comments,()=>{a.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{})}),Et(()=>{rn(()=>{_.value&&S(_.value)})}),ut(()=>{o.value&&clearTimeout(o.value)}),(R,h)=>{const O=j("Modal"),I=j("Loader"),N=j("Comment"),b=j("Card");return f(),g("div",GPt,[r.value?(f(),G(O,{key:0,title:R.$t("common.CONFIRMATION"),message:R.$t("workouts.COMMENTS.DELETION_CONFIRMATION"),loading:d.value,onConfirmAction:c,onCancelAction:T},null,8,["title","message","loading"])):v("",!0),M(b,null,Ao({title:X(()=>[B(A(Fe(R.$t("workouts.COMMENTS.LABEL",0))),1)]),_:2},[l.value?{name:"content",fn:X(()=>[M(I)]),key:"0"}:{name:"content",fn:X(()=>[(f(!0),g(ae,null,be(i.value,P=>(f(),G(N,{key:P.id,comment:P,workout:p(n).workout,"current-comment-edition":p(n).currentCommentEdition,authUser:R.authUser,"comments-loading":"workoutData.commentsLoading",action:P.suspension},null,8,["comment","workout","current-comment-edition","authUser","action"]))),128)),p(n).comments.length===0?(f(),g("div",xPt,A(R.$t("workouts.COMMENTS.NO_COMMENTS")),1)):v("",!0),u.value?(f(),g("div",VPt,[R.authUser.username?(f(),G(I1,{key:0,workout:p(n).workout,"comments-loading":"workoutData.commentsLoading","auth-user":R.authUser},null,8,["workout","auth-user"])):v("",!0)])):R.authUser.username&&p(n).workout.id?(f(),g("div",HPt,[E("button",{onClick:Ne(m,["prevent"])},A(R.$t("workouts.COMMENTS.ADD")),1)])):v("",!0)]),key:"1"}]),1024)])}}}),_I=ne(KPt,[["__scopeId","data-v-f2a1661a"]]),YPt={id:"comments",class:"view"},qPt={class:"container"},jPt={class:"comments-container"},XPt={key:0},QPt={class:"box no-workout"},ZPt={key:1},JPt=Q({__name:"CommentView",setup(e){const t=at(),n=ye(),{authUser:s}=Ye(),a=F(()=>n.getters[J.GETTERS.WORKOUT_DATA]);return Pe(()=>t.params.commentId,async o=>{o&&n.dispatch(J.ACTIONS.GET_WORKOUT_COMMENT,o)}),Ze(()=>{n.dispatch(J.ACTIONS.GET_WORKOUT_COMMENT,t.params.commentId)}),ut(()=>{n.commit(J.MUTATIONS.EMPTY_WORKOUT)}),(o,i)=>(f(),g("div",YPt,[E("div",qPt,[E("div",jPt,[a.value.comments.length>0?(f(),g("div",XPt,[E("div",QPt,A(o.$t("workouts.NO_WORKOUT_AVAILABLE")),1),M(_I,{workoutData:a.value,"auth-user":p(s),"with-parent":!0},null,8,["workoutData","auth-user"]),i[0]||(i[0]=E("div",{id:"bottom"},null,-1))])):(f(),g("div",ZPt,[a.value.commentsLoading?v("",!0):(f(),G(Fo,{key:0,target:"COMMENT"}))]))])])]))}}),eDt=ne(JPt,[["__scopeId","data-v-5ce7658e"]]),tDt={id:"edit-workout",class:"view"},nDt={class:"container"},sDt=Q({__name:"EditWorkout",setup(e){const t=at(),n=ye(),{authUser:s}=Ye(),{sports:a}=en(),o=F(()=>n.getters[J.GETTERS.WORKOUT_DATA]);return Pe(()=>t.params.workoutId,async i=>{i||n.commit(J.MUTATIONS.EMPTY_WORKOUT)}),Ze(()=>{n.dispatch(J.ACTIONS.GET_WORKOUT_DATA,{workoutId:t.params.workoutId})}),(i,r)=>(f(),g("div",tDt,[E("div",nDt,[o.value.workout.id?(f(),G(EI,{key:0,authUser:p(s),sports:p(a),workout:o.value.workout,loading:o.value.loading},null,8,["authUser","sports","workout","loading"])):v("",!0)])]))}}),aDt={id:"likes",class:"view"},oDt={class:"center-card"},iDt={key:0},rDt={class:"users"},uDt={key:1,class:"no-likes"},lDt=Q({__name:"Likes",props:{objectType:{}},setup(e){const t=e,{objectType:n}=pe(t),s=ye(),a=at(),{authUser:o}=Ye(),{errorMessages:i}=Ge(),r=Oe(null),u=F(()=>s.getters[ue.GETTERS.USERS]),l=F(()=>s.getters[ue.GETTERS.USERS_PAGINATION]),d=F(()=>n.value==="workout"?a.params.workoutId:a.params.commentId),_=F(()=>a.params.workoutId?a.params.workoutId:null),c=Lt(S(a.query)),T=F(()=>({objectType:n.value,objectId:d.value,page:1}));function m(h){r.value=h}function S(h){const O={};return O.page=Do(h.page,cr),O}function R(h){s.dispatch(J.ACTIONS.GET_LIKES,h)}return Pe(()=>a.query,(h,O)=>{h.page!==O.page&&(c.page=S(h).page,T.value.page=h.page?+h.page:1,R(T.value))}),Ze(()=>R(T.value)),ut(()=>{s.dispatch(ue.ACTIONS.EMPTY_USERS)}),(h,O)=>{const I=j("ErrorMessage");return f(),g("div",aDt,[E("div",oDt,[M(M_,null,{title:X(()=>[B(A(Fe(h.$t("workouts.LIKES",0))),1)]),content:X(()=>[u.value.length>0?(f(),g("div",iDt,[E("div",rDt,[(f(!0),g(ae,null,be(u.value,N=>(f(),G(Wl,{key:N.username,authUser:p(o),user:N,updatedUser:r.value,onUpdatedUserRelationship:m},null,8,["authUser","user","updatedUser"]))),128))]),M(Zn,{path:`/${p(n)}s/${d.value}/likes`,pagination:l.value,query:c},null,8,["path","pagination","query"])])):(f(),g("div",uDt,A(h.$t("workouts.NO_LIKES")),1)),p(i)?(f(),G(I,{key:2,message:p(i),"no-margin":!0},null,8,["message"])):v("",!0),E("div",null,[E("button",{onClick:O[0]||(O[0]=N=>h.$router.push(_.value?`/workouts/${_.value}/comments/${d.value}`:`/${p(n)}s/${d.value}`))},A(h.$t(`workouts.BACK_TO_${p(n).toUpperCase()}`)),1)])]),_:1})])])}}}),Td=ne(lDt,[["__scopeId","data-v-261d0858"]]),cDt={id:"workout-card-title"},dDt=["disabled","title"],EDt={class:"workout-card-title"},_Dt={key:0,class:"workout-title-date"},TDt={key:0,class:"workout-title"},pDt={key:0},mDt=["aria-label"],fDt=["aria-label"],SDt=["aria-label"],ADt=["aria-label"],hDt=["title"],ODt=["title"],IDt={key:1,class:"workout-title"},RDt={class:"workout-segment"},NDt={class:"workout-date"},gDt=["datetime"],bDt={class:"workout-link"},CDt=["disabled","title"],PDt=Q({__name:"WorkoutCardTitle",props:{sport:{},workoutObject:{},isWorkoutOwner:{type:Boolean}},emits:["displayModal"],setup(e,{emit:t}){const n=e,{isWorkoutOwner:s,sport:a,workoutObject:o}=pe(n),i=t,r=ye(),{isAuthenticated:u}=Ye(),l=F(()=>r.getters[J.GETTERS.CURRENT_REPORTING]),d=F(()=>r.getters[Ue.GETTERS.REPORT_STATUS]);async function _(S){await ge.get(`workouts/${S}/gpx/download`,{responseType:"blob"}).then(R=>{const h=window.URL.createObjectURL(new Blob([R.data],{type:"application/gpx+xml"})),O=document.createElement("a");O.href=h,O.setAttribute("download",`${S}.gpx`),document.body.appendChild(O),O.click()})}function c(){i("displayModal",!0)}function T(S){r.dispatch(S.liked?J.ACTIONS.UNDO_LIKE_WORKOUT:J.ACTIONS.LIKE_WORKOUT,S.workoutId)}function m(){r.commit(J.MUTATIONS.SET_CURRENT_REPORTING,!0)}return(S,R)=>{const h=j("SportImage"),O=j("router-link");return f(),g("div",cDt,[p(s)?(f(),g("button",{key:0,class:fe(["workout-previous workout-arrow transparent",{inactive:!p(o).previousUrl}]),disabled:!p(o).previousUrl,title:p(o).previousUrl?S.$t(`workouts.PREVIOUS_${p(o).type}`):S.$t(`workouts.NO_PREVIOUS_${p(o).type}`),onClick:R[0]||(R[0]=I=>p(o).previousUrl?S.$router.push(p(o).previousUrl):null)},R[5]||(R[5]=[E("i",{class:"fa fa-chevron-left","aria-hidden":"true"},null,-1)]),10,dDt)):v("",!0),E("div",EDt,[M(h,{"sport-label":p(a).label,color:p(a).color},null,8,["sport-label","color"]),p(s)||!p(o).suspended?(f(),g("div",_Dt,[p(o).type==="WORKOUT"?(f(),g("div",TDt,[E("span",null,A(p(o).title),1),p(u)?(f(),g("div",pDt,[E("button",{class:"transparent icon-button likes",onClick:R[1]||(R[1]=I=>T(p(o))),"aria-label":`${S.$t(`workouts.${p(o).liked?"REMOVE_LIKE":"LIKE_WORKOUT"}`)} (${p(o).likes_count} ${S.$t("workouts.LIKES",p(o).likes_count)})`},[E("i",{class:fe(["fa",{"fa-heart":p(o).likes_count>0,"fa-heart-o":p(o).likes_count===0,liked:p(o).liked}]),"aria-hidden":"true"},null,2)],8,mDt),p(o).likes_count>0?(f(),G(O,{key:0,to:`/workouts/${p(o).workoutId}/likes`,class:"likes-count"},{default:X(()=>[B(A(p(o).likes_count),1)]),_:1},8,["to"])):v("",!0),p(s)?(f(),g("button",{key:1,class:"transparent icon-button",onClick:R[2]||(R[2]=I=>S.$router.push({name:"EditWorkout",params:{workoutId:p(o).workoutId}})),"aria-label":S.$t("workouts.EDIT_WORKOUT")},R[6]||(R[6]=[E("i",{class:"fa fa-edit","aria-hidden":"true"},null,-1)]),8,fDt)):v("",!0),p(o).with_gpx&&p(s)?(f(),g("button",{key:2,class:"transparent icon-button",onClick:R[3]||(R[3]=Ne(I=>_(p(o).workoutId),["prevent"])),"aria-label":S.$t("workouts.DOWNLOAD_WORKOUT")},R[7]||(R[7]=[E("i",{class:"fa fa-download","aria-hidden":"true"},null,-1)]),8,SDt)):v("",!0),p(s)?(f(),g("button",{key:3,id:"delete-workout-button",class:"transparent icon-button",onClick:Ne(c,["prevent"]),"aria-label":S.$t("workouts.DELETE_WORKOUT")},R[8]||(R[8]=[E("i",{class:"fa fa-trash","aria-hidden":"true"},null,-1)]),8,ADt)):v("",!0),!p(s)&&!l.value&&d.value!==`workout-${p(o).workoutId}-created`?(f(),g("button",{key:4,class:"transparent icon-button",onClick:Ne(m,["prevent"]),title:S.$t("workouts.REPORT_WORKOUT")},R[9]||(R[9]=[E("i",{class:"fa fa-flag","aria-hidden":"true"},null,-1)]),8,hDt)):v("",!0)])):(f(),g("div",{key:1,title:`${p(o).likes_count} ${S.$t("workouts.LIKES",p(o).likes_count)}`},[E("i",{class:fe(["fa",{"fa-heart":p(o).likes_count>0,"fa-heart-o":p(o).likes_count===0,liked:p(o).liked}])},null,2),p(o).likes_count>0?(f(),G(O,{key:0,to:`/workouts/${p(o).workoutId}/likes`,class:"likes-count"},{default:X(()=>[B(A(p(o).likes_count),1)]),_:1},8,["to"])):v("",!0)],8,ODt))])):p(o).segmentId!==null?(f(),g("div",IDt,[B(A(p(o).title)+" ",1),E("span",RDt,[R[10]||(R[10]=B(" — ")),R[11]||(R[11]=E("i",{class:"fa fa-map-marker","aria-hidden":"true"},null,-1)),B(" "+A(S.$t("workouts.SEGMENT"))+" "+A(p(o).segmentId+1),1)])])):v("",!0),E("div",NDt,[E("time",{datetime:p(o).workoutFullDate},A(p(o).workoutDate)+" - "+A(p(o).workoutTime),9,gDt),E("span",bDt,[p(o).type==="SEGMENT"?(f(),G(O,{key:0,to:{name:"Workout",params:{workoutId:p(o).workoutId}}},{default:X(()=>[B(" > "+A(S.$t("workouts.BACK_TO_WORKOUT")),1)]),_:1},8,["to"])):v("",!0)])])])):v("",!0)]),p(s)?(f(),g("button",{key:1,class:fe(["workout-next workout-arrow transparent",{inactive:!p(o).nextUrl}]),disabled:!p(o).nextUrl,title:p(o).nextUrl?S.$t(`workouts.NEXT_${p(o).type}`):S.$t(`workouts.NO_NEXT_${p(o).type}`),onClick:R[4]||(R[4]=I=>p(o).nextUrl?S.$router.push(p(o).nextUrl):null)},R[12]||(R[12]=[E("i",{class:"fa fa-chevron-right","aria-hidden":"true"},null,-1)]),10,CDt)):v("",!0)])}}}),DDt=ne(PDt,[["__scopeId","data-v-9cc98a7e"]]),LDt={key:0,class:"workout-record"},vDt=Q({__name:"WorkoutRecord",props:{recordType:{},workoutObject:{}},setup(e){const t=e,{recordType:n,workoutObject:s}=pe(t);return(a,o)=>p(s).records&&p(s).records.find(i=>i.record_type===p(n))?(f(),g("span",LDt,o[0]||(o[0]=[E("sup",null,[E("i",{class:"fa fa-trophy","aria-hidden":"true"})],-1)]))):v("",!0)}}),oi=ne(vDt,[["__scopeId","data-v-0c5d556a"]]),yDt="/img/weather/temperature.svg",UDt="/img/weather/pour-rain.svg",$Dt="/img/weather/breeze.svg",kDt=["N","NNE","NE","ENE","E","ESE","SE","SSE","S","SSW","SW","WSW","W","WNW","NW","NNW"],wDt=e=>{const t=Math.floor(e/22.5+.5);return kDt[t%16]},MDt={class:"wind"},WDt={class:"wind-bearing"},FDt=["title"],zDt=Q({__name:"WeatherWind",props:{weather:{},useImperialUnits:{type:Boolean}},setup(e){const t=e,{useImperialUnits:n,weather:s}=pe(t),{t:a}=vt();function o(i){return a(`workouts.WEATHER.WIND_DIRECTIONS.${wDt(i)}`)}return(i,r)=>(f(),g("div",MDt,[B(A(p(zat)(p(s).wind,p(n)))+" ",1),E("div",WDt,[p(s).windBearing?(f(),g("i",{key:0,class:"fa fa-long-arrow-down",style:Yn({transform:`rotate(${p(s).windBearing}deg)`}),"aria-hidden":"true",title:o(p(s).windBearing)},null,12,FDt)):v("",!0)])]))}}),YS=ne(zDt,[["__scopeId","data-v-e1f7f9cc"]]),BDt={key:0,id:"workout-weather"},GDt={class:"weather-table"},xDt={class:"weather-th"},VDt=["src","alt","title"],HDt={class:"weather-th"},KDt=["src","alt","title"],YDt=["alt","title"],qDt=["alt","title"],jDt=["alt","title"],XDt=Q({__name:"WorkoutWeather",props:{workoutObject:{},useImperialUnits:{type:Boolean}},setup(e){const t=e,{useImperialUnits:n,workoutObject:s}=pe(t);return(a,o)=>p(s).weatherStart&&p(s).weatherEnd?(f(),g("div",BDt,[E("table",GDt,[E("thead",null,[E("tr",null,[o[0]||(o[0]=E("th",null,null,-1)),E("th",null,[E("div",xDt,[B(A(a.$t("workouts.START"))+" ",1),E("img",{class:"weather-img",src:`/img/weather/${p(s).weatherStart.icon}.svg`,alt:a.$t(`workouts.WEATHER.DARK_SKY.${p(s).weatherStart.icon}`),title:a.$t(`workouts.WEATHER.DARK_SKY.${p(s).weatherStart.icon}`)},null,8,VDt)])]),E("th",null,[E("div",HDt,[B(A(a.$t("workouts.END"))+" ",1),E("img",{class:"weather-img",src:`/img/weather/${p(s).weatherEnd.icon}.svg`,alt:a.$t(`workouts.WEATHER.DARK_SKY.${p(s).weatherEnd.icon}`),title:a.$t(`workouts.WEATHER.DARK_SKY.${p(s).weatherEnd.icon}`)},null,8,KDt)])])])]),E("tbody",null,[E("tr",null,[E("td",null,[E("img",{class:"weather-img weather-img-small",src:yDt,alt:a.$t("workouts.WEATHER.TEMPERATURE"),title:a.$t("workouts.WEATHER.TEMPERATURE")},null,8,YDt)]),E("td",null,A(p(uS)(p(s).weatherStart.temperature,p(n))),1),E("td",null,A(p(uS)(p(s).weatherEnd.temperature,p(n))),1)]),E("tr",null,[E("td",null,[E("img",{class:"weather-img weather-img-small",src:UDt,alt:a.$t("workouts.WEATHER.HUMIDITY"),title:a.$t("workouts.WEATHER.HUMIDITY")},null,8,qDt)]),E("td",null,A(Number(p(s).weatherStart.humidity*100).toFixed(1))+"% ",1),E("td",null,A(Number(p(s).weatherEnd.humidity*100).toFixed(1))+"% ",1)]),E("tr",null,[E("td",null,[E("img",{class:"weather-img weather-img-small",src:$Dt,alt:a.$t("workouts.WEATHER.WIND"),title:a.$t("workouts.WEATHER.WIND")},null,8,jDt)]),E("td",null,[M(YS,{weather:p(s).weatherStart,useImperialUnits:p(n)},null,8,["weather","useImperialUnits"])]),E("td",null,[M(YS,{weather:p(s).weatherEnd,useImperialUnits:p(n)},null,8,["weather","useImperialUnits"])])])])])])):v("",!0)}}),QDt=ne(XDt,[["__scopeId","data-v-fd9c137b"]]),ZDt={id:"workout-info"},JDt={class:"workout-data"},eLt={class:"label"},tLt={class:"value"},nLt={key:0},sLt={class:"value"},aLt={class:"value"},oLt={key:0,class:"workout-data"},iLt={class:"label"},rLt={key:1,class:"workout-data"},uLt={class:"label"},lLt={class:"label"},cLt={key:2,class:"workout-data"},dLt=["alt"],ELt={class:"label"},_Lt={class:"label"},TLt={key:3,class:"workout-data"},pLt={class:"label"},mLt={class:"label"},fLt=Q({__name:"WorkoutData",props:{workoutObject:{},useImperialUnits:{type:Boolean},displayHARecord:{type:Boolean}},setup(e){const t=e,{displayHARecord:n,workoutObject:s,useImperialUnits:a}=pe(t),o=F(()=>s.value.pauses!=="0:00:00"&&s.value.pauses!==null);return(i,r)=>{const u=j("Distance");return f(),g("div",ZDt,[E("div",JDt,[r[0]||(r[0]=E("i",{class:"fa fa-clock-o","aria-hidden":"true"},null,-1)),E("span",eLt,A(i.$t("workouts.DURATION")),1),r[1]||(r[1]=B(": ")),E("span",tLt,A(p(s).moving),1),M(oi,{workoutObject:p(s),recordType:"LD"},null,8,["workoutObject"]),o.value?(f(),g("div",nLt,[B(" ("+A(i.$t("workouts.PAUSES"))+": ",1),E("span",sLt,A(p(s).pauses),1),B(" - "+A(i.$t("workouts.TOTAL_DURATION"))+": ",1),E("span",aLt,A(p(s).duration)+")",1)])):v("",!0)]),p(s).distance!==null?(f(),g("div",oLt,[r[2]||(r[2]=E("i",{class:"fa fa-road","aria-hidden":"true"},null,-1)),E("span",iLt,A(i.$t("workouts.DISTANCE")),1),r[3]||(r[3]=B(": ")),M(u,{distance:p(s).distance,digits:3,unitFrom:"km",strong:!0,useImperialUnits:p(a)},null,8,["distance","useImperialUnits"]),M(oi,{workoutObject:p(s),recordType:"FD"},null,8,["workoutObject"])])):v("",!0),p(s).aveSpeed!==null&&p(s).maxSpeed!==null?(f(),g("div",rLt,[r[4]||(r[4]=E("i",{class:"fa fa-tachometer","aria-hidden":"true"},null,-1)),E("span",uLt,A(i.$t("workouts.AVERAGE_SPEED")),1),r[5]||(r[5]=B(": ")),M(u,{distance:p(s).aveSpeed,unitFrom:"km",speed:!0,strong:!0,useImperialUnits:p(a)},null,8,["distance","useImperialUnits"]),M(oi,{workoutObject:p(s),recordType:"AS"},null,8,["workoutObject"]),r[6]||(r[6]=E("br",null,null,-1)),E("span",lLt,A(i.$t("workouts.MAX_SPEED")),1),r[7]||(r[7]=B(": ")),M(u,{distance:p(s).maxSpeed,unitFrom:"km",speed:!0,strong:!0,useImperialUnits:p(a)},null,8,["distance","useImperialUnits"]),M(oi,{workoutObject:p(s),recordType:"MS"},null,8,["workoutObject"])])):v("",!0),p(s).maxAlt!==null&&p(s).minAlt!==null?(f(),g("div",cLt,[E("img",{class:"mountains",src:P1,alt:i.$t("workouts.ELEVATION")},null,8,dLt),E("span",ELt,A(i.$t("workouts.MIN_ALTITUDE")),1),r[8]||(r[8]=B(": ")),M(u,{distance:p(s).minAlt,unitFrom:"m",strong:!0,useImperialUnits:p(a)},null,8,["distance","useImperialUnits"]),r[9]||(r[9]=E("br",null,null,-1)),E("span",_Lt,A(i.$t("workouts.MAX_ALTITUDE")),1),r[10]||(r[10]=B(": ")),M(u,{distance:p(s).maxAlt,unitFrom:"m",strong:!0,useImperialUnits:p(a)},null,8,["distance","useImperialUnits"])])):v("",!0),p(s).ascent!==null&&p(s).descent!==null?(f(),g("div",TLt,[r[11]||(r[11]=E("i",{class:"fa fa-location-arrow","aria-hidden":"true"},null,-1)),E("span",pLt,A(i.$t("workouts.ASCENT")),1),r[12]||(r[12]=B(": ")),M(u,{distance:p(s).ascent,unitFrom:"m",strong:!0,useImperialUnits:p(a)},null,8,["distance","useImperialUnits"]),p(n)?(f(),G(oi,{key:0,workoutObject:p(s),recordType:"HA"},null,8,["workoutObject"])):v("",!0),r[13]||(r[13]=E("br",null,null,-1)),E("span",mLt,A(i.$t("workouts.DESCENT")),1),r[14]||(r[14]=B(": ")),M(u,{distance:p(s).descent,unitFrom:"m",strong:!0,useImperialUnits:p(a)},null,8,["distance","useImperialUnits"])])):v("",!0),M(QDt,{workoutObject:p(s),useImperialUnits:p(a)},null,8,["workoutObject","useImperialUnits"])])}}}),SLt=ne(fLt,[["__scopeId","data-v-fb685b82"]]);function So(e,t){return Array.from(e.getElementsByTagName(t))}function zo(e){return e==null||e.normalize(),(e==null?void 0:e.textContent)||""}function Va(e,t,n){const s=e.getElementsByTagName(t);return s.length?s[0]:null}function ALt(e,t,n){const s={};if(!e)return s;const a=e.getElementsByTagName(t),o=a.length?a[0]:null;return o&&n?n(o,s):s}function TI(e,t,n){const s=zo(Va(e,t));return s&&n?n(s)||{}:{}}function qS(e,t,n){const s=Number.parseFloat(zo(Va(e,t)));if(!Number.isNaN(s))return s&&n?n(s)||{}:{}}function hLt(e,t,n){const s=Number.parseFloat(zo(Va(e,t)));if(!Number.isNaN(s))return n&&n(s),s}function OE(e,t){const n={};for(const s of t)TI(e,s,a=>{n[s]=a});return n}function OLt(e){return(e==null?void 0:e.nodeType)===1}function pI(e){let t=[];if(e===null)return t;for(const n of Array.from(e.childNodes)){if(!OLt(n))continue;const s=ILt(n.nodeName);if(s==="gpxtpx:TrackPointExtension")t=t.concat(pI(n));else{const a=zo(n);t.push([s,RLt(a)])}}return t}function ILt(e){return["heart","gpxtpx:hr","hr"].includes(e)?"heart":e}function RLt(e){const t=Number.parseFloat(e);return Number.isNaN(t)?e:t}function mI(e){const t=[Number.parseFloat(e.getAttribute("lon")||""),Number.parseFloat(e.getAttribute("lat")||"")];if(Number.isNaN(t[0])||Number.isNaN(t[1]))return null;hLt(e,"ele",s=>{t.push(s)});const n=Va(e,"time");return{coordinates:t,time:n?zo(n):null,extendedValues:pI(Va(e,"extensions"))}}function fI(e){return ALt(e,"line",t=>Object.assign({},TI(t,"color",s=>({stroke:`#${s}`})),qS(t,"opacity",s=>({"stroke-opacity":s})),qS(t,"width",s=>({"stroke-width":s*96/25.4}))))}function Q_(e,t){var a;const n=OE(t,["name","cmt","desc","type","time","keywords"]);for(const[o,i]of e)for(const r of Array.from(t.getElementsByTagNameNS(i,"*")))n[r.tagName.replace(":","_")]=(a=zo(r))==null?void 0:a.trim();const s=So(t,"link");return s.length&&(n.links=s.map(o=>Object.assign({href:o.getAttribute("href")},OE(o,["text","type"])))),n}function SI(e,t){const n=So(e,t),s=[],a=[],o={};for(let i=0;i1,r=Object.assign({_gpxType:"trk"},Q_(e,t),fI(Va(t,"extensions")),a.length?{coordinateProperties:{times:i?a:a[0]}}:{});for(const l of o){s.push(l.line),r.coordinateProperties||(r.coordinateProperties={});const d=r.coordinateProperties,_=Object.entries(l.extendedValues);for(let c=0;c<_.length;c++){const[T,m]=_[c];i?(d[T]||(d[T]=o.map(S=>new Array(S.line.length).fill(null))),d[T][c]=m):d[T]=m}}return{type:"Feature",properties:r,geometry:i?{type:"MultiLineString",coordinates:s}:{type:"LineString",coordinates:s[0]}}}function bLt(e,t){const n=Object.assign(Q_(e,t),OE(t,["sym"])),s=mI(t);return s?{type:"Feature",properties:n,geometry:{type:"Point",coordinates:s.coordinates}}:null}function*CLt(e){var o,i;const t="gpxx",n="http://www.garmin.com/xmlschemas/GpxExtensions/v3",s=[[t,n]],a=(o=e.getElementsByTagName("gpx")[0])==null?void 0:o.attributes;if(a)for(const r of Array.from(a))(i=r.name)!=null&&i.startsWith("xmlns:")&&r.value!==n&&s.push([r.name,r.value]);for(const r of So(e,"trk")){const u=gLt(s,r);u&&(yield u)}for(const r of So(e,"rte")){const u=NLt(s,r);u&&(yield u)}for(const r of So(e,"wpt")){const u=bLt(s,r);u&&(yield u)}}function PLt(e){return{type:"FeatureCollection",features:Array.from(CLt(e))}}const jS=(e,t)=>{for(const n of Object.keys(t))e.on(n,t[n])},AI=e=>{for(const t of Object.keys(e)){const n=e[t];n&&ia(n.cancel)&&n.cancel()}},DLt=e=>!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1),ia=e=>typeof e=="function",Ys=(e,t,n)=>{for(const s in n){const a="set"+DLt(s);e[a]?Pe(()=>n[s],(o,i)=>{e[a](o,i)}):t[a]&&Pe(()=>n[s],o=>{t[a](o)})}},bs=(e,t,n={})=>{const s={...n};for(const a in e){const o=t[a],i=e[a];o&&(o&&o.custom===!0||i!==void 0&&(s[a]=i))}return s},Xa=e=>{const t={},n={};for(const s in e)if(s.startsWith("on")&&!s.startsWith("onUpdate")&&s!=="onReady"){const a=s.slice(2).toLocaleLowerCase();t[a]=e[s]}else n[s]=e[s];return{listeners:t,attrs:n}},LLt=async e=>{const t=await Promise.all([zt(()=>import("./maps-oY9oTtTW.js").then(n=>n.m),__vite__mapDeps([0,1])),zt(()=>import("./maps-oY9oTtTW.js").then(n=>n.b),__vite__mapDeps([0,1])),zt(()=>import("./maps-oY9oTtTW.js").then(n=>n.c),__vite__mapDeps([0,1]))]);delete e.Default.prototype._getIconUrl,e.Default.mergeOptions({iconRetinaUrl:t[0].default,iconUrl:t[1].default,shadowUrl:t[2].default})},Wr=e=>{const t=Oe((...s)=>console.warn(`Method ${e} has been invoked without being replaced`)),n=(...s)=>t.value(...s);return n.wrapped=t,Sn(e,n),n},Fr=(e,t)=>e.wrapped.value=t,is=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||globalThis,Xn=e=>{const t=$t(e);if(t===void 0)throw new Error(`Attempt to inject ${e.description} before it was provided.`);return t},qs=Symbol("useGlobalLeaflet"),Oa=Symbol("addLayer"),Z_=Symbol("removeLayer"),hI=Symbol("registerControl"),OI=Symbol("registerLayerControl"),II=Symbol("canSetParentHtml"),RI=Symbol("setParentHtml"),NI=Symbol("setIcon"),vLt=Symbol("bindPopup"),yLt=Symbol("bindTooltip"),ULt=Symbol("unbindPopup"),$Lt=Symbol("unbindTooltip"),dr={options:{type:Object,default:()=>({}),custom:!0}},zl=e=>({options:e.options,methods:{}}),Bo={...dr,pane:{type:String},attribution:{type:String},name:{type:String,custom:!0},layerType:{type:String,custom:!0},visible:{type:Boolean,custom:!0,default:!0}},J_=(e,t,n)=>{const s=Xn(Oa),a=Xn(Z_),{options:o,methods:i}=zl(e),r=bs(e,Bo,o),u=()=>s({leafletObject:t.value}),l=()=>a({leafletObject:t.value}),d={...i,setAttribution(_){l(),t.value.options.attribution=_,e.visible&&u()},setName(){l(),e.visible&&u()},setLayerType(){l(),e.visible&&u()},setVisible(_){t.value&&(_?u():l())},bindPopup(_){if(!t.value||!ia(t.value.bindPopup)){console.warn("Attempt to bind popup before bindPopup method available on layer.");return}t.value.bindPopup(_)},bindTooltip(_){if(!t.value||!ia(t.value.bindTooltip)){console.warn("Attempt to bind tooltip before bindTooltip method available on layer.");return}t.value.bindTooltip(_)},unbindTooltip(){t.value&&(ia(t.value.closeTooltip)&&t.value.closeTooltip(),ia(t.value.unbindTooltip)&&t.value.unbindTooltip())},unbindPopup(){t.value&&(ia(t.value.closePopup)&&t.value.closePopup(),ia(t.value.unbindPopup)&&t.value.unbindPopup())},updateVisibleProp(_){n.emit("update:visible",_)}};return Sn(vLt,d.bindPopup),Sn(yLt,d.bindTooltip),Sn(ULt,d.unbindPopup),Sn($Lt,d.unbindTooltip),ut(()=>{d.unbindPopup(),d.unbindTooltip(),l()}),{options:r,methods:d}},eT=(e,t)=>{if(e&&t.default)return bn("div",{style:{display:"none"}},t.default())},kLt={...Bo,interactive:{type:Boolean,default:void 0},bubblingMouseEvents:{type:Boolean,default:void 0}},gI={...kLt,stroke:{type:Boolean,default:void 0},color:{type:String},weight:{type:Number},opacity:{type:Number},lineCap:{type:String},lineJoin:{type:String},dashArray:{type:String},dashOffset:{type:String},fill:{type:Boolean,default:void 0},fillColor:{type:String},fillOpacity:{type:Number},fillRule:{type:String},className:{type:String}},wLt={...gI,radius:{type:Number},latLng:{type:[Object,Array],required:!0,custom:!0}};({...wLt});const Go={...dr,position:{type:String}},bI=(e,t)=>{const{options:n,methods:s}=zl(e),a=bs(e,Go,n),o={...s,setPosition(i){t.value&&t.value.setPosition(i)}};return ut(()=>{t.value&&t.value.remove()}),{options:a,methods:o}},MLt=e=>e.default?bn("div",{ref:"root"},e.default()):null,XS=Q({name:"LControl",props:{...Go,disableClickPropagation:{type:Boolean,custom:!0,default:!0},disableScrollPropagation:{type:Boolean,custom:!0,default:!1}},setup(e,t){const n=Oe(),s=Oe(),a=$t(qs),o=Xn(hI),{options:i,methods:r}=bI(e,n);return Et(async()=>{const{Control:u,DomEvent:l}=a?is.L:await zt(()=>import("./maps-oY9oTtTW.js").then(_=>_.d),__vite__mapDeps([0,1])),d=u.extend({onAdd(){return s.value}});n.value=Hs(new d(i)),Ys(r,n.value,e),o({leafletObject:n.value}),e.disableClickPropagation&&s.value&&l.disableClickPropagation(s.value),e.disableScrollPropagation&&s.value&&l.disableScrollPropagation(s.value),rn(()=>t.emit("ready",n.value))}),{root:s,leafletObject:n}},render(){return MLt(this.$slots)}});({...Go});const CI={...Go,collapsed:{type:Boolean,default:void 0},autoZIndex:{type:Boolean,default:void 0},hideSingleBase:{type:Boolean,default:void 0},sortLayers:{type:Boolean,default:void 0},sortFunction:{type:Function}},WLt=(e,t)=>{const{options:n}=bI(e,t);return{options:bs(e,CI,n),methods:{addLayer(s){s.layerType==="base"?t.value.addBaseLayer(s.leafletObject,s.name):s.layerType==="overlay"&&t.value.addOverlay(s.leafletObject,s.name)},removeLayer(s){t.value.removeLayer(s.leafletObject)}}}},FLt=Q({name:"LControlLayers",props:CI,setup(e,t){const n=Oe(),s=$t(qs),a=Xn(OI),{options:o,methods:i}=WLt(e,n);return Et(async()=>{const{control:r}=s?is.L:await zt(()=>import("./maps-oY9oTtTW.js").then(u=>u.d),__vite__mapDeps([0,1]));n.value=Hs(r.layers(void 0,void 0,o)),Ys(i,n.value,e),a({...e,...i,leafletObject:n.value}),rn(()=>t.emit("ready",n.value))}),{leafletObject:n}},render(){return null}});({...Go});({...Go});const Bl={...Bo},PI=(e,t,n)=>{const{options:s,methods:a}=J_(e,t,n),o=bs(e,Bl,s),i={...a,addLayer(r){t.value.addLayer(r.leafletObject)},removeLayer(r){t.value.removeLayer(r.leafletObject)}};return Sn(Oa,i.addLayer),Sn(Z_,i.removeLayer),{options:o,methods:i}};({...Bl});const DI={...Bl,geojson:{type:[Object,Array],custom:!0},optionsStyle:{type:Function,custom:!0}},zLt=(e,t,n)=>{const{options:s,methods:a}=PI(e,t,n),o=bs(e,DI,s);Object.prototype.hasOwnProperty.call(e,"optionsStyle")&&(o.style=e.optionsStyle);const i={...a,setGeojson(r){t.value.clearLayers(),t.value.addData(r)},setOptionsStyle(r){t.value.setStyle(r)},getGeoJSONData(){return t.value.toGeoJSON()},getBounds(){return t.value.getBounds()}};return{options:o,methods:i}},BLt=Q({props:DI,setup(e,t){const n=Oe(),s=Oe(!1),a=$t(qs),o=Xn(Oa),{methods:i,options:r}=zLt(e,n,t);return Et(async()=>{const{geoJSON:u}=a?is.L:await zt(()=>import("./maps-oY9oTtTW.js").then(d=>d.d),__vite__mapDeps([0,1]));n.value=Hs(u(e.geojson,r));const{listeners:l}=Xa(t.attrs);n.value.on(l),Ys(i,n.value,e),o({...e,...i,leafletObject:n.value}),s.value=!0,rn(()=>t.emit("ready",n.value))}),{ready:s,leafletObject:n}},render(){return eT(this.ready,this.$slots)}}),tT={...Bo,opacity:{type:Number},zIndex:{type:Number},tileSize:{type:[Number,Array,Object]},noWrap:{type:Boolean,default:void 0},minZoom:{type:Number},maxZoom:{type:Number},className:{type:String}},LI=(e,t,n)=>{const{options:s,methods:a}=J_(e,t,n),o=bs(e,tT,s),i={...a,setTileComponent(){var r;(r=t.value)==null||r.redraw()}};return ut(()=>{t.value.off()}),{options:o,methods:i}},GLt=(e,t,n,s)=>e.extend({initialize(a){this.tileComponents={},this.on("tileunload",this._unloadTile),n.setOptions(this,a)},createTile(a){const o=this._tileCoordsToKey(a);this.tileComponents[o]=t.create("div");const i=bn({setup:s,props:["coords"]},{coords:a});return hg(i,this.tileComponents[o]),this.tileComponents[o]},_unloadTile(a){const o=this._tileCoordsToKey(a.coords);this.tileComponents[o]&&(this.tileComponents[o].innerHTML="",this.tileComponents[o]=void 0)}});({...tT});const QS={iconUrl:{type:String},iconRetinaUrl:{type:String},iconSize:{type:[Object,Array]},iconAnchor:{type:[Object,Array]},popupAnchor:{type:[Object,Array]},tooltipAnchor:{type:[Object,Array]},shadowUrl:{type:String},shadowRetinaUrl:{type:String},shadowSize:{type:[Object,Array]},shadowAnchor:{type:[Object,Array]},bgPos:{type:[Object,Array]},className:{type:String}},xLt=Q({name:"LIcon",props:{...QS,...dr},setup(e,t){const n=Oe(),s=$t(qs),a=Xn(II),o=Xn(RI),i=Xn(NI);let r,u,l,d,_;const c=(R,h,O)=>{const I=R&&R.innerHTML;if(!h){O&&_&&a()&&o(I);return}const{listeners:N}=Xa(t.attrs);_&&u(_,N);const{options:b}=zl(e),P=bs(e,QS,b);I&&(P.html=I),_=P.html?l(P):d(P),r(_,N),i(_)},T=()=>{rn(()=>c(n.value,!0,!1))},m=()=>{rn(()=>c(n.value,!1,!0))},S={setIconUrl:T,setIconRetinaUrl:T,setIconSize:T,setIconAnchor:T,setPopupAnchor:T,setTooltipAnchor:T,setShadowUrl:T,setShadowRetinaUrl:T,setShadowAnchor:T,setBgPos:T,setClassName:T,setHtml:T};return Et(async()=>{const{DomEvent:R,divIcon:h,icon:O}=s?is.L:await zt(()=>import("./maps-oY9oTtTW.js").then(I=>I.d),__vite__mapDeps([0,1]));r=R.on,u=R.off,l=h,d=O,Ys(S,{},e),new MutationObserver(m).observe(n.value,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),T()}),{root:n}},render(){const e=this.$slots.default?this.$slots.default():void 0;return bn("div",{ref:"root"},e)}});({...Bo});const VLt=Q({props:Bl,setup(e,t){const n=Oe(),s=Oe(!1),a=$t(qs),o=Xn(Oa),{methods:i}=PI(e,n,t);return Et(async()=>{const{layerGroup:r}=a?is.L:await zt(()=>import("./maps-oY9oTtTW.js").then(l=>l.d),__vite__mapDeps([0,1]));n.value=Hs(r(void 0,e.options));const{listeners:u}=Xa(t.attrs);n.value.on(u),Ys(i,n.value,e),o({...e,...i,leafletObject:n.value}),s.value=!0,rn(()=>t.emit("ready",n.value))}),{ready:s,leafletObject:n}},render(){return eT(this.ready,this.$slots)}});function vI(e,t,n){var s,a,o;t===void 0&&(t=50),n===void 0&&(n={});var i=(s=n.isImmediate)!=null&&s,r=(a=n.callback)!=null&&a,u=n.maxWait,l=Date.now(),d=[];function _(){if(u!==void 0){var T=Date.now()-l;if(T+t>=u)return u-T}return t}var c=function(){var T=[].slice.call(arguments),m=this;return new Promise(function(S,R){var h=i&&o===void 0;if(o!==void 0&&clearTimeout(o),o=setTimeout(function(){if(o=void 0,l=Date.now(),!i){var I=e.apply(m,T);r&&r(I),d.forEach(function(N){return(0,N.resolve)(I)}),d=[]}},_()),h){var O=e.apply(m,T);return r&&r(O),S(O)}d.push({resolve:S,reject:R})})};return c.cancel=function(T){o!==void 0&&clearTimeout(o),d.forEach(function(m){return(0,m.reject)(T)}),d=[]},c}const ZS={...dr,center:{type:[Object,Array]},bounds:{type:[Array,Object]},maxBounds:{type:[Array,Object]},zoom:{type:Number},minZoom:{type:Number},maxZoom:{type:Number},paddingBottomRight:{type:[Object,Array]},paddingTopLeft:{type:Object},padding:{type:Object},worldCopyJump:{type:Boolean,default:void 0},crs:{type:[String,Object]},maxBoundsViscosity:{type:Number},inertia:{type:Boolean,default:void 0},inertiaDeceleration:{type:Number},inertiaMaxSpeed:{type:Number},easeLinearity:{type:Number},zoomAnimation:{type:Boolean,default:void 0},zoomAnimationThreshold:{type:Number},fadeAnimation:{type:Boolean,default:void 0},markerZoomAnimation:{type:Boolean,default:void 0},noBlockingAnimations:{type:Boolean,default:void 0},useGlobalLeaflet:{type:Boolean,default:!0,custom:!0}},HLt=Q({inheritAttrs:!1,emits:["ready","update:zoom","update:center","update:bounds"],props:ZS,setup(e,t){const n=Oe(),s=Lt({ready:!1,layersToAdd:[],layersInControl:[]}),{options:a}=zl(e),o=bs(e,ZS,a),{listeners:i,attrs:r}=Xa(t.attrs),u=Wr(Oa),l=Wr(Z_),d=Wr(hI),_=Wr(OI);Sn(qs,e.useGlobalLeaflet);const c=F(()=>{const h={};return e.noBlockingAnimations&&(h.animate=!1),h}),T=F(()=>{const h=c.value;return e.padding&&(h.padding=e.padding),e.paddingTopLeft&&(h.paddingTopLeft=e.paddingTopLeft),e.paddingBottomRight&&(h.paddingBottomRight=e.paddingBottomRight),h}),m={moveend:vI(h=>{s.leafletRef&&(t.emit("update:zoom",s.leafletRef.getZoom()),t.emit("update:center",s.leafletRef.getCenter()),t.emit("update:bounds",s.leafletRef.getBounds()))}),overlayadd(h){const O=s.layersInControl.find(I=>I.name===h.name);O&&O.updateVisibleProp(!0)},overlayremove(h){const O=s.layersInControl.find(I=>I.name===h.name);O&&O.updateVisibleProp(!1)}};Et(async()=>{e.useGlobalLeaflet&&(is.L=is.L||await zt(()=>import("./maps-oY9oTtTW.js").then(L=>L.l),__vite__mapDeps([0,1])));const{map:h,CRS:O,Icon:I,latLngBounds:N,latLng:b,stamp:P}=e.useGlobalLeaflet?is.L:await zt(()=>import("./maps-oY9oTtTW.js").then(L=>L.d),__vite__mapDeps([0,1]));try{o.beforeMapMount&&await o.beforeMapMount()}catch(L){console.error(`The following error occurred running the provided beforeMapMount hook ${L.message}`)}await LLt(I);const C=typeof o.crs=="string"?O[o.crs]:o.crs;o.crs=C||O.EPSG3857;const y={addLayer(L){L.layerType!==void 0&&(s.layerControl===void 0?s.layersToAdd.push(L):s.layersInControl.find(w=>P(w.leafletObject)===P(L.leafletObject))||(s.layerControl.addLayer(L),s.layersInControl.push(L))),L.visible!==!1&&s.leafletRef.addLayer(L.leafletObject)},removeLayer(L){L.layerType!==void 0&&(s.layerControl===void 0?s.layersToAdd=s.layersToAdd.filter(w=>w.name!==L.name):(s.layerControl.removeLayer(L.leafletObject),s.layersInControl=s.layersInControl.filter(w=>P(w.leafletObject)!==P(L.leafletObject)))),s.leafletRef.removeLayer(L.leafletObject)},registerLayerControl(L){s.layerControl=L,s.layersToAdd.forEach(w=>{s.layerControl.addLayer(w)}),s.layersToAdd=[],d(L)},registerControl(L){s.leafletRef.addControl(L.leafletObject)},setZoom(L){const w=s.leafletRef.getZoom();L!==w&&s.leafletRef.setZoom(L,c.value)},setCrs(L){const w=s.leafletRef.getBounds();s.leafletRef.options.crs=L,s.leafletRef.fitBounds(w,{animate:!1,padding:[0,0]})},fitBounds(L){s.leafletRef.fitBounds(L,T.value)},setBounds(L){if(!L)return;const w=N(L);w.isValid()&&!(s.lastSetBounds||s.leafletRef.getBounds()).equals(w,0)&&(s.lastSetBounds=w,s.leafletRef.fitBounds(w))},setCenter(L){if(L==null)return;const w=b(L),D=s.lastSetCenter||s.leafletRef.getCenter();(D.lat!==w.lat||D.lng!==w.lng)&&(s.lastSetCenter=w,s.leafletRef.panTo(w,c.value))}};Fr(u,y.addLayer),Fr(l,y.removeLayer),Fr(d,y.registerControl),Fr(_,y.registerLayerControl),s.leafletRef=Hs(h(n.value,o)),Ys(y,s.leafletRef,e),jS(s.leafletRef,m),jS(s.leafletRef,i),s.ready=!0,rn(()=>t.emit("ready",s.leafletRef))}),Qi(()=>{AI(m),s.leafletRef&&(s.leafletRef.off(),s.leafletRef.remove())});const S=F(()=>s.leafletRef),R=F(()=>s.ready);return{root:n,ready:R,leafletObject:S,attrs:r}},render({attrs:e}){return e.style||(e.style={}),e.style.width||(e.style.width="100%"),e.style.height||(e.style.height="100%"),bn("div",{...e,ref:"root"},this.ready&&this.$slots.default?this.$slots.default():{})}}),KLt=["Symbol(Comment)","Symbol(Text)"],YLt=["LTooltip","LPopup"],yI={...Bo,draggable:{type:Boolean,default:void 0},icon:{type:[Object]},zIndexOffset:{type:Number},latLng:{type:[Object,Array],custom:!0,required:!0}},qLt=(e,t,n)=>{const{options:s,methods:a}=J_(e,t,n),o=bs(e,yI,s),i={...a,setDraggable(r){t.value.dragging&&(r?t.value.dragging.enable():t.value.dragging.disable())},latLngSync(r){n.emit("update:latLng",r.latlng),n.emit("update:lat-lng",r.latlng)},setLatLng(r){if(r!=null&&t.value){const u=t.value.getLatLng();(!u||!u.equals(r))&&t.value.setLatLng(r)}}};return{options:o,methods:i}},jLt=(e,t)=>{const n=t.slots.default&&t.slots.default();return n&&n.length&&n.some(XLt)};function XLt(e){return!(KLt.includes(e.type.toString())||YLt.includes(e.type.name))}const UI=Q({name:"LMarker",props:yI,setup(e,t){const n=Oe(),s=Oe(!1),a=$t(qs),o=Xn(Oa);Sn(II,()=>{var l;return!!((l=n.value)!=null&&l.getElement())}),Sn(RI,l=>{var d,_;const c=ia((d=n.value)==null?void 0:d.getElement)&&((_=n.value)==null?void 0:_.getElement());c&&(c.innerHTML=l)}),Sn(NI,l=>{var d;return((d=n.value)==null?void 0:d.setIcon)&&n.value.setIcon(l)});const{options:i,methods:r}=qLt(e,n,t),u={moveHandler:vI(r.latLngSync)};return Et(async()=>{const{marker:l,divIcon:d}=a?is.L:await zt(()=>import("./maps-oY9oTtTW.js").then(c=>c.d),__vite__mapDeps([0,1]));jLt(i,t)&&(i.icon=d({className:""})),n.value=Hs(l(e.latLng,i));const{listeners:_}=Xa(t.attrs);n.value.on(_),n.value.on("move",u.moveHandler),Ys(r,n.value,e),o({...e,...r,leafletObject:n.value}),s.value=!0,rn(()=>t.emit("ready",n.value))}),Qi(()=>AI(u)),{ready:s,leafletObject:n}},render(){return eT(this.ready,this.$slots)}}),QLt={...gI,smoothFactor:{type:Number},noClip:{type:Boolean,default:void 0},latLngs:{type:Array,required:!0,custom:!0}},JS={...QLt},$I={...dr,content:{type:String,default:null}};({...$I});({...JS,latLngs:{...JS.latLngs}});const nT={...tT,tms:{type:Boolean,default:void 0},subdomains:{type:[String,Array],validator:e=>typeof e=="string"?!0:Array.isArray(e)?e.every(t=>typeof t=="string"):!1},detectRetina:{type:Boolean,default:void 0},url:{type:String,required:!0,custom:!0}},ZLt=(e,t,n)=>{const{options:s,methods:a}=LI(e,t,n),o=bs(e,nT,s),i={...a};return{options:o,methods:i}},JLt=Q({props:nT,setup(e,t){const n=Oe(),s=$t(qs),a=Xn(Oa),{options:o,methods:i}=ZLt(e,n,t);return Et(async()=>{const{tileLayer:r}=s?is.L:await zt(()=>import("./maps-oY9oTtTW.js").then(l=>l.d),__vite__mapDeps([0,1]));n.value=Hs(r(e.url,o));const{listeners:u}=Xa(t.attrs);n.value.on(u),Ys(i,n.value,e),a({...e,...i,leafletObject:n.value}),rn(()=>t.emit("ready",n.value))}),{leafletObject:n}},render(){return null}});({...$I});({...nT});const eA=Q({__name:"CustomMarker",props:{markerCoordinates:{},isStart:{type:Boolean}},setup(e){const t=e,{isStart:n,markerCoordinates:s}=pe(t);return(a,o)=>p(s).latitude?(f(),G(p(UI),{key:0,"lat-lng":[p(s).latitude,p(s).longitude]},{default:X(()=>[M(p(xLt),{"icon-url":`/img/workouts/${p(n)?"start":"finish"}.svg`,iconSize:[15,15]},null,8,["icon-url"])]),_:1},8,["lat-lng"])):v("",!0)}}),evt={id:"workout-map"},tvt={key:0,class:"leaflet-container"},nvt={key:1},svt={key:1,class:"no-map"},avt=Q({__name:"index",props:{workoutData:{},markerCoordinates:{default:()=>({})}},setup(e){const t=e,{workoutData:n,markerCoordinates:s}=pe(t),{appConfig:a}=Ge(),o=Oe(!1),i=Oe(null),r=F(()=>R()),u=F(()=>m(r)),l=F(()=>n.value&&n.value.gpx?c(n.value.gpx):{}),d=F(()=>T("first")),_=F(()=>T("last"));function c(I){if(!I||I!=="")try{return{jsonData:PLt(new DOMParser().parseFromString(I,"text/xml"))}}catch{return console.error("Invalid gpx content"),{}}return{}}function T(I){const N=I==="first"?0:n.value.chartData.length-1;return n.value&&n.value.chartData.length>0?{latitude:n.value.chartData[N].latitude,longitude:n.value.chartData[N].longitude}:{latitude:null,longitude:null}}function m(I){return[(I.value[0][0]+I.value[1][0])/2,(I.value[0][1]+I.value[1][1])/2]}function S(I){var N,b;(N=i.value)!=null&&N.leafletObject&&((b=i.value)==null||b.leafletObject.fitBounds(I))}function R(){return n.value?[[n.value.workout.bounds[0],n.value.workout.bounds[1]],[n.value.workout.bounds[2],n.value.workout.bounds[3]]]:[]}function h(){var I;(I=i.value)==null||I.leafletObject.fitBounds(R())}function O(){o.value=!o.value,o.value||setTimeout(()=>{h()},100)}return(I,N)=>{const b=j("VFullscreen");return f(),g("div",evt,[p(n).loading?(f(),g("div",tvt)):(f(),g("div",nvt,[p(n).workout.with_gpx?(f(),G(b,{key:0,modelValue:o.value,"onUpdate:modelValue":N[1]||(N[1]=P=>o.value=P)},{default:X(()=>[E("div",{class:fe(["leaflet-container",{"fullscreen-map":o.value}])},[l.value.jsonData&&u.value&&r.value.length===2?(f(),G(p(HLt),{key:0,zoom:13,maxZoom:19,center:u.value,bounds:r.value,zoomAnimation:!1,ref_key:"workoutMap",ref:i,onReady:N[0]||(N[0]=P=>S(r.value)),"use-global-leaflet":!1,class:"map","aria-label":I.$t("workouts.WORKOUT_MAP")},{default:X(()=>[M(p(FLt)),M(p(XS),{position:"topleft",class:"map-control",tabindex:"0",role:"button","aria-label":I.$t("workouts.RESET_ZOOM"),onClick:h},{default:X(()=>N[2]||(N[2]=[E("i",{class:"fa fa-refresh","aria-hidden":"true"},null,-1)])),_:1},8,["aria-label"]),M(p(XS),{position:"topleft",class:"map-control",tabindex:"0",role:"button","aria-label":I.$t(`workouts.${o.value?"EXIT":"VIEW"}_FULLSCREEN`),onClick:O},{default:X(()=>[E("i",{class:fe(`fa fa-${o.value?"compress":"arrows-alt"}`),"aria-hidden":"true"},null,2)]),_:1},8,["aria-label"]),M(p(JLt),{url:`${p(nr)()}workouts/map_tile/{s}/{z}/{x}/{y}.png`,attribution:p(a).map_attribution,bounds:r.value},null,8,["url","attribution","bounds"]),M(p(BLt),{geojson:l.value.jsonData},null,8,["geojson"]),p(s).latitude?(f(),G(p(UI),{key:0,"lat-lng":[p(s).latitude,p(s).longitude]},null,8,["lat-lng"])):v("",!0),M(p(VLt),{name:I.$t("workouts.START_AND_FINISH"),"layer-type":"overlay"},{default:X(()=>[d.value.latitude?(f(),G(eA,{key:0,markerCoordinates:d.value,isStart:!0},null,8,["markerCoordinates"])):v("",!0),_.value.latitude?(f(),G(eA,{key:1,markerCoordinates:_.value,isStart:!1},null,8,["markerCoordinates"])):v("",!0)]),_:1},8,["name"])]),_:1},8,["center","bounds","aria-label"])):v("",!0)],2)]),_:1},8,["modelValue"])):(f(),g("div",svt,A(I.$t("workouts.NO_MAP")),1))]))])}}}),ovt=ne(avt,[["__scopeId","data-v-ba08bc25"]]),ivt={key:0,class:"workout-visibility-levels"},rvt={class:"visibility"},uvt={key:0,class:"workout-visibility"},lvt=["title"],cvt={class:"visibility-label"},dvt={key:0,class:"visibility"},Evt={key:0,class:"workout-visibility"},_vt=["title"],Tvt={class:"visibility-label"},pvt={key:1,class:"visibility"},mvt=["title"],fvt={class:"visibility-label"},Svt=Q({__name:"WorkoutVisibility",props:{workoutObject:{}},setup(e){const t=e,{workoutObject:n}=pe(t);function s(a){switch(a){case"public":return"globe";case"followers_only":return"users";default:case"private":return"lock"}}return(a,o)=>p(n).workoutVisibility?(f(),g("div",ivt,[B(A(a.$t("visibility_levels.VISIBILITY"))+": ",1),E("div",rvt,[p(n).with_analysis?(f(),g("span",uvt,A(a.$t("workouts.WORKOUT")),1)):v("",!0),E("i",{class:fe(`fa fa-${s(p(n).workoutVisibility)}`),"aria-hidden":"true",title:a.$t(`visibility_levels.LEVELS.${p(n).workoutVisibility}`)},null,10,lvt),E("span",cvt," ("+A(a.$t(`visibility_levels.LEVELS.${p(n).workoutVisibility}`))+") ",1)]),p(n).with_analysis?(f(),g("div",dvt,[p(n).with_analysis?(f(),g("span",Evt,A(a.$t("workouts.ANALYSIS")),1)):v("",!0),E("i",{class:fe(`fa fa-${s(p(n).analysisVisibility)}`),"aria-hidden":"true",title:a.$t(`visibility_levels.LEVELS.${p(n).analysisVisibility}`)},null,10,_vt),E("span",Tvt," ("+A(a.$t(`visibility_levels.LEVELS.${p(n).analysisVisibility}`))+") ",1)])):v("",!0),p(n).with_gpx?(f(),g("div",pvt,[B(A(a.$t("workouts.MAP"))+" ",1),E("i",{class:fe(`fa fa-${s(p(n).mapVisibility)}`),"aria-hidden":"true",title:a.$t(`visibility_levels.LEVELS.${p(n).mapVisibility}`)},null,10,mvt),E("span",fvt," ("+A(a.$t(`visibility_levels.LEVELS.${p(n).mapVisibility}`))+") ",1)])):v("",!0)])):v("",!0)}}),Avt=ne(Svt,[["__scopeId","data-v-6eb2ea4f"]]),hvt={class:"workout-detail"},Ovt={key:2,class:"report-submitted"},Ivt={class:"info-box"},Rvt={key:1,class:"workout-map-data"},Nvt={key:3,class:"workout-equipments"},gvt=Q({__name:"index",props:{authUser:{},displaySegment:{type:Boolean},sports:{},workoutData:{},markerCoordinates:{default:()=>({})},isWorkoutOwner:{type:Boolean}},setup(e){const t=e,n=at(),s=ye(),{getWorkoutSport:a}=en(),{isWorkoutOwner:o,markerCoordinates:i,workoutData:r}=pe(t),u=F(()=>t.workoutData.workout),l=Oe(n.params.workoutId?+n.params.segmentId:null),d=F(()=>u.value.segments.length>0&&l.value?u.value.segments[+l.value-1]:null),_=Oe(!1),c=F(()=>a(u.value)),T=F(()=>s.getters[ee.GETTERS.DISPLAY_OPTIONS]),m=F(()=>s.getters[Ue.GETTERS.REPORT_STATUS]),S=F(()=>I(u.value,d.value)),R=F(()=>u.value.suspended_at!==null&&o.value),h=F(()=>s.getters[J.GETTERS.SUCCESS]);function O(L,w,D){const W=w&&D&&D!==1?`/workouts/${L.id}/segment/${D-1}`:!w&&L.previous_workout?`/workouts/${L.previous_workout}`:null,Y=w&&D&&Dy()),Pe(()=>n.params.segmentId,async L=>{l.value=L?+L:null,C()}),Pe(()=>n.params.workoutId,async L=>{L&&(_.value=!1,C()),y()}),(L,w)=>{const D=j("Modal"),W=j("Card");return f(),g("div",hvt,[_.value?(f(),G(D,{key:0,title:L.$t("common.CONFIRMATION"),message:L.$t("workouts.WORKOUT_DELETION_CONFIRMATION"),onConfirmAction:w[0]||(w[0]=Y=>P(S.value.workoutId)),onCancelAction:b,onKeydown:Xe(b,["esc"])},null,8,["title","message"])):v("",!0),M(W,null,{title:X(()=>[c.value?(f(),G(DDt,{key:0,authUser:L.authUser,sport:c.value,workoutObject:S.value,isWorkoutOwner:p(o),onDisplayModal:w[1]||(w[1]=Y=>N(!0))},null,8,["authUser","sport","workoutObject","isWorkoutOwner"])):v("",!0),p(r).currentReporting?(f(),G(k_,{key:1,"object-id":S.value.workoutId,"object-type":"workout"},null,8,["object-id"])):v("",!0),m.value===`workout-${S.value.workoutId}-created`?(f(),g("div",Ovt,[E("div",Ivt,[E("span",null,[w[2]||(w[2]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(L.$t("common.REPORT_SUBMITTED")),1)])])])):v("",!0)]),content:X(()=>[R.value&&S.value.suspended&&u.value.suspension?(f(),G(Z1,{key:0,"display-suspension-message":"",action:u.value.suspension,workout:u.value},null,8,["action","workout"])):v("",!0),p(o)||!S.value.suspended?(f(),g("div",Rvt,[M(ovt,{workoutData:p(r),markerCoordinates:p(i)},null,8,["workoutData","markerCoordinates"]),M(SLt,{workoutObject:S.value,useImperialUnits:T.value.useImperialUnits,displayHARecord:T.value.displayAscent},null,8,["workoutObject","useImperialUnits","displayHARecord"])])):v("",!0),S.value.workoutVisibility?(f(),G(Avt,{key:2,workoutObject:S.value,useImperialUnits:T.value.useImperialUnits,displayHARecord:T.value.displayAscent},null,8,["workoutObject","useImperialUnits","displayHARecord"])):v("",!0),S.value.equipments?(f(),g("div",Nvt,[(f(!0),g(ae,null,be(S.value.equipments,Y=>(f(),G(J1,{equipment:Y,"workout-id":S.value.workoutId,key:Y.label},null,8,["equipment","workout-id"]))),128))])):v("",!0)]),_:1})])}}}),bvt=ne(gvt,[["__scopeId","data-v-1d95f183"]]),Cvt=e=>{const t=document.getElementById(e);if(t){let n=t.querySelector("ul");return n||(n=document.createElement("ul"),t.appendChild(n)),n}throw new Error("No legend container")},Pvt={id:"htmlLegend",afterUpdate(e,t,n){var o,i,r,u,l,d;const s=Cvt(n.containerID);for(;s.firstChild;)s.firstChild.remove();((r=(i=(o=e.options.plugins)==null?void 0:o.legend)==null?void 0:i.labels)!=null&&r.generateLabels?(d=(l=(u=e.options.plugins)==null?void 0:u.legend)==null?void 0:l.labels)==null?void 0:d.generateLabels(e):[]).forEach(_=>{var h,O,I;if(!((I=(O=(h=e.config.options)==null?void 0:h.scales)==null?void 0:O.yElevation)!=null&&I.display)&&_.datasetIndex===1)return;const c=document.createElement("li");c.onclick=N=>{N.preventDefault(),_.datasetIndex!==void 0&&(e.setDatasetVisibility(_.datasetIndex,!e.isDatasetVisible(_.datasetIndex)),e.update())};const T=document.createElement("input");T&&(T.type="checkbox",T.id=_.text,T.checked=!_.hidden);const m=document.createElement("label");m.htmlFor=T.id;const S=document.createTextNode(_.text);m.appendChild(S);const R=document.createElement("span");R&&(R.style.background=String(_.fillStyle),R.style.borderColor=String(_.strokeStyle)),m.appendChild(R),c.appendChild(T),c.appendChild(m),s.appendChild(c)})}},Dvt={id:"workout-chart"},Lvt={class:"chart-radio"},vvt=["checked"],yvt=["checked"],Uvt={class:"line-chart"},$vt={class:"chart-info"},kvt={class:"no-data-cleaning"},wvt={key:0,class:"elevation-start"},Mvt=["checked"],Wvt=Q({__name:"index",props:{authUser:{},workoutData:{}},emits:["getCoordinates"],setup(e,{emit:t}){const n=e,{authUser:s,workoutData:a}=pe(n),o=t,{t:i}=vt(),{darkTheme:r}=Ge(),u=Oe(!0),l=[Pvt],d=y("km"),_=y("m"),c=F(()=>s.value.start_elevation_at_zero),T=F(()=>m.value&&m.value.datasets.elevation.data.length>0),m=F(()=>w1t(a.value.chartData,i,s.value.imperial_units,r.value)),S=F(()=>({labels:u.value?m.value.distance_labels:m.value.duration_labels,datasets:JSON.parse(JSON.stringify([m.value.datasets.speed,m.value.datasets.elevation]))})),R=F(()=>m.value.coordinates),h=F(()=>({color:r.value?ua.darkMode.line:ua.ligthMode.line})),O=F(()=>({color:r.value?ua.darkMode.text:ua.ligthMode.text})),I=F(()=>({responsive:!0,maintainAspectRatio:!1,animation:!1,layout:{padding:{top:22}},scales:{x:{grid:{drawOnChartArea:!1,...h.value},border:{...h.value},ticks:{count:10,callback:function(L){return u.value?Number(L).toFixed(2):b(L)},...O.value},type:"linear",bounds:"data",title:{display:!0,text:u.value?i("workouts.DISTANCE")+` (${d})`:i("workouts.DURATION"),...O.value}},ySpeed:{grid:{drawOnChartArea:!1,...h.value},border:{...h.value},position:"left",title:{display:!0,text:i("workouts.SPEED")+` (${d}/h)`,...O.value},ticks:{...O.value}},yElevation:{beginAtZero:c.value,display:T.value,grid:{drawOnChartArea:!1,...h.value},border:{...h.value},position:"right",title:{display:!0,text:i("workouts.ELEVATION")+` (${_})`,...O.value},ticks:{...O.value}}},elements:{point:{pointStyle:"circle",pointRadius:0}},plugins:{datalabels:{display:!1},tooltip:{interaction:{intersect:!1,mode:"index"},callbacks:{label:function(L){const w=` ${L.dataset.label}: ${L.formattedValue}`;return L.dataset.yAxisID==="yElevation"?w+` ${_}`:w+` ${d}/h`},title:function(L){return L.length>0&&P(R.value[L[0].dataIndex]),L.length===0?"":u.value?`${i("workouts.DISTANCE")}: ${L[0].label} ${d}`:`${i("workouts.DURATION")}: ${b(L[0].label.replace(",",""))}`}}},legend:{display:!1},htmlLegend:{containerID:"chart-legend",displayElevation:T.value}}}));function N(){u.value=!u.value}function b(L){return new Date(+L*1e3).toISOString().substr(11,8)}function P(L){o("getCoordinates",L)}function C(){P({latitude:null,longitude:null})}function y(L){return n.authUser.imperial_units?gn[L].defaultTarget:L}return(L,w)=>{const D=j("Card");return f(),g("div",Dvt,[M(D,null,{title:X(()=>[B(A(L.$t("workouts.ANALYSIS")),1)]),content:X(()=>[E("div",Lvt,[E("label",null,[E("input",{type:"radio",name:"distance",checked:u.value,onClick:N},null,8,vvt),B(" "+A(L.$t("workouts.DISTANCE")),1)]),E("label",null,[E("input",{type:"radio",name:"duration",checked:!u.value,onClick:N},null,8,yvt),B(" "+A(L.$t("workouts.DURATION")),1)])]),w[1]||(w[1]=E("div",{id:"chart-legend"},null,-1)),E("div",Uvt,[M(p(vIt),{data:S.value,options:I.value,plugins:l,onMouseleave:C,"aria-label":L.$t("workouts.WORKOUT_CHART")},null,8,["data","options","aria-label"])]),E("div",$vt,[E("div",kvt,A(L.$t("workouts.NO_DATA_CLEANING")),1),T.value?(f(),g("div",wvt,[E("label",null,[E("input",{type:"checkbox",checked:c.value,onClick:w[0]||(w[0]=W=>c.value=!c.value)},null,8,Mvt),B(" "+A(L.$t("workouts.START_ELEVATION_AT_ZERO")),1)])])):v("",!0)])]),_:1})])}}}),Fvt=ne(Wvt,[["__scopeId","data-v-f00e60f7"]]),zvt={id:"workout-content"},Bvt=["aria-label"],Gvt={key:0,class:"fa fa-edit","aria-hidden":"true"},xvt=["for"],Vvt={class:"markdown-hints info-box"},Hvt={class:"form-buttons"},Kvt=["disabled"],Yvt={key:0,class:"edition-loading"},qvt=["innerHTML"],pd=1e3,jvt=Q({__name:"WorkoutContent",props:{content:{default:()=>""},contentType:{},workoutId:{},allowEdition:{type:Boolean,default:!0}},setup(e){const t=e,n=ye(),{content:s,contentType:a,workoutId:o}=pe(t),i=F(()=>s.value!==null&&s.value.length>pd),r=F(()=>n.getters[J.GETTERS.WORKOUT_CONTENT_EDITION]),u=F(()=>r.value.loading&&r.value.contentType===a.value),l=Oe(!1),d=F(()=>l.value?s.value:m(s.value)),_=Oe(!1),c=Oe(""),T=F(()=>r.value.contentType===a.value?n.getters[ee.GETTERS.ERROR_MESSAGES]:null);function m(I){return I===null||I.length<=pd?I:I.slice(0,pd-10)+"…"}function S(){n.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),_.value=!0,c.value=s.value?s.value:""}function R(I){c.value=I.value}function h(){_.value=!1,c.value=s.value?s.value:""}function O(){n.dispatch(J.ACTIONS.EDIT_WORKOUT_CONTENT,{workoutId:o.value,content:c.value,contentType:a.value})}return Pe(()=>u.value,I=>{I||(_.value=!1)}),(I,N)=>{const b=j("CustomTextArea"),P=j("ErrorMessage"),C=j("Card");return f(),g("div",zvt,[M(C,null,{title:X(()=>[B(A(Fe(I.$t(`workouts.${p(a)==="NOTES"?"PRIVATE_NOTES":p(a)}`)))+" ",1),I.allowEdition?(f(),g("button",{key:0,class:"transparent icon-button","aria-label":I.$t("buttons.EDIT"),onClick:S},[_.value?v("",!0):(f(),g("i",Gvt))],8,Bvt)):v("",!0)]),content:X(()=>[_.value?(f(),g("form",{key:0,onSubmit:Ne(O,["prevent"])},[E("label",{for:p(a).toLowerCase(),class:"visually-hidden"},A(I.$t(`workouts.${p(a)}`)),9,xvt),M(b,{name:p(a).toLowerCase(),input:p(s),disabled:u.value,charLimit:p(a)==="NOTES"?500:1e4,rows:p(a)==="NOTES"?2:5,onUpdateValue:R},null,8,["name","input","disabled","charLimit","rows"]),E("div",Vvt,[N[1]||(N[1]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(I.$t("workouts.MARKDOWN_SYNTAX")),1)]),E("div",Hvt,[E("button",{class:"confirm",type:"submit",disabled:u.value},A(I.$t("buttons.SUBMIT")),9,Kvt),E("button",{class:"cancel",onClick:Ne(h,["prevent"])},A(I.$t("buttons.CANCEL")),1),u.value?(f(),g("div",Yvt,N[2]||(N[2]=[E("div",null,[E("i",{class:"fa fa-spinner fa-pulse","aria-hidden":"true"})],-1)]))):v("",!0)])],32)):(f(),g(ae,{key:1},[E("span",{class:fe(["workout-content",{notes:p(a)==="NOTES"||!p(s)}]),innerHTML:d.value&&d.value!==""?p(O1)(d.value):I.$t(`common.NO_${p(a)}`)},null,10,qvt),i.value?(f(),g("button",{key:0,class:"read-more transparent",onClick:N[0]||(N[0]=y=>l.value=!l.value)},[E("i",{class:fe(`fa fa-caret-${l.value?"up":"down"}`),"aria-hidden":"true"},null,2),B(" "+A(I.$t(`buttons.${l.value?"HIDE":"READ_MORE"}`)),1)])):v("",!0)],64)),T.value?(f(),G(P,{key:2,message:T.value,"no-margin":!0},null,8,["message"])):v("",!0)]),_:1})])}}}),tA=ne(jvt,[["__scopeId","data-v-ea22fab1"]]),Xvt={id:"workout-segments"},Qvt=Q({__name:"WorkoutSegments",props:{segments:{},useImperialUnits:{type:Boolean}},setup(e){const t=e,{segments:n,useImperialUnits:s}=pe(t);return(a,o)=>{const i=j("router-link"),r=j("Distance"),u=j("Card");return f(),g("div",Xvt,[M(u,null,{title:X(()=>[B(A(a.$t("workouts.SEGMENT",2)),1)]),content:X(()=>[E("ul",null,[(f(!0),g(ae,null,be(p(n),(l,d)=>(f(),g("li",{key:l.segment_id},[M(i,{to:{name:"WorkoutSegment",params:{workoutId:l.workout_id,segmentId:d+1}}},{default:X(()=>[B(A(a.$t("workouts.SEGMENT",1))+" "+A(d+1),1)]),_:2},1032,["to"]),B(" ("+A(a.$t("workouts.DISTANCE"))+": ",1),M(r,{distance:l.distance,unitFrom:"km",useImperialUnits:p(s)},null,8,["distance","useImperialUnits"]),B(", "+A(a.$t("workouts.DURATION"))+": "+A(l.duration)+") ",1)]))),128))])]),_:1})])}}}),Zvt=ne(Qvt,[["__scopeId","data-v-bdc4fb39"]]),Jvt={class:"box workout-user"},e2t={class:"user-img-name"},t2t=Q({__name:"WorkoutUser",props:{user:{}},setup(e){const t=e,{user:n}=pe(t);return(s,a)=>{const o=j("router-link");return f(),g("div",Jvt,[E("div",e2t,[M(Ht,{user:p(n)},null,8,["user"]),M(o,{class:"user-name",to:`/users/${p(n).username}?from=users`},{default:X(()=>[B(A(p(n).username),1)]),_:1},8,["to"])]),M(G_,{user:p(n)},null,8,["user"])])}}}),n2t=ne(t2t,[["__scopeId","data-v-025efdf0"]]),s2t={id:"workout",class:"view"},a2t={class:"container"},o2t={key:0,class:"workout-container"},i2t={key:0},r2t={key:0,class:"box suspended"},u2t={key:1},l2t=Q({__name:"Workout",props:{displaySegment:{type:Boolean}},setup(e){const t=e,{displaySegment:n}=pe(t),s=at(),a=ye(),{authUser:o}=Ye(),{sports:i}=en(),r=Oe({latitude:null,longitude:null}),u=F(()=>a.getters[J.GETTERS.WORKOUT_DATA]),l=F(()=>o.value.username===u.value.workout.user.username);function d(_){r.value={latitude:_.latitude,longitude:_.longitude}}return Pe(()=>s.params.workoutId,async _=>{_&&a.dispatch(J.ACTIONS.GET_WORKOUT_DATA,{workoutId:_})}),Pe(()=>s.params.segmentId,async _=>{if(s.params.workoutId){const c={workoutId:s.params.workoutId};_&&(c.segmentId=_),a.dispatch(J.ACTIONS.GET_WORKOUT_DATA,c)}}),Ze(()=>{const _={workoutId:s.params.workoutId};t.displaySegment&&(_.segmentId=s.params.segmentId),a.dispatch(J.ACTIONS.GET_WORKOUT_DATA,_),i.value.length===0&&a.dispatch(Vt.ACTIONS.GET_SPORTS)}),ut(()=>{a.commit(J.MUTATIONS.EMPTY_WORKOUT)}),(_,c)=>(f(),g("div",s2t,[E("div",a2t,[p(i).length>0?(f(),g("div",o2t,[u.value.workout.id?(f(),g("div",i2t,[M(n2t,{user:u.value.workout.user},null,8,["user"]),u.value.workout.suspended&&!l.value?(f(),g("div",r2t,A(_.$t("workouts.SUSPENDED_BY_ADMIN")),1)):(f(),G(bvt,{key:1,workoutData:u.value,sports:p(i),authUser:p(o),markerCoordinates:r.value,displaySegment:p(n),isWorkoutOwner:l.value},null,8,["workoutData","sports","authUser","markerCoordinates","displaySegment","isWorkoutOwner"])),u.value.workout.with_analysis&&u.value.chartData.length>0?(f(),G(Fvt,{key:2,workoutData:u.value,authUser:p(o),displaySegment:p(n),onGetCoordinates:d},null,8,["workoutData","authUser","displaySegment"])):v("",!0),p(n)?v("",!0):(f(),G(tA,{key:3,"workout-id":u.value.workout.id,"content-type":"DESCRIPTION",content:u.value.workout.description,loading:u.value.loading,"allow-edition":l.value},null,8,["workout-id","content","loading","allow-edition"])),!p(n)&&u.value.workout.segments.length>1?(f(),G(Zvt,{key:4,segments:u.value.workout.segments,useImperialUnits:p(o)?p(o).imperial_units:!1},null,8,["segments","useImperialUnits"])):v("",!0),l.value&&!p(n)?(f(),G(tA,{key:5,"workout-id":u.value.workout.id,"content-type":"NOTES",content:u.value.workout.notes,loading:u.value.loading},null,8,["workout-id","content","loading"])):v("",!0),p(n)?v("",!0):(f(),G(_I,{key:6,workoutData:u.value,"auth-user":p(o)},null,8,["workoutData","auth-user"])),c[0]||(c[0]=E("div",{id:"bottom"},null,-1))])):(f(),g("div",u2t,[u.value.loading?v("",!0):(f(),G(Fo,{key:0,target:p(n)?"SEGMENT":"WORKOUT"},null,8,["target"]))]))])):v("",!0)])]))}}),md=ne(l2t,[["__scopeId","data-v-77323877"]]),c2t={class:"workouts-filters"},d2t={class:"box"},E2t={class:"form-all-items"},_2t={class:"form-items-group"},T2t={class:"form-item"},p2t={for:"from"},m2t=["value"],f2t={class:"form-item"},S2t={for:"to"},A2t=["value"],h2t={class:"form-item"},O2t={for:"sport_id"},I2t=["value"],R2t=["value"],N2t={class:"form-item form-item-equipment"},g2t=["value"],b2t={key:0,value:"",disabled:"",selected:""},C2t={value:"none"},P2t=["label"],D2t=["value"],L2t={class:"form-items-group"},v2t={class:"form-item form-item-text"},y2t={for:"title"},U2t={class:"form-inputs-group"},$2t=["value"],k2t={class:"form-item form-item-text"},w2t={for:"description"},M2t={class:"form-inputs-group"},W2t=["value"],F2t={class:"form-item form-item-text"},z2t={for:"notes"},B2t={class:"form-inputs-group"},G2t=["value"],x2t={class:"form-items-group"},V2t={class:"form-item"},H2t={class:"form-inputs-group"},K2t=["value"],Y2t=["value"],q2t={class:"form-item"},j2t={class:"form-inputs-group"},X2t={for:"duration_from",class:"visually-hidden"},Q2t=["value"],Z2t={for:"duration_to",class:"visually-hidden"},J2t=["value"],eyt={class:"form-items-group"},tyt={class:"form-item"},nyt={class:"form-inputs-group"},syt=["value"],ayt=["value"],oyt={class:"form-item"},iyt={class:"form-inputs-group"},ryt=["value"],uyt=["value"],lyt={class:"form-button"},cyt=Q({__name:"WorkoutsFilters",props:{authUser:{},translatedSports:{}},emits:["filter"],setup(e,{emit:t}){const n=e,{authUser:s}=pe(n),a=t,o=at(),i=On(),r=HO(),{t:u}=vt();let l=Object.assign({},o.query);const d=F(()=>s.value.imperial_units?gn.km.defaultTarget:"km"),_=F(()=>S(r.getters[Be.GETTERS.EQUIPMENTS]));function c(R){const h=R.target.name,O=R.target.value;O===""?delete l[h]:l[h]=O}function T(){a("filter"),"page"in l&&(l.page="1"),i.push({path:"/workouts",query:l})}function m(){a("filter"),i.push({path:"/workouts",query:{}})}function S(R){const h={};return R.filter(O=>O.workouts_count>0).map(O=>{const I=u(`equipment_types.${O.equipment_type.label}.LABEL`);I in h?h[I].push(O):h[I]=[O]}),h}return Pe(()=>o.query,R=>{l=Object.assign({},R)}),Et(()=>{const R=document.getElementById("from");R&&R.focus()}),(R,h)=>(f(),g("div",c2t,[E("div",d2t,[E("form",{onSubmit:h[0]||(h[0]=Ne(()=>{},["prevent"])),class:"form"},[E("div",E2t,[E("div",_2t,[E("div",T2t,[E("label",p2t,A(R.$t("workouts.FROM"))+": ",1),E("input",{id:"from",name:"from",type:"date",value:R.$route.query.from,onChange:c},null,40,m2t)]),E("div",f2t,[E("label",S2t,A(R.$t("workouts.TO"))+": ",1),E("input",{id:"to",name:"to",type:"date",value:R.$route.query.to,onChange:c},null,40,A2t)]),E("div",h2t,[E("label",O2t,A(R.$t("workouts.SPORT",1))+":",1),E("select",{id:"sport_id",name:"sport_id",value:R.$route.query.sport_id,onChange:c,onKeyup:Xe(T,["enter"])},[h[1]||(h[1]=E("option",{value:""},null,-1)),(f(!0),g(ae,null,be(R.translatedSports.filter(O=>p(s).sports_list.includes(O.id)),O=>(f(),g("option",{value:O.id,key:O.id},A(O.translatedLabel),9,R2t))),128))],40,I2t)]),E("div",N2t,[E("label",null,A(R.$t("equipments.EQUIPMENT",1))+":",1),E("select",{name:"equipment_id",value:R.$route.query.equipment_id,onChange:c,onKeyup:Xe(T,["enter"])},[h[3]||(h[3]=E("option",{value:""},null,-1)),Object.keys(_.value).length==0?(f(),g("option",b2t,A(R.$t("equipments.NO_EQUIPMENTS")),1)):v("",!0),Object.keys(_.value).length>0?(f(),g(ae,{key:1},[E("option",C2t,A(R.$t("equipments.WITHOUT_EQUIPMENTS")),1),h[2]||(h[2]=E("option",{disabled:""},"---",-1))],64)):v("",!0),(f(!0),g(ae,null,be(Object.keys(_.value).sort(),O=>(f(),g("optgroup",{label:O,key:O},[(f(!0),g(ae,null,be(_.value[O].sort(p(B_)),I=>(f(),g("option",{value:I.id,key:I.id},A(I.label),9,D2t))),128))],8,P2t))),128))],40,g2t)])]),E("div",L2t,[E("div",v2t,[E("label",y2t,A(R.$t("workouts.TITLE",1))+":",1),E("div",U2t,[E("input",{id:"title",class:"text",name:"title",value:R.$route.query.title,onChange:c,placeholder:"",type:"text",onKeyup:Xe(T,["enter"])},null,40,$2t)])]),E("div",k2t,[E("label",w2t,A(R.$t("workouts.DESCRIPTION"))+": ",1),E("div",M2t,[E("input",{id:"description",class:"text",name:"description",value:R.$route.query.description,onChange:c,placeholder:"",type:"text",onKeyup:Xe(T,["enter"])},null,40,W2t)])]),E("div",F2t,[E("label",z2t,A(R.$t("workouts.NOTES"))+":",1),E("div",B2t,[E("input",{id:"notes",class:"text",name:"notes",value:R.$route.query.notes,onChange:c,placeholder:"",type:"text",onKeyup:Xe(T,["enter"])},null,40,G2t)])])]),E("div",x2t,[E("div",V2t,[E("label",null,A(R.$t("workouts.DISTANCE"))+" ("+A(d.value)+"): ",1),E("div",H2t,[E("input",{name:"distance_from",type:"number",min:"0",step:"0.1",value:R.$route.query.distance_from,onChange:c,onKeyup:Xe(T,["enter"])},null,40,K2t),E("span",null,A(R.$t("workouts.TO")),1),E("input",{name:"distance_to",type:"number",min:"0",step:"0.1",value:R.$route.query.distance_to,onChange:c,onKeyup:Xe(T,["enter"])},null,40,Y2t)])]),E("div",q2t,[E("label",null,A(R.$t("workouts.DURATION"))+": ",1),E("div",j2t,[E("label",X2t,A(R.$t("workouts.FROM")),1),E("input",{id:"duration_from",name:"duration_from",value:R.$route.query.duration_from,onChange:c,pattern:"^([0-9]*[0-9]):([0-5][0-9])$",placeholder:"hh:mm",type:"text",onKeyup:Xe(T,["enter"])},null,40,Q2t),E("span",null,A(R.$t("workouts.TO")),1),E("label",Z2t,A(R.$t("workouts.TO")),1),E("input",{id:"duration_to",name:"duration_to",value:R.$route.query.duration_to,onChange:c,pattern:"^([0-9]*[0-9]):([0-5][0-9])$",placeholder:"hh:mm",type:"text",onKeyup:Xe(T,["enter"])},null,40,J2t)])])]),E("div",eyt,[E("div",tyt,[E("label",null,A(R.$t("workouts.AVE_SPEED"))+" ("+A(d.value)+"/h): ",1),E("div",nyt,[E("input",{min:"0",name:"ave_speed_from",value:R.$route.query.ave_speed_from,onChange:c,step:"0.1",type:"number",onKeyup:Xe(T,["enter"])},null,40,syt),E("span",null,A(R.$t("workouts.TO")),1),E("input",{min:"0",name:"ave_speed_to",value:R.$route.query.ave_speed_to,onChange:c,step:"0.1",type:"number",onKeyup:Xe(T,["enter"])},null,40,ayt)])]),E("div",oyt,[E("label",null,A(R.$t("workouts.MAX_SPEED"))+" ("+A(d.value)+"/h): ",1),E("div",iyt,[E("input",{min:"0",name:"max_speed_from",value:R.$route.query.max_speed_from,onChange:c,step:"0.1",type:"number",onKeyup:Xe(T,["enter"])},null,40,ryt),E("span",null,A(R.$t("workouts.TO")),1),E("input",{min:"0",name:"max_speed_to",value:R.$route.query.max_speed_to,onChange:c,step:"0.1",type:"number",onKeyup:Xe(T,["enter"])},null,40,uyt)])])])]),E("div",lyt,[E("button",{type:"submit",class:"confirm",onClick:T},A(R.$t("buttons.FILTER")),1),E("button",{class:"confirm",onClick:m},A(R.$t("buttons.CLEAR_FILTER")),1)])],32)])]))}}),dyt=ne(cyt,[["__scopeId","data-v-ac04eca3"]]),Eyt={class:"workouts-list"},_yt={class:"total"},Tyt={class:"total-label"},pyt={key:0},myt={key:0,class:"workouts-table responsive-table"},fyt={class:"sport-col"},Syt={class:"visually-hidden"},Ayt={class:"sport-col"},hyt={class:"cell-heading"},Oyt=["onMouseover"],Iyt={class:"cell-heading"},Ryt={key:0,class:"fa fa-map-o","aria-hidden":"true"},Nyt={class:"title"},gyt={class:"workout-date"},byt={class:"cell-heading"},Cyt={class:"text-right"},Pyt={class:"cell-heading"},Dyt={class:"text-right"},Lyt={class:"cell-heading"},vyt={class:"text-right"},yyt={class:"cell-heading"},Uyt={class:"text-right"},$yt={class:"cell-heading"},kyt={class:"text-right"},wyt={class:"cell-heading"},Myt={class:"text-right"},Wyt={class:"cell-heading"},Fyt=Q({__name:"WorkoutsList",props:{user:{},translatedSports:{}},setup(e){const t=e,{user:n,translatedSports:s}=pe(t),a=at(),o=On(),i=ye(),r=["ave_speed","distance","duration","workout_date"],{appLanguage:u}=Ge(),{isAuthUserSuspended:l}=Ye();let d=R(a.query);const _=Oe(null),c=F(()=>i.getters[J.GETTERS.AUTH_USER_WORKOUTS]),T=F(()=>i.getters[J.GETTERS.WORKOUTS_PAGINATION]);function m(I){l.value||i.dispatch(J.ACTIONS.GET_AUTH_USER_WORKOUTS,n.value.imperial_units?h(I):I)}function S(I,N){const b=Object.assign({},a.query);b[I]=N,I==="per_page"&&(b.page="1"),d=R(b),o.push({path:"/workouts",query:d})}function R(I){const N=Lo(I,r,Yi.order_by,{defaultSort:Yi.order});return Object.keys(I).filter(b=>Pct.includes(b)).map(b=>{typeof I[b]=="string"&&(N[b]=I[b])}),N}function h(I){const N={...I};return Object.entries(N).map(b=>{b[0].match("speed|distance")&&b[1]&&(N[b[0]]=Xt(+b[1],"mi","km"))}),N}function O(I){_.value=I}return Pe(()=>a.query,async I=>{d=R(I),m(d)}),Ze(()=>{m(d),i.dispatch(Be.ACTIONS.GET_EQUIPMENTS)}),(I,N)=>{const b=j("SportImage"),P=j("VisibilityIcon"),C=j("router-link"),y=j("Distance");return f(),g("div",Eyt,[E("div",{class:fe(["box",{"empty-table":c.value.length===0}])},[E("div",_yt,[E("span",Tyt,A(I.$t("common.TOTAL").toLowerCase())+": ",1),T.value.total?(f(),g("span",pyt,A(T.value.total)+" "+A(I.$t("workouts.WORKOUT",T.value.total)),1)):v("",!0)]),M(x_,{sort:p(Fl),order_by:r,query:p(d),message:"workouts",onUpdateSelect:S},null,8,["sort","query"]),c.value.length>0?(f(),g("div",myt,[M(Zn,{class:"top-pagination",pagination:T.value,path:"/workouts",query:p(d)},null,8,["pagination","query"]),E("table",null,[E("thead",{class:fe({smaller:p(u)==="de"})},[E("tr",null,[E("th",fyt,[E("span",Syt,A(I.$t("workouts.SPORT")),1)]),E("th",null,A(Fe(I.$t("workouts.WORKOUT",1))),1),E("th",null,A(Fe(I.$t("workouts.DATE"))),1),E("th",null,A(Fe(I.$t("workouts.DISTANCE"))),1),E("th",null,A(Fe(I.$t("workouts.DURATION"))),1),E("th",null,A(Fe(I.$t("workouts.AVE_SPEED"))),1),E("th",null,A(Fe(I.$t("workouts.MAX_SPEED"))),1),E("th",null,A(Fe(I.$t("workouts.ASCENT"))),1),E("th",null,A(Fe(I.$t("workouts.DESCENT"))),1)])],2),E("tbody",null,[(f(!0),g(ae,null,be(c.value,L=>(f(),g("tr",{key:L.id},[E("td",Ayt,[E("span",hyt,A(I.$t("workouts.SPORT",1)),1),p(s).length>0?(f(),G(b,{key:0,title:p(s).filter(w=>w.id===L.sport_id)[0].translatedLabel,"sport-label":p(F_)(L,p(s)),color:p(z_)(L,p(s))},null,8,["title","sport-label","color"])):v("",!0)]),E("td",{class:"workout-title",onMouseover:w=>O(L.id),onMouseleave:N[0]||(N[0]=w=>O(null))},[E("span",Iyt,A(Fe(I.$t("workouts.WORKOUT",1))),1),M(C,{class:"nav-item",to:{name:"Workout",params:{workoutId:L.id}}},{default:X(()=>[L.with_gpx?(f(),g("i",Ryt)):v("",!0),E("span",Nyt,A(L.title),1),M(P,{visibility:L.workout_visibility},null,8,["visibility"])]),_:2},1032,["to"]),L.with_gpx&&_.value===L.id?(f(),G(D1,{key:0,workout:L,"display-hover":!0},null,8,["workout"])):v("",!0)],40,Oyt),E("td",gyt,[E("span",byt,A(I.$t("workouts.DATE")),1),E("time",null,A(p(Ut)(L.workout_date,p(n).timezone,p(n).date_format)),1)]),E("td",Cyt,[E("span",Pyt,A(I.$t("workouts.DISTANCE")),1),L.distance!==null?(f(),G(y,{key:0,distance:L.distance,unitFrom:"km",useImperialUnits:p(n).imperial_units},null,8,["distance","useImperialUnits"])):v("",!0)]),E("td",Dyt,[E("span",Lyt,A(I.$t("workouts.DURATION")),1),B(" "+A(L.moving),1)]),E("td",vyt,[E("span",yyt,A(I.$t("workouts.AVE_SPEED")),1),L.ave_speed!==null?(f(),G(y,{key:0,distance:L.ave_speed,unitFrom:"km",speed:!0,useImperialUnits:p(n).imperial_units},null,8,["distance","useImperialUnits"])):v("",!0)]),E("td",Uyt,[E("span",$yt,A(I.$t("workouts.MAX_SPEED")),1),L.max_speed!==null?(f(),G(y,{key:0,distance:L.max_speed,unitFrom:"km",speed:!0,useImperialUnits:p(n).imperial_units},null,8,["distance","useImperialUnits"])):v("",!0)]),E("td",kyt,[E("span",wyt,A(I.$t("workouts.ASCENT")),1),L.ascent!==null?(f(),G(y,{key:0,distance:L.ascent,unitFrom:"m",useImperialUnits:p(n).imperial_units},null,8,["distance","useImperialUnits"])):v("",!0)]),E("td",Myt,[E("span",Wyt,A(I.$t("workouts.DESCENT")),1),L.descent!==null?(f(),G(y,{key:0,distance:L.descent,unitFrom:"m",useImperialUnits:p(n).imperial_units},null,8,["distance","useImperialUnits"])):v("",!0)])]))),128))])]),M(Zn,{pagination:T.value,path:"/workouts",query:p(d)},null,8,["pagination","query"])])):v("",!0)],2),c.value.length===0?(f(),G(j_,{key:0})):v("",!0),N[1]||(N[1]=E("div",{id:"bottom"},null,-1))])}}}),zyt=ne(Fyt,[["__scopeId","data-v-211b0fd9"]]),Byt={key:0,id:"workouts",class:"view items-list-view"},Gyt={class:"container items-list-container"},xyt={class:"display-filters"},Vyt={class:"list-container"},Hyt=Q({__name:"WorkoutsView",setup(e){const{t}=vt(),n=ye(),s=F(()=>n.getters[K.GETTERS.AUTH_USER_PROFILE]),a=F(()=>n.getters[Vt.GETTERS.SPORTS]),o=F(()=>ds(a.value,t)),i=Oe(!0);function r(){i.value=!i.value}return(u,l)=>s.value.username?(f(),g("div",Byt,[E("div",Gyt,[E("div",{class:fe(["filters-container",{hidden:i.value}])},[M(dyt,{translatedSports:o.value,authUser:s.value,onFilter:r},null,8,["translatedSports","authUser"])],2),E("div",xyt,[E("div",{onClick:r},[E("i",{class:fe(`fa fa-caret-${i.value?"down":"up"}`),"aria-hidden":"true"},null,2),E("span",null,A(u.$t(`workouts.${i.value?"DISPLAY":"HIDE"}_FILTERS`)),1)])]),E("div",Vyt,[M(zyt,{user:s.value,translatedSports:o.value},null,8,["user","translatedSports"])])])])):v("",!0)}}),{t:nA}=Wo.global,sA=e=>{const t=/(\/profile)(\/edit)*(\/*)/,n=e.replace(t,"").toUpperCase();return n===""?"PROFILE":n.split("/")[0].toUpperCase()},Kyt=[{path:"/",name:"Dashboard",component:GRt,meta:{title:"dashboard.DASHBOARD",allowedToSuspendedUser:!1}},{path:"/login",name:"Login",component:HS,props:{action:"login"},meta:{title:"user.LOGIN",withoutAuth:!0}},{path:"/register",name:"Register",component:HS,props:{action:"register"},meta:{title:"user.REGISTER",withoutAuth:!0}},{path:"/account-confirmation",name:"AccountConfirmation",component:ybt,meta:{title:"user.ACCOUNT_CONFIRMATION",withoutAuth:!0}},{path:"/account-confirmation/resend",name:"AccountConfirmationResend",component:VS,props:{action:"account-confirmation-resend"},meta:{title:"buttons.ACCOUNT-CONFIRMATION-RESEND",withoutAuth:!0}},{path:"/account-confirmation/email-sent",name:"AccountConfirmationEmailSend",component:VS,props:{action:"email-sent"},meta:{title:"buttons.ACCOUNT-CONFIRMATION-RESEND",withoutAuth:!0}},{path:"/password-reset/sent",name:"PasswordEmailSent",component:Mr,props:{action:"request-sent"},meta:{title:"user.PASSWORD_RESET",withoutAuth:!0}},{path:"/password-reset/request",name:"PasswordResetRequest",component:Mr,props:{action:"reset-request"},meta:{title:"user.PASSWORD_RESET",withoutAuth:!0}},{path:"/password-reset/password-updated",name:"PasswordUpdated",component:Mr,props:{action:"password-updated"},meta:{title:"user.PASSWORD_RESET",withoutAuth:!0}},{path:"/password-reset",name:"PasswordReset",component:Mr,props:{action:"reset"},meta:{title:"user.PASSWORD_RESET",withoutAuth:!0}},{path:"/email-update",name:"EmailUpdate",component:wbt,meta:{title:"user.EMAIL_UPDATE",withoutChecks:!0}},{path:"/profile",name:"Profile",component:oCt,children:[{path:"",name:"UserProfile",component:SEt,props:e=>({tab:sA(e.path)}),children:[{path:"",name:"UserInfos",component:U1,meta:{title:"user.PROFILE.TABS.PROFILE"}},{path:"preferences",name:"UserPreferences",component:l_t,meta:{title:"user.PROFILE.TABS.PREFERENCES"}},{path:"notifications",name:"UserNotifications",component:t_t,meta:{title:"user.PROFILE.TABS.NOTIFICATIONS"}},{path:"sports",name:"UserSports",component:kS,props:{isEdition:!1},meta:{title:"user.PROFILE.TABS.SPORTS"},children:[{path:"",name:"UserSportPreferences",component:wS,meta:{title:"user.PROFILE.TABS.SPORTS"}},{path:":id",name:"UserSport",component:l0t,meta:{title:"user.PROFILE.TABS.SPORTS"}}]},{path:"apps",name:"UserApps",component:pAt,children:[{path:"",name:"UserAppsList",component:kAt,meta:{title:"user.PROFILE.TABS.APPS"}},{path:":id",name:"UserApp",component:LS,meta:{title:"user.PROFILE.TABS.APPS"}},{path:":id/created",name:"CreatedUserApp",component:LS,props:{afterCreation:!0},meta:{title:"user.PROFILE.TABS.APPS"}},{path:"new",name:"AddUserApp",component:nAt,meta:{title:"user.PROFILE.TABS.APPS"}},{path:"authorize",name:"AuthorizeUserApp",component:_At,meta:{title:"user.PROFILE.TABS.APPS"}}]},{path:"equipments",name:"UserEquipments",component:US,props:{isEdition:!1},children:[{path:"",name:"UserEquipmentsList",component:$S,meta:{title:"user.PROFILE.TABS.EQUIPMENTS"}},{path:"new",name:"AddEquipment",component:yS,meta:{title:"user.PROFILE.TABS.EQUIPMENTS"}},{path:":id",name:"Equipment",component:jht,meta:{title:"user.PROFILE.TABS.EQUIPMENTS"}}]},{path:"follow-requests",name:"FollowRequests",component:TS,props:{itemType:"follow-requests"},meta:{title:"user.PROFILE.TABS.FOLLOW-REQUESTS"}},{path:"blocked-users",name:"BlockedUsers",component:TS,props:{itemType:"blocked-users"},meta:{title:"user.PROFILE.TABS.BLOCKED-USERS"}},{path:"followers",name:"AuthUserFollowers",component:kr,props:{relationship:"followers"},meta:{title:"user.RELATIONSHIPS.FOLLOWER",count:0}},{path:"following",name:"AuthUserFollowing",component:kr,props:{relationship:"following"},meta:{title:"user.RELATIONSHIPS.FOLLOWING",count:0}},{path:"suspension",name:"AuthUserAccountSuspension",component:USt},{path:"moderation",name:"Moderation",component:AOt,meta:{title:"user.PROFILE.TABS.MODERATION"},children:[{path:"",name:"UserSanctionList",component:KOt},{path:"sanctions/:action_id",name:"UserSanctionDetail",component:WOt}]}]},{path:"edit",name:"UserProfileEdition",component:R_t,props:e=>({tab:sA(e.path)}),children:[{path:"",name:"UserInfosEdition",component:ymt,meta:{title:"user.PROFILE.EDIT"}},{path:"account",name:"UserAccountEdition",component:mmt,meta:{title:"user.PROFILE.ACCOUNT_EDITION"}},{path:"picture",name:"UserPictureEdition",component:Zmt,meta:{title:"user.PROFILE.PICTURE_EDITION"}},{path:"preferences",name:"UserPreferencesEdition",component:TSt,meta:{title:"user.PROFILE.EDIT_PREFERENCES"}},{path:"notifications",name:"UserNotificationsEdition",component:Vmt,meta:{title:"user.PROFILE.EDIT_NOTIFICATIONS"}},{path:"sports",name:"UserSportsEdition",component:kS,props:{isEdition:!0},meta:{title:"user.PROFILE.EDIT_SPORTS_PREFERENCES"},children:[{path:"",name:"UserSportPreferencesEdition",component:wS,meta:{title:"user.PROFILE.TABS.SPORTS"}},{path:":id",name:"UserSportEdition",component:y0t,meta:{title:"user.PROFILE.TABS.SPORTS"}}]},{path:"equipments",name:"UserEquipmentsEdition",component:US,props:{isEdition:!0},children:[{path:"",name:"UserEquipmentsListEdition",component:$S,meta:{title:"user.PROFILE.TABS.EQUIPMENTS"}},{path:":id",name:"EquipmentEdition",component:yS,meta:{title:"user.PROFILE.TABS.EQUIPMENTS"}}]},{path:"privacy-policy",name:"UserPrivacyPolicy",component:CSt,meta:{title:"user.PROFILE.PRIVACY-POLICY_EDITION"}}]}]},{path:"/notifications",name:"Notifications",component:XNt,meta:{allowedToSuspendedUser:!1}},{path:"/statistics",name:"Statistics",component:Qgt,meta:{title:"statistics.STATISTICS",allowedToSuspendedUser:!1}},{path:"/users",name:"Users",component:RCt,meta:{allowedToSuspendedUser:!1}},{path:"/users/:username",name:"User",props:{fromAdmin:!1},component:KS,meta:{title:"user.USER",withoutChecks:!0,allowedToSuspendedUser:!1},children:[{path:"followers",name:"UserFollowers",component:kr,props:{relationship:"followers"},meta:{withoutAuth:!1,withoutChecks:!1}},{path:"following",name:"UserFollowing",component:kr,props:{relationship:"following"},meta:{withoutAuth:!1,withoutChecks:!1}}]},{path:"/workouts",name:"Workouts",component:Hyt,meta:{title:"workouts.WORKOUT",count:0,allowedToSuspendedUser:!1}},{path:"/workouts/:workoutId",name:"Workout",component:md,props:{displaySegment:!1},meta:{title:"workouts.WORKOUT",withoutChecks:!0,allowedToSuspendedUser:!1}},{path:"/workouts/:workoutId/likes",name:"WorkoutLikes",component:Td,props:{objectType:"workout"},meta:{title:"workouts.LIKES",withoutChecks:!0,allowedToSuspendedUser:!1}},{path:"/workouts/:workoutId/edit",name:"EditWorkout",component:sDt,meta:{title:"workouts.EDIT_WORKOUT",allowedToSuspendedUser:!1}},{path:"/workouts/:workoutId/segment/:segmentId",name:"WorkoutSegment",component:md,props:{displaySegment:!0},meta:{title:"workouts.SEGMENT",count:0,withoutChecks:!0,allowedToSuspendedUser:!1}},{path:"/workouts/:workoutId/comments/:commentId",name:"WorkoutComment",component:md,props:{displaySegment:!1},meta:{allowedToSuspendedUser:!1,withoutChecks:!0}},{path:"/workouts/:workoutId/comments/:commentId/likes",name:"WorkoutCommentLikes",component:Td,props:{objectType:"comment"},meta:{title:"workouts.LIKES",withoutChecks:!0,allowedToSuspendedUser:!1}},{path:"/comments/:commentId",name:"Comment",component:eDt,meta:{allowedToSuspendedUser:!1,withoutChecks:!0}},{path:"/comments/:commentId/likes",name:"CommentLikes",component:Td,props:{objectType:"comment"},meta:{title:"workouts.LIKES",withoutChecks:!0,allowedToSuspendedUser:!1}},{path:"/workouts/add",name:"AddWorkout",component:BPt,meta:{title:"workouts.ADD_WORKOUT",allowedToSuspendedUser:!1}},{path:"/admin",name:"Administration",component:y1t,meta:{allowedToSuspendedUser:!1,minimumRole:"moderator"},children:[{path:"",name:"AdministrationMenu",component:Aut,meta:{title:"admin.ADMINISTRATION"}},{path:"application",name:"ApplicationAdministration",component:lS,meta:{title:"admin.APP_CONFIG.TITLE",minimumRole:"admin"}},{path:"application/edit",name:"ApplicationAdministrationEdition",component:lS,props:{edition:!0},meta:{title:"admin.APPLICATION",minimumRole:"admin"}},{path:"equipment-types",name:"EquipmentTypeAdministration",component:sut,meta:{title:"admin.EQUIPMENT_TYPES.TITLE",minimumRole:"admin"}},{path:"sports",name:"SportsAdministration",component:bdt,meta:{title:"admin.SPORTS.TITLE",minimumRole:"admin"}},{path:"reports",name:"ReportsAdministration",component:ldt,meta:{title:"admin.APP_MODERATION.TITLE"}},{path:"reports/:reportId",name:"ReportAdministration",component:Act,meta:{title:"admin.APP_MODERATION.REPORT"}},{path:"users/:username",name:"UserFromAdmin",component:KS,props:{fromAdmin:!0},meta:{title:"admin.USER",count:1}},{path:"users",name:"UsersAdministration",component:aEt,meta:{title:"admin.USERS.TITLE",minimumRole:"admin"}}]},{path:"/about",name:"About",component:C1t,meta:{title:"common.ABOUT",withoutChecks:!0}},{path:"/privacy-policy",name:"PrivacyPolicy",component:JNt,meta:{title:"privacy_policy.TITLE",withoutChecks:!0}},{path:"/:pathMatch(.*)*",name:"not-found",component:VRt,meta:{title:"error.NOT_FOUND.PAGE"}}],it=gL({history:eL("/"),routes:Kyt});it.beforeEach((e,t,n)=>{if("title"in e.meta){const s=typeof e.meta.title=="string"?e.meta.title:"",a=s?typeof e.meta.count=="number"?nA(s,+e.meta.count):nA(s):"";window.document.title=`FitTrackee${s?` - ${Fe(a)}`:""}`}Un.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),Un.dispatch(K.ACTIONS.CHECK_AUTH_USER).then(()=>{if(e.meta.withoutChecks)return n();if(Un.getters[K.GETTERS.IS_PROFILE_LOADED]&&Un.getters[K.GETTERS.IS_SUSPENDED]&&!e.path.startsWith("/profile")&&!e.meta.allowedToSuspendedUser)return n("/profile");if(Un.getters[K.GETTERS.IS_AUTHENTICATED]&&Un.getters[K.GETTERS.IS_PROFILE_LOADED]&&!Un.getters[K.GETTERS.IS_SUSPENDED]&&Un.dispatch(ct.ACTIONS.GET_UNREAD_STATUS),Un.getters[K.GETTERS.IS_AUTHENTICATED]&&e.meta.withoutAuth)return n("/");if(!Un.getters[K.GETTERS.IS_AUTHENTICATED]&&!e.meta.withoutAuth){const s=e.path==="/"?{path:"/login"}:{path:"/login",query:{from:e.fullPath}};n(s)}else n()}).catch(s=>{console.error(s),n()})});IE.register(WI,FI,zI,BI,GI,xI,VI,oA,HI,aA,KI,YI);const kI=Og(Dtt).provide("sportColors",W_).use(Wo).use(Un).use(it).use(rC,{name:"VFullscreen"}).directive("click-outside",lrt);urt.forEach(e=>{kI.component(e.name,e.target)});kI.mount("#app"); + C512.001,172.24,506.387,166.626,499.487,166.626z">`,7)]))}const ivt=ne(svt,[["render",ovt]]),rvt={id:"password-action-done",class:"center-card with-margin"},uvt={class:"password-message"},lvt={key:0},cvt=Q({__name:"PasswordActionDone",props:{action:{}},setup(e){const t=e,{action:n}=pe(t);return(s,a)=>{const o=j("router-link"),i=j("i18n-t");return S(),g("div",rvt,[p(n)==="request-sent"?(S(),G(EI,{key:0})):(S(),G(ivt,{key:1})),E("div",uvt,[p(n)==="request-sent"?(S(),g("span",lvt,A(s.$t("user.PASSWORD_SENT_EMAIL_TEXT")),1)):(S(),G(i,{key:1,keypath:"user.PASSWORD_UPDATED"},{default:X(()=>[M(o,{to:"/login"},{default:X(()=>[B(A(s.$t("common.HERE")),1)]),_:1})]),_:1}))])])}}}),dvt=ne(cvt,[["__scopeId","data-v-82edbe6c"]]),Evt={id:"password-reset-request",class:"center-card with-margin"},_vt=Q({__name:"PasswordResetForm",props:{action:{},token:{default:""}},setup(e){const t=e,{action:n,token:s}=pe(t);return(a,o)=>{const i=j("Card");return S(),g("div",Evt,[M(i,null,{title:X(()=>[B(A(a.$t("user.RESET_PASSWORD")),1)]),content:X(()=>[M(Q_,{action:p(n),token:p(s)},null,8,["action","token"])]),_:1})])}}}),Tvt=ne(_vt,[["__scopeId","data-v-25ace80f"]]),pvt={id:"password-reset",class:"view"},mvt={class:"container"},fvt=Q({__name:"PasswordResetView",props:{action:{}},setup(e){const t=e,{action:n}=pe(t),s=fn(),{token:a}=Ye();return Ze(()=>{t.action==="reset"&&!a.value&&s.push("/")}),(o,i)=>(S(),g("div",pvt,[E("div",mvt,[p(n).startsWith("reset")?(S(),G(Tvt,{key:0,action:p(n),token:p(a)},null,8,["action","token"])):(S(),G(dvt,{key:1,action:p(n)},null,8,["action"]))])]))}}),Wr=ne(fvt,[["__scopeId","data-v-aceaa6d3"]]),Svt={key:0,id:"profile",class:"view"},Avt=Q({__name:"ProfileView",setup(e){const{authUser:t}=Ye();return(n,s)=>{const a=j("router-view");return p(t).username?(S(),g("div",Svt,[M(a,{user:p(t)},null,8,["user"]),s[0]||(s[0]=E("div",{id:"bottom"},null,-1))])):L("",!0)}}}),hvt=ne(Avt,[["__scopeId","data-v-34141bd4"]]),Ovt={id:"user-workouts"},Ivt={key:0},Rvt={class:"section-title"},Nvt=Q({__name:"UserWorkoutsList",props:{user:{}},setup(e){const t=e,{user:n}=pe(t),{dateFormat:s,imperialUnits:a,timezone:o}=Ye(),{sports:i}=Jt(),r=ye(),u=F(()=>r.getters[ue.GETTERS.USER_WORKOUTS]),l=F(()=>r.getters[ue.GETTERS.USER_WORKOUTS_LOADING]);function d(_){r.dispatch(ue.ACTIONS.GET_USER_WORKOUTS,_)}return Ce(()=>n.value,_=>{d(_.username)}),Ze(()=>{d(n.value.username),i.value.length===0&&n.value.nb_workouts>0&&r.dispatch(xt.ACTIONS.GET_SPORTS)}),ut(()=>r.commit(ue.MUTATIONS.UPDATE_USER_WORKOUTS,[])),(_,c)=>{const T=j("Loader");return S(),g("div",Ovt,[l.value?(S(),G(T,{key:0})):(S(),g(ae,{key:1},[u.value.length>0?(S(),g("div",Ivt,[E("div",Rvt,A(_.$t("workouts.LATEST_WORKOUTS")),1),(S(!0),g(ae,null,be(u.value,m=>(S(),G(Hi,{workout:m,sport:p(i).filter(f=>f.id===m.sport_id)[0],user:m.user,useImperialUnits:p(a),dateFormat:p(s),timezone:p(o),key:m.id},null,8,["workout","sport","user","useImperialUnits","dateFormat","timezone"]))),128))])):L("",!0)],64))])}}}),gvt=ne(Nvt,[["__scopeId","data-v-661a0cb3"]]),bvt={id:"user",class:"view"},vvt={class:"box"},Cvt={key:1},Pvt=Q({__name:"UserView",props:{fromAdmin:{type:Boolean}},setup(e){const t=e,{fromAdmin:n}=pe(t),s=at(),a=ye(),{authUser:o}=Ye(),i=F(()=>a.getters[ue.GETTERS.USER]),r=F(()=>s.name==="User"&&i.value.nb_workouts>0);function u(l){l.username&&typeof l.username=="string"&&(a.dispatch(ue.ACTIONS.GET_USER,l.username),a.dispatch(ue.ACTIONS.EMPTY_RELATIONSHIPS))}return Ce(()=>s.params,l=>{u(l)}),Ze(()=>{u(s.params)}),Qi(()=>{a.dispatch(ue.ACTIONS.EMPTY_USER),a.dispatch(ue.ACTIONS.EMPTY_RELATIONSHIPS)}),(l,d)=>{const _=j("router-view");return S(),g("div",bvt,[i.value.username?(S(),g(ae,{key:0},[M(y1,{user:i.value},null,8,["user"]),E("div",vvt,[l.$route.path.includes("follow")?(S(),G(_,{key:0,authUser:p(o),user:i.value},null,8,["authUser","user"])):(S(),G($1,{key:1,authUser:p(o),user:i.value,"from-admin":p(n)},null,8,["authUser","user","from-admin"]))]),r.value?(S(),G(gvt,{key:0,user:i.value},null,8,["user"])):L("",!0)],64)):(S(),g("div",Cvt,[M(zo,{target:"USER"})]))])}}}),YS=ne(Pvt,[["__scopeId","data-v-d30f462a"]]),Dvt={class:"users-list"},Lvt={key:0,class:"container users-container"},yvt={key:1,class:"no-users"},Uvt="created_at",$vt=Q({__name:"UsersList",props:{authUser:{}},setup(e){const t=e,{authUser:n}=pe(t),s=ye(),a=at(),o=fn(),{isAuthUserSuspended:i}=Ye(),{errorMessages:r}=Ge(),u=["created_at","username","workouts_count"];let l=Dt(R(a.query));const d=Oe(null),_=F(()=>s.getters[ue.GETTERS.USERS]),c=F(()=>s.getters[ue.GETTERS.USERS_PAGINATION]);function T(h){i.value||(h.per_page=9,s.dispatch(ue.ACTIONS.GET_USERS,h))}function m(h){d.value=h}function f(h){if(h.value!=="")l=R({q:h.value});else{const O=Object.assign({},a.query);l=R(O)}o.push({path:"/users",query:l})}function R(h){const O=Lo(h,u,Uvt);return h.q&&(O.q=h.q),O}return Ce(()=>a.query,h=>{l=R(h),T(l)}),Ze(()=>T(l)),ut(()=>{s.dispatch(ue.ACTIONS.EMPTY_USERS)}),(h,O)=>{const I=j("ErrorMessage");return S(),g("div",Dvt,[M(L1,{onFilterOnUsername:f}),_.value.length>0?(S(),g("div",Lvt,[(S(!0),g(ae,null,be(_.value,N=>(S(),g("div",{key:N.username,class:"user-box"},[M(Fl,{authUser:p(n),user:N,updatedUser:d.value,onUpdatedUserRelationship:m},null,8,["authUser","user","updatedUser"])]))),128))])):(S(),g("div",yvt,A(h.$t("user.NO_USERS_FOUND")),1)),c.value.page?(S(),G(Yn,{key:2,path:"/users",pagination:c.value,query:p(l)},null,8,["pagination","query"])):L("",!0),p(r)?(S(),G(I,{key:3,message:p(r)},null,8,["message"])):L("",!0)])}}}),kvt=ne($vt,[["__scopeId","data-v-dd90017f"]]),wvt={key:0,id:"users",class:"view"},Mvt={class:"container"},Wvt=Q({__name:"UsersView",setup(e){const{authUser:t}=Ye();return(n,s)=>p(t).username?(S(),g("div",wvt,[E("div",Mvt,[M(kvt,{authUser:p(t)},null,8,["authUser"])])])):L("",!0)}}),Fvt={id:"workout-form"},zvt={class:"form-items"},Bvt={key:0,class:"form-item-radio"},Gvt=["checked","disabled"],xvt={for:"withGpx"},Vvt=["checked","disabled"],Hvt={for:"withoutGpx"},Kvt={class:"form-item"},Yvt={for:"sport"},qvt=["disabled"],jvt=["value"],Xvt={key:1,class:"form-item"},Qvt={for:"gpxFile"},Zvt=["disabled"],Jvt={class:"files-help info-box"},eCt={class:"form-item"},tCt={for:"title"},nCt=["required","disabled"],sCt={key:0,class:"field-help"},aCt={class:"info-box"},oCt={key:2},iCt={class:"workout-date-duration"},rCt={class:"form-item"},uCt={class:"workout-date-time"},lCt=["disabled"],cCt=["disabled"],dCt={class:"form-item"},ECt={for:"workout-duration-hour",class:"visually-hidden"},_Ct=["disabled"],TCt={for:"workout-duration-minutes",class:"visually-hidden"},pCt=["disabled"],mCt={for:"workout-duration-seconds",class:"visually-hidden"},fCt=["disabled"],SCt={class:"workout-data"},ACt={class:"form-item"},hCt=["disabled"],OCt={class:"form-item"},ICt=["disabled"],RCt={class:"form-item"},NCt=["disabled"],gCt={key:3,class:"form-item"},bCt={for:"workout-equipment"},vCt=["disabled"],CCt={value:""},PCt=["value"],DCt={class:"form-item"},LCt={for:"workout_visibility"},yCt=["disabled"],UCt=["value"],$Ct={key:4,class:"form-item"},kCt={for:"analysis_visibility"},wCt=["disabled"],MCt=["value"],WCt={key:5,class:"form-item"},FCt={for:"map_visibility"},zCt=["disabled"],BCt=["value"],GCt={key:6,class:"form-item"},xCt={for:"description"},VCt={key:0,class:"field-help"},HCt={class:"info-box"},KCt={key:7,class:"form-item"},YCt={for:"notes"},qCt={key:0,class:"field-help"},jCt={class:"info-box"},XCt={key:1},QCt={key:2,class:"form-buttons"},ZCt=["disabled"],JCt=Q({__name:"WorkoutEdition",props:{authUser:{},sports:{},isCreation:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},workout:{default:()=>({})}},setup(e){const t=e,{authUser:n,workout:s,isCreation:a,loading:o}=pe(t),i=fn(),r=ye(),{t:u}=Lt(),{appConfig:l,errorMessages:d}=Ge();let _=null;const c=Dt({sport_id:"",title:"",notes:"",workoutDate:"",workoutTime:"",workoutDurationHour:"",workoutDurationMinutes:"",workoutDurationSeconds:"",workoutDistance:"",workoutAscent:"",workoutDescent:"",equipment_id:"",description:"",mapVisibility:n.value.map_visibility,analysisVisibility:n.value.analysis_visibility,workoutVisibility:n.value.workouts_visibility}),T=Oe(s.value.id&&s.value.with_gpx?!0:a.value),m=Oe(!1),f=Oe([]),R=F(()=>rs(t.sports,u,"is_active_for_user",s.value.id?[s.value.sport_id]:[])),h=F(()=>l.value.max_single_file_size?Ju(l.value.max_single_file_size):""),O=F(()=>l.value.gpx_limit_import),I=F(()=>l.value.max_zip_file_size?Ju(l.value.max_zip_file_size):""),N=F(()=>r.getters[Be.GETTERS.EQUIPMENTS]),b=F(()=>c.sport_id?R.value.filter(se=>se.id===+c.sport_id)[0]:null),C=F(()=>N.value?C1(N.value,u,a.value?"is_active":"withIncludedIds",b.value,a.value?[]:s.value.equipments.map(se=>se.id)):[]),v=F(()=>k_()),y=F(()=>Zu(c.workoutVisibility)),D=F(()=>Zu(c.analysisVisibility));function w(se){c.notes=se.value}function P(se){c.description=se.value}function W(){T.value=!T.value,m.value=!1}function Y(se){se.target.files&&(_=se.target.files[0])}function he(se){if(c.sport_id=`${se.sport_id}`,c.title=se.title,c.description=se.description,c.notes=se.notes,c.equipment_id=se.equipments.length>0&&"id"in se.equipments[0]?`${se.equipments[0].id}`:"",c.workoutVisibility=se.workout_visibility?se.workout_visibility:"private",c.analysisVisibility=se.analysis_visibility?se.analysis_visibility:"private",c.mapVisibility=se.map_visibility?se.map_visibility:"private",!se.with_gpx){const $e=B0(Cl(se.workout_date,t.authUser.timezone),"yyyy-MM-dd");if(se.duration){const dt=se.duration.split(":");c.workoutDurationHour=dt[0],c.workoutDurationMinutes=dt[1],c.workoutDurationSeconds=dt[2]}se.distance&&(c.workoutDistance=`${n.value.imperial_units?jt(se.distance,"km","mi",3):parseFloat(se.distance.toFixed(3))}`),c.workoutDate=$e.workout_date,c.workoutTime=$e.workout_time,c.workoutAscent=se.ascent===null?"":`${n.value.imperial_units?jt(se.ascent,"m","ft",2):parseFloat(se.ascent.toFixed(2))}`,c.workoutDescent=se.descent===null?"":`${n.value.imperial_units?jt(se.descent,"m","ft",2):parseFloat(se.descent.toFixed(2))}`}}function ie(){return f.value.includes("workouts.INVALID_DISTANCE")}function me(){return f.value.includes("workouts.INVALID_DURATION")}function Ie(){return f.value.includes("workouts.INVALID_ASCENT_OR_DESCENT")}function Le(se){f.value=[],se.duration=+c.workoutDurationHour*3600+ +c.workoutDurationMinutes*60+ +c.workoutDurationSeconds,se.duration<=0&&f.value.push("workouts.INVALID_DURATION"),se.distance=n.value.imperial_units?jt(+c.workoutDistance,"mi","km",3):+c.workoutDistance,se.distance<=0&&f.value.push("workouts.INVALID_DISTANCE"),se.workout_date=`${c.workoutDate} ${c.workoutTime}`,se.ascent=c.workoutAscent===""?null:n.value.imperial_units?jt(+c.workoutAscent,"ft","m",3):+c.workoutAscent,se.descent=c.workoutDescent===""?null:n.value.imperial_units?jt(+c.workoutDescent,"ft","m",3):+c.workoutDescent,(se.ascent!==null&&se.descent===null||se.ascent===null&&se.descent!==null)&&f.value.push("workouts.INVALID_ASCENT_OR_DESCENT"),se.workout_visibility=c.workoutVisibility}function Ke(){const se={sport_id:+c.sport_id,description:c.description,notes:c.notes,equipment_ids:c.equipment_id&&C.value.find($e=>$e.id===c.equipment_id)?[c.equipment_id]:[],title:c.title,workout_visibility:c.workoutVisibility};if(t.workout.id)t.workout.with_gpx?(se.analysis_visibility=c.analysisVisibility,se.map_visibility=c.mapVisibility):Le(se),f.value.length>0?r.commit(ee.MUTATIONS.SET_ERROR_MESSAGES,f.value):r.dispatch(J.ACTIONS.EDIT_WORKOUT,{workoutId:t.workout.id,data:se});else if(T.value){if(!_){r.commit(ee.MUTATIONS.SET_ERROR_MESSAGES,"workouts.NO_FILE_PROVIDED");return}se.file=_,se.analysis_visibility=c.analysisVisibility,se.map_visibility=c.mapVisibility,r.dispatch(J.ACTIONS.ADD_WORKOUT,se)}else Le(se),f.value.length>0?r.commit(ee.MUTATIONS.SET_ERROR_MESSAGES,f.value):r.dispatch(J.ACTIONS.ADD_WORKOUT_WITHOUT_GPX,se)}function Je(){t.workout.id?i.push({name:"Workout",params:{workoutId:t.workout.id}}):i.go(-1)}function He(){m.value=!0}function Tt(){c.analysisVisibility=Qu(c.analysisVisibility,c.workoutVisibility),we()}function we(){c.mapVisibility=Qu(c.mapVisibility,c.analysisVisibility)}return Ce(()=>t.workout,async(se,$e)=>{se!==$e&&se&&se.id&&he(se)}),Ce(()=>b.value,se=>{a.value&&(c.equipment_id=se!=null&&se.default_equipments&&(se==null?void 0:se.default_equipments.length)>0?`${se.default_equipments[0].id}`:"")}),Ce(()=>n.value,se=>{se&&a&&(c.workoutVisibility=se.workouts_visibility,c.analysisVisibility=se.analysis_visibility,c.mapVisibility=se.map_visibility)}),Et(()=>{let se;t.workout.id?(he(t.workout),se=document.getElementById("sport")):se=document.getElementById("withGpx"),se&&se.focus()}),(se,$e)=>{const dt=j("CustomTextArea"),_e=j("ErrorMessage"),Z=j("Loader"),Ae=j("Card");return S(),g("div",{id:"workout-edition",class:fe(["center-card",{"center-form":p(s)&&p(s).with_gpx,"with-margin":!p(a)}])},[M(Ae,null,{title:X(()=>[B(A(se.$t(`workouts.${p(a)?"ADD":"EDIT"}_WORKOUT`)),1)]),content:X(()=>[E("div",Fvt,[E("form",{class:fe({errors:m.value}),onSubmit:Ne(Ke,["prevent"])},[E("div",zvt,[p(a)?(S(),g("div",Bvt,[E("div",null,[E("input",{id:"withGpx",type:"radio",checked:T.value,disabled:p(o),onClick:W},null,8,Gvt),E("label",xvt,A(se.$t("workouts.WITH_GPX")),1)]),E("div",null,[E("input",{id:"withoutGpx",type:"radio",checked:!T.value,disabled:p(o),onClick:W},null,8,Vvt),E("label",Hvt,A(se.$t("workouts.WITHOUT_GPX")),1)])])):L("",!0),E("div",Kvt,[E("label",Yvt,A(se.$t("workouts.SPORT",1))+"*: ",1),We(E("select",{id:"sport",required:"",onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[0]||($e[0]=Te=>c.sport_id=Te)},[(S(!0),g(ae,null,be(R.value,Te=>(S(),g("option",{value:Te.id,key:Te.id},A(Te.translatedLabel),9,jvt))),128))],40,qvt),[[qt,c.sport_id]])]),p(a)&&T.value?(S(),g("div",Xvt,[E("label",Qvt,A(se.$t("workouts.GPX_FILE"))+" "+A(se.$t("workouts.ZIP_ARCHIVE_DESCRIPTION"))+"*: ",1),E("input",{id:"gpxFile",name:"gpxFile",type:"file",accept:".gpx, .zip",disabled:p(o),required:"",onInvalid:He,onInput:Y},null,40,Zvt),E("div",Jvt,[E("div",null,[E("strong",null,A(se.$t("workouts.GPX_FILE"))+":",1),E("ul",null,[E("li",null,A(se.$t("workouts.MAX_SIZE"))+": "+A(h.value),1)])]),E("div",null,[E("strong",null,A(se.$t("workouts.ZIP_ARCHIVE"))+":",1),E("ul",null,[E("li",null,A(se.$t("workouts.NO_FOLDER")),1),E("li",null,A(se.$t("workouts.MAX_FILES"))+": "+A(O.value),1),E("li",null,A(se.$t("workouts.MAX_SIZE"))+": "+A(I.value),1)])])])])):L("",!0),E("div",eCt,[E("label",tCt,A(se.$t("workouts.TITLE"))+A(p(a)?"":"*")+": ",1),We(E("input",{id:"title",name:"title",type:"text",required:!p(a),onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[1]||($e[1]=Te=>c.title=Te),maxlength:"255"},null,40,nCt),[[st,c.title]]),T.value&&p(a)?(S(),g("div",sCt,[E("span",aCt,[$e[14]||($e[14]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(se.$t("workouts.TITLE_FIELD_HELP")),1)])])):L("",!0)]),T.value?L("",!0):(S(),g("div",oCt,[E("div",iCt,[E("div",rCt,[E("label",null,A(se.$t("workouts.WORKOUT_DATE"))+"*:",1),E("div",uCt,[We(E("input",{id:"workout-date",name:"workout-date",type:"date",required:"",onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[2]||($e[2]=Te=>c.workoutDate=Te)},null,40,lCt),[[st,c.workoutDate]]),We(E("input",{id:"workout-time",name:"workout-time",class:"workout-time",type:"time",required:"",onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[3]||($e[3]=Te=>c.workoutTime=Te)},null,40,cCt),[[st,c.workoutTime]])])]),E("div",dCt,[E("label",null,A(se.$t("workouts.DURATION"))+"*:",1),E("div",null,[E("label",ECt,A(se.$t("common.HOURS",0)),1),We(E("input",{id:"workout-duration-hour",name:"workout-duration-hour",class:fe(["workout-duration",{errored:me()}]),type:"text",placeholder:"HH",minlength:"1",maxlength:"2",pattern:"^([0-1]?[0-9]|2[0-3])$",required:"",onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[4]||($e[4]=Te=>c.workoutDurationHour=Te)},null,42,_Ct),[[st,c.workoutDurationHour]]),$e[15]||($e[15]=B(" : ")),E("label",TCt,A(se.$t("common.MINUTES",0)),1),We(E("input",{id:"workout-duration-minutes",name:"workout-duration-minutes",class:fe(["workout-duration",{errored:me()}]),type:"text",pattern:"^([0-5][0-9])$",minlength:"2",maxlength:"2",placeholder:"MM",required:"",onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[5]||($e[5]=Te=>c.workoutDurationMinutes=Te)},null,42,pCt),[[st,c.workoutDurationMinutes]]),$e[16]||($e[16]=B(" : ")),E("label",mCt,A(se.$t("common.SECONDS",0)),1),We(E("input",{id:"workout-duration-seconds",name:"workout-duration-seconds",class:fe(["workout-duration",{errored:me()}]),type:"text",pattern:"^([0-5][0-9])$",minlength:"2",maxlength:"2",placeholder:"SS",required:"",onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[6]||($e[6]=Te=>c.workoutDurationSeconds=Te)},null,42,fCt),[[st,c.workoutDurationSeconds]])])])]),E("div",SCt,[E("div",ACt,[E("label",null,A(se.$t("workouts.DISTANCE"))+" ("+A(p(n).imperial_units?"mi":"km")+")*: ",1),We(E("input",{class:fe({errored:ie()}),name:"workout-distance",type:"number",min:"0",step:"0.001",required:"",onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[7]||($e[7]=Te=>c.workoutDistance=Te)},null,42,hCt),[[st,c.workoutDistance]])]),E("div",OCt,[E("label",null,A(se.$t("workouts.ASCENT"))+" ("+A(p(n).imperial_units?"ft":"m")+"): ",1),We(E("input",{class:fe({errored:Ie()}),name:"workout-ascent",type:"number",min:"0",step:"0.01",onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[8]||($e[8]=Te=>c.workoutAscent=Te)},null,42,ICt),[[st,c.workoutAscent]])]),E("div",RCt,[E("label",null,A(se.$t("workouts.DESCENT"))+" ("+A(p(n).imperial_units?"ft":"m")+"): ",1),We(E("input",{class:fe({errored:Ie()}),name:"workout-descent",type:"number",min:"0",step:"0.01",onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[9]||($e[9]=Te=>c.workoutDescent=Te)},null,42,NCt),[[st,c.workoutDescent]])])])])),N.value?(S(),g("div",gCt,[E("label",bCt,A(se.$t("equipments.EQUIPMENT",1))+": ",1),We(E("select",{id:"workout-equipment",onInvalid:He,disabled:p(o),"onUpdate:modelValue":$e[10]||($e[10]=Te=>c.equipment_id=Te)},[E("option",CCt,A(se.$t("equipments.NO_EQUIPMENTS")),1),(S(!0),g(ae,null,be(C.value,Te=>(S(),g("option",{value:Te.id,key:Te.id},A(Te.label),9,PCt))),128))],40,vCt),[[qt,c.equipment_id]])])):L("",!0),E("div",DCt,[E("label",LCt,A(se.$t("visibility_levels.WORKOUT_VISIBILITY"))+": ",1),We(E("select",{id:"workout_visibility","onUpdate:modelValue":$e[11]||($e[11]=Te=>c.workoutVisibility=Te),disabled:p(o),onChange:Tt},[(S(!0),g(ae,null,be(v.value,Te=>(S(),g("option",{value:Te,key:Te},A(se.$t(`visibility_levels.LEVELS.${Te}`)),9,UCt))),128))],40,yCt),[[qt,c.workoutVisibility]])]),T.value?(S(),g("div",$Ct,[E("label",kCt,A(se.$t("visibility_levels.ANALYSIS_VISIBILITY"))+": ",1),We(E("select",{id:"analysis_visibility","onUpdate:modelValue":$e[12]||($e[12]=Te=>c.analysisVisibility=Te),onChange:we,disabled:p(o)},[(S(!0),g(ae,null,be(y.value,Te=>(S(),g("option",{value:Te,key:Te},A(se.$t(`visibility_levels.LEVELS.${Te}`)),9,MCt))),128))],40,wCt),[[qt,c.analysisVisibility]])])):L("",!0),T.value?(S(),g("div",WCt,[E("label",FCt,A(se.$t("visibility_levels.MAP_VISIBILITY"))+": ",1),We(E("select",{id:"map_visibility","onUpdate:modelValue":$e[13]||($e[13]=Te=>c.mapVisibility=Te),disabled:p(o)},[(S(!0),g(ae,null,be(D.value,Te=>(S(),g("option",{value:Te,key:Te},A(se.$t(`visibility_levels.LEVELS.${Te}`)),9,BCt))),128))],8,zCt),[[qt,c.mapVisibility]])])):L("",!0),p(a)?(S(),g("div",GCt,[E("label",xCt,A(se.$t("workouts.DESCRIPTION"))+": ",1),M(dt,{name:"description",input:c.description,disabled:p(o),charLimit:1e4,rows:5,onUpdateValue:P},null,8,["input","disabled"]),T.value&&p(a)?(S(),g("div",VCt,[E("span",HCt,[$e[17]||($e[17]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(se.$t("workouts.DESCRIPTION_FIELD_HELP")),1)])])):L("",!0)])):L("",!0),p(a)?(S(),g("div",KCt,[E("label",YCt,A(se.$t("workouts.PRIVATE_NOTES"))+": ",1),M(dt,{name:"notes",input:c.notes,disabled:p(o),onUpdateValue:w},null,8,["input","disabled"]),p(a)?(S(),g("div",qCt,[E("span",jCt,[$e[18]||($e[18]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(se.$t("workouts.PRIVATE_NOTES_FIELD_HELP")),1)])])):L("",!0)])):L("",!0)]),p(d)?(S(),G(_e,{key:0,message:p(d)},null,8,["message"])):L("",!0),p(o)?(S(),g("div",XCt,[M(Z)])):(S(),g("div",QCt,[E("button",{class:"confirm",type:"submit",disabled:p(o)},A(se.$t("buttons.SUBMIT")),9,ZCt),E("button",{class:"cancel",onClick:Ne(Je,["prevent"])},A(se.$t("buttons.CANCEL")),1)]))],34)])]),_:1})],2)}}}),_I=ne(JCt,[["__scopeId","data-v-b437a952"]]),ePt={id:"add-workout",class:"view"},tPt={class:"container"},nPt=Q({__name:"AddWorkout",setup(e){const t=ye(),{authUser:n}=Ye(),{sports:s}=Jt(),a=F(()=>t.getters[J.GETTERS.WORKOUT_DATA]);return(o,i)=>(S(),g("div",ePt,[E("div",tPt,[M(_I,{authUser:p(n),sports:p(s),isCreation:!0,loading:a.value.loading},null,8,["authUser","sports","loading"])])]))}}),sPt={class:"workout-comments"},aPt={key:0,class:"no-comments"},oPt={key:1,class:"add-comment"},iPt={key:2,class:"add-comment-button"},rPt=Q({__name:"Comments",props:{workoutData:{},authUser:{}},setup(e){const t=e,{workoutData:n}=pe(t),s=at(),a=ye(),o=Oe(),i=F(()=>n.value.comments),r=F(()=>n.value.currentCommentEdition.type==="delete"),u=F(()=>n.value.currentCommentEdition.type==="new"),l=F(()=>n.value.commentsLoading==="all"),d=F(()=>n.value.commentsLoading==="delete"),_=F(()=>s.params.commentId);function c(){const R=n.value.currentCommentEdition.comment;R&&a.dispatch(J.ACTIONS.DELETE_WORKOUT_COMMENT,{workoutId:R.workout_id,commentId:R.id})}function T(){a.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{})}function m(){a.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{type:"new"}),o.value=setTimeout(()=>{const R=document.getElementById("text");R&&(R.focus(),R.scrollIntoView({behavior:"smooth"}))},100)}function f(R){o.value=setTimeout(()=>{const h=document.getElementById(R);h&&h.scrollIntoView({behavior:"smooth"})},500)}return Ce(()=>n.value.comments,()=>{a.commit(J.MUTATIONS.SET_CURRENT_COMMENT_EDITION,{})}),Et(()=>{on(()=>{_.value&&f(_.value)})}),ut(()=>{o.value&&clearTimeout(o.value)}),(R,h)=>{const O=j("Modal"),I=j("Loader"),N=j("Comment"),b=j("Card");return S(),g("div",sPt,[r.value?(S(),G(O,{key:0,title:R.$t("common.CONFIRMATION"),message:R.$t("workouts.COMMENTS.DELETION_CONFIRMATION"),loading:d.value,onConfirmAction:c,onCancelAction:T},null,8,["title","message","loading"])):L("",!0),M(b,null,ho({title:X(()=>[B(A(Fe(R.$t("workouts.COMMENTS.LABEL",0))),1)]),_:2},[l.value?{name:"content",fn:X(()=>[M(I)]),key:"0"}:{name:"content",fn:X(()=>[(S(!0),g(ae,null,be(i.value,C=>(S(),G(N,{key:C.id,comment:C,workout:p(n).workout,"current-comment-edition":p(n).currentCommentEdition,authUser:R.authUser,"comments-loading":"workoutData.commentsLoading",action:C.suspension},null,8,["comment","workout","current-comment-edition","authUser","action"]))),128)),p(n).comments.length===0?(S(),g("div",aPt,A(R.$t("workouts.COMMENTS.NO_COMMENTS")),1)):L("",!0),u.value?(S(),g("div",oPt,[R.authUser.username?(S(),G(R1,{key:0,workout:p(n).workout,"comments-loading":"workoutData.commentsLoading","auth-user":R.authUser},null,8,["workout","auth-user"])):L("",!0)])):R.authUser.username&&p(n).workout.id?(S(),g("div",iPt,[E("button",{onClick:Ne(m,["prevent"])},A(R.$t("workouts.COMMENTS.ADD")),1)])):L("",!0)]),key:"1"}]),1024)])}}}),TI=ne(rPt,[["__scopeId","data-v-f2a1661a"]]),uPt={id:"comments",class:"view"},lPt={class:"container"},cPt={class:"comments-container"},dPt={key:0},EPt={class:"box no-workout"},_Pt={key:1},TPt=Q({__name:"CommentView",setup(e){const t=at(),n=ye(),{authUser:s}=Ye(),a=F(()=>n.getters[J.GETTERS.WORKOUT_DATA]);return Ce(()=>t.params.commentId,async o=>{o&&n.dispatch(J.ACTIONS.GET_WORKOUT_COMMENT,o)}),Ze(()=>{n.dispatch(J.ACTIONS.GET_WORKOUT_COMMENT,t.params.commentId)}),ut(()=>{n.commit(J.MUTATIONS.EMPTY_WORKOUT)}),(o,i)=>(S(),g("div",uPt,[E("div",lPt,[E("div",cPt,[a.value.comments.length>0?(S(),g("div",dPt,[E("div",EPt,A(o.$t("workouts.NO_WORKOUT_AVAILABLE")),1),M(TI,{workoutData:a.value,"auth-user":p(s),"with-parent":!0},null,8,["workoutData","auth-user"]),i[0]||(i[0]=E("div",{id:"bottom"},null,-1))])):(S(),g("div",_Pt,[a.value.commentsLoading?L("",!0):(S(),G(zo,{key:0,target:"COMMENT"}))]))])])]))}}),pPt=ne(TPt,[["__scopeId","data-v-5ce7658e"]]),mPt={id:"edit-workout",class:"view"},fPt={class:"container"},SPt=Q({__name:"EditWorkout",setup(e){const t=at(),n=ye(),{authUser:s}=Ye(),{sports:a}=Jt(),o=F(()=>n.getters[J.GETTERS.WORKOUT_DATA]);return Ce(()=>t.params.workoutId,async i=>{i||n.commit(J.MUTATIONS.EMPTY_WORKOUT)}),Ze(()=>{n.dispatch(J.ACTIONS.GET_WORKOUT_DATA,{workoutId:t.params.workoutId})}),(i,r)=>(S(),g("div",mPt,[E("div",fPt,[o.value.workout.id?(S(),G(_I,{key:0,authUser:p(s),sports:p(a),workout:o.value.workout,loading:o.value.loading},null,8,["authUser","sports","workout","loading"])):L("",!0)])]))}}),APt={id:"likes",class:"view"},hPt={class:"center-card"},OPt={key:0},IPt={class:"users"},RPt={key:1,class:"no-likes"},NPt=Q({__name:"Likes",props:{objectType:{}},setup(e){const t=e,{objectType:n}=pe(t),s=ye(),a=at(),{authUser:o}=Ye(),{errorMessages:i}=Ge(),r=Oe(null),u=F(()=>s.getters[ue.GETTERS.USERS]),l=F(()=>s.getters[ue.GETTERS.USERS_PAGINATION]),d=F(()=>n.value==="workout"?a.params.workoutId:a.params.commentId),_=F(()=>a.params.workoutId?a.params.workoutId:null),c=Dt(f(a.query)),T=F(()=>({objectType:n.value,objectId:d.value,page:1}));function m(h){r.value=h}function f(h){const O={};return O.page=Do(h.page,cr),O}function R(h){s.dispatch(J.ACTIONS.GET_LIKES,h)}return Ce(()=>a.query,(h,O)=>{h.page!==O.page&&(c.page=f(h).page,T.value.page=h.page?+h.page:1,R(T.value))}),Ze(()=>R(T.value)),ut(()=>{s.dispatch(ue.ACTIONS.EMPTY_USERS)}),(h,O)=>{const I=j("ErrorMessage");return S(),g("div",APt,[E("div",hPt,[M(W_,null,{title:X(()=>[B(A(Fe(h.$t("workouts.LIKES",0))),1)]),content:X(()=>[u.value.length>0?(S(),g("div",OPt,[E("div",IPt,[(S(!0),g(ae,null,be(u.value,N=>(S(),G(Fl,{key:N.username,authUser:p(o),user:N,updatedUser:r.value,onUpdatedUserRelationship:m},null,8,["authUser","user","updatedUser"]))),128))]),M(Yn,{path:`/${p(n)}s/${d.value}/likes`,pagination:l.value,query:c},null,8,["path","pagination","query"])])):(S(),g("div",RPt,A(h.$t("workouts.NO_LIKES")),1)),p(i)?(S(),G(I,{key:2,message:p(i),"no-margin":!0},null,8,["message"])):L("",!0),E("div",null,[E("button",{onClick:O[0]||(O[0]=N=>h.$router.push(_.value?`/workouts/${_.value}/comments/${d.value}`:`/${p(n)}s/${d.value}`))},A(h.$t(`workouts.BACK_TO_${p(n).toUpperCase()}`)),1)])]),_:1})])])}}}),Td=ne(NPt,[["__scopeId","data-v-261d0858"]]),gPt={id:"workout-card-title"},bPt=["disabled","title"],vPt={class:"workout-card-title"},CPt={key:0,class:"workout-title-date"},PPt={key:0,class:"workout-title"},DPt={key:0},LPt=["aria-label"],yPt=["aria-label"],UPt=["aria-label"],$Pt=["aria-label"],kPt=["title"],wPt=["title"],MPt={key:1,class:"workout-title"},WPt={class:"workout-segment"},FPt={class:"workout-date"},zPt=["datetime"],BPt={class:"workout-link"},GPt=["disabled","title"],xPt=Q({__name:"WorkoutCardTitle",props:{sport:{},workoutObject:{},isWorkoutOwner:{type:Boolean}},emits:["displayModal"],setup(e,{emit:t}){const n=e,{isWorkoutOwner:s,sport:a,workoutObject:o}=pe(n),i=t,r=ye(),{isAuthenticated:u}=Ye(),l=F(()=>r.getters[J.GETTERS.CURRENT_REPORTING]),d=F(()=>r.getters[Ue.GETTERS.REPORT_STATUS]);async function _(f){await ge.get(`workouts/${f}/gpx/download`,{responseType:"blob"}).then(R=>{const h=window.URL.createObjectURL(new Blob([R.data],{type:"application/gpx+xml"})),O=document.createElement("a");O.href=h,O.setAttribute("download",`${f}.gpx`),document.body.appendChild(O),O.click()})}function c(){i("displayModal",!0)}function T(f){r.dispatch(f.liked?J.ACTIONS.UNDO_LIKE_WORKOUT:J.ACTIONS.LIKE_WORKOUT,f.workoutId)}function m(){r.commit(J.MUTATIONS.SET_CURRENT_REPORTING,!0)}return(f,R)=>{const h=j("SportImage"),O=j("router-link");return S(),g("div",gPt,[p(s)?(S(),g("button",{key:0,class:fe(["workout-previous workout-arrow transparent",{inactive:!p(o).previousUrl}]),disabled:!p(o).previousUrl,title:p(o).previousUrl?f.$t(`workouts.PREVIOUS_${p(o).type}`):f.$t(`workouts.NO_PREVIOUS_${p(o).type}`),onClick:R[0]||(R[0]=I=>p(o).previousUrl?f.$router.push(p(o).previousUrl):null)},R[5]||(R[5]=[E("i",{class:"fa fa-chevron-left","aria-hidden":"true"},null,-1)]),10,bPt)):L("",!0),E("div",vPt,[M(h,{"sport-label":p(a).label,color:p(a).color},null,8,["sport-label","color"]),p(s)||!p(o).suspended?(S(),g("div",CPt,[p(o).type==="WORKOUT"?(S(),g("div",PPt,[E("span",null,A(p(o).title),1),p(u)?(S(),g("div",DPt,[E("button",{class:"transparent icon-button likes",onClick:R[1]||(R[1]=I=>T(p(o))),"aria-label":`${f.$t(`workouts.${p(o).liked?"REMOVE_LIKE":"LIKE_WORKOUT"}`)} (${p(o).likes_count} ${f.$t("workouts.LIKES",p(o).likes_count)})`},[E("i",{class:fe(["fa",{"fa-heart":p(o).likes_count>0,"fa-heart-o":p(o).likes_count===0,liked:p(o).liked}]),"aria-hidden":"true"},null,2)],8,LPt),p(o).likes_count>0?(S(),G(O,{key:0,to:`/workouts/${p(o).workoutId}/likes`,class:"likes-count"},{default:X(()=>[B(A(p(o).likes_count),1)]),_:1},8,["to"])):L("",!0),p(s)?(S(),g("button",{key:1,class:"transparent icon-button",onClick:R[2]||(R[2]=I=>f.$router.push({name:"EditWorkout",params:{workoutId:p(o).workoutId}})),"aria-label":f.$t("workouts.EDIT_WORKOUT")},R[6]||(R[6]=[E("i",{class:"fa fa-edit","aria-hidden":"true"},null,-1)]),8,yPt)):L("",!0),p(o).with_gpx&&p(s)?(S(),g("button",{key:2,class:"transparent icon-button",onClick:R[3]||(R[3]=Ne(I=>_(p(o).workoutId),["prevent"])),"aria-label":f.$t("workouts.DOWNLOAD_WORKOUT")},R[7]||(R[7]=[E("i",{class:"fa fa-download","aria-hidden":"true"},null,-1)]),8,UPt)):L("",!0),p(s)?(S(),g("button",{key:3,id:"delete-workout-button",class:"transparent icon-button",onClick:Ne(c,["prevent"]),"aria-label":f.$t("workouts.DELETE_WORKOUT")},R[8]||(R[8]=[E("i",{class:"fa fa-trash","aria-hidden":"true"},null,-1)]),8,$Pt)):L("",!0),!p(s)&&!l.value&&d.value!==`workout-${p(o).workoutId}-created`?(S(),g("button",{key:4,class:"transparent icon-button",onClick:Ne(m,["prevent"]),title:f.$t("workouts.REPORT_WORKOUT")},R[9]||(R[9]=[E("i",{class:"fa fa-flag","aria-hidden":"true"},null,-1)]),8,kPt)):L("",!0)])):(S(),g("div",{key:1,title:`${p(o).likes_count} ${f.$t("workouts.LIKES",p(o).likes_count)}`},[E("i",{class:fe(["fa",{"fa-heart":p(o).likes_count>0,"fa-heart-o":p(o).likes_count===0,liked:p(o).liked}])},null,2),p(o).likes_count>0?(S(),G(O,{key:0,to:`/workouts/${p(o).workoutId}/likes`,class:"likes-count"},{default:X(()=>[B(A(p(o).likes_count),1)]),_:1},8,["to"])):L("",!0)],8,wPt))])):p(o).segmentId!==null?(S(),g("div",MPt,[B(A(p(o).title)+" ",1),E("span",WPt,[R[10]||(R[10]=B(" — ")),R[11]||(R[11]=E("i",{class:"fa fa-map-marker","aria-hidden":"true"},null,-1)),B(" "+A(f.$t("workouts.SEGMENT"))+" "+A(p(o).segmentId+1),1)])])):L("",!0),E("div",FPt,[E("time",{datetime:p(o).workoutFullDate},A(p(o).workoutDate)+" - "+A(p(o).workoutTime),9,zPt),E("span",BPt,[p(o).type==="SEGMENT"?(S(),G(O,{key:0,to:{name:"Workout",params:{workoutId:p(o).workoutId}}},{default:X(()=>[B(" > "+A(f.$t("workouts.BACK_TO_WORKOUT")),1)]),_:1},8,["to"])):L("",!0)])])])):L("",!0)]),p(s)?(S(),g("button",{key:1,class:fe(["workout-next workout-arrow transparent",{inactive:!p(o).nextUrl}]),disabled:!p(o).nextUrl,title:p(o).nextUrl?f.$t(`workouts.NEXT_${p(o).type}`):f.$t(`workouts.NO_NEXT_${p(o).type}`),onClick:R[4]||(R[4]=I=>p(o).nextUrl?f.$router.push(p(o).nextUrl):null)},R[12]||(R[12]=[E("i",{class:"fa fa-chevron-right","aria-hidden":"true"},null,-1)]),10,GPt)):L("",!0)])}}}),VPt=ne(xPt,[["__scopeId","data-v-9cc98a7e"]]),HPt={key:0,class:"workout-record"},KPt=Q({__name:"WorkoutRecord",props:{recordType:{},workoutObject:{}},setup(e){const t=e,{recordType:n,workoutObject:s}=pe(t);return(a,o)=>p(s).records&&p(s).records.find(i=>i.record_type===p(n))?(S(),g("span",HPt,o[0]||(o[0]=[E("sup",null,[E("i",{class:"fa fa-trophy","aria-hidden":"true"})],-1)]))):L("",!0)}}),oi=ne(KPt,[["__scopeId","data-v-0c5d556a"]]),YPt="/img/weather/temperature.svg",qPt="/img/weather/pour-rain.svg",jPt="/img/weather/breeze.svg",XPt=["N","NNE","NE","ENE","E","ESE","SE","SSE","S","SSW","SW","WSW","W","WNW","NW","NNW"],QPt=e=>{const t=Math.floor(e/22.5+.5);return XPt[t%16]},ZPt={class:"wind"},JPt={class:"wind-bearing"},eDt=["title"],tDt=Q({__name:"WeatherWind",props:{weather:{},useImperialUnits:{type:Boolean}},setup(e){const t=e,{useImperialUnits:n,weather:s}=pe(t),{t:a}=Lt();function o(i){return a(`workouts.WEATHER.WIND_DIRECTIONS.${QPt(i)}`)}return(i,r)=>(S(),g("div",ZPt,[B(A(p(tot)(p(s).wind,p(n)))+" ",1),E("div",JPt,[p(s).windBearing?(S(),g("i",{key:0,class:"fa fa-long-arrow-down",style:Gn({transform:`rotate(${p(s).windBearing}deg)`}),"aria-hidden":"true",title:o(p(s).windBearing)},null,12,eDt)):L("",!0)])]))}}),qS=ne(tDt,[["__scopeId","data-v-e1f7f9cc"]]),nDt={key:0,id:"workout-weather"},sDt={class:"weather-table"},aDt={class:"weather-th"},oDt=["src","alt","title"],iDt={class:"weather-th"},rDt=["src","alt","title"],uDt=["alt","title"],lDt=["alt","title"],cDt=["alt","title"],dDt=Q({__name:"WorkoutWeather",props:{workoutObject:{},useImperialUnits:{type:Boolean}},setup(e){const t=e,{useImperialUnits:n,workoutObject:s}=pe(t);return(a,o)=>p(s).weatherStart&&p(s).weatherEnd?(S(),g("div",nDt,[E("table",sDt,[E("thead",null,[E("tr",null,[o[0]||(o[0]=E("th",null,null,-1)),E("th",null,[E("div",aDt,[B(A(a.$t("workouts.START"))+" ",1),E("img",{class:"weather-img",src:`/img/weather/${p(s).weatherStart.icon}.svg`,alt:a.$t(`workouts.WEATHER.DARK_SKY.${p(s).weatherStart.icon}`),title:a.$t(`workouts.WEATHER.DARK_SKY.${p(s).weatherStart.icon}`)},null,8,oDt)])]),E("th",null,[E("div",iDt,[B(A(a.$t("workouts.END"))+" ",1),E("img",{class:"weather-img",src:`/img/weather/${p(s).weatherEnd.icon}.svg`,alt:a.$t(`workouts.WEATHER.DARK_SKY.${p(s).weatherEnd.icon}`),title:a.$t(`workouts.WEATHER.DARK_SKY.${p(s).weatherEnd.icon}`)},null,8,rDt)])])])]),E("tbody",null,[E("tr",null,[E("td",null,[E("img",{class:"weather-img weather-img-small",src:YPt,alt:a.$t("workouts.WEATHER.TEMPERATURE"),title:a.$t("workouts.WEATHER.TEMPERATURE")},null,8,uDt)]),E("td",null,A(p(lS)(p(s).weatherStart.temperature,p(n))),1),E("td",null,A(p(lS)(p(s).weatherEnd.temperature,p(n))),1)]),E("tr",null,[E("td",null,[E("img",{class:"weather-img weather-img-small",src:qPt,alt:a.$t("workouts.WEATHER.HUMIDITY"),title:a.$t("workouts.WEATHER.HUMIDITY")},null,8,lDt)]),E("td",null,A(Number(p(s).weatherStart.humidity*100).toFixed(1))+"% ",1),E("td",null,A(Number(p(s).weatherEnd.humidity*100).toFixed(1))+"% ",1)]),E("tr",null,[E("td",null,[E("img",{class:"weather-img weather-img-small",src:jPt,alt:a.$t("workouts.WEATHER.WIND"),title:a.$t("workouts.WEATHER.WIND")},null,8,cDt)]),E("td",null,[M(qS,{weather:p(s).weatherStart,useImperialUnits:p(n)},null,8,["weather","useImperialUnits"])]),E("td",null,[M(qS,{weather:p(s).weatherEnd,useImperialUnits:p(n)},null,8,["weather","useImperialUnits"])])])])])])):L("",!0)}}),EDt=ne(dDt,[["__scopeId","data-v-fd9c137b"]]),_Dt={id:"workout-info"},TDt={class:"workout-data"},pDt={class:"label"},mDt={class:"value"},fDt={key:0},SDt={class:"value"},ADt={class:"value"},hDt={key:0,class:"workout-data"},ODt={class:"label"},IDt={key:1,class:"workout-data"},RDt={class:"label"},NDt={class:"label"},gDt={key:2,class:"workout-data"},bDt=["alt"],vDt={class:"label"},CDt={class:"label"},PDt={key:3,class:"workout-data"},DDt={class:"label"},LDt={class:"label"},yDt=Q({__name:"WorkoutData",props:{workoutObject:{},useImperialUnits:{type:Boolean},displayHARecord:{type:Boolean}},setup(e){const t=e,{displayHARecord:n,workoutObject:s,useImperialUnits:a}=pe(t),o=F(()=>s.value.pauses!=="0:00:00"&&s.value.pauses!==null);return(i,r)=>{const u=j("Distance");return S(),g("div",_Dt,[E("div",TDt,[r[0]||(r[0]=E("i",{class:"fa fa-clock-o","aria-hidden":"true"},null,-1)),E("span",pDt,A(i.$t("workouts.DURATION")),1),r[1]||(r[1]=B(": ")),E("span",mDt,A(p(s).moving),1),M(oi,{workoutObject:p(s),recordType:"LD"},null,8,["workoutObject"]),o.value?(S(),g("div",fDt,[B(" ("+A(i.$t("workouts.PAUSES"))+": ",1),E("span",SDt,A(p(s).pauses),1),B(" - "+A(i.$t("workouts.TOTAL_DURATION"))+": ",1),E("span",ADt,A(p(s).duration)+")",1)])):L("",!0)]),p(s).distance!==null?(S(),g("div",hDt,[r[2]||(r[2]=E("i",{class:"fa fa-road","aria-hidden":"true"},null,-1)),E("span",ODt,A(i.$t("workouts.DISTANCE")),1),r[3]||(r[3]=B(": ")),M(u,{distance:p(s).distance,digits:3,unitFrom:"km",strong:!0,useImperialUnits:p(a)},null,8,["distance","useImperialUnits"]),M(oi,{workoutObject:p(s),recordType:"FD"},null,8,["workoutObject"])])):L("",!0),p(s).aveSpeed!==null&&p(s).maxSpeed!==null?(S(),g("div",IDt,[r[4]||(r[4]=E("i",{class:"fa fa-tachometer","aria-hidden":"true"},null,-1)),E("span",RDt,A(i.$t("workouts.AVERAGE_SPEED")),1),r[5]||(r[5]=B(": ")),M(u,{distance:p(s).aveSpeed,unitFrom:"km",speed:!0,strong:!0,useImperialUnits:p(a)},null,8,["distance","useImperialUnits"]),M(oi,{workoutObject:p(s),recordType:"AS"},null,8,["workoutObject"]),r[6]||(r[6]=E("br",null,null,-1)),E("span",NDt,A(i.$t("workouts.MAX_SPEED")),1),r[7]||(r[7]=B(": ")),M(u,{distance:p(s).maxSpeed,unitFrom:"km",speed:!0,strong:!0,useImperialUnits:p(a)},null,8,["distance","useImperialUnits"]),M(oi,{workoutObject:p(s),recordType:"MS"},null,8,["workoutObject"])])):L("",!0),p(s).maxAlt!==null&&p(s).minAlt!==null?(S(),g("div",gDt,[E("img",{class:"mountains",src:P1,alt:i.$t("workouts.ELEVATION")},null,8,bDt),E("span",vDt,A(i.$t("workouts.MIN_ALTITUDE")),1),r[8]||(r[8]=B(": ")),M(u,{distance:p(s).minAlt,unitFrom:"m",strong:!0,useImperialUnits:p(a)},null,8,["distance","useImperialUnits"]),r[9]||(r[9]=E("br",null,null,-1)),E("span",CDt,A(i.$t("workouts.MAX_ALTITUDE")),1),r[10]||(r[10]=B(": ")),M(u,{distance:p(s).maxAlt,unitFrom:"m",strong:!0,useImperialUnits:p(a)},null,8,["distance","useImperialUnits"])])):L("",!0),p(s).ascent!==null&&p(s).descent!==null?(S(),g("div",PDt,[r[11]||(r[11]=E("i",{class:"fa fa-location-arrow","aria-hidden":"true"},null,-1)),E("span",DDt,A(i.$t("workouts.ASCENT")),1),r[12]||(r[12]=B(": ")),M(u,{distance:p(s).ascent,unitFrom:"m",strong:!0,useImperialUnits:p(a)},null,8,["distance","useImperialUnits"]),p(n)?(S(),G(oi,{key:0,workoutObject:p(s),recordType:"HA"},null,8,["workoutObject"])):L("",!0),r[13]||(r[13]=E("br",null,null,-1)),E("span",LDt,A(i.$t("workouts.DESCENT")),1),r[14]||(r[14]=B(": ")),M(u,{distance:p(s).descent,unitFrom:"m",strong:!0,useImperialUnits:p(a)},null,8,["distance","useImperialUnits"])])):L("",!0),M(EDt,{workoutObject:p(s),useImperialUnits:p(a)},null,8,["workoutObject","useImperialUnits"])])}}}),UDt=ne(yDt,[["__scopeId","data-v-fb685b82"]]);function Ao(e,t){return Array.from(e.getElementsByTagName(t))}function Bo(e){return e==null||e.normalize(),(e==null?void 0:e.textContent)||""}function Ha(e,t,n){const s=e.getElementsByTagName(t);return s.length?s[0]:null}function $Dt(e,t,n){const s={};if(!e)return s;const a=e.getElementsByTagName(t),o=a.length?a[0]:null;return o&&n?n(o,s):s}function pI(e,t,n){const s=Bo(Ha(e,t));return s&&n?n(s)||{}:{}}function jS(e,t,n){const s=Number.parseFloat(Bo(Ha(e,t)));if(!Number.isNaN(s))return s&&n?n(s)||{}:{}}function kDt(e,t,n){const s=Number.parseFloat(Bo(Ha(e,t)));if(!Number.isNaN(s))return n&&n(s),s}function OE(e,t){const n={};for(const s of t)pI(e,s,a=>{n[s]=a});return n}function wDt(e){return(e==null?void 0:e.nodeType)===1}function mI(e){let t=[];if(e===null)return t;for(const n of Array.from(e.childNodes)){if(!wDt(n))continue;const s=MDt(n.nodeName);if(s==="gpxtpx:TrackPointExtension")t=t.concat(mI(n));else{const a=Bo(n);t.push([s,WDt(a)])}}return t}function MDt(e){return["heart","gpxtpx:hr","hr"].includes(e)?"heart":e}function WDt(e){const t=Number.parseFloat(e);return Number.isNaN(t)?e:t}function fI(e){const t=[Number.parseFloat(e.getAttribute("lon")||""),Number.parseFloat(e.getAttribute("lat")||"")];if(Number.isNaN(t[0])||Number.isNaN(t[1]))return null;kDt(e,"ele",s=>{t.push(s)});const n=Ha(e,"time");return{coordinates:t,time:n?Bo(n):null,extendedValues:mI(Ha(e,"extensions"))}}function SI(e){return $Dt(e,"line",t=>Object.assign({},pI(t,"color",s=>({stroke:`#${s}`})),jS(t,"opacity",s=>({"stroke-opacity":s})),jS(t,"width",s=>({"stroke-width":s*96/25.4}))))}function Z_(e,t){var a;const n=OE(t,["name","cmt","desc","type","time","keywords"]);for(const[o,i]of e)for(const r of Array.from(t.getElementsByTagNameNS(i,"*")))n[r.tagName.replace(":","_")]=(a=Bo(r))==null?void 0:a.trim();const s=Ao(t,"link");return s.length&&(n.links=s.map(o=>Object.assign({href:o.getAttribute("href")},OE(o,["text","type"])))),n}function AI(e,t){const n=Ao(e,t),s=[],a=[],o={};for(let i=0;i1,r=Object.assign({_gpxType:"trk"},Z_(e,t),SI(Ha(t,"extensions")),a.length?{coordinateProperties:{times:i?a:a[0]}}:{});for(const l of o){s.push(l.line),r.coordinateProperties||(r.coordinateProperties={});const d=r.coordinateProperties,_=Object.entries(l.extendedValues);for(let c=0;c<_.length;c++){const[T,m]=_[c];i?(d[T]||(d[T]=o.map(f=>new Array(f.line.length).fill(null))),d[T][c]=m):d[T]=m}}return{type:"Feature",properties:r,geometry:i?{type:"MultiLineString",coordinates:s}:{type:"LineString",coordinates:s[0]}}}function BDt(e,t){const n=Object.assign(Z_(e,t),OE(t,["sym"])),s=fI(t);return s?{type:"Feature",properties:n,geometry:{type:"Point",coordinates:s.coordinates}}:null}function*GDt(e){var o,i;const t="gpxx",n="http://www.garmin.com/xmlschemas/GpxExtensions/v3",s=[[t,n]],a=(o=e.getElementsByTagName("gpx")[0])==null?void 0:o.attributes;if(a)for(const r of Array.from(a))(i=r.name)!=null&&i.startsWith("xmlns:")&&r.value!==n&&s.push([r.name,r.value]);for(const r of Ao(e,"trk")){const u=zDt(s,r);u&&(yield u)}for(const r of Ao(e,"rte")){const u=FDt(s,r);u&&(yield u)}for(const r of Ao(e,"wpt")){const u=BDt(s,r);u&&(yield u)}}function xDt(e){return{type:"FeatureCollection",features:Array.from(GDt(e))}}const XS=(e,t)=>{for(const n of Object.keys(t))e.on(n,t[n])},hI=e=>{for(const t of Object.keys(e)){const n=e[t];n&&ra(n.cancel)&&n.cancel()}},VDt=e=>!e||typeof e.charAt!="function"?e:e.charAt(0).toUpperCase()+e.slice(1),ra=e=>typeof e=="function",Ys=(e,t,n)=>{for(const s in n){const a="set"+VDt(s);e[a]?Ce(()=>n[s],(o,i)=>{e[a](o,i)}):t[a]&&Ce(()=>n[s],o=>{t[a](o)})}},Rs=(e,t,n={})=>{const s={...n};for(const a in e){const o=t[a],i=e[a];o&&(o&&o.custom===!0||i!==void 0&&(s[a]=i))}return s},Qa=e=>{const t={},n={};for(const s in e)if(s.startsWith("on")&&!s.startsWith("onUpdate")&&s!=="onReady"){const a=s.slice(2).toLocaleLowerCase();t[a]=e[s]}else n[s]=e[s];return{listeners:t,attrs:n}},HDt=async e=>{const t=await Promise.all([zt(()=>import("./maps-oY9oTtTW.js").then(n=>n.m),__vite__mapDeps([0,1])),zt(()=>import("./maps-oY9oTtTW.js").then(n=>n.b),__vite__mapDeps([0,1])),zt(()=>import("./maps-oY9oTtTW.js").then(n=>n.c),__vite__mapDeps([0,1]))]);delete e.Default.prototype._getIconUrl,e.Default.mergeOptions({iconRetinaUrl:t[0].default,iconUrl:t[1].default,shadowUrl:t[2].default})},Fr=e=>{const t=Oe((...s)=>console.warn(`Method ${e} has been invoked without being replaced`)),n=(...s)=>t.value(...s);return n.wrapped=t,Tn(e,n),n},zr=(e,t)=>e.wrapped.value=t,ns=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||globalThis,Hn=e=>{const t=$t(e);if(t===void 0)throw new Error(`Attempt to inject ${e.description} before it was provided.`);return t},qs=Symbol("useGlobalLeaflet"),Ia=Symbol("addLayer"),J_=Symbol("removeLayer"),OI=Symbol("registerControl"),II=Symbol("registerLayerControl"),RI=Symbol("canSetParentHtml"),NI=Symbol("setParentHtml"),gI=Symbol("setIcon"),KDt=Symbol("bindPopup"),YDt=Symbol("bindTooltip"),qDt=Symbol("unbindPopup"),jDt=Symbol("unbindTooltip"),dr={options:{type:Object,default:()=>({}),custom:!0}},Bl=e=>({options:e.options,methods:{}}),Go={...dr,pane:{type:String},attribution:{type:String},name:{type:String,custom:!0},layerType:{type:String,custom:!0},visible:{type:Boolean,custom:!0,default:!0}},eT=(e,t,n)=>{const s=Hn(Ia),a=Hn(J_),{options:o,methods:i}=Bl(e),r=Rs(e,Go,o),u=()=>s({leafletObject:t.value}),l=()=>a({leafletObject:t.value}),d={...i,setAttribution(_){l(),t.value.options.attribution=_,e.visible&&u()},setName(){l(),e.visible&&u()},setLayerType(){l(),e.visible&&u()},setVisible(_){t.value&&(_?u():l())},bindPopup(_){if(!t.value||!ra(t.value.bindPopup)){console.warn("Attempt to bind popup before bindPopup method available on layer.");return}t.value.bindPopup(_)},bindTooltip(_){if(!t.value||!ra(t.value.bindTooltip)){console.warn("Attempt to bind tooltip before bindTooltip method available on layer.");return}t.value.bindTooltip(_)},unbindTooltip(){t.value&&(ra(t.value.closeTooltip)&&t.value.closeTooltip(),ra(t.value.unbindTooltip)&&t.value.unbindTooltip())},unbindPopup(){t.value&&(ra(t.value.closePopup)&&t.value.closePopup(),ra(t.value.unbindPopup)&&t.value.unbindPopup())},updateVisibleProp(_){n.emit("update:visible",_)}};return Tn(KDt,d.bindPopup),Tn(YDt,d.bindTooltip),Tn(qDt,d.unbindPopup),Tn(jDt,d.unbindTooltip),ut(()=>{d.unbindPopup(),d.unbindTooltip(),l()}),{options:r,methods:d}},tT=(e,t)=>{if(e&&t.default)return In("div",{style:{display:"none"}},t.default())},XDt={...Go,interactive:{type:Boolean,default:void 0},bubblingMouseEvents:{type:Boolean,default:void 0}},bI={...XDt,stroke:{type:Boolean,default:void 0},color:{type:String},weight:{type:Number},opacity:{type:Number},lineCap:{type:String},lineJoin:{type:String},dashArray:{type:String},dashOffset:{type:String},fill:{type:Boolean,default:void 0},fillColor:{type:String},fillOpacity:{type:Number},fillRule:{type:String},className:{type:String}},QDt={...bI,radius:{type:Number},latLng:{type:[Object,Array],required:!0,custom:!0}};({...QDt});const xo={...dr,position:{type:String}},vI=(e,t)=>{const{options:n,methods:s}=Bl(e),a=Rs(e,xo,n),o={...s,setPosition(i){t.value&&t.value.setPosition(i)}};return ut(()=>{t.value&&t.value.remove()}),{options:a,methods:o}},ZDt=e=>e.default?In("div",{ref:"root"},e.default()):null,QS=Q({name:"LControl",props:{...xo,disableClickPropagation:{type:Boolean,custom:!0,default:!0},disableScrollPropagation:{type:Boolean,custom:!0,default:!1}},setup(e,t){const n=Oe(),s=Oe(),a=$t(qs),o=Hn(OI),{options:i,methods:r}=vI(e,n);return Et(async()=>{const{Control:u,DomEvent:l}=a?ns.L:await zt(()=>import("./maps-oY9oTtTW.js").then(_=>_.d),__vite__mapDeps([0,1])),d=u.extend({onAdd(){return s.value}});n.value=Hs(new d(i)),Ys(r,n.value,e),o({leafletObject:n.value}),e.disableClickPropagation&&s.value&&l.disableClickPropagation(s.value),e.disableScrollPropagation&&s.value&&l.disableScrollPropagation(s.value),on(()=>t.emit("ready",n.value))}),{root:s,leafletObject:n}},render(){return ZDt(this.$slots)}});({...xo});const CI={...xo,collapsed:{type:Boolean,default:void 0},autoZIndex:{type:Boolean,default:void 0},hideSingleBase:{type:Boolean,default:void 0},sortLayers:{type:Boolean,default:void 0},sortFunction:{type:Function}},JDt=(e,t)=>{const{options:n}=vI(e,t);return{options:Rs(e,CI,n),methods:{addLayer(s){s.layerType==="base"?t.value.addBaseLayer(s.leafletObject,s.name):s.layerType==="overlay"&&t.value.addOverlay(s.leafletObject,s.name)},removeLayer(s){t.value.removeLayer(s.leafletObject)}}}},eLt=Q({name:"LControlLayers",props:CI,setup(e,t){const n=Oe(),s=$t(qs),a=Hn(II),{options:o,methods:i}=JDt(e,n);return Et(async()=>{const{control:r}=s?ns.L:await zt(()=>import("./maps-oY9oTtTW.js").then(u=>u.d),__vite__mapDeps([0,1]));n.value=Hs(r.layers(void 0,void 0,o)),Ys(i,n.value,e),a({...e,...i,leafletObject:n.value}),on(()=>t.emit("ready",n.value))}),{leafletObject:n}},render(){return null}});({...xo});({...xo});const Gl={...Go},PI=(e,t,n)=>{const{options:s,methods:a}=eT(e,t,n),o=Rs(e,Gl,s),i={...a,addLayer(r){t.value.addLayer(r.leafletObject)},removeLayer(r){t.value.removeLayer(r.leafletObject)}};return Tn(Ia,i.addLayer),Tn(J_,i.removeLayer),{options:o,methods:i}};({...Gl});const DI={...Gl,geojson:{type:[Object,Array],custom:!0},optionsStyle:{type:Function,custom:!0}},tLt=(e,t,n)=>{const{options:s,methods:a}=PI(e,t,n),o=Rs(e,DI,s);Object.prototype.hasOwnProperty.call(e,"optionsStyle")&&(o.style=e.optionsStyle);const i={...a,setGeojson(r){t.value.clearLayers(),t.value.addData(r)},setOptionsStyle(r){t.value.setStyle(r)},getGeoJSONData(){return t.value.toGeoJSON()},getBounds(){return t.value.getBounds()}};return{options:o,methods:i}},nLt=Q({props:DI,setup(e,t){const n=Oe(),s=Oe(!1),a=$t(qs),o=Hn(Ia),{methods:i,options:r}=tLt(e,n,t);return Et(async()=>{const{geoJSON:u}=a?ns.L:await zt(()=>import("./maps-oY9oTtTW.js").then(d=>d.d),__vite__mapDeps([0,1]));n.value=Hs(u(e.geojson,r));const{listeners:l}=Qa(t.attrs);n.value.on(l),Ys(i,n.value,e),o({...e,...i,leafletObject:n.value}),s.value=!0,on(()=>t.emit("ready",n.value))}),{ready:s,leafletObject:n}},render(){return tT(this.ready,this.$slots)}}),nT={...Go,opacity:{type:Number},zIndex:{type:Number},tileSize:{type:[Number,Array,Object]},noWrap:{type:Boolean,default:void 0},minZoom:{type:Number},maxZoom:{type:Number},className:{type:String}},LI=(e,t,n)=>{const{options:s,methods:a}=eT(e,t,n),o=Rs(e,nT,s),i={...a,setTileComponent(){var r;(r=t.value)==null||r.redraw()}};return ut(()=>{t.value.off()}),{options:o,methods:i}},sLt=(e,t,n,s)=>e.extend({initialize(a){this.tileComponents={},this.on("tileunload",this._unloadTile),n.setOptions(this,a)},createTile(a){const o=this._tileCoordsToKey(a);this.tileComponents[o]=t.create("div");const i=In({setup:s,props:["coords"]},{coords:a});return Og(i,this.tileComponents[o]),this.tileComponents[o]},_unloadTile(a){const o=this._tileCoordsToKey(a.coords);this.tileComponents[o]&&(this.tileComponents[o].innerHTML="",this.tileComponents[o]=void 0)}});({...nT});const ZS={iconUrl:{type:String},iconRetinaUrl:{type:String},iconSize:{type:[Object,Array]},iconAnchor:{type:[Object,Array]},popupAnchor:{type:[Object,Array]},tooltipAnchor:{type:[Object,Array]},shadowUrl:{type:String},shadowRetinaUrl:{type:String},shadowSize:{type:[Object,Array]},shadowAnchor:{type:[Object,Array]},bgPos:{type:[Object,Array]},className:{type:String}},aLt=Q({name:"LIcon",props:{...ZS,...dr},setup(e,t){const n=Oe(),s=$t(qs),a=Hn(RI),o=Hn(NI),i=Hn(gI);let r,u,l,d,_;const c=(R,h,O)=>{const I=R&&R.innerHTML;if(!h){O&&_&&a()&&o(I);return}const{listeners:N}=Qa(t.attrs);_&&u(_,N);const{options:b}=Bl(e),C=Rs(e,ZS,b);I&&(C.html=I),_=C.html?l(C):d(C),r(_,N),i(_)},T=()=>{on(()=>c(n.value,!0,!1))},m=()=>{on(()=>c(n.value,!1,!0))},f={setIconUrl:T,setIconRetinaUrl:T,setIconSize:T,setIconAnchor:T,setPopupAnchor:T,setTooltipAnchor:T,setShadowUrl:T,setShadowRetinaUrl:T,setShadowAnchor:T,setBgPos:T,setClassName:T,setHtml:T};return Et(async()=>{const{DomEvent:R,divIcon:h,icon:O}=s?ns.L:await zt(()=>import("./maps-oY9oTtTW.js").then(I=>I.d),__vite__mapDeps([0,1]));r=R.on,u=R.off,l=h,d=O,Ys(f,{},e),new MutationObserver(m).observe(n.value,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),T()}),{root:n}},render(){const e=this.$slots.default?this.$slots.default():void 0;return In("div",{ref:"root"},e)}});({...Go});const oLt=Q({props:Gl,setup(e,t){const n=Oe(),s=Oe(!1),a=$t(qs),o=Hn(Ia),{methods:i}=PI(e,n,t);return Et(async()=>{const{layerGroup:r}=a?ns.L:await zt(()=>import("./maps-oY9oTtTW.js").then(l=>l.d),__vite__mapDeps([0,1]));n.value=Hs(r(void 0,e.options));const{listeners:u}=Qa(t.attrs);n.value.on(u),Ys(i,n.value,e),o({...e,...i,leafletObject:n.value}),s.value=!0,on(()=>t.emit("ready",n.value))}),{ready:s,leafletObject:n}},render(){return tT(this.ready,this.$slots)}});function yI(e,t,n){var s,a,o;t===void 0&&(t=50),n===void 0&&(n={});var i=(s=n.isImmediate)!=null&&s,r=(a=n.callback)!=null&&a,u=n.maxWait,l=Date.now(),d=[];function _(){if(u!==void 0){var T=Date.now()-l;if(T+t>=u)return u-T}return t}var c=function(){var T=[].slice.call(arguments),m=this;return new Promise(function(f,R){var h=i&&o===void 0;if(o!==void 0&&clearTimeout(o),o=setTimeout(function(){if(o=void 0,l=Date.now(),!i){var I=e.apply(m,T);r&&r(I),d.forEach(function(N){return(0,N.resolve)(I)}),d=[]}},_()),h){var O=e.apply(m,T);return r&&r(O),f(O)}d.push({resolve:f,reject:R})})};return c.cancel=function(T){o!==void 0&&clearTimeout(o),d.forEach(function(m){return(0,m.reject)(T)}),d=[]},c}const JS={...dr,center:{type:[Object,Array]},bounds:{type:[Array,Object]},maxBounds:{type:[Array,Object]},zoom:{type:Number},minZoom:{type:Number},maxZoom:{type:Number},paddingBottomRight:{type:[Object,Array]},paddingTopLeft:{type:Object},padding:{type:Object},worldCopyJump:{type:Boolean,default:void 0},crs:{type:[String,Object]},maxBoundsViscosity:{type:Number},inertia:{type:Boolean,default:void 0},inertiaDeceleration:{type:Number},inertiaMaxSpeed:{type:Number},easeLinearity:{type:Number},zoomAnimation:{type:Boolean,default:void 0},zoomAnimationThreshold:{type:Number},fadeAnimation:{type:Boolean,default:void 0},markerZoomAnimation:{type:Boolean,default:void 0},noBlockingAnimations:{type:Boolean,default:void 0},useGlobalLeaflet:{type:Boolean,default:!0,custom:!0}},iLt=Q({inheritAttrs:!1,emits:["ready","update:zoom","update:center","update:bounds"],props:JS,setup(e,t){const n=Oe(),s=Dt({ready:!1,layersToAdd:[],layersInControl:[]}),{options:a}=Bl(e),o=Rs(e,JS,a),{listeners:i,attrs:r}=Qa(t.attrs),u=Fr(Ia),l=Fr(J_),d=Fr(OI),_=Fr(II);Tn(qs,e.useGlobalLeaflet);const c=F(()=>{const h={};return e.noBlockingAnimations&&(h.animate=!1),h}),T=F(()=>{const h=c.value;return e.padding&&(h.padding=e.padding),e.paddingTopLeft&&(h.paddingTopLeft=e.paddingTopLeft),e.paddingBottomRight&&(h.paddingBottomRight=e.paddingBottomRight),h}),m={moveend:yI(h=>{s.leafletRef&&(t.emit("update:zoom",s.leafletRef.getZoom()),t.emit("update:center",s.leafletRef.getCenter()),t.emit("update:bounds",s.leafletRef.getBounds()))}),overlayadd(h){const O=s.layersInControl.find(I=>I.name===h.name);O&&O.updateVisibleProp(!0)},overlayremove(h){const O=s.layersInControl.find(I=>I.name===h.name);O&&O.updateVisibleProp(!1)}};Et(async()=>{e.useGlobalLeaflet&&(ns.L=ns.L||await zt(()=>import("./maps-oY9oTtTW.js").then(D=>D.l),__vite__mapDeps([0,1])));const{map:h,CRS:O,Icon:I,latLngBounds:N,latLng:b,stamp:C}=e.useGlobalLeaflet?ns.L:await zt(()=>import("./maps-oY9oTtTW.js").then(D=>D.d),__vite__mapDeps([0,1]));try{o.beforeMapMount&&await o.beforeMapMount()}catch(D){console.error(`The following error occurred running the provided beforeMapMount hook ${D.message}`)}await HDt(I);const v=typeof o.crs=="string"?O[o.crs]:o.crs;o.crs=v||O.EPSG3857;const y={addLayer(D){D.layerType!==void 0&&(s.layerControl===void 0?s.layersToAdd.push(D):s.layersInControl.find(w=>C(w.leafletObject)===C(D.leafletObject))||(s.layerControl.addLayer(D),s.layersInControl.push(D))),D.visible!==!1&&s.leafletRef.addLayer(D.leafletObject)},removeLayer(D){D.layerType!==void 0&&(s.layerControl===void 0?s.layersToAdd=s.layersToAdd.filter(w=>w.name!==D.name):(s.layerControl.removeLayer(D.leafletObject),s.layersInControl=s.layersInControl.filter(w=>C(w.leafletObject)!==C(D.leafletObject)))),s.leafletRef.removeLayer(D.leafletObject)},registerLayerControl(D){s.layerControl=D,s.layersToAdd.forEach(w=>{s.layerControl.addLayer(w)}),s.layersToAdd=[],d(D)},registerControl(D){s.leafletRef.addControl(D.leafletObject)},setZoom(D){const w=s.leafletRef.getZoom();D!==w&&s.leafletRef.setZoom(D,c.value)},setCrs(D){const w=s.leafletRef.getBounds();s.leafletRef.options.crs=D,s.leafletRef.fitBounds(w,{animate:!1,padding:[0,0]})},fitBounds(D){s.leafletRef.fitBounds(D,T.value)},setBounds(D){if(!D)return;const w=N(D);w.isValid()&&!(s.lastSetBounds||s.leafletRef.getBounds()).equals(w,0)&&(s.lastSetBounds=w,s.leafletRef.fitBounds(w))},setCenter(D){if(D==null)return;const w=b(D),P=s.lastSetCenter||s.leafletRef.getCenter();(P.lat!==w.lat||P.lng!==w.lng)&&(s.lastSetCenter=w,s.leafletRef.panTo(w,c.value))}};zr(u,y.addLayer),zr(l,y.removeLayer),zr(d,y.registerControl),zr(_,y.registerLayerControl),s.leafletRef=Hs(h(n.value,o)),Ys(y,s.leafletRef,e),XS(s.leafletRef,m),XS(s.leafletRef,i),s.ready=!0,on(()=>t.emit("ready",s.leafletRef))}),Qi(()=>{hI(m),s.leafletRef&&(s.leafletRef.off(),s.leafletRef.remove())});const f=F(()=>s.leafletRef),R=F(()=>s.ready);return{root:n,ready:R,leafletObject:f,attrs:r}},render({attrs:e}){return e.style||(e.style={}),e.style.width||(e.style.width="100%"),e.style.height||(e.style.height="100%"),In("div",{...e,ref:"root"},this.ready&&this.$slots.default?this.$slots.default():{})}}),rLt=["Symbol(Comment)","Symbol(Text)"],uLt=["LTooltip","LPopup"],UI={...Go,draggable:{type:Boolean,default:void 0},icon:{type:[Object]},zIndexOffset:{type:Number},latLng:{type:[Object,Array],custom:!0,required:!0}},lLt=(e,t,n)=>{const{options:s,methods:a}=eT(e,t,n),o=Rs(e,UI,s),i={...a,setDraggable(r){t.value.dragging&&(r?t.value.dragging.enable():t.value.dragging.disable())},latLngSync(r){n.emit("update:latLng",r.latlng),n.emit("update:lat-lng",r.latlng)},setLatLng(r){if(r!=null&&t.value){const u=t.value.getLatLng();(!u||!u.equals(r))&&t.value.setLatLng(r)}}};return{options:o,methods:i}},cLt=(e,t)=>{const n=t.slots.default&&t.slots.default();return n&&n.length&&n.some(dLt)};function dLt(e){return!(rLt.includes(e.type.toString())||uLt.includes(e.type.name))}const $I=Q({name:"LMarker",props:UI,setup(e,t){const n=Oe(),s=Oe(!1),a=$t(qs),o=Hn(Ia);Tn(RI,()=>{var l;return!!((l=n.value)!=null&&l.getElement())}),Tn(NI,l=>{var d,_;const c=ra((d=n.value)==null?void 0:d.getElement)&&((_=n.value)==null?void 0:_.getElement());c&&(c.innerHTML=l)}),Tn(gI,l=>{var d;return((d=n.value)==null?void 0:d.setIcon)&&n.value.setIcon(l)});const{options:i,methods:r}=lLt(e,n,t),u={moveHandler:yI(r.latLngSync)};return Et(async()=>{const{marker:l,divIcon:d}=a?ns.L:await zt(()=>import("./maps-oY9oTtTW.js").then(c=>c.d),__vite__mapDeps([0,1]));cLt(i,t)&&(i.icon=d({className:""})),n.value=Hs(l(e.latLng,i));const{listeners:_}=Qa(t.attrs);n.value.on(_),n.value.on("move",u.moveHandler),Ys(r,n.value,e),o({...e,...r,leafletObject:n.value}),s.value=!0,on(()=>t.emit("ready",n.value))}),Qi(()=>hI(u)),{ready:s,leafletObject:n}},render(){return tT(this.ready,this.$slots)}}),ELt={...bI,smoothFactor:{type:Number},noClip:{type:Boolean,default:void 0},latLngs:{type:Array,required:!0,custom:!0}},eA={...ELt},kI={...dr,content:{type:String,default:null}};({...kI});({...eA,latLngs:{...eA.latLngs}});const sT={...nT,tms:{type:Boolean,default:void 0},subdomains:{type:[String,Array],validator:e=>typeof e=="string"?!0:Array.isArray(e)?e.every(t=>typeof t=="string"):!1},detectRetina:{type:Boolean,default:void 0},url:{type:String,required:!0,custom:!0}},_Lt=(e,t,n)=>{const{options:s,methods:a}=LI(e,t,n),o=Rs(e,sT,s),i={...a};return{options:o,methods:i}},TLt=Q({props:sT,setup(e,t){const n=Oe(),s=$t(qs),a=Hn(Ia),{options:o,methods:i}=_Lt(e,n,t);return Et(async()=>{const{tileLayer:r}=s?ns.L:await zt(()=>import("./maps-oY9oTtTW.js").then(l=>l.d),__vite__mapDeps([0,1]));n.value=Hs(r(e.url,o));const{listeners:u}=Qa(t.attrs);n.value.on(u),Ys(i,n.value,e),a({...e,...i,leafletObject:n.value}),on(()=>t.emit("ready",n.value))}),{leafletObject:n}},render(){return null}});({...kI});({...sT});const tA=Q({__name:"CustomMarker",props:{markerCoordinates:{},isStart:{type:Boolean}},setup(e){const t=e,{isStart:n,markerCoordinates:s}=pe(t);return(a,o)=>p(s).latitude?(S(),G(p($I),{key:0,"lat-lng":[p(s).latitude,p(s).longitude]},{default:X(()=>[M(p(aLt),{"icon-url":`/img/workouts/${p(n)?"start":"finish"}.svg`,iconSize:[15,15]},null,8,["icon-url"])]),_:1},8,["lat-lng"])):L("",!0)}}),pLt={id:"workout-map"},mLt={key:0,class:"leaflet-container"},fLt={key:1},SLt={key:1,class:"no-map"},ALt=Q({__name:"index",props:{workoutData:{},markerCoordinates:{default:()=>({})}},setup(e){const t=e,{workoutData:n,markerCoordinates:s}=pe(t),{appConfig:a}=Ge(),o=Oe(!1),i=Oe(null),r=F(()=>R()),u=F(()=>m(r)),l=F(()=>n.value&&n.value.gpx?c(n.value.gpx):{}),d=F(()=>T("first")),_=F(()=>T("last"));function c(I){if(!I||I!=="")try{return{jsonData:xDt(new DOMParser().parseFromString(I,"text/xml"))}}catch{return console.error("Invalid gpx content"),{}}return{}}function T(I){const N=I==="first"?0:n.value.chartData.length-1;return n.value&&n.value.chartData.length>0?{latitude:n.value.chartData[N].latitude,longitude:n.value.chartData[N].longitude}:{latitude:null,longitude:null}}function m(I){return[(I.value[0][0]+I.value[1][0])/2,(I.value[0][1]+I.value[1][1])/2]}function f(I){var N,b;(N=i.value)!=null&&N.leafletObject&&((b=i.value)==null||b.leafletObject.fitBounds(I))}function R(){return n.value?[[n.value.workout.bounds[0],n.value.workout.bounds[1]],[n.value.workout.bounds[2],n.value.workout.bounds[3]]]:[]}function h(){var I;(I=i.value)==null||I.leafletObject.fitBounds(R())}function O(){o.value=!o.value,o.value||setTimeout(()=>{h()},100)}return(I,N)=>{const b=j("VFullscreen");return S(),g("div",pLt,[p(n).loading?(S(),g("div",mLt)):(S(),g("div",fLt,[p(n).workout.with_gpx?(S(),G(b,{key:0,modelValue:o.value,"onUpdate:modelValue":N[1]||(N[1]=C=>o.value=C)},{default:X(()=>[E("div",{class:fe(["leaflet-container",{"fullscreen-map":o.value}])},[l.value.jsonData&&u.value&&r.value.length===2?(S(),G(p(iLt),{key:0,zoom:13,maxZoom:19,center:u.value,bounds:r.value,zoomAnimation:!1,ref_key:"workoutMap",ref:i,onReady:N[0]||(N[0]=C=>f(r.value)),"use-global-leaflet":!1,class:"map","aria-label":I.$t("workouts.WORKOUT_MAP")},{default:X(()=>[M(p(eLt)),M(p(QS),{position:"topleft",class:"map-control",tabindex:"0",role:"button","aria-label":I.$t("workouts.RESET_ZOOM"),onClick:h},{default:X(()=>N[2]||(N[2]=[E("i",{class:"fa fa-refresh","aria-hidden":"true"},null,-1)])),_:1},8,["aria-label"]),M(p(QS),{position:"topleft",class:"map-control",tabindex:"0",role:"button","aria-label":I.$t(`workouts.${o.value?"EXIT":"VIEW"}_FULLSCREEN`),onClick:O},{default:X(()=>[E("i",{class:fe(`fa fa-${o.value?"compress":"arrows-alt"}`),"aria-hidden":"true"},null,2)]),_:1},8,["aria-label"]),M(p(TLt),{url:`${p(nr)()}workouts/map_tile/{s}/{z}/{x}/{y}.png`,attribution:p(a).map_attribution,bounds:r.value},null,8,["url","attribution","bounds"]),M(p(nLt),{geojson:l.value.jsonData},null,8,["geojson"]),p(s).latitude?(S(),G(p($I),{key:0,"lat-lng":[p(s).latitude,p(s).longitude]},null,8,["lat-lng"])):L("",!0),M(p(oLt),{name:I.$t("workouts.START_AND_FINISH"),"layer-type":"overlay"},{default:X(()=>[d.value.latitude?(S(),G(tA,{key:0,markerCoordinates:d.value,isStart:!0},null,8,["markerCoordinates"])):L("",!0),_.value.latitude?(S(),G(tA,{key:1,markerCoordinates:_.value,isStart:!1},null,8,["markerCoordinates"])):L("",!0)]),_:1},8,["name"])]),_:1},8,["center","bounds","aria-label"])):L("",!0)],2)]),_:1},8,["modelValue"])):(S(),g("div",SLt,A(I.$t("workouts.NO_MAP")),1))]))])}}}),hLt=ne(ALt,[["__scopeId","data-v-ba08bc25"]]),OLt={key:0,class:"workout-visibility-levels"},ILt={class:"visibility"},RLt={key:0,class:"workout-visibility"},NLt=["title"],gLt={class:"visibility-label"},bLt={key:0,class:"visibility"},vLt={key:0,class:"workout-visibility"},CLt=["title"],PLt={class:"visibility-label"},DLt={key:1,class:"visibility"},LLt=["title"],yLt={class:"visibility-label"},ULt=Q({__name:"WorkoutVisibility",props:{workoutObject:{}},setup(e){const t=e,{workoutObject:n}=pe(t);function s(a){switch(a){case"public":return"globe";case"followers_only":return"users";default:case"private":return"lock"}}return(a,o)=>p(n).workoutVisibility?(S(),g("div",OLt,[B(A(a.$t("visibility_levels.VISIBILITY"))+": ",1),E("div",ILt,[p(n).with_analysis?(S(),g("span",RLt,A(a.$t("workouts.WORKOUT")),1)):L("",!0),E("i",{class:fe(`fa fa-${s(p(n).workoutVisibility)}`),"aria-hidden":"true",title:a.$t(`visibility_levels.LEVELS.${p(n).workoutVisibility}`)},null,10,NLt),E("span",gLt," ("+A(a.$t(`visibility_levels.LEVELS.${p(n).workoutVisibility}`))+") ",1)]),p(n).with_analysis?(S(),g("div",bLt,[p(n).with_analysis?(S(),g("span",vLt,A(a.$t("workouts.ANALYSIS")),1)):L("",!0),E("i",{class:fe(`fa fa-${s(p(n).analysisVisibility)}`),"aria-hidden":"true",title:a.$t(`visibility_levels.LEVELS.${p(n).analysisVisibility}`)},null,10,CLt),E("span",PLt," ("+A(a.$t(`visibility_levels.LEVELS.${p(n).analysisVisibility}`))+") ",1)])):L("",!0),p(n).with_gpx?(S(),g("div",DLt,[B(A(a.$t("workouts.MAP"))+" ",1),E("i",{class:fe(`fa fa-${s(p(n).mapVisibility)}`),"aria-hidden":"true",title:a.$t(`visibility_levels.LEVELS.${p(n).mapVisibility}`)},null,10,LLt),E("span",yLt," ("+A(a.$t(`visibility_levels.LEVELS.${p(n).mapVisibility}`))+") ",1)])):L("",!0)])):L("",!0)}}),$Lt=ne(ULt,[["__scopeId","data-v-6eb2ea4f"]]),kLt={class:"workout-detail"},wLt={key:2,class:"report-submitted"},MLt={class:"info-box"},WLt={key:1,class:"workout-map-data"},FLt={key:3,class:"workout-equipments"},zLt=Q({__name:"index",props:{authUser:{},displaySegment:{type:Boolean},sports:{},workoutData:{},markerCoordinates:{default:()=>({})},isWorkoutOwner:{type:Boolean}},setup(e){const t=e,n=at(),s=ye(),{getWorkoutSport:a}=Jt(),{isWorkoutOwner:o,markerCoordinates:i,workoutData:r}=pe(t),u=F(()=>t.workoutData.workout),l=Oe(n.params.workoutId?+n.params.segmentId:null),d=F(()=>u.value.segments.length>0&&l.value?u.value.segments[+l.value-1]:null),_=Oe(!1),c=F(()=>a(u.value)),T=F(()=>s.getters[ee.GETTERS.DISPLAY_OPTIONS]),m=F(()=>s.getters[Ue.GETTERS.REPORT_STATUS]),f=F(()=>I(u.value,d.value)),R=F(()=>u.value.suspended_at!==null&&o.value),h=F(()=>s.getters[J.GETTERS.SUCCESS]);function O(D,w,P){const W=w&&P&&P!==1?`/workouts/${D.id}/segment/${P-1}`:!w&&D.previous_workout?`/workouts/${D.previous_workout}`:null,Y=w&&P&&Py()),Ce(()=>n.params.segmentId,async D=>{l.value=D?+D:null,v()}),Ce(()=>n.params.workoutId,async D=>{D&&(_.value=!1,v()),y()}),(D,w)=>{const P=j("Modal"),W=j("Card");return S(),g("div",kLt,[_.value?(S(),G(P,{key:0,title:D.$t("common.CONFIRMATION"),message:D.$t("workouts.WORKOUT_DELETION_CONFIRMATION"),onConfirmAction:w[0]||(w[0]=Y=>C(f.value.workoutId)),onCancelAction:b,onKeydown:Xe(b,["esc"])},null,8,["title","message"])):L("",!0),M(W,null,{title:X(()=>[c.value?(S(),G(VPt,{key:0,authUser:D.authUser,sport:c.value,workoutObject:f.value,isWorkoutOwner:p(o),onDisplayModal:w[1]||(w[1]=Y=>N(!0))},null,8,["authUser","sport","workoutObject","isWorkoutOwner"])):L("",!0),p(r).currentReporting?(S(),G(w_,{key:1,"object-id":f.value.workoutId,"object-type":"workout"},null,8,["object-id"])):L("",!0),m.value===`workout-${f.value.workoutId}-created`?(S(),g("div",wLt,[E("div",MLt,[E("span",null,[w[2]||(w[2]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(D.$t("common.REPORT_SUBMITTED")),1)])])])):L("",!0)]),content:X(()=>[R.value&&f.value.suspended&&u.value.suspension?(S(),G(J1,{key:0,"display-suspension-message":"",action:u.value.suspension,workout:u.value},null,8,["action","workout"])):L("",!0),p(o)||!f.value.suspended?(S(),g("div",WLt,[M(hLt,{workoutData:p(r),markerCoordinates:p(i)},null,8,["workoutData","markerCoordinates"]),M(UDt,{workoutObject:f.value,useImperialUnits:T.value.useImperialUnits,displayHARecord:T.value.displayAscent},null,8,["workoutObject","useImperialUnits","displayHARecord"])])):L("",!0),f.value.workoutVisibility?(S(),G($Lt,{key:2,workoutObject:f.value,useImperialUnits:T.value.useImperialUnits,displayHARecord:T.value.displayAscent},null,8,["workoutObject","useImperialUnits","displayHARecord"])):L("",!0),f.value.equipments?(S(),g("div",FLt,[(S(!0),g(ae,null,be(f.value.equipments,Y=>(S(),G(eI,{equipment:Y,"workout-id":f.value.workoutId,key:Y.label},null,8,["equipment","workout-id"]))),128))])):L("",!0)]),_:1})])}}}),BLt=ne(zLt,[["__scopeId","data-v-1d95f183"]]),GLt=e=>{const t=document.getElementById(e);if(t){let n=t.querySelector("ul");return n||(n=document.createElement("ul"),t.appendChild(n)),n}throw new Error("No legend container")},xLt={id:"htmlLegend",afterUpdate(e,t,n){var o,i,r,u,l,d;const s=GLt(n.containerID);for(;s.firstChild;)s.firstChild.remove();((r=(i=(o=e.options.plugins)==null?void 0:o.legend)==null?void 0:i.labels)!=null&&r.generateLabels?(d=(l=(u=e.options.plugins)==null?void 0:u.legend)==null?void 0:l.labels)==null?void 0:d.generateLabels(e):[]).forEach(_=>{var h,O,I;if(!((I=(O=(h=e.config.options)==null?void 0:h.scales)==null?void 0:O.yElevation)!=null&&I.display)&&_.datasetIndex===1)return;const c=document.createElement("li");c.onclick=N=>{N.preventDefault(),_.datasetIndex!==void 0&&(e.setDatasetVisibility(_.datasetIndex,!e.isDatasetVisible(_.datasetIndex)),e.update())};const T=document.createElement("input");T&&(T.type="checkbox",T.id=_.text,T.checked=!_.hidden);const m=document.createElement("label");m.htmlFor=T.id;const f=document.createTextNode(_.text);m.appendChild(f);const R=document.createElement("span");R&&(R.style.background=String(_.fillStyle),R.style.borderColor=String(_.strokeStyle)),m.appendChild(R),c.appendChild(T),c.appendChild(m),s.appendChild(c)})}},VLt={id:"workout-chart"},HLt={class:"chart-radio"},KLt=["checked"],YLt=["checked"],qLt={class:"line-chart"},jLt={class:"chart-info"},XLt={class:"no-data-cleaning"},QLt={key:0,class:"elevation-start"},ZLt=["checked"],JLt=Q({__name:"index",props:{authUser:{},workoutData:{}},emits:["getCoordinates"],setup(e,{emit:t}){const n=e,{authUser:s,workoutData:a}=pe(n),o=t,{t:i}=Lt(),{darkTheme:r}=Ge(),u=Oe(!0),l=[xLt],d=y("km"),_=y("m"),c=F(()=>s.value.start_elevation_at_zero),T=F(()=>m.value&&m.value.datasets.elevation.data.length>0),m=F(()=>Q1t(a.value.chartData,i,s.value.imperial_units,r.value)),f=F(()=>({labels:u.value?m.value.distance_labels:m.value.duration_labels,datasets:JSON.parse(JSON.stringify([m.value.datasets.speed,m.value.datasets.elevation]))})),R=F(()=>m.value.coordinates),h=F(()=>({color:r.value?la.darkMode.line:la.ligthMode.line})),O=F(()=>({color:r.value?la.darkMode.text:la.ligthMode.text})),I=F(()=>({responsive:!0,maintainAspectRatio:!1,animation:!1,layout:{padding:{top:22}},scales:{x:{grid:{drawOnChartArea:!1,...h.value},border:{...h.value},ticks:{count:10,callback:function(D){return u.value?Number(D).toFixed(2):b(D)},...O.value},type:"linear",bounds:"data",title:{display:!0,text:u.value?i("workouts.DISTANCE")+` (${d})`:i("workouts.DURATION"),...O.value}},ySpeed:{grid:{drawOnChartArea:!1,...h.value},border:{...h.value},position:"left",title:{display:!0,text:i("workouts.SPEED")+` (${d}/h)`,...O.value},ticks:{...O.value}},yElevation:{beginAtZero:c.value,display:T.value,grid:{drawOnChartArea:!1,...h.value},border:{...h.value},position:"right",title:{display:!0,text:i("workouts.ELEVATION")+` (${_})`,...O.value},ticks:{...O.value}}},elements:{point:{pointStyle:"circle",pointRadius:0}},plugins:{datalabels:{display:!1},tooltip:{interaction:{intersect:!1,mode:"index"},callbacks:{label:function(D){const w=` ${D.dataset.label}: ${D.formattedValue}`;return D.dataset.yAxisID==="yElevation"?w+` ${_}`:w+` ${d}/h`},title:function(D){return D.length>0&&C(R.value[D[0].dataIndex]),D.length===0?"":u.value?`${i("workouts.DISTANCE")}: ${D[0].label} ${d}`:`${i("workouts.DURATION")}: ${b(D[0].label.replace(",",""))}`}}},legend:{display:!1},htmlLegend:{containerID:"chart-legend",displayElevation:T.value}}}));function N(){u.value=!u.value}function b(D){return new Date(+D*1e3).toISOString().substr(11,8)}function C(D){o("getCoordinates",D)}function v(){C({latitude:null,longitude:null})}function y(D){return n.authUser.imperial_units?On[D].defaultTarget:D}return(D,w)=>{const P=j("Card");return S(),g("div",VLt,[M(P,null,{title:X(()=>[B(A(D.$t("workouts.ANALYSIS")),1)]),content:X(()=>[E("div",HLt,[E("label",null,[E("input",{type:"radio",name:"distance",checked:u.value,onClick:N},null,8,KLt),B(" "+A(D.$t("workouts.DISTANCE")),1)]),E("label",null,[E("input",{type:"radio",name:"duration",checked:!u.value,onClick:N},null,8,YLt),B(" "+A(D.$t("workouts.DURATION")),1)])]),w[1]||(w[1]=E("div",{id:"chart-legend"},null,-1)),E("div",qLt,[M(p(KIt),{data:f.value,options:I.value,plugins:l,onMouseleave:v,"aria-label":D.$t("workouts.WORKOUT_CHART")},null,8,["data","options","aria-label"])]),E("div",jLt,[E("div",XLt,A(D.$t("workouts.NO_DATA_CLEANING")),1),T.value?(S(),g("div",QLt,[E("label",null,[E("input",{type:"checkbox",checked:c.value,onClick:w[0]||(w[0]=W=>c.value=!c.value)},null,8,ZLt),B(" "+A(D.$t("workouts.START_ELEVATION_AT_ZERO")),1)])])):L("",!0)])]),_:1})])}}}),e2t=ne(JLt,[["__scopeId","data-v-f00e60f7"]]),t2t={id:"workout-content"},n2t=["aria-label"],s2t={key:0,class:"fa fa-edit","aria-hidden":"true"},a2t=["for"],o2t={class:"markdown-hints info-box"},i2t={class:"form-buttons"},r2t=["disabled"],u2t={key:0,class:"edition-loading"},l2t=["innerHTML"],pd=1e3,c2t=Q({__name:"WorkoutContent",props:{content:{default:()=>""},contentType:{},workoutId:{},allowEdition:{type:Boolean,default:!0}},setup(e){const t=e,n=ye(),{content:s,contentType:a,workoutId:o}=pe(t),i=F(()=>s.value!==null&&s.value.length>pd),r=F(()=>n.getters[J.GETTERS.WORKOUT_CONTENT_EDITION]),u=F(()=>r.value.loading&&r.value.contentType===a.value),l=Oe(!1),d=F(()=>l.value?s.value:m(s.value)),_=Oe(!1),c=Oe(""),T=F(()=>r.value.contentType===a.value?n.getters[ee.GETTERS.ERROR_MESSAGES]:null);function m(I){return I===null||I.length<=pd?I:I.slice(0,pd-10)+"…"}function f(){n.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),_.value=!0,c.value=s.value?s.value:""}function R(I){c.value=I.value}function h(){_.value=!1,c.value=s.value?s.value:""}function O(){n.dispatch(J.ACTIONS.EDIT_WORKOUT_CONTENT,{workoutId:o.value,content:c.value,contentType:a.value})}return Ce(()=>u.value,I=>{I||(_.value=!1)}),(I,N)=>{const b=j("CustomTextArea"),C=j("ErrorMessage"),v=j("Card");return S(),g("div",t2t,[M(v,null,{title:X(()=>[B(A(Fe(I.$t(`workouts.${p(a)==="NOTES"?"PRIVATE_NOTES":p(a)}`)))+" ",1),I.allowEdition?(S(),g("button",{key:0,class:"transparent icon-button","aria-label":I.$t("buttons.EDIT"),onClick:f},[_.value?L("",!0):(S(),g("i",s2t))],8,n2t)):L("",!0)]),content:X(()=>[_.value?(S(),g("form",{key:0,onSubmit:Ne(O,["prevent"])},[E("label",{for:p(a).toLowerCase(),class:"visually-hidden"},A(I.$t(`workouts.${p(a)}`)),9,a2t),M(b,{name:p(a).toLowerCase(),input:p(s),disabled:u.value,charLimit:p(a)==="NOTES"?500:1e4,rows:p(a)==="NOTES"?2:5,onUpdateValue:R},null,8,["name","input","disabled","charLimit","rows"]),E("div",o2t,[N[1]||(N[1]=E("i",{class:"fa fa-info-circle","aria-hidden":"true"},null,-1)),B(" "+A(I.$t("workouts.MARKDOWN_SYNTAX")),1)]),E("div",i2t,[E("button",{class:"confirm",type:"submit",disabled:u.value},A(I.$t("buttons.SUBMIT")),9,r2t),E("button",{class:"cancel",onClick:Ne(h,["prevent"])},A(I.$t("buttons.CANCEL")),1),u.value?(S(),g("div",u2t,N[2]||(N[2]=[E("div",null,[E("i",{class:"fa fa-spinner fa-pulse","aria-hidden":"true"})],-1)]))):L("",!0)])],32)):(S(),g(ae,{key:1},[E("span",{class:fe(["workout-content",{notes:p(a)==="NOTES"||!p(s)}]),innerHTML:d.value&&d.value!==""?p(I1)(d.value):I.$t(`common.NO_${p(a)}`)},null,10,l2t),i.value?(S(),g("button",{key:0,class:"read-more transparent",onClick:N[0]||(N[0]=y=>l.value=!l.value)},[E("i",{class:fe(`fa fa-caret-${l.value?"up":"down"}`),"aria-hidden":"true"},null,2),B(" "+A(I.$t(`buttons.${l.value?"HIDE":"READ_MORE"}`)),1)])):L("",!0)],64)),T.value?(S(),G(C,{key:2,message:T.value,"no-margin":!0},null,8,["message"])):L("",!0)]),_:1})])}}}),nA=ne(c2t,[["__scopeId","data-v-ea22fab1"]]),d2t={id:"workout-segments"},E2t=Q({__name:"WorkoutSegments",props:{segments:{},useImperialUnits:{type:Boolean}},setup(e){const t=e,{segments:n,useImperialUnits:s}=pe(t);return(a,o)=>{const i=j("router-link"),r=j("Distance"),u=j("Card");return S(),g("div",d2t,[M(u,null,{title:X(()=>[B(A(a.$t("workouts.SEGMENT",2)),1)]),content:X(()=>[E("ul",null,[(S(!0),g(ae,null,be(p(n),(l,d)=>(S(),g("li",{key:l.segment_id},[M(i,{to:{name:"WorkoutSegment",params:{workoutId:l.workout_id,segmentId:d+1}}},{default:X(()=>[B(A(a.$t("workouts.SEGMENT",1))+" "+A(d+1),1)]),_:2},1032,["to"]),B(" ("+A(a.$t("workouts.DISTANCE"))+": ",1),M(r,{distance:l.distance,unitFrom:"km",useImperialUnits:p(s)},null,8,["distance","useImperialUnits"]),B(", "+A(a.$t("workouts.DURATION"))+": "+A(l.duration)+") ",1)]))),128))])]),_:1})])}}}),_2t=ne(E2t,[["__scopeId","data-v-bdc4fb39"]]),T2t={class:"box workout-user"},p2t={class:"user-img-name"},m2t=Q({__name:"WorkoutUser",props:{user:{}},setup(e){const t=e,{user:n}=pe(t);return(s,a)=>{const o=j("router-link");return S(),g("div",T2t,[E("div",p2t,[M(Vt,{user:p(n)},null,8,["user"]),M(o,{class:"user-name",to:`/users/${p(n).username}?from=users`},{default:X(()=>[B(A(p(n).username),1)]),_:1},8,["to"])]),M(x_,{user:p(n)},null,8,["user"])])}}}),f2t=ne(m2t,[["__scopeId","data-v-025efdf0"]]),S2t={id:"workout",class:"view"},A2t={class:"container"},h2t={key:0,class:"workout-container"},O2t={key:0},I2t={key:0,class:"box suspended"},R2t={key:1},N2t=Q({__name:"Workout",props:{displaySegment:{type:Boolean}},setup(e){const t=e,{displaySegment:n}=pe(t),s=at(),a=ye(),{authUser:o}=Ye(),{sports:i}=Jt(),r=Oe({latitude:null,longitude:null}),u=F(()=>a.getters[J.GETTERS.WORKOUT_DATA]),l=F(()=>o.value.username===u.value.workout.user.username);function d(_){r.value={latitude:_.latitude,longitude:_.longitude}}return Ce(()=>s.params.workoutId,async _=>{_&&a.dispatch(J.ACTIONS.GET_WORKOUT_DATA,{workoutId:_})}),Ce(()=>s.params.segmentId,async _=>{if(s.params.workoutId){const c={workoutId:s.params.workoutId};_&&(c.segmentId=_),a.dispatch(J.ACTIONS.GET_WORKOUT_DATA,c)}}),Ze(()=>{const _={workoutId:s.params.workoutId};t.displaySegment&&(_.segmentId=s.params.segmentId),a.dispatch(J.ACTIONS.GET_WORKOUT_DATA,_),i.value.length===0&&a.dispatch(xt.ACTIONS.GET_SPORTS)}),ut(()=>{a.commit(J.MUTATIONS.EMPTY_WORKOUT)}),(_,c)=>(S(),g("div",S2t,[E("div",A2t,[p(i).length>0?(S(),g("div",h2t,[u.value.workout.id?(S(),g("div",O2t,[M(f2t,{user:u.value.workout.user},null,8,["user"]),u.value.workout.suspended&&!l.value?(S(),g("div",I2t,A(_.$t("workouts.SUSPENDED_BY_ADMIN")),1)):(S(),G(BLt,{key:1,workoutData:u.value,sports:p(i),authUser:p(o),markerCoordinates:r.value,displaySegment:p(n),isWorkoutOwner:l.value},null,8,["workoutData","sports","authUser","markerCoordinates","displaySegment","isWorkoutOwner"])),u.value.workout.with_analysis&&u.value.chartData.length>0?(S(),G(e2t,{key:2,workoutData:u.value,authUser:p(o),displaySegment:p(n),onGetCoordinates:d},null,8,["workoutData","authUser","displaySegment"])):L("",!0),p(n)?L("",!0):(S(),G(nA,{key:3,"workout-id":u.value.workout.id,"content-type":"DESCRIPTION",content:u.value.workout.description,loading:u.value.loading,"allow-edition":l.value},null,8,["workout-id","content","loading","allow-edition"])),!p(n)&&u.value.workout.segments.length>1?(S(),G(_2t,{key:4,segments:u.value.workout.segments,useImperialUnits:p(o)?p(o).imperial_units:!1},null,8,["segments","useImperialUnits"])):L("",!0),l.value&&!p(n)?(S(),G(nA,{key:5,"workout-id":u.value.workout.id,"content-type":"NOTES",content:u.value.workout.notes,loading:u.value.loading},null,8,["workout-id","content","loading"])):L("",!0),p(n)?L("",!0):(S(),G(TI,{key:6,workoutData:u.value,"auth-user":p(o)},null,8,["workoutData","auth-user"])),c[0]||(c[0]=E("div",{id:"bottom"},null,-1))])):(S(),g("div",R2t,[u.value.loading?L("",!0):(S(),G(zo,{key:0,target:p(n)?"SEGMENT":"WORKOUT"},null,8,["target"]))]))])):L("",!0)])]))}}),md=ne(N2t,[["__scopeId","data-v-77323877"]]),g2t={class:"workouts-filters"},b2t={class:"box"},v2t={class:"form-all-items"},C2t={class:"form-items-group"},P2t={class:"form-item"},D2t={for:"from"},L2t=["value"],y2t={class:"form-item"},U2t={for:"to"},$2t=["value"],k2t={class:"form-item"},w2t={for:"sport_id"},M2t=["value"],W2t=["value"],F2t={class:"form-item form-item-equipment"},z2t=["value"],B2t={key:0,value:"",disabled:"",selected:""},G2t={value:"none"},x2t=["label"],V2t=["value"],H2t={class:"form-items-group"},K2t={class:"form-item form-item-text"},Y2t={for:"title"},q2t={class:"form-inputs-group"},j2t=["value"],X2t={class:"form-item form-item-text"},Q2t={for:"description"},Z2t={class:"form-inputs-group"},J2t=["value"],eyt={class:"form-item form-item-text"},tyt={for:"notes"},nyt={class:"form-inputs-group"},syt=["value"],ayt={class:"form-items-group"},oyt={class:"form-item"},iyt={class:"form-inputs-group"},ryt=["value"],uyt=["value"],lyt={class:"form-item"},cyt={class:"form-inputs-group"},dyt={for:"duration_from",class:"visually-hidden"},Eyt=["value"],_yt={for:"duration_to",class:"visually-hidden"},Tyt=["value"],pyt={class:"form-items-group"},myt={class:"form-item"},fyt={class:"form-inputs-group"},Syt=["value"],Ayt=["value"],hyt={class:"form-item"},Oyt={class:"form-inputs-group"},Iyt=["value"],Ryt=["value"],Nyt={class:"form-button"},gyt=Q({__name:"WorkoutsFilters",props:{authUser:{},translatedSports:{}},emits:["filter"],setup(e,{emit:t}){const n=e,{authUser:s}=pe(n),a=t,o=at(),i=fn(),r=KO(),{t:u}=Lt();let l=Object.assign({},o.query);const d=F(()=>s.value.imperial_units?On.km.defaultTarget:"km"),_=F(()=>f(r.getters[Be.GETTERS.EQUIPMENTS]));function c(R){const h=R.target.name,O=R.target.value;O===""?delete l[h]:l[h]=O}function T(){a("filter"),"page"in l&&(l.page="1"),i.push({path:"/workouts",query:l})}function m(){a("filter"),i.push({path:"/workouts",query:{}})}function f(R){const h={};return R.filter(O=>O.workouts_count>0).map(O=>{const I=u(`equipment_types.${O.equipment_type.label}.LABEL`);I in h?h[I].push(O):h[I]=[O]}),h}return Ce(()=>o.query,R=>{l=Object.assign({},R)}),Et(()=>{const R=document.getElementById("from");R&&R.focus()}),(R,h)=>(S(),g("div",g2t,[E("div",b2t,[E("form",{onSubmit:h[0]||(h[0]=Ne(()=>{},["prevent"])),class:"form"},[E("div",v2t,[E("div",C2t,[E("div",P2t,[E("label",D2t,A(R.$t("workouts.FROM"))+": ",1),E("input",{id:"from",name:"from",type:"date",value:R.$route.query.from,onChange:c},null,40,L2t)]),E("div",y2t,[E("label",U2t,A(R.$t("workouts.TO"))+": ",1),E("input",{id:"to",name:"to",type:"date",value:R.$route.query.to,onChange:c},null,40,$2t)]),E("div",k2t,[E("label",w2t,A(R.$t("workouts.SPORT",1))+":",1),E("select",{id:"sport_id",name:"sport_id",value:R.$route.query.sport_id,onChange:c,onKeyup:Xe(T,["enter"])},[h[1]||(h[1]=E("option",{value:""},null,-1)),(S(!0),g(ae,null,be(R.translatedSports.filter(O=>p(s).sports_list.includes(O.id)),O=>(S(),g("option",{value:O.id,key:O.id},A(O.translatedLabel),9,W2t))),128))],40,M2t)]),E("div",F2t,[E("label",null,A(R.$t("equipments.EQUIPMENT",1))+":",1),E("select",{name:"equipment_id",value:R.$route.query.equipment_id,onChange:c,onKeyup:Xe(T,["enter"])},[h[3]||(h[3]=E("option",{value:""},null,-1)),Object.keys(_.value).length==0?(S(),g("option",B2t,A(R.$t("equipments.NO_EQUIPMENTS")),1)):L("",!0),Object.keys(_.value).length>0?(S(),g(ae,{key:1},[E("option",G2t,A(R.$t("equipments.WITHOUT_EQUIPMENTS")),1),h[2]||(h[2]=E("option",{disabled:""},"---",-1))],64)):L("",!0),(S(!0),g(ae,null,be(Object.keys(_.value).sort(),O=>(S(),g("optgroup",{label:O,key:O},[(S(!0),g(ae,null,be(_.value[O].sort(p(G_)),I=>(S(),g("option",{value:I.id,key:I.id},A(I.label),9,V2t))),128))],8,x2t))),128))],40,z2t)])]),E("div",H2t,[E("div",K2t,[E("label",Y2t,A(R.$t("workouts.TITLE",1))+":",1),E("div",q2t,[E("input",{id:"title",class:"text",name:"title",value:R.$route.query.title,onChange:c,placeholder:"",type:"text",onKeyup:Xe(T,["enter"])},null,40,j2t)])]),E("div",X2t,[E("label",Q2t,A(R.$t("workouts.DESCRIPTION"))+": ",1),E("div",Z2t,[E("input",{id:"description",class:"text",name:"description",value:R.$route.query.description,onChange:c,placeholder:"",type:"text",onKeyup:Xe(T,["enter"])},null,40,J2t)])]),E("div",eyt,[E("label",tyt,A(R.$t("workouts.NOTES"))+":",1),E("div",nyt,[E("input",{id:"notes",class:"text",name:"notes",value:R.$route.query.notes,onChange:c,placeholder:"",type:"text",onKeyup:Xe(T,["enter"])},null,40,syt)])])]),E("div",ayt,[E("div",oyt,[E("label",null,A(R.$t("workouts.DISTANCE"))+" ("+A(d.value)+"): ",1),E("div",iyt,[E("input",{name:"distance_from",type:"number",min:"0",step:"0.1",value:R.$route.query.distance_from,onChange:c,onKeyup:Xe(T,["enter"])},null,40,ryt),E("span",null,A(R.$t("workouts.TO")),1),E("input",{name:"distance_to",type:"number",min:"0",step:"0.1",value:R.$route.query.distance_to,onChange:c,onKeyup:Xe(T,["enter"])},null,40,uyt)])]),E("div",lyt,[E("label",null,A(R.$t("workouts.DURATION"))+": ",1),E("div",cyt,[E("label",dyt,A(R.$t("workouts.FROM")),1),E("input",{id:"duration_from",name:"duration_from",value:R.$route.query.duration_from,onChange:c,pattern:"^([0-9]*[0-9]):([0-5][0-9])$",placeholder:"hh:mm",type:"text",onKeyup:Xe(T,["enter"])},null,40,Eyt),E("span",null,A(R.$t("workouts.TO")),1),E("label",_yt,A(R.$t("workouts.TO")),1),E("input",{id:"duration_to",name:"duration_to",value:R.$route.query.duration_to,onChange:c,pattern:"^([0-9]*[0-9]):([0-5][0-9])$",placeholder:"hh:mm",type:"text",onKeyup:Xe(T,["enter"])},null,40,Tyt)])])]),E("div",pyt,[E("div",myt,[E("label",null,A(R.$t("workouts.AVE_SPEED"))+" ("+A(d.value)+"/h): ",1),E("div",fyt,[E("input",{min:"0",name:"ave_speed_from",value:R.$route.query.ave_speed_from,onChange:c,step:"0.1",type:"number",onKeyup:Xe(T,["enter"])},null,40,Syt),E("span",null,A(R.$t("workouts.TO")),1),E("input",{min:"0",name:"ave_speed_to",value:R.$route.query.ave_speed_to,onChange:c,step:"0.1",type:"number",onKeyup:Xe(T,["enter"])},null,40,Ayt)])]),E("div",hyt,[E("label",null,A(R.$t("workouts.MAX_SPEED"))+" ("+A(d.value)+"/h): ",1),E("div",Oyt,[E("input",{min:"0",name:"max_speed_from",value:R.$route.query.max_speed_from,onChange:c,step:"0.1",type:"number",onKeyup:Xe(T,["enter"])},null,40,Iyt),E("span",null,A(R.$t("workouts.TO")),1),E("input",{min:"0",name:"max_speed_to",value:R.$route.query.max_speed_to,onChange:c,step:"0.1",type:"number",onKeyup:Xe(T,["enter"])},null,40,Ryt)])])])]),E("div",Nyt,[E("button",{type:"submit",class:"confirm",onClick:T},A(R.$t("buttons.FILTER")),1),E("button",{class:"confirm",onClick:m},A(R.$t("buttons.CLEAR_FILTER")),1)])],32)])]))}}),byt=ne(gyt,[["__scopeId","data-v-ac04eca3"]]),vyt={class:"workouts-list"},Cyt={class:"total"},Pyt={class:"total-label"},Dyt={key:0},Lyt={key:0,class:"workouts-table responsive-table"},yyt={class:"sport-col"},Uyt={class:"visually-hidden"},$yt={class:"sport-col"},kyt={class:"cell-heading"},wyt=["onMouseover"],Myt={class:"cell-heading"},Wyt={key:0,class:"fa fa-map-o","aria-hidden":"true"},Fyt={class:"title"},zyt={class:"workout-date"},Byt={class:"cell-heading"},Gyt={class:"text-right"},xyt={class:"cell-heading"},Vyt={class:"text-right"},Hyt={class:"cell-heading"},Kyt={class:"text-right"},Yyt={class:"cell-heading"},qyt={class:"text-right"},jyt={class:"cell-heading"},Xyt={class:"text-right"},Qyt={class:"cell-heading"},Zyt={class:"text-right"},Jyt={class:"cell-heading"},eUt=Q({__name:"WorkoutsList",props:{user:{},translatedSports:{}},setup(e){const t=e,{user:n,translatedSports:s}=pe(t),a=at(),o=fn(),i=ye(),r=["ave_speed","distance","duration","workout_date"],{appLanguage:u}=Ge(),{isAuthUserSuspended:l}=Ye();let d=R(a.query);const _=Oe(null),c=F(()=>i.getters[J.GETTERS.AUTH_USER_WORKOUTS]),T=F(()=>i.getters[J.GETTERS.WORKOUTS_PAGINATION]);function m(I){l.value||i.dispatch(J.ACTIONS.GET_AUTH_USER_WORKOUTS,n.value.imperial_units?h(I):I)}function f(I,N){const b=Object.assign({},a.query);b[I]=N,I==="per_page"&&(b.page="1"),d=R(b),o.push({path:"/workouts",query:d})}function R(I){const N=Lo(I,r,Yi.order_by,{defaultSort:Yi.order});return Object.keys(I).filter(b=>xct.includes(b)).map(b=>{typeof I[b]=="string"&&(N[b]=I[b])}),N}function h(I){const N={...I};return Object.entries(N).map(b=>{b[0].match("speed|distance")&&b[1]&&(N[b[0]]=jt(+b[1],"mi","km"))}),N}function O(I){_.value=I}return Ce(()=>a.query,async I=>{d=R(I),m(d)}),Ze(()=>{m(d),i.dispatch(Be.ACTIONS.GET_EQUIPMENTS)}),(I,N)=>{const b=j("SportImage"),C=j("VisibilityIcon"),v=j("router-link"),y=j("Distance");return S(),g("div",vyt,[E("div",{class:fe(["box",{"empty-table":c.value.length===0}])},[E("div",Cyt,[E("span",Pyt,A(I.$t("common.TOTAL").toLowerCase())+": ",1),T.value.total?(S(),g("span",Dyt,A(T.value.total)+" "+A(I.$t("workouts.WORKOUT",T.value.total)),1)):L("",!0)]),M(V_,{sort:p(zl),order_by:r,query:p(d),message:"workouts",onUpdateSelect:f},null,8,["sort","query"]),c.value.length>0?(S(),g("div",Lyt,[M(Yn,{class:"top-pagination",pagination:T.value,path:"/workouts",query:p(d)},null,8,["pagination","query"]),E("table",null,[E("thead",{class:fe({smaller:p(u)==="de"})},[E("tr",null,[E("th",yyt,[E("span",Uyt,A(I.$t("workouts.SPORT")),1)]),E("th",null,A(Fe(I.$t("workouts.WORKOUT",1))),1),E("th",null,A(Fe(I.$t("workouts.DATE"))),1),E("th",null,A(Fe(I.$t("workouts.DISTANCE"))),1),E("th",null,A(Fe(I.$t("workouts.DURATION"))),1),E("th",null,A(Fe(I.$t("workouts.AVE_SPEED"))),1),E("th",null,A(Fe(I.$t("workouts.MAX_SPEED"))),1),E("th",null,A(Fe(I.$t("workouts.ASCENT"))),1),E("th",null,A(Fe(I.$t("workouts.DESCENT"))),1)])],2),E("tbody",null,[(S(!0),g(ae,null,be(c.value,D=>(S(),g("tr",{key:D.id},[E("td",$yt,[E("span",kyt,A(I.$t("workouts.SPORT",1)),1),p(s).length>0?(S(),G(b,{key:0,title:p(s).filter(w=>w.id===D.sport_id)[0].translatedLabel,"sport-label":p(z_)(D,p(s)),color:p(B_)(D,p(s))},null,8,["title","sport-label","color"])):L("",!0)]),E("td",{class:"workout-title",onMouseover:w=>O(D.id),onMouseleave:N[0]||(N[0]=w=>O(null))},[E("span",Myt,A(Fe(I.$t("workouts.WORKOUT",1))),1),M(v,{class:"nav-item",to:{name:"Workout",params:{workoutId:D.id}}},{default:X(()=>[D.with_gpx?(S(),g("i",Wyt)):L("",!0),E("span",Fyt,A(D.title),1),M(C,{visibility:D.workout_visibility},null,8,["visibility"])]),_:2},1032,["to"]),D.with_gpx&&_.value===D.id?(S(),G(D1,{key:0,workout:D,"display-hover":!0},null,8,["workout"])):L("",!0)],40,wyt),E("td",zyt,[E("span",Byt,A(I.$t("workouts.DATE")),1),E("time",null,A(p(Ut)(D.workout_date,p(n).timezone,p(n).date_format)),1)]),E("td",Gyt,[E("span",xyt,A(I.$t("workouts.DISTANCE")),1),D.distance!==null?(S(),G(y,{key:0,distance:D.distance,unitFrom:"km",useImperialUnits:p(n).imperial_units},null,8,["distance","useImperialUnits"])):L("",!0)]),E("td",Vyt,[E("span",Hyt,A(I.$t("workouts.DURATION")),1),B(" "+A(D.moving),1)]),E("td",Kyt,[E("span",Yyt,A(I.$t("workouts.AVE_SPEED")),1),D.ave_speed!==null?(S(),G(y,{key:0,distance:D.ave_speed,unitFrom:"km",speed:!0,useImperialUnits:p(n).imperial_units},null,8,["distance","useImperialUnits"])):L("",!0)]),E("td",qyt,[E("span",jyt,A(I.$t("workouts.MAX_SPEED")),1),D.max_speed!==null?(S(),G(y,{key:0,distance:D.max_speed,unitFrom:"km",speed:!0,useImperialUnits:p(n).imperial_units},null,8,["distance","useImperialUnits"])):L("",!0)]),E("td",Xyt,[E("span",Qyt,A(I.$t("workouts.ASCENT")),1),D.ascent!==null?(S(),G(y,{key:0,distance:D.ascent,unitFrom:"m",useImperialUnits:p(n).imperial_units},null,8,["distance","useImperialUnits"])):L("",!0)]),E("td",Zyt,[E("span",Jyt,A(I.$t("workouts.DESCENT")),1),D.descent!==null?(S(),G(y,{key:0,distance:D.descent,unitFrom:"m",useImperialUnits:p(n).imperial_units},null,8,["distance","useImperialUnits"])):L("",!0)])]))),128))])]),M(Yn,{pagination:T.value,path:"/workouts",query:p(d)},null,8,["pagination","query"])])):L("",!0)],2),c.value.length===0?(S(),G(X_,{key:0})):L("",!0),N[1]||(N[1]=E("div",{id:"bottom"},null,-1))])}}}),tUt=ne(eUt,[["__scopeId","data-v-211b0fd9"]]),nUt={key:0,id:"workouts",class:"view items-list-view"},sUt={class:"container items-list-container"},aUt={class:"display-filters"},oUt={class:"list-container"},iUt=Q({__name:"WorkoutsView",setup(e){const{t}=Lt(),n=ye(),s=F(()=>n.getters[K.GETTERS.AUTH_USER_PROFILE]),a=F(()=>n.getters[xt.GETTERS.SPORTS]),o=F(()=>rs(a.value,t)),i=Oe(!0);function r(){i.value=!i.value}return(u,l)=>s.value.username?(S(),g("div",nUt,[E("div",sUt,[E("div",{class:fe(["filters-container",{hidden:i.value}])},[M(byt,{translatedSports:o.value,authUser:s.value,onFilter:r},null,8,["translatedSports","authUser"])],2),E("div",aUt,[E("div",{onClick:r},[E("i",{class:fe(`fa fa-caret-${i.value?"down":"up"}`),"aria-hidden":"true"},null,2),E("span",null,A(u.$t(`workouts.${i.value?"DISPLAY":"HIDE"}_FILTERS`)),1)])]),E("div",oUt,[M(tUt,{user:s.value,translatedSports:o.value},null,8,["user","translatedSports"])])])])):L("",!0)}}),{t:sA}=Fo.global,aA=e=>{const t=/(\/profile)(\/edit)*(\/*)/,n=e.replace(t,"").toUpperCase();return n===""?"PROFILE":n.split("/")[0].toUpperCase()},rUt=[{path:"/",name:"Dashboard",component:sNt,meta:{title:"dashboard.DASHBOARD",allowedToSuspendedUser:!1}},{path:"/login",name:"Login",component:KS,props:{action:"login"},meta:{title:"user.LOGIN",withoutAuth:!0}},{path:"/register",name:"Register",component:KS,props:{action:"register"},meta:{title:"user.REGISTER",withoutAuth:!0}},{path:"/account-confirmation",name:"AccountConfirmation",component:Ybt,meta:{title:"user.ACCOUNT_CONFIRMATION",withoutAuth:!0}},{path:"/account-confirmation/resend",name:"AccountConfirmationResend",component:HS,props:{action:"account-confirmation-resend"},meta:{title:"buttons.ACCOUNT-CONFIRMATION-RESEND",withoutAuth:!0}},{path:"/account-confirmation/email-sent",name:"AccountConfirmationEmailSend",component:HS,props:{action:"email-sent"},meta:{title:"buttons.ACCOUNT-CONFIRMATION-RESEND",withoutAuth:!0}},{path:"/password-reset/sent",name:"PasswordEmailSent",component:Wr,props:{action:"request-sent"},meta:{title:"user.PASSWORD_RESET",withoutAuth:!0}},{path:"/password-reset/request",name:"PasswordResetRequest",component:Wr,props:{action:"reset-request"},meta:{title:"user.PASSWORD_RESET",withoutAuth:!0}},{path:"/password-reset/password-updated",name:"PasswordUpdated",component:Wr,props:{action:"password-updated"},meta:{title:"user.PASSWORD_RESET",withoutAuth:!0}},{path:"/password-reset",name:"PasswordReset",component:Wr,props:{action:"reset"},meta:{title:"user.PASSWORD_RESET",withoutAuth:!0}},{path:"/email-update",name:"EmailUpdate",component:Qbt,meta:{title:"user.EMAIL_UPDATE",withoutChecks:!0}},{path:"/profile",name:"Profile",component:hvt,children:[{path:"",name:"UserProfile",component:UEt,props:e=>({tab:aA(e.path)}),children:[{path:"",name:"UserInfos",component:$1,meta:{title:"user.PROFILE.TABS.PROFILE"}},{path:"preferences",name:"UserPreferences",component:N_t,meta:{title:"user.PROFILE.TABS.PREFERENCES"}},{path:"notifications",name:"UserNotifications",component:m_t,meta:{title:"user.PROFILE.TABS.NOTIFICATIONS"}},{path:"sports",name:"UserSports",component:wS,props:{isEdition:!1},meta:{title:"user.PROFILE.TABS.SPORTS"},children:[{path:"",name:"UserSportPreferences",component:MS,meta:{title:"user.PROFILE.TABS.SPORTS"}},{path:":id",name:"UserSport",component:N0t,meta:{title:"user.PROFILE.TABS.SPORTS"}}]},{path:"apps",name:"UserApps",component:DAt,children:[{path:"",name:"UserAppsList",component:XAt,meta:{title:"user.PROFILE.TABS.APPS"}},{path:":id",name:"UserApp",component:LS,meta:{title:"user.PROFILE.TABS.APPS"}},{path:":id/created",name:"CreatedUserApp",component:LS,props:{afterCreation:!0},meta:{title:"user.PROFILE.TABS.APPS"}},{path:"new",name:"AddUserApp",component:fAt,meta:{title:"user.PROFILE.TABS.APPS"}},{path:"authorize",name:"AuthorizeUserApp",component:CAt,meta:{title:"user.PROFILE.TABS.APPS"}}]},{path:"equipments",name:"UserEquipments",component:$S,props:{isEdition:!1},children:[{path:"",name:"UserEquipmentsList",component:kS,meta:{title:"user.PROFILE.TABS.EQUIPMENTS"}},{path:"new",name:"AddEquipment",component:US,meta:{title:"user.PROFILE.TABS.EQUIPMENTS"}},{path:":id",name:"Equipment",component:cOt,meta:{title:"user.PROFILE.TABS.EQUIPMENTS"}}]},{path:"follow-requests",name:"FollowRequests",component:pS,props:{itemType:"follow-requests"},meta:{title:"user.PROFILE.TABS.FOLLOW-REQUESTS"}},{path:"blocked-users",name:"BlockedUsers",component:pS,props:{itemType:"blocked-users"},meta:{title:"user.PROFILE.TABS.BLOCKED-USERS"}},{path:"followers",name:"AuthUserFollowers",component:wr,props:{relationship:"followers"},meta:{title:"user.RELATIONSHIPS.FOLLOWER",count:0}},{path:"following",name:"AuthUserFollowing",component:wr,props:{relationship:"following"},meta:{title:"user.RELATIONSHIPS.FOLLOWING",count:0}},{path:"suspension",name:"AuthUserAccountSuspension",component:qSt},{path:"moderation",name:"Moderation",component:$Ot,meta:{title:"user.PROFILE.TABS.MODERATION"},children:[{path:"",name:"UserSanctionList",component:r0t},{path:"sanctions/:action_id",name:"UserSanctionDetail",component:JOt}]}]},{path:"edit",name:"UserProfileEdition",component:W_t,props:e=>({tab:aA(e.path)}),children:[{path:"",name:"UserInfosEdition",component:Ymt,meta:{title:"user.PROFILE.EDIT"}},{path:"account",name:"UserAccountEdition",component:Lmt,meta:{title:"user.PROFILE.ACCOUNT_EDITION"}},{path:"picture",name:"UserPictureEdition",component:_ft,meta:{title:"user.PROFILE.PICTURE_EDITION"}},{path:"preferences",name:"UserPreferencesEdition",component:PSt,meta:{title:"user.PROFILE.EDIT_PREFERENCES"}},{path:"notifications",name:"UserNotificationsEdition",component:oft,meta:{title:"user.PROFILE.EDIT_NOTIFICATIONS"}},{path:"sports",name:"UserSportsEdition",component:wS,props:{isEdition:!0},meta:{title:"user.PROFILE.EDIT_SPORTS_PREFERENCES"},children:[{path:"",name:"UserSportPreferencesEdition",component:MS,meta:{title:"user.PROFILE.TABS.SPORTS"}},{path:":id",name:"UserSportEdition",component:Y0t,meta:{title:"user.PROFILE.TABS.SPORTS"}}]},{path:"equipments",name:"UserEquipmentsEdition",component:$S,props:{isEdition:!0},children:[{path:"",name:"UserEquipmentsListEdition",component:kS,meta:{title:"user.PROFILE.TABS.EQUIPMENTS"}},{path:":id",name:"EquipmentEdition",component:US,meta:{title:"user.PROFILE.TABS.EQUIPMENTS"}}]},{path:"privacy-policy",name:"UserPrivacyPolicy",component:GSt,meta:{title:"user.PROFILE.PRIVACY-POLICY_EDITION"}}]}]},{path:"/notifications",name:"Notifications",component:dgt,meta:{allowedToSuspendedUser:!1}},{path:"/statistics",name:"Statistics",component:Ebt,meta:{title:"statistics.STATISTICS",allowedToSuspendedUser:!1}},{path:"/users",name:"Users",component:Wvt,meta:{allowedToSuspendedUser:!1}},{path:"/users/:username",name:"User",props:{fromAdmin:!1},component:YS,meta:{title:"user.USER",withoutChecks:!0,allowedToSuspendedUser:!1},children:[{path:"followers",name:"UserFollowers",component:wr,props:{relationship:"followers"},meta:{withoutAuth:!1,withoutChecks:!1}},{path:"following",name:"UserFollowing",component:wr,props:{relationship:"following"},meta:{withoutAuth:!1,withoutChecks:!1}}]},{path:"/workouts",name:"Workouts",component:iUt,meta:{title:"workouts.WORKOUT",count:0,allowedToSuspendedUser:!1}},{path:"/workouts/:workoutId",name:"Workout",component:md,props:{displaySegment:!1},meta:{title:"workouts.WORKOUT",withoutChecks:!0,allowedToSuspendedUser:!1}},{path:"/workouts/:workoutId/likes",name:"WorkoutLikes",component:Td,props:{objectType:"workout"},meta:{title:"workouts.LIKES",withoutChecks:!0,allowedToSuspendedUser:!1}},{path:"/workouts/:workoutId/edit",name:"EditWorkout",component:SPt,meta:{title:"workouts.EDIT_WORKOUT",allowedToSuspendedUser:!1}},{path:"/workouts/:workoutId/segment/:segmentId",name:"WorkoutSegment",component:md,props:{displaySegment:!0},meta:{title:"workouts.SEGMENT",count:0,withoutChecks:!0,allowedToSuspendedUser:!1}},{path:"/workouts/:workoutId/comments/:commentId",name:"WorkoutComment",component:md,props:{displaySegment:!1},meta:{allowedToSuspendedUser:!1,withoutChecks:!0}},{path:"/workouts/:workoutId/comments/:commentId/likes",name:"WorkoutCommentLikes",component:Td,props:{objectType:"comment"},meta:{title:"workouts.LIKES",withoutChecks:!0,allowedToSuspendedUser:!1}},{path:"/comments/:commentId",name:"Comment",component:pPt,meta:{allowedToSuspendedUser:!1,withoutChecks:!0}},{path:"/comments/:commentId/likes",name:"CommentLikes",component:Td,props:{objectType:"comment"},meta:{title:"workouts.LIKES",withoutChecks:!0,allowedToSuspendedUser:!1}},{path:"/workouts/add",name:"AddWorkout",component:nPt,meta:{title:"workouts.ADD_WORKOUT",allowedToSuspendedUser:!1}},{path:"/admin",name:"Administration",component:Y1t,meta:{allowedToSuspendedUser:!1,minimumRole:"moderator"},children:[{path:"",name:"AdministrationMenu",component:$ut,meta:{title:"admin.ADMINISTRATION"}},{path:"application",name:"ApplicationAdministration",component:cS,meta:{title:"admin.APP_CONFIG.TITLE",minimumRole:"admin"}},{path:"application/edit",name:"ApplicationAdministrationEdition",component:cS,props:{edition:!0},meta:{title:"admin.APPLICATION",minimumRole:"admin"}},{path:"equipment-types",name:"EquipmentTypeAdministration",component:Sut,meta:{title:"admin.EQUIPMENT_TYPES.TITLE",minimumRole:"admin"}},{path:"sports",name:"SportsAdministration",component:Bdt,meta:{title:"admin.SPORTS.TITLE",minimumRole:"admin"}},{path:"reports",name:"ReportsAdministration",component:Ndt,meta:{title:"admin.APP_MODERATION.TITLE"}},{path:"reports/:reportId",name:"ReportAdministration",component:$ct,meta:{title:"admin.APP_MODERATION.REPORT"}},{path:"users/:username",name:"UserFromAdmin",component:YS,props:{fromAdmin:!0},meta:{title:"admin.USER",count:1}},{path:"users",name:"UsersAdministration",component:AEt,meta:{title:"admin.USERS.TITLE",minimumRole:"admin"}}]},{path:"/about",name:"About",component:G1t,meta:{title:"common.ABOUT",withoutChecks:!0}},{path:"/privacy-policy",name:"PrivacyPolicy",component:Tgt,meta:{title:"privacy_policy.TITLE",withoutChecks:!0}},{path:"/:pathMatch(.*)*",name:"not-found",component:oNt,meta:{title:"error.NOT_FOUND.PAGE"}}],it=bD({history:tD("/"),routes:rUt});it.beforeEach((e,t,n)=>{if("title"in e.meta){const s=typeof e.meta.title=="string"?e.meta.title:"",a=s?typeof e.meta.count=="number"?sA(s,+e.meta.count):sA(s):"";window.document.title=`FitTrackee${s?` - ${Fe(a)}`:""}`}Cn.commit(ee.MUTATIONS.EMPTY_ERROR_MESSAGES),Cn.dispatch(K.ACTIONS.CHECK_AUTH_USER).then(()=>{if(e.meta.withoutChecks)return n();if(Cn.getters[K.GETTERS.IS_PROFILE_LOADED]&&Cn.getters[K.GETTERS.IS_SUSPENDED]&&!e.path.startsWith("/profile")&&!e.meta.allowedToSuspendedUser)return n("/profile");if(Cn.getters[K.GETTERS.IS_AUTHENTICATED]&&Cn.getters[K.GETTERS.IS_PROFILE_LOADED]&&!Cn.getters[K.GETTERS.IS_SUSPENDED]&&Cn.dispatch(ct.ACTIONS.GET_UNREAD_STATUS),Cn.getters[K.GETTERS.IS_AUTHENTICATED]&&e.meta.withoutAuth)return n("/");if(!Cn.getters[K.GETTERS.IS_AUTHENTICATED]&&!e.meta.withoutAuth){const s=e.path==="/"?{path:"/login"}:{path:"/login",query:{from:e.fullPath}};n(s)}else n()}).catch(s=>{console.error(s),n()})});IE.register(FI,zI,BI,GI,xI,VI,HI,iA,KI,oA,YI,qI);const wI=Ig(xtt).provide("sportColors",F_).use(Fo).use(Cn).use(it).use(uv,{name:"VFullscreen"}).directive("click-outside",Nrt);Rrt.forEach(e=>{wI.component(e.name,e.target)});wI.mount("#app"); diff --git a/fittrackee/emails/translations/pl/LC_MESSAGES/messages.mo b/fittrackee/emails/translations/pl/LC_MESSAGES/messages.mo index 8207948ad..2138078cd 100644 Binary files a/fittrackee/emails/translations/pl/LC_MESSAGES/messages.mo and b/fittrackee/emails/translations/pl/LC_MESSAGES/messages.mo differ diff --git a/fittrackee/emails/translations/pl/LC_MESSAGES/messages.po b/fittrackee/emails/translations/pl/LC_MESSAGES/messages.po index b62679576..8e09c6374 100644 --- a/fittrackee/emails/translations/pl/LC_MESSAGES/messages.po +++ b/fittrackee/emails/translations/pl/LC_MESSAGES/messages.po @@ -8,16 +8,18 @@ msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" "POT-Creation-Date: 2024-11-01 19:45+0100\n" -"PO-Revision-Date: 2023-06-17 20:51+0000\n" -"Last-Translator: Mariusz \n" +"PO-Revision-Date: 2025-02-06 22:02+0000\n" +"Last-Translator: Wiktor Jędrzejczak " +"\n" +"Language-Team: Polish \n" "Language: pl\n" -"Language-Team: Polish \n" -"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && " -"(n%100<10 || n%100>=20) ? 1 : 2;\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" +"X-Generator: Weblate 5.10-dev\n" "Generated-By: Babel 2.17.0\n" #: fittrackee/emails/templates/layout.html:232 @@ -106,26 +108,26 @@ msgstr "Użyj poniższego linka by potwierdzić swój adres e-mail." #: fittrackee/emails/templates/user_warning_lifting/subject.txt:1 #, python-format msgid "Warning for %(username)s lifted" -msgstr "" +msgstr "Ostrzeżenie dla %(username)s zostało zniesione" #: fittrackee/emails/templates/appeal_rejected/body.html:3 msgid "Your appeal has been rejected" -msgstr "" +msgstr "Twoje odwołanie zostało odrzucone" #: fittrackee/emails/templates/appeal_rejected/body.html:4 #: fittrackee/emails/templates/appeal_rejected/body.txt:1 msgid "Your appeal on your account suspension has been rejected" -msgstr "" +msgstr "Twoje odwołanie dla zawieszenie konta zostało odrzucone" #: fittrackee/emails/templates/appeal_rejected/body.html:4 #: fittrackee/emails/templates/appeal_rejected/body.txt:1 msgid "Your appeal on your warning has been rejected" -msgstr "" +msgstr "Twoje odwołanie dla ostrzeżenia zostało odrzucone" #: fittrackee/emails/templates/appeal_rejected/body.html:4 #: fittrackee/emails/templates/appeal_rejected/body.txt:1 msgid "Your appeal on the following content suspension has been rejected" -msgstr "" +msgstr "Twoje odwołanie dla zawieszonych treści zostało odrzucone" #: fittrackee/emails/templates/appeal_rejected/body.html:6 #: fittrackee/emails/templates/appeal_rejected/body.txt:3 @@ -136,7 +138,7 @@ msgstr "" #: fittrackee/emails/templates/user_warning_lifting/body.html:6 #: fittrackee/emails/templates/user_warning_lifting/body.txt:3 msgid "Comment:" -msgstr "" +msgstr "Komentarz:" #: fittrackee/emails/templates/appeal_rejected/body.html:22 #: fittrackee/emails/templates/appeal_rejected/body.txt:7 @@ -147,7 +149,7 @@ msgstr "" #: fittrackee/emails/templates/workout_suspension/body.txt:5 #: fittrackee/emails/templates/workout_unsuspension/body.txt:5 msgid "Workout:" -msgstr "" +msgstr "Trening:" #: fittrackee/emails/templates/appeal_rejected/body.txt:5 #: fittrackee/emails/templates/appeal_rejected/body.txt:9 @@ -158,22 +160,22 @@ msgstr "" #: fittrackee/emails/templates/user_warning_lifting/body.txt:9 #: fittrackee/emails/templates/workout_unsuspension/body.txt:7 msgid "Link:" -msgstr "" +msgstr "Link:" #: fittrackee/emails/templates/appeal_rejected/subject.txt:1 msgid "Appeal rejected" -msgstr "" +msgstr "Odwołanie odrzucone" #: fittrackee/emails/templates/comment_suspension/body.html:2 #: fittrackee/emails/templates/comment_suspension/subject.txt:1 msgid "Your comment has been suspended" -msgstr "" +msgstr "Twój komentarz został zawieszony" #: fittrackee/emails/templates/comment_suspension/body.html:3 #: fittrackee/emails/templates/comment_suspension/body.html:4 #: fittrackee/emails/templates/comment_suspension/body.txt:1 msgid "Your comment has been suspended, it is no longer visible" -msgstr "" +msgstr "Twój komentarz został zawieszony i nie jest już widoczny" #: fittrackee/emails/templates/comment_suspension/body.html:5 #: fittrackee/emails/templates/comment_suspension/body.txt:3 @@ -190,7 +192,7 @@ msgstr "" #: fittrackee/emails/templates/workout_unsuspension/body.html:5 #: fittrackee/emails/templates/workout_unsuspension/body.txt:3 msgid "Reason:" -msgstr "" +msgstr "Powód:" #: fittrackee/emails/templates/comment_suspension/body.html:20 #: fittrackee/emails/templates/comment_suspension/body.txt:7 @@ -201,25 +203,25 @@ msgstr "" #: fittrackee/emails/templates/workout_suspension/body.html:23 #: fittrackee/emails/templates/workout_suspension/body.txt:7 msgid "If you think this is an error, you can appeal:" -msgstr "" +msgstr "Jeśli uważasz to za błąd, możesz się odwołać:" #: fittrackee/emails/templates/comment_suspension/body.html:27 #: fittrackee/emails/templates/user_suspension/body.html:14 #: fittrackee/emails/templates/user_warning/body.html:48 #: fittrackee/emails/templates/workout_suspension/body.html:30 msgid "Appeal" -msgstr "" +msgstr "Odwołanie" #: fittrackee/emails/templates/comment_unsuspension/body.html:2 #: fittrackee/emails/templates/comment_unsuspension/subject.txt:1 msgid "The suspension on your comment has been lifted" -msgstr "" +msgstr "Zawieszenie twojego komentarza zostało zdjęte" #: fittrackee/emails/templates/comment_unsuspension/body.html:3 #: fittrackee/emails/templates/comment_unsuspension/body.html:4 #: fittrackee/emails/templates/comment_unsuspension/body.txt:1 msgid "The suspension on your comment has been lifted, it is visible again" -msgstr "" +msgstr "Zawieszenie komentarza zostało zniesione, jest ponownie widoczny" #: fittrackee/emails/templates/data_export_ready/body.html:2 #: fittrackee/emails/templates/data_export_ready/subject.txt:1 @@ -386,7 +388,7 @@ msgstr "Użyj poniższego linku aby je zresetować." #: fittrackee/emails/templates/user_suspension/body.txt:1 #: fittrackee/emails/templates/user_suspension/subject.txt:1 msgid "Your account has been suspended" -msgstr "" +msgstr "Twoje konto zostało zawieszone" #: fittrackee/emails/templates/user_suspension/body.html:3 #: fittrackee/emails/templates/user_suspension/body.html:5 @@ -395,6 +397,8 @@ msgid "" "You can no longer use your account and your profile is no longer " "accessible" msgstr "" +"Nie możesz dłużej używać swojego konta i twój profil nie jest nie jest już " +"dostępny" #: fittrackee/emails/templates/user_suspension/body.html:5 #: fittrackee/emails/templates/user_suspension/body.txt:2 @@ -402,6 +406,7 @@ msgid "" "You can still log in to request an export of your data or delete your " "account" msgstr "" +"Nadal możesz zalogować się by wyeksportować swoje dane i/lub usunąć konto" #: fittrackee/emails/templates/user_unsuspension/body.html:2 #: fittrackee/emails/templates/user_unsuspension/body.html:3 @@ -409,51 +414,50 @@ msgstr "" #: fittrackee/emails/templates/user_unsuspension/body.txt:1 #: fittrackee/emails/templates/user_unsuspension/subject.txt:1 msgid "Your account has been reactivated" -msgstr "" +msgstr "Twoje konto zostało reaktywowane" #: fittrackee/emails/templates/user_unsuspension/body.html:3 #: fittrackee/emails/templates/user_unsuspension/body.html:4 #: fittrackee/emails/templates/user_unsuspension/body.txt:2 msgid "You can now use all the features on FitTrackee" -msgstr "" +msgstr "Możesz teraz używać wszystkich funkcji FitTrackee" #: fittrackee/emails/templates/user_warning/body.html:2 #: fittrackee/emails/templates/user_warning/subject.txt:1 #, python-format msgid "Warning for %(username)s" -msgstr "" +msgstr "Ostrzeżenie dla %(username)s" #: fittrackee/emails/templates/user_warning/body.html:3 #: fittrackee/emails/templates/user_warning/body.html:4 #: fittrackee/emails/templates/user_warning/body.txt:1 msgid "You received a warning" -msgstr "" +msgstr "Otrzymujesz ostrzeżenie" #: fittrackee/emails/templates/user_warning_lifting/body.html:3 #: fittrackee/emails/templates/user_warning_lifting/body.html:4 #: fittrackee/emails/templates/user_warning_lifting/body.txt:1 msgid "Your warning has been lifted" -msgstr "" +msgstr "Twoje ostrzeżenie zostało zniesione" #: fittrackee/emails/templates/workout_suspension/body.html:2 #: fittrackee/emails/templates/workout_suspension/subject.txt:1 msgid "Your workout has been suspended" -msgstr "" +msgstr "Twój trening został zawieszony" #: fittrackee/emails/templates/workout_suspension/body.html:3 #: fittrackee/emails/templates/workout_suspension/body.html:4 #: fittrackee/emails/templates/workout_suspension/body.txt:1 msgid "Your workout has been suspended, it is no longer visible" -msgstr "" +msgstr "Twój trening został zawieszony, nie jest dłużej widoczny" #: fittrackee/emails/templates/workout_unsuspension/body.html:2 #: fittrackee/emails/templates/workout_unsuspension/subject.txt:1 msgid "The suspension on your workout has been lifted" -msgstr "" +msgstr "Zawieszenie twojego treningu zostało zniesione" #: fittrackee/emails/templates/workout_unsuspension/body.html:3 #: fittrackee/emails/templates/workout_unsuspension/body.html:4 #: fittrackee/emails/templates/workout_unsuspension/body.txt:1 msgid "The suspension on your workout has been lifted, it is visible again" -msgstr "" - +msgstr "Zawieszenie twojego treningu zostało zniesione, jest znów widoczny" diff --git a/fittrackee/workouts/workouts.py b/fittrackee/workouts/workouts.py index 422d591f0..40f33c0c4 100644 --- a/fittrackee/workouts/workouts.py +++ b/fittrackee/workouts/workouts.py @@ -1368,9 +1368,6 @@ def post_workout_no_gpx( "status": "success" } - :jakinarazpenen zerbitzuei idazketa baimena ematen die.", "profile:read_DESCRIPTION": "auth zerbitzuetarako irakurketa baimena ematen du.", "profile:write_DESCRIPTION": "auth zerbitzuetarako idazketa baimena ematen du.", + "reports:read_DESCRIPTION": "reports endpointetara irakurketa baimena eman.", + "reports:write_DESCRIPTION": "reports endpointetara idazketa baimena eman.", "users:read_DESCRIPTION": "users zerbitzuetarako irakurketa baimena ematen du.", "users:write_DESCRIPTION": "users zerbitzuetarako idazketa baimena ematen du.", "workouts:read_DESCRIPTION": "ekintzen eta iruzkinen zerbitzuetarako irakurketa baimena ematen du.", diff --git a/fittrackee_client/src/locales/eu/workouts.json b/fittrackee_client/src/locales/eu/workouts.json index 841c1b3cf..25886a35b 100644 --- a/fittrackee_client/src/locales/eu/workouts.json +++ b/fittrackee_client/src/locales/eu/workouts.json @@ -15,6 +15,7 @@ "LABEL": "iruzkin | iruzkinak", "LIKE_COMMENT": "Iruzkina atsegin", "NO_COMMENTS": "Iruzkinik ez", + "REPORT": "salatu iruzkina", "SUSPENDED_COMMENT_BY_ADMIN": "Iruzkin hau kudeatzaileak ezabatu du." }, "DATE": "data", @@ -81,6 +82,7 @@ "RECORD_MS": "Abiadura handiena", "REMAINING_CHARS": "falta den karaktereak", "REMOVE_LIKE": "Ezabatu atsegitea", + "REPORT_WORKOUT": "salatu ariketa", "RESET_ZOOM": "Berrezarri zooma", "SEGMENT": "segmentu | segmentu", "SPEED": "abiadura", diff --git a/fittrackee_client/src/locales/pl/api.json b/fittrackee_client/src/locales/pl/api.json index eaf4c860f..f549b8dd1 100644 --- a/fittrackee_client/src/locales/pl/api.json +++ b/fittrackee_client/src/locales/pl/api.json @@ -3,7 +3,11 @@ "