diff --git a/extras/dummy_generator/generator.py b/extras/dummy_generator/generator.py index 9307e736c..99e5e729c 100644 --- a/extras/dummy_generator/generator.py +++ b/extras/dummy_generator/generator.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # This file is part of wger Workout Manager. # # wger Workout Manager is free software: you can redistribute it and/or modify @@ -16,7 +14,6 @@ # Standard Library import argparse -import csv import datetime import os import random @@ -26,9 +23,10 @@ # Django import django from django.db import IntegrityError -from django.utils import timezone from django.utils.text import slugify +import csv + sys.path.insert(0, os.path.join('..', '..')) os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'settings') django.setup() @@ -40,7 +38,6 @@ # wger from wger.core.models import ( DaysOfWeek, - Language, ) from wger.exercises.models import Exercise from wger.gym.models import ( @@ -61,13 +58,6 @@ Category, Measurement, ) -from wger.nutrition.models import ( - Ingredient, - LogItem, - Meal, - MealItem, - NutritionPlan, -) from wger.weight.models import WeightEntry parser = argparse.ArgumentParser(description='Data generator. Please consult the documentation') @@ -566,89 +556,10 @@ # Nutrition Generator # if hasattr(args, 'number_nutrition_plans'): - print("** Generating {0} nutrition plan(s) per user".format(args.number_nutrition_plans)) - - if args.add_to_user: - userlist = [User.objects.get(pk=args.add_to_user)] - else: - userlist = User.objects.all() - - # Load all ingredients to a list - ingredient_list = [i for i in Ingredient.objects.order_by('?').all()[:100]] - - # Total meals per plan - TOTAL_MEALS = 4 - - for user in userlist: - print(' - generating for {0}'.format(user.username)) - - # Add nutrition plan - for i in range(0, args.number_nutrition_plans): - uid = str(uuid.uuid4()).split('-') - start_date = datetime.date.today() - datetime.timedelta(days=random.randint(0, 100)) - nutrition_plan = NutritionPlan( - language=Language.objects.all()[1], - description='Dummy nutrition plan - {0}'.format(uid[1]), - creation_date=start_date, - ) - nutrition_plan.user = user - - nutrition_plan.save() - - # Add meals to plan - order = 1 - for j in range(0, TOTAL_MEALS): - meal = Meal( - plan=nutrition_plan, - order=order, - time=datetime.time(hour=random.randint(0, 23), minute=random.randint(0, 59)) - ) - meal.save() - for k in range(0, random.randint(1, 5)): - ingredient = random.choice(ingredient_list) - meal_item = MealItem( - meal=meal, - ingredient=ingredient, - weight_unit=None, - order=order, - amount=random.randint(10, 250) - ) - meal_item.save() - order = order + 1 + print("*** Please use 'python manage.py dummy-generator-nutrition' instead") # # Nutrition diary Generator # if hasattr(args, 'number_nutrition_logs'): - print("** Generating {0} nutrition diary entries per user".format(args.number_nutrition_logs)) - - if args.add_to_user: - userlist = [User.objects.get(pk=args.add_to_user)] - else: - userlist = User.objects.all() - - # Load all ingredients to a list - ingredient_list = [i for i in Ingredient.objects.order_by('?').all()[:100]] - - for user in userlist: - plan_list = NutritionPlan.objects.order_by('?').filter(user=user) - print(' - generating for {0}'.format(user.username)) - - # Add diary entries - for plan in NutritionPlan.objects.filter(user=user): - for i in range(0, args.number_diary_dates): - date = timezone.now() - datetime.timedelta( - days=random.randint(0, 100), - hours=random.randint(0, 12), - minutes=random.randint(0, 59) - ) - for j in range(0, args.number_nutrition_logs): - ingredient = random.choice(ingredient_list) - log = LogItem( - plan=plan, - datetime=date, - ingredient=ingredient, - weight_unit=None, - amount=random.randint(10, 300) - ) - log.save() + print("*** Please use 'python manage.py dummy-generator-nutrition' instead") diff --git a/wger/__init__.py b/wger/__init__.py index d24c7d4ce..a374ea133 100644 --- a/wger/__init__.py +++ b/wger/__init__.py @@ -10,7 +10,7 @@ MIN_APP_VERSION = (1, 5, 0, 'final', 1) -VERSION = (2, 2, 0, 'alpha', 3) +VERSION = (2, 2, 0, 'alpha', 4) RELEASE = True diff --git a/wger/core/models/profile.py b/wger/core/models/profile.py index 8edda7b73..ba7ca646f 100644 --- a/wger/core/models/profile.py +++ b/wger/core/models/profile.py @@ -523,8 +523,8 @@ def user_bodyweight(self, weight): """ if ( not WeightEntry.objects.filter(user=self.user).exists() or ( - datetime.date.today() - WeightEntry.objects.filter(user=self.user).latest().date - > datetime.timedelta(days=3) + datetime.date.today() - WeightEntry.objects.filter(user=self.user).latest().date > + datetime.timedelta(days=3) ) ): entry = WeightEntry() diff --git a/wger/core/static/react/locales/el/translation.json b/wger/core/static/react/locales/el/translation.json new file mode 100644 index 000000000..5409c55db --- /dev/null +++ b/wger/core/static/react/locales/el/translation.json @@ -0,0 +1,97 @@ +{ + "exercises": { + "secondaryMuscles": "Δευτερεύοντες μύες", + "muscles": "Μύες", + "contributeExercise": "Συνεισφέρετε μια άσκηση", + "notEnoughRights": "Μπορείτε να συνεισφέρετε ασκήσεις μόνο εάν ο λογαριασμός σας είναι παλαιότερος από {{days}} ημέρες και έχετε επαληθεύσει το ηλεκτρονικό σας ταχυδρομείο", + "variations": "Παραλλαγές", + "notEnoughRightsHeader": "Δεν μπορείτε να συνεισφέρετε ασκήσεις", + "newNote": "Νέα σημείωση", + "identicalExercise": "Αποφύγετε διπλές ασκήσεις", + "identicalExercisePleaseDiscard": "Αν παρατηρήσετε μια άσκηση που είναι πανομοιότυπη με αυτή που προσθέτετε, παρακαλούμε απορρίψτε το προσχέδιό σας και επεξεργαστείτε αυτή την άσκηση.", + "missingExerciseDescription": "Βοηθήστε την κοινότητα με τη συνεισφορά σας!", + "equipment": "Εξοπλισμός", + "exercises": "Ασκήσεις", + "alsoKnownAs": "Επίσης γνωστό ως:", + "primaryMuscles": "Πρωτεύοντες μύες", + "successfullyUpdated": "Η άσκηση ενημερώθηκε επιτυχώς. Λόγω της προσωρινής αποθήκευσης μπορεί να χρειαστεί κάποιος χρόνος μέχρι οι αλλαγές να είναι ορατές σε όλη την εφαρμογή.", + "noEquipment": "Χωρίς εξοπλισμό", + "translateExerciseNow": "Μεταφράστε αυτή την άσκηση τώρα", + "notesHelpText": "Οι σημειώσεις είναι σύντομα σχόλια για τον τρόπο εκτέλεσης της άσκησης, όπως \"κρατήστε το σώμα σας ίσιο\"", + "notes": "Σημειώσεις", + "basics": "Βασικά στοιχεία", + "whatVariationsExist": "Ποιες παραλλαγές αυτής της άσκησης υπάρχουν, αν υπάρχουν;", + "submitExercise": "Υποβολή άσκησης", + "changeExerciseLanguage": "Αλλάξτε τη γλώσσα αυτής της άσκησης", + "exerciseNotTranslated": "Δεν υπάρχει διαθέσιμη μετάφραση", + "compatibleImagesCC": "Οι εικόνες πρέπει να είναι συμβατές με την άδεια CC BY SA. Αν έχετε αμφιβολίες, ανεβάζετε μόνο φωτογραφίες που έχετε τραβήξει μόνοι σας.", + "step1HeaderBasics": "Βασικά στα αγγλικά", + "exerciseNotTranslatedBody": "Αυτή η άσκηση δεν είναι προς το παρόν διαθέσιμη στην τρέχουσα επιλεγμένη γλώσσα. Θέλετε να συνεισφέρετε μια μετάφραση;", + "cacheWarning": "Λόγω της προσωρινής αποθήκευσης μπορεί να χρειαστεί κάποιος χρόνος μέχρι οι αλλαγές να είναι ορατές σε όλη την εφαρμογή.", + "deleteTranslation": "Διαγραφή μετάφρασης", + "checkInformationBeforeSubmitting": "Βεβαιωθείτε ότι οι πληροφορίες που καταχωρήσατε είναι σωστές πριν υποβάλετε την άσκηση", + "searchExerciseName": "Αναζήτηση με το όνομα της άσκησης", + "description": "Περιγραφή", + "deleteExerciseBody": "Θέλετε να διαγράψετε την άσκηση \"{{όνομα}}\"; Μπορείτε να διαγράψετε είτε την τρέχουσα μετάφραση {{γλώσσα}} είτε ολόκληρη την άσκηση με όλες τις μεταφράσεις, τις εικόνες, κ.λπ.", + "missingExercise": "Σας λείπει μια συγκεκριμένη άσκηση;", + "deleteExerciseFull": "Διαγραφή πλήρους άσκησης", + "alternativeNames": "Εναλλακτικές ονομασίες", + "filterVariations": "Εισάγετε το όνομα της άσκησης για να φιλτράρετε τις παραλλαγές" + }, + "nutritionalPlan": "Διατροφικό σχέδιο", + "date": "Ημερομηνία", + "days": "Ημέρες", + "edit": "Επεξεργασία", + "submit": "Υποβολλή", + "value": "Αξία", + "delete": "Διαγραφή", + "deleteConfirmation": "Είστε βέβαιοι ότι θέλετε να διαγράψετε το \"{{name}}\";", + "notes": "Σημειώσεις", + "difference": "Διαφορά", + "seeDetails": "Δείτε λεπτομέρειες", + "server": { + "none__bodyweight_exercise_": "κανένα (άσκηση με σωματικό βάρος)" + }, + "currentWeight": "Τρέχον βάρος", + "workout": "Προπόνηση", + "addEntry": "Προσθήκη καταχώρησης", + "actions": "Ενέργειες", + "unit": "Μονάδα", + "loading": "Φόρτωση…", + "weight": "Βάρος", + "add": "Προσθήκη", + "routines": { + "logsHeader": "Ημερολόγιο βάρους για προπόνηση", + "addDay": "Προσθέστε ημέρα προπόνησης", + "addWeightLog": "Προσθέστε ημερολόγιο βάρους", + "logsFilterNote": "Σημειώστε ότι καταγράφονται μόνο καταχωρήσεις με μονάδα βάρους kg ή lb και επαναλήψεις, άλλοι συνδυασμοί όπως χρόνος ή μέχρι την αποτυχία αγνοούνται εδώ" + }, + "images": "Εικόνες", + "save": "Αποθήκευση", + "forms": { + "valueTooLong": "Η τιμή είναι πολύ μεγάλη", + "minValue": "Η τιμή για αυτό το πεδίο πρέπει να είναι μεγαλύτερη από {{value}}", + "minLength": "Παρακαλώ εισάγετε περισσότερους από {{chars}} χαρακτήρες", + "valueTooShort": "Η τιμή είναι πολύ μικρή", + "supportedImageFormats": "Υποστηρίζονται μόνο αρχεία JPEG, PNG και WEBP κάτω των 20Mb", + "maxLength": "Παρακαλώ εισάγετε λιγότερους από {{chars}} χαρακτήρες", + "maxValue": "Η τιμή για αυτό το πεδίο πρέπει να είναι μικρότερη από {{value}}", + "fieldRequired": "Το πεδίο αυτό είναι υποχρεωτικό" + }, + "videos": "Βίντεο", + "English": "Αγγλικά", + "success": "Επιτυχία!", + "description": "Περιγραφή", + "name": "Όνομα", + "preferences": "Προτιμήσεις", + "continue": "Συνεχίστε", + "noResults": "Δεν υπάρχουν αποτελέσματα", + "goBack": "Πίσω", + "translation": "Μετάφραση", + "cancel": "Ακύρωση", + "language": "Γλώσσα", + "noResultsDescription": "Δεν βρέθηκαν αποτελέσματα για αυτό το ερώτημα, σκεφτείτε να μειώσετε τον αριθμό των φίλτρων.", + "overview": "Επισκόπηση", + "category": "Κατηγορία", + "cannotBeUndone": "Αυτή η ενέργεια δεν μπορεί να αναιρεθεί." +} diff --git a/wger/core/static/react/locales/en/translation.json b/wger/core/static/react/locales/en/translation.json index 7254ed145..dd8f9075c 100644 --- a/wger/core/static/react/locales/en/translation.json +++ b/wger/core/static/react/locales/en/translation.json @@ -1,10 +1,13 @@ { "weight": "Weight", "date": "Date", + "timeOfDay": "Time of day", "submit": "Submit", "edit": "Edit", "delete": "Delete", + "deleteConfirmation": "Are you sure you want to delete \"{{name}}\"?", "add": "Add", + "close": "Close", "difference": "Difference", "days": "Days", "loading": "Loading...", @@ -17,6 +20,7 @@ "notes": "Notes", "value": "Value", "unit": "Unit", + "alsoSearchEnglish": "Also search for names in English", "exercises": { "contributeExercise": "Contribute an exercise", "step1HeaderBasics": "Basics in English", @@ -56,6 +60,59 @@ "newNote": "New note", "notesHelpText": "Notes are short comments on how to perform the exercise such as \"keep your body straight\"" }, + "nutrition": { + "plans": "Nutritional plans", + "copyPlan": "Make a copy of this plan", + "plan": "Nutritional plan", + "onlyLoggingHelpText": "Only track calories. Check the box if you only want to log your calories and don't want to setup a detailed nutritional plan with specific meals", + "goalsTitle": "Goals", + "useGoalsHelpText": "Add goals to this plan", + "useGoalsHelpTextLong": "This allows you to set general goals for energy, protein, carbohydrates or fat for the plan. Note that if you setup a detailed meal plan, these values will take precedence.", + "goalEnergy": "Energy goal", + "goalProtein": "Protein goal", + "goalCarbohydrates": "Carbohydrates goal", + "goalFat": "Fat goal", + "addNutritionalDiary": "Add nutrition diary entry", + "meal": "Meal", + "addMeal": "Add meal", + "addMealItem": "Add ingredient to meal", + "nutritionalDiary": "Nutrition diary", + "gramShort": "g", + "kcal": "kcal", + "valueEnergyKcal": "{{value}} kcal", + "valueEnergyKcalKj": "{{kcal}} kcal / {{kj}} kJ", + "searchIngredientName": "Search by ingredient name", + "macronutrient": "Macronutrient", + "percentEnergy": "Percent of energy", + "gPerBodyKg": "g per body-kg", + "planned": "Planned", + "logged": "Logged", + "loggedToday": "Logged today", + "difference": "Difference", + "today": "Today", + "7dayAvg": "7-day average", + "energy": "Energy", + "protein": "Protein", + "carbohydrates": "Carbohydrates", + "sugar": "Sugar", + "ofWhichSugars": "of which sugars", + "fat": "Fat", + "ofWhichSaturated": "of which saturated", + "saturatedFat": "Saturated fat", + "pseudoMealTitle": "Other logs", + "others": "Others", + "fibres": "Fibres", + "sodium": "Sodium", + "planDeleteInfo": "This will delete all nutrition diary entries as well", + "mealDeleteInfo": "Nutrition diary entries to this meal will not be deleted and will appear under \"other logs\"", + "diaryEntrySaved": "Diary entry successfully saved", + "logThisMeal": "Log this meal as-is to the nutrition diary", + "logThisMealItem": "Log this ingredient as-is to the nutrition diary", + "valueRemaining": "remaining", + "valueTooMany": "too many" + }, + "downloadAsPdf": "Download as PDF", + "total": "Total", "description": "Description", "translation": "Translation", "images": "Images", @@ -96,7 +153,8 @@ }, "measurements": { "measurements": "Measurements", - "unitFormHelpText": "The unit in which the category will be measured, such as cm or %" + "unitFormHelpText": "The unit in which the category will be measured, such as cm or %", + "deleteInfo": "This will delete the category as well as all its entries" }, "server": { "abs": "Abs", diff --git a/wger/core/static/react/locales/es/translation.json b/wger/core/static/react/locales/es/translation.json index 5c7922b3d..6e8797f71 100644 --- a/wger/core/static/react/locales/es/translation.json +++ b/wger/core/static/react/locales/es/translation.json @@ -11,7 +11,7 @@ "nutritionalPlan": "Plan nutricional", "submit": "Enviar", "weight": "Peso", - "workout": "Rutina", + "workout": "Entrenamiento", "exercises": { "secondaryMuscles": "Músculos secundarios", "contributeExercise": "Aporta un ejercicio", @@ -51,7 +51,7 @@ "identicalExercise": "Evitar los ejercicios duplicados", "cacheWarning": "Debido al almacenamiento en caché, puede pasar algún tiempo hasta que los cambios sean visibles en toda la aplicación." }, - "loading": "Cargando...", + "loading": "Cargando…", "images": "Imágenes", "translation": "Traducción", "description": "Descripción", @@ -110,12 +110,16 @@ "supportedImageFormats": "Solo se admiten archivos JPEG, PNG y WEBP de menos de 20 Mb", "valueTooShort": "El valor es demasiado corto", "valueTooLong": "El valor es demasiado largo", - "fieldRequired": "Este campo es obligatorio" + "fieldRequired": "Este campo es obligatorio", + "minValue": "El valor de este campo tiene que ser superior a {{value}}", + "minLength": "Por favor, introduce más de {{chars}} caracteres", + "maxLength": "Por favor, escribe menos de {{chars}} caracteres", + "maxValue": "El valor de este campo tiene que ser inferior a {{value}}" }, "preferences": "Preferencias", "cancel": "Cancelar", "noResults": "Sin resultados", - "success": "¡Éxito!", + "success": "¡Éxitoso!", "routines": { "rir": "Repeticiones", "addDay": "Añadir un día de entrenamiento", @@ -125,5 +129,16 @@ "logsHeader": "Registro del peso para el entrenamiento", "logsFilterNote": "Ten en cuenta que sólo se registran las entradas con una unidad de peso de kg o lb y las repeticiones, aquí se ignoran otras combinaciones como el tiempo o hasta los errores", "routines": "Rutinas" - } + }, + "actions": "Acciones", + "value": "Valor", + "unit": "Unidad", + "notes": "Notas personales", + "seeDetails": "Ver los detalles", + "measurements": { + "measurements": "Mediciones", + "unitFormHelpText": "La unidad en la que se medirá la categoría, como cm o %", + "deleteInfo": "Esto eliminará la categoría así como todas sus entradas" + }, + "deleteConfirmation": "¿Estás seguro de que quieres borrar \"{{name}}\"?" } diff --git a/wger/core/static/react/locales/fr/translation.json b/wger/core/static/react/locales/fr/translation.json index 0a5186ae0..2c69359f2 100644 --- a/wger/core/static/react/locales/fr/translation.json +++ b/wger/core/static/react/locales/fr/translation.json @@ -98,7 +98,7 @@ "addEntry": "Ajouter une entrée", "currentWeight": "Poids actuel", "workout": "Entraînement", - "loading": "Chargement", + "loading": "Chargement…", "continue": "Continuer", "preferences": "Préférences", "goBack": "Retour", @@ -107,7 +107,9 @@ "supportedImageFormats": "Seuls les fichiers JPEG, PNG et WEBP de moins de 20 Mo sont pris en charge", "valueTooShort": "La valeur est trop courte", "fieldRequired": "Le champ est requis", - "valueTooLong": "La valeur est trop longue" + "valueTooLong": "La valeur est trop longue", + "minLength": "Veuillez saisir plus de {{chars}} caractères", + "maxLength": "Veuillez saisir moins de {{chars}} caractères" }, "name": "Nom", "category": "Catégorie", @@ -129,5 +131,11 @@ "routine": "Routine", "routines": "Routines", "logsHeader": "Journal de poids pour cet entraînement" - } + }, + "value": "Valeur", + "deleteConfirmation": "Êtes-vous certain de vouloir supprimer \"{{name}}\" ?", + "notes": "Notes", + "seeDetails": "Voir les détails", + "actions": "Actions", + "unit": "Unité" } diff --git a/wger/core/static/react/locales/hr/translation.json b/wger/core/static/react/locales/hr/translation.json index 0f0863cd5..14ed88ab2 100644 --- a/wger/core/static/react/locales/hr/translation.json +++ b/wger/core/static/react/locales/hr/translation.json @@ -105,7 +105,11 @@ "supportedImageFormats": "Podržane su samo JPEG, PNG i WEBP datoteke manje od 20 Mb", "valueTooLong": "Vrijednost je predugačka", "valueTooShort": "Vrijednost je prekratka", - "fieldRequired": "Ovo je obavezno polje" + "fieldRequired": "Ovo je obavezno polje", + "maxLength": "Upiši manje od {{chars}} znakova", + "minLength": "Upiši više od {{chars}} znakova", + "minValue": "Vrijednost za ovo polje mora biti veća od {{value}}", + "maxValue": "Vrijednost za ovo polje mora biti manja od {{value}}" }, "English": "Engleski", "name": "Ime", @@ -129,5 +133,16 @@ "logsHeader": "Dnevnik težine za trening", "rir": "PUR" }, - "preferences": "Postavke" + "preferences": "Postavke", + "notes": "Bilješke", + "value": "Vrijednost", + "unit": "Jedinica", + "seeDetails": "Pogledaj detalje", + "actions": "Radnje", + "measurements": { + "measurements": "Mjerenja", + "unitFormHelpText": "Jedinica za mjerenje kategorije, npr. cm ili %", + "deleteInfo": "Ovo će izbrisati kategoriju kao i sve njezine unose" + }, + "deleteConfirmation": "Stvarno želiš izbrisati „{{name}}”?" } diff --git a/wger/core/static/react/locales/it/translation.json b/wger/core/static/react/locales/it/translation.json index 1241b5b41..51070eeda 100644 --- a/wger/core/static/react/locales/it/translation.json +++ b/wger/core/static/react/locales/it/translation.json @@ -73,5 +73,11 @@ "save": "Salva", "category": "Categoria", "name": "Nome", - "loading": "Caricamento..." + "loading": "Caricamento…", + "actions": "Azioni", + "seeDetails": "Vedere dettagli", + "deleteConfirmation": "Sei sicuro di voler cancellare \"{{name}}\"?", + "notes": "Note", + "value": "Valore", + "unit": "Unità" } diff --git a/wger/core/static/react/locales/pt/translation.json b/wger/core/static/react/locales/pt/translation.json index 30614cc75..3ad1e32f3 100644 --- a/wger/core/static/react/locales/pt/translation.json +++ b/wger/core/static/react/locales/pt/translation.json @@ -60,7 +60,7 @@ "identicalExercise": "Evitar exercícios duplicados", "notesHelpText": "As notas são breves comentários sobre como realizar o exercício, tais como \"manter o corpo direito\"", "deleteExerciseBody": "Quer apagar o exercício \"{{nome}}\"? Pode apagar a tradução atual {{{língua}} ou o exercício completo com todas as traduções, imagens, etc.", - "notEnoughRights": "Só pode contribuir com exercícios se a sua conta tiver mais de {{dia}} dias e tiver verificado o seu e-mail", + "notEnoughRights": "Você só pode contribuir com exercícios se sua conta tiver mais de {{days}} dias e tiver verificado seu e-mail", "whatVariationsExist": "Que variações deste exercício existem, se é que existem?", "filterVariations": "Introduzir o nome do exercício para filtrar variações", "identicalExercisePleaseDiscard": "Se notar um exercício que seja idêntico ao que está a acrescentar, por favor descarte o seu rascunho e em vez disso edite esse exercício.", @@ -85,7 +85,11 @@ "fieldRequired": "Esse campo é obrigatório", "supportedImageFormats": "São aceitos somente JPEG, PNG e WEBP menores de 20Mb", "valueTooShort": "O valor é muito curto", - "valueTooLong": "O valor é muito longo" + "valueTooLong": "O valor é muito longo", + "minValue": "O valor para esse campo deve ser maior que {{value}}", + "maxLength": "Por favor, entre com menos de {{chars}} caracteres", + "minLength": "Por favor, use mais que {{chars}} caracteres", + "maxValue": "O valor para esse campo deve ser menor que {{value}}" }, "cannotBeUndone": "Essa ação é irreversível.", "server": { @@ -94,7 +98,7 @@ "sz_bar": "Barra SZ", "pull_up_bar": "Puxar barra", "kettlebell": "Kettlebell", - "biceps": "Biceps", + "biceps": "Bíceps", "triceps": "Tríceps", "quads": "Quadríceps", "miles": "Milhas", @@ -125,7 +129,8 @@ "kilometers_per_hour": "Quilômetros por hora", "kg": "kg", "lb": "lb", - "plates": "Pratos" + "plates": "Pratos", + "max_reps": "Número máximo de repetições" }, "description": "Descrição", "translation": "Tradução", @@ -145,6 +150,18 @@ "routine": "Rotina", "routines": "Rotinas", "logsFilterNote": "Note que apenas entradas com uma unidade de massa de kg ou lb e repetições aparecem no gráfico. Outras combinações tais como tempo ou até falha são ignoradas aqui", - "logsHeader": "Registro de peso para treino" - } + "logsHeader": "Registro de peso para treino", + "rir": "ReR" + }, + "measurements": { + "measurements": "Medidas", + "unitFormHelpText": "A unidade de medida a ser usada para a categoria, ex. cm ou %", + "deleteInfo": "Isso vai apagar a categoria e todas as suas entradas" + }, + "deleteConfirmation": "Tem certeza que deseja deletar \"{{name}}\"?", + "seeDetails": "Ver detalhes", + "actions": "Ações", + "notes": "Notas", + "value": "Valor", + "unit": "Unidade" } diff --git a/wger/core/static/react/locales/pt_BR/translation.json b/wger/core/static/react/locales/pt_BR/translation.json new file mode 100644 index 000000000..d0e82b415 --- /dev/null +++ b/wger/core/static/react/locales/pt_BR/translation.json @@ -0,0 +1,142 @@ +{ + "routines": { + "rir": "RIR", + "routine": "Rotina", + "routines": "Rotinas", + "addDay": "Adicionar dia de treinamento", + "addWeightLog": "Adicionar registro de peso", + "logsHeader": "Registro de peso para exercícios", + "logsFilterNote": "Observe que somente as entradas com uma unidade de peso de kg ou lb e repetições são registradas; outras combinações, como tempo ou até a falha, são ignoradas aqui", + "addLogToDay": "Adicionar registro a este dia" + }, + "server": { + "glutes": "Glúteos", + "gym_mat": "Tapete de academia", + "hamstrings": "Isquiotibiais", + "abs": "Abs", + "arms": "Braços", + "back": "Voltar", + "barbell": "Barra", + "bench": "Supino", + "biceps": "Bíceps", + "calves": "Panturrilha", + "cardio": "Cardio", + "chest": "Peitoral", + "dumbbell": "Haltere", + "body_weight": "Peso corporal", + "incline_bench": "Supino inclinado", + "kg": "kg", + "none__bodyweight_exercise_": "nenhum (exercício com peso corporal)", + "lb": "lb", + "miles_per_hour": "Milhas por hora", + "kilometers_per_hour": "Kilômetros por hora", + "triceps": "Trícepes", + "kilometers": "Kilômetros", + "max_reps": "Máximo de repetições", + "seconds": "Segundos", + "shoulders": "Ombros", + "swiss_ball": "Bola de pilates", + "until_failure": "Até a falha", + "kettlebell": "Kettlebell", + "lats": "Costas", + "miles": "Milhas", + "minutes": "Minutos", + "plates": "Pesos", + "pull_up_bar": "Barra de pull-up", + "quads": "Quadríceps", + "repetitions": "Repetições", + "sz_bar": "Barra Z", + "legs": "Pernas" + }, + "forms": { + "maxLength": "Insira menos de {{chars}} caracteres", + "minValue": "O valor desse campo deve ser maior que {{value}}", + "minLength": "Insira mais de {{chars}} caracteres", + "maxValue": "O valor desse campo deve ser menor que {{value}}", + "valueTooShort": "O valor é muito pequeno", + "supportedImageFormats": "Apenas são suportados arquivos JPEG, PNG e WEBP com menos de 20Mb", + "valueTooLong": "O valor é muito longo", + "fieldRequired": "Este campo é obrigatório" + }, + "translation": "Tradução", + "name": "Nome", + "cancel": "Cancelar", + "noResults": "Sem resultados", + "measurements": { + "unitFormHelpText": "A unidade na qual a categoria será medida, como cm ou %", + "measurements": "Medições", + "deleteInfo": "Isso excluirá a categoria, bem como todas as suas entradas" + }, + "category": "Categoria", + "success": "Sucesso!", + "English": "Inglês", + "save": "Salvar", + "videos": "Vídeos", + "cannotBeUndone": "Essa ação não pode ser desfeita.", + "images": "Imagens", + "overview": "Visão geral", + "preferences": "Preferências", + "continue": "Continuar", + "goBack": "Voltar", + "language": "Linguagem", + "noResultsDescription": "Não foram encontrados resultados para essa consulta, considere a possibilidade de reduzir o número de filtros.", + "exercises": { + "notEnoughRights": "Apenas é possível contribuir com exercícios se sua conta tiver mais de {{days}} dias e você tiver verificado seu e-mail", + "notEnoughRightsHeader": "Você não pode contribuir com exercícios", + "translateExerciseNow": "Traduza este exercício agora", + "alternativeNames": "Nomes alternativos", + "identicalExercisePleaseDiscard": "Se você perceber que um exercício é idêntico ao que está adicionando, por favor, descarte o seu rascunho e edite aquele exercício em vez disso.", + "checkInformationBeforeSubmitting": "Por favor, verifique se as informações que você inseriu estão corretas antes de enviar o exercício", + "notes": "Notas", + "equipment": "Equipamento", + "submitExercise": "Enviar exercício", + "successfullyUpdated": "O exercício foi atualizado com sucesso. Devido ao armazenamento em cache, pode levar algum tempo até que as alterações sejam visíveis em toda a aplicação.", + "description": "Descrição", + "cacheWarning": "Devido ao armazenamento em cache, pode levar algum tempo até que as alterações sejam visíveis em toda a aplicação.", + "missingExerciseDescription": "Ajude a comunidade contribuindo com ele!", + "searchExerciseName": "Buscar por nome do exercício", + "newNote": "Nova nota", + "notesHelpText": "Notas são comentários curtos sobre como realizar o exercício, como \"mantenha seu corpo reto\"", + "whatVariationsExist": "Quais variações deste exercício existem, se houver alguma?", + "filterVariations": "Digite o nome do exercício para filtrar variações", + "identicalExercise": "Evite duplicar exercícios", + "basics": "Noções básicas", + "exerciseNotTranslated": "Tradução não disponível", + "alsoKnownAs": "Também conhecido como:", + "primaryMuscles": "Músculos primários", + "noEquipment": "Sem equipamento", + "missingExercise": "Falta algum exercício específico?", + "contributeExercise": "Contribua com um exercício", + "step1HeaderBasics": "Básico em Inglês", + "variations": "Variações", + "muscles": "Músculos", + "deleteExerciseBody": "Você deseja excluir o exercício \"{{name}}\"? Você pode excluir a tradução atual em {{language}} ou o exercício completo, incluindo todas as traduções, imagens, etc.", + "deleteTranslation": "Excluir tradução", + "deleteExerciseFull": "Excluir exercício completo", + "exercises": "Exercícios", + "changeExerciseLanguage": "Alterar o idioma deste exercício", + "secondaryMuscles": "Músculos secundários", + "compatibleImagesCC": "As imagens devem ser compatíveis com a licença CC BY SA. Em caso de dúvida, faça o upload apenas de fotos tiradas por você mesmo.", + "exerciseNotTranslatedBody": "Este exercício não está disponível no idioma atualmente selecionado. Você deseja contribuir com uma tradução?" + }, + "notes": "Notas", + "value": "Valor", + "unit": "Unidade", + "description": "Descrição", + "seeDetails": "Veja detalhes", + "actions": "Ações", + "difference": "Diferença", + "days": "Dias", + "loading": "Carregando...", + "nutritionalPlan": "Plano nutricional", + "addEntry": "Adicionar item", + "currentWeight": "Peso atual", + "workout": "Treino", + "delete": "Excluir", + "weight": "Peso", + "date": "Data", + "submit": "Enviar", + "edit": "Editar", + "add": "Adicionar", + "deleteConfirmation": "Tem certeza que deseja apagar \"{{name}}\"?" +} diff --git a/wger/core/static/react/locales/ta/translation.json b/wger/core/static/react/locales/ta/translation.json new file mode 100644 index 000000000..a5bcc4385 --- /dev/null +++ b/wger/core/static/react/locales/ta/translation.json @@ -0,0 +1,12 @@ +{ + "weight": "எடை", + "date": "தேதி", + "add": "சேர்", + "days": "நாட்கள்", + "currentWeight": "தற்போதைய எடை", + "workout": "பயிற்சி", + "submit": "சமர்ப்பி", + "delete": "நீக்கு", + "deleteConfirmation": "\"{{name}}\" ஐ நிச்சயமாக நீக்க விரும்புகிறீர்களா?", + "nutritionalPlan": "ஊட்டச்சத்து திட்டம்" +} diff --git a/wger/core/static/react/locales/uk/translation.json b/wger/core/static/react/locales/uk/translation.json index 2a5d65971..16cc6863a 100644 --- a/wger/core/static/react/locales/uk/translation.json +++ b/wger/core/static/react/locales/uk/translation.json @@ -105,7 +105,11 @@ "supportedImageFormats": "Підтримуються лише файли JPEG, PNG і WEBP розміром до 20 Мб", "valueTooShort": "Значення закоротке", "valueTooLong": "Значення задовге", - "fieldRequired": "Це поле є обов'язковим" + "fieldRequired": "Це поле є обов'язковим", + "maxValue": "Значення для цього поля має бути меншим за {{value}}", + "maxLength": "Будь ласка, введіть менше {{chars} символів", + "minLength": "Будь ласка, введіть більше {{chars}} символів", + "minValue": "Значення для цього поля має бути більшим за {{value}}" }, "category": "Категорія", "cancel": "Скасувати", @@ -117,7 +121,7 @@ "overview": "Огляд", "continue": "Продовжити", "goBack": "Назад", - "loading": "Завантаження...", + "loading": "Завантаження…", "success": "Успіх!", "routines": { "addDay": "Додати тренувальний день", @@ -128,5 +132,16 @@ "logsFilterNote": "Зверніть увагу, що на графіку відображаються лише записи з одиницею ваги кг або фунт і повтореннями, інші комбінації, такі як час або до відмови, тут ігноруються", "logsHeader": "Журнал реєстрації ваги для тренувань", "rir": "RiR" - } + }, + "seeDetails": "Дивітити подробиці", + "actions": "Дії", + "notes": "Нотатки", + "value": "Значення", + "unit": "Одиниця", + "measurements": { + "measurements": "Вимірювання", + "unitFormHelpText": "Одиниця, в якій буде вимірюватися категорія, наприклад, см або %", + "deleteInfo": "Це призведе до видалення категорії та всіх її записів" + }, + "deleteConfirmation": "Ви дійсно хочете видалити \"{{name}}\"?" } diff --git a/wger/core/static/react/locales/zh_Hans/translation.json b/wger/core/static/react/locales/zh_Hans/translation.json index bd6d284b9..1bd1391e4 100644 --- a/wger/core/static/react/locales/zh_Hans/translation.json +++ b/wger/core/static/react/locales/zh_Hans/translation.json @@ -18,7 +18,7 @@ "alsoKnownAs": "也被称为:", "notes": "注", "description": "描述", - "contributeExercise": "贡献一个新动作", + "contributeExercise": "添加一个新动作", "exercises": "动作", "missingExercise": "缺少某项动作?", "missingExerciseDescription": "通过添加贡献来帮助社区!", @@ -53,5 +53,7 @@ }, "noResults": "无结果", "noResultsDescription": "找不到此查询的结果,请考虑减少过滤器的数量。", - "loading": "加载中..." + "loading": "加载中…", + "deleteConfirmation": "你确定要删除 \"{{name}}\"吗?", + "seeDetails": "查看详情" } diff --git a/wger/core/static/react/main.css b/wger/core/static/react/main.css index ba43b51b3..d7d386896 100644 --- a/wger/core/static/react/main.css +++ b/wger/core/static/react/main.css @@ -1 +1 @@ -body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Open Sans Light,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.rsw-editor{border:1px solid #ddd;border-radius:.375rem;display:flex;flex-direction:column;min-height:100px;overflow:hidden}.rsw-ce{flex:1 0 auto;outline:none;padding:.5rem}.rsw-ce[contentEditable=true]:empty:not(:focus):before{color:grey;content:attr(placeholder)}.rsw-html{background:transparent;border:none;font-family:monospace,Courier New}.rsw-separator{align-self:stretch;border-right:1px solid #ddd;display:flex;margin:0 3px}.rsw-dd{box-sizing:border-box;outline:none}.rsw-btn{background:transparent;border:0;color:#222;cursor:pointer;font-size:1em;height:2em;outline:none;padding:0;width:2em}.rsw-btn:hover{background:#eaeaea}.rsw-btn[data-active=true]{background:#e0e0e0}.rsw-toolbar{align-items:center;background-color:#f5f5f5;border-bottom:1px solid #ddd;display:flex}.body_weight_root__pGxIc{margin:2rem}.body_weight_root__pGxIc .body_weight_chart__MUFiK{margin:2rem 0}.carousel_carousel__78L64{margin:2rem 0;overflow:hidden}@media screen and (min-width:700px){.carousel_carousel__78L64{display:none}}.carousel_carousel__78L64 .carousel_inner__09mhf{transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;white-space:nowrap}.carousel_carousel_item__U6uha{align-items:center;background-color:#7795bd;border-radius:10px;color:#fff;display:inline-flex;height:200px;justify-content:center}.carousel_indicators__iSt9U{display:flex;justify-content:center}.carousel_indicators__iSt9U>button{background-color:#2a4c7d;border:none;border-radius:50%;color:#fff;cursor:pointer;margin:5px}.carousel_indicators__iSt9U>button.carousel_active__B8b\+W{background-color:green;color:#fff}.footer_mobileFooter__-A0Hf{background-color:#3a3a3a;color:#fff;padding:.5rem 2rem}@media screen and (min-width:700px){.footer_mobileFooter__-A0Hf{display:none}}.footer_mobileFooter__-A0Hf a{color:inherit;text-decoration:none}.footer_mobileFooter__-A0Hf a:hover{font-weight:900}.footer_mobileFooter__-A0Hf .footer_external_links__-Fswx .footer_mobileFooter__link__WVTGl{display:block;margin:1rem 0}.footer_mobileFooter__-A0Hf .footer_social_logo__N\+PWT{color:#fff;cursor:pointer;margin:0 2rem}.footer_mobileFooter__-A0Hf .footer_mobileFooter__tools__5JHK8{margin-top:2rem}.footer_mobileFooter__-A0Hf .footer_mobileFooter__tools__5JHK8 .footer_mobileFooter__language__EF5IV{align-items:center;border:1px solid #fff;border-radius:10px;display:flex;gap:1rem;margin:auto;padding:1rem 2rem;width:20%}.footer_mobileFooter__-A0Hf .footer_mobileFooter__tools__5JHK8 .footer_mobileFooter__playstore__kPBox img{height:100px;width:200px}.footer_footer__R1A6a{background-color:#3a3a3a;color:#fff;padding:.5rem 2rem}@media screen and (min-width:1200px){.footer_footer__R1A6a{padding:1rem 10rem}}@media screen and (max-width:700px){.footer_footer__R1A6a{display:none}}.footer_footer__R1A6a a{color:inherit;text-decoration:none}.footer_footer__R1A6a a:hover{font-weight:900}.footer_footer__R1A6a .footer_footer__links__AMDlP{display:flex;justify-content:space-between;text-align:left}.footer_footer__R1A6a .footer_footer__links__AMDlP a{display:block;margin:1rem 0}.footer_footer__R1A6a .footer_footer__tools__gpY1A{display:flex;justify-content:space-between;margin:2rem 0}.footer_footer__R1A6a .footer_footer__tools__gpY1A .footer_footer__language__Aqqt6{align-items:center;border:1px solid #fff;border-radius:10px;display:flex;padding:0 1rem}.footer_footer__R1A6a .footer_footer__tools__gpY1A .footer_footer__playstore__Rgm3R{height:15%;width:15%}.footer_footer__R1A6a .footer_footer__tools__gpY1A .footer_footer__playstore__Rgm3R img{height:100%;width:100%}.footer_footer__R1A6a .footer_logo_wrapper__-QvEe{text-align:left}.footer_logo__FlWYo{align-items:center;display:flex;gap:10px;width:8%}.footer_logo__FlWYo span{font-size:2rem;font-weight:900}.footer_logo__FlWYo img{width:100%}@media screen and (min-width:700px){.footer_logo__FlWYo{width:5%}}.mobile_link_root__fK6tV .mobile_link_arrow__8Lf8r{cursor:pointer;height:5%;width:5%}.mobile_link_root__fK6tV .mobile_link_arrow__8Lf8r:hover{color:#bcc6cf}.mobile_link_root__fK6tV .mobile_link_mobileFooter__linksTitle__wawRe{align-items:center;display:flex;justify-content:space-between}.mobile_link_root__fK6tV .mobile_link_mobileFooter__links__V9UdH{transition:all .5s ease-in-out}.mobile_link_root__fK6tV .mobile_link_mobileFooter__links__V9UdH a{display:block;margin:1rem 0}.notifications_notification__c20Ps{position:fixed;right:5%;top:5%;width:20%}.head_root__hrAjs{background-color:#f8f8f8;padding:1rem}.head_root__hrAjs .head_detail_language__zyrGS{align-items:flex-start;display:flex;justify-content:space-between}.head_root__hrAjs .head_detail_language__zyrGS .head_detail__G\+UD-{display:none}.head_root__hrAjs .head_detail_language__zyrGS .head_detail__G\+UD- a{color:#283c5c;text-decoration:none}.head_root__hrAjs .head_detail_language__zyrGS .head_detail__G\+UD- a:hover{color:#111}@media screen and (min-width:700px){.head_root__hrAjs .head_detail_language__zyrGS .head_detail__G\+UD-{display:block}}.head_root__hrAjs .head_detail_language__zyrGS .head_detail_arrow__g09jQ{border-radius:50%;cursor:pointer;height:25px;width:25px}.head_root__hrAjs .head_detail_language__zyrGS .head_detail_arrow__g09jQ:hover{background-color:#fff}@media screen and (min-width:700px){.head_root__hrAjs .head_detail_language__zyrGS .head_detail_arrow__g09jQ{display:none}}.head_root__hrAjs .head_detail_language__zyrGS .head_languages__tyiRe{position:relative}.head_root__hrAjs .head_detail_language__zyrGS .head_languages__tyiRe .head_language__HmaGH{align-items:flex-end;border-radius:.5rem;display:flex;gap:2rem}@media screen and (min-width:700px){.head_root__hrAjs .head_detail_language__zyrGS .head_languages__tyiRe .head_language__HmaGH{background-color:#e4e4e4;border-radius:.5rem;padding:.5rem 1rem}}.head_root__hrAjs .head_detail_language__zyrGS .head_languages__tyiRe .head_language_menu__PC4G9{background-color:#fff;border:1px solid #979797;border-radius:10px;left:-3rem;padding:0 1rem;position:absolute;text-align:left;top:3rem}.head_root__hrAjs .head_detail_language__zyrGS .head_languages__tyiRe .head_language_menu__PC4G9 span{color:#5e5e5e;text-transform:uppercase}.head_root__hrAjs .head_header__AqjJf{display:flex;justify-content:space-between}.head_root__hrAjs .head_header__AqjJf .head_toolbar__2iPfT{display:none}@media screen and (min-width:700px){.head_root__hrAjs .head_header__AqjJf .head_toolbar__2iPfT{align-items:center;align-self:flex-end;display:flex;justify-content:center}}.head_root__hrAjs .head_header__AqjJf .head_toolbar__2iPfT img{cursor:pointer;height:25px;width:25px}.head_dots__ZJyCU{cursor:pointer;height:20px;width:20px} \ No newline at end of file +.head_root__hrAjs{background-color:#f8f8f8;padding:1rem}.head_root__hrAjs .head_detail_language__zyrGS{align-items:flex-start;display:flex;justify-content:space-between}.head_root__hrAjs .head_detail_language__zyrGS .head_detail__G\+UD-{display:none}.head_root__hrAjs .head_detail_language__zyrGS .head_detail__G\+UD- a{color:#283c5c;text-decoration:none}.head_root__hrAjs .head_detail_language__zyrGS .head_detail__G\+UD- a:hover{color:#111}@media screen and (min-width:700px){.head_root__hrAjs .head_detail_language__zyrGS .head_detail__G\+UD-{display:block}}.head_root__hrAjs .head_detail_language__zyrGS .head_detail_arrow__g09jQ{border-radius:50%;cursor:pointer;height:25px;width:25px}.head_root__hrAjs .head_detail_language__zyrGS .head_detail_arrow__g09jQ:hover{background-color:#fff}@media screen and (min-width:700px){.head_root__hrAjs .head_detail_language__zyrGS .head_detail_arrow__g09jQ{display:none}}.head_root__hrAjs .head_detail_language__zyrGS .head_languages__tyiRe{position:relative}.head_root__hrAjs .head_detail_language__zyrGS .head_languages__tyiRe .head_language__HmaGH{align-items:flex-end;border-radius:.5rem;display:flex;gap:2rem}@media screen and (min-width:700px){.head_root__hrAjs .head_detail_language__zyrGS .head_languages__tyiRe .head_language__HmaGH{background-color:#e4e4e4;border-radius:.5rem;padding:.5rem 1rem}}.head_root__hrAjs .head_detail_language__zyrGS .head_languages__tyiRe .head_language_menu__PC4G9{background-color:#fff;border:1px solid #979797;border-radius:10px;left:-3rem;padding:0 1rem;position:absolute;text-align:left;top:3rem}.head_root__hrAjs .head_detail_language__zyrGS .head_languages__tyiRe .head_language_menu__PC4G9 span{color:#5e5e5e;text-transform:uppercase}.head_root__hrAjs .head_header__AqjJf{display:flex;justify-content:space-between}.head_root__hrAjs .head_header__AqjJf .head_toolbar__2iPfT{display:none}@media screen and (min-width:700px){.head_root__hrAjs .head_header__AqjJf .head_toolbar__2iPfT{align-items:center;align-self:flex-end;display:flex;justify-content:center}}.head_root__hrAjs .head_header__AqjJf .head_toolbar__2iPfT img{cursor:pointer;height:25px;width:25px}.head_dots__ZJyCU{cursor:pointer;height:20px;width:20px}.body_weight_root__pGxIc{margin:2rem}.body_weight_root__pGxIc .body_weight_chart__MUFiK{margin:2rem 0}.carousel_carousel__78L64{margin:2rem 0;overflow:hidden}@media screen and (min-width:700px){.carousel_carousel__78L64{display:none}}.carousel_carousel__78L64 .carousel_inner__09mhf{transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;white-space:nowrap}.carousel_carousel_item__U6uha{align-items:center;background-color:#7795bd;border-radius:10px;color:#fff;display:inline-flex;height:200px;justify-content:center}.carousel_indicators__iSt9U{display:flex;justify-content:center}.carousel_indicators__iSt9U>button{background-color:#2a4c7d;border:none;border-radius:50%;color:#fff;cursor:pointer;margin:5px}.carousel_indicators__iSt9U>button.carousel_active__B8b\+W{background-color:green;color:#fff}.notifications_notification__c20Ps{position:fixed;right:5%;top:5%;width:20%}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Open Sans Light,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.rsw-editor{border:1px solid #ddd;border-radius:.375rem;display:flex;flex-direction:column;min-height:100px;overflow:hidden}.rsw-ce{flex:1 0 auto;outline:none;padding:.5rem}.rsw-ce[contentEditable=true]:empty:not(:focus):before{color:grey;content:attr(placeholder)}.rsw-html{background:transparent;border:none;font-family:monospace,Courier New}.rsw-separator{align-self:stretch;border-right:1px solid #ddd;display:flex;margin:0 3px}.rsw-dd{box-sizing:border-box;outline:none}.rsw-btn{background:transparent;border:0;color:#222;cursor:pointer;font-size:1em;height:2em;outline:none;padding:0;width:2em}.rsw-btn:hover{background:#eaeaea}.rsw-btn[data-active=true]{background:#e0e0e0}.rsw-toolbar{align-items:center;background-color:#f5f5f5;border-bottom:1px solid #ddd;display:flex} \ No newline at end of file diff --git a/wger/core/static/react/main.js b/wger/core/static/react/main.js index f99782f04..a02b6a893 100644 --- a/wger/core/static/react/main.js +++ b/wger/core/static/react/main.js @@ -1,2 +1,2 @@ -/*! For license information please see main.c2ae6c2d.js.LICENSE.txt */ -!function(){var e={5296:function(e,t,n){"use strict";n.d(t,{Z:function(){return oe}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?c(x,--y):0,m--,10===b&&(m=1,v--),b}function C(){return b=y2||Z(b)>3?"":" "}function I(e,t){for(;--t&&C()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return j(e,O()+(t<6&&32==E()&&32==C()))}function A(e){for(;C();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&A(b);break;case 40:41===e&&A(e);break;case 92:C()}return y}function _(e,t){for(;C()&&e+b!==57&&(e+b!==84||47!==E()););return"/*"+j(t,y-1)+"*"+i(47===e?e:C())}function N(e){for(;!Z(E());)C();return j(e,y)}var D="-ms-",F="-moz-",L="-webkit-",z="comm",B="rule",V="decl",H="@keyframes";function U(e,t){for(var n="",r=p(e),o=0;o0&&f(F)-g&&h(b>32?Y(F+";",r,n,g-1):Y(s(F," ","")+";",r,n,g-2),p);break;case 59:F+=";";default:if(h(D=K(F,t,n,v,m,o,d,P,M=[],A=[],g),a),123===Z)if(0===m)G(F,t,D,D,M,a,g,d,A);else switch(99===y&&110===c(F,3)?100:y){case 100:case 108:case 109:case 115:G(e,D,D,r&&h(K(e,D,D,0,0,o,d,P,o,M=[],g),A),o,A,g,d,r?M:A);break;default:G(F,D,D,D,[""],A,0,d,A)}}v=m=b=0,w=j=1,P=F="",g=l;break;case 58:g=1+f(F),b=x;default:if(w<1)if(123==Z)--w;else if(125==Z&&0==w++&&125==S())continue;switch(F+=i(Z),Z*w){case 38:j=m>0?1:(F+="\f",-1);break;case 44:d[v++]=(f(F)-1)*j,j=1;break;case 64:45===E()&&(F+=R(C())),y=E(),m=g=f(P=F+=N(O())),Z++;break;case 45:45===x&&2==f(F)&&(w=0)}}return a}function K(e,t,n,r,i,a,u,c,f,h,v){for(var m=i-1,g=0===i?a:[""],y=p(g),b=0,x=0,k=0;b0?g[S]+" "+C:s(C,/&\f/g,g[S])))&&(f[k++]=E);return w(e,t,n,0===i?B:c,f,h,v)}function $(e,t,n){return w(e,t,n,z,i(b),d(e,2,-2),0)}function Y(e,t,n,r){return w(e,t,n,V,d(e,0,r),d(e,r+1,-1),r)}var Q=function(e,t,n){for(var r=0,o=0;r=o,o=E(),38===r&&12===o&&(t[n]=1),!Z(o);)C();return j(e,y)},J=function(e,t){return M(function(e,t){var n=-1,r=44;do{switch(Z(r)){case 0:38===r&&12===E()&&(t[n]=1),e[n]+=Q(y-1,t,n);break;case 2:e[n]+=R(r);break;case 4:if(44===r){e[++n]=58===E()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=C());return e}(P(e),t))},X=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||X.get(n))&&!r){X.set(e,!0);for(var o=[],i=J(t,o),a=n.props,l=0,s=0;l6)switch(c(e,t+1)){case 109:if(45!==c(e,t+4))break;case 102:return s(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1-moz-"+(108==c(e,t+3)?"$3":"$2-$3"))+e;case 115:return~u(e,"stretch")?ne(s(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==c(e,t+1))break;case 6444:switch(c(e,f(e)-3-(~u(e,"!important")&&10))){case 107:return s(e,":",":-webkit-")+e;case 101:return s(e,/(.+:)([^;!]+)(;|!.+)?/,"$1-webkit-"+(45===c(e,14)?"inline-":"")+"box$3$1"+"-webkit-$2$3$1"+"-ms-$2box$3")+e}break;case 5936:switch(c(e,t+11)){case 114:return L+e+D+s(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return L+e+D+s(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return L+e+D+s(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return L+e+D+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case V:e.return=ne(e.value,e.length);break;case H:return U([k(e,{value:s(e.value,"@","@-webkit-")})],r);case B:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return U([k(e,{props:[s(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return U([k(e,{props:[s(t,/:(plac\w+)/,":-webkit-input-$1")]}),k(e,{props:[s(t,/:(plac\w+)/,":-moz-$1")]}),k(e,{props:[s(t,/:(plac\w+)/,"-ms-input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||re;var i,a,l={},s=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:u,styles:o,next:f}}},5696:function(e,t,n){"use strict";var r;n.d(t,{L:function(){return a},j:function(){return l}});var o=n(7313),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,a=i||function(e){return e()},l=i||o.useLayoutEffect},4911:function(e,t,n){"use strict";n.d(t,{My:function(){return i},fp:function(){return r},hC:function(){return o}});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},5211:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");t.Z=a},4516:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z"}),"AddCircle");t.Z=a},4406:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");t.Z=a},6713:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"}),"ArrowForwardIos");t.Z=a},2625:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)([(0,i.jsx)("circle",{cx:"12",cy:"12",r:"3.2"},"0"),(0,i.jsx)("path",{d:"M9 2 7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5z"},"1")],"CameraAlt");t.Z=a},4045:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");t.Z=a},1198:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");t.Z=a},429:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4 2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"}),"Collections");t.Z=a},1997:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");t.Z=a},6217:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM8 9h8v10H8V9zm7.5-5-1-1h-5l-1 1H5v2h14V4z"}),"DeleteOutline");t.Z=a},4615:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z"}),"DeleteOutlined");t.Z=a},5954:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");t.Z=a},6306:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");t.Z=a},7196:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"InfoOutlined");t.Z=a},3997:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreVert");t.Z=a},9018:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext");t.Z=a},3187:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"}),"Photo");t.Z=a},7710:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"}),"Redo");t.Z=a},3121:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z"}),"Save");t.Z=a},7983:function(e,t,n){"use strict";var r=n(4836);t.Z=void 0;var o=r(n(5045)),i=n(6417),a=(0,o.default)((0,i.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");t.Z=a},5045:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(6415)},210:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(7462),o=n(3366),i=n(7313),a=n(3061),l=n(1921),s=n(1615),u=n(7342),c=n(7592),d=n(7430),f=n(2298);function p(e){return(0,f.Z)("MuiSvgIcon",e)}(0,d.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var h=n(6417),v=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],m=(0,c.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"inherit"!==n.color&&t["color".concat((0,s.Z)(n.color))],t["fontSize".concat((0,s.Z)(n.fontSize))]]}})((function(e){var t,n,r,o,i,a,l,s,u,c,d,f,p,h,v,m,g,y=e.theme,b=e.ownerState;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:b.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(t=y.transitions)||null==(n=t.create)?void 0:n.call(t,"fill",{duration:null==(r=y.transitions)||null==(o=r.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=y.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(l=y.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(u=y.typography)||null==(c=u.pxToRem)?void 0:c.call(u,35))||"2.1875rem"}[b.fontSize],color:null!=(d=null==(f=(y.vars||y).palette)||null==(p=f[b.color])?void 0:p.main)?d:{action:null==(h=(y.vars||y).palette)||null==(v=h.action)?void 0:v.active,disabled:null==(m=(y.vars||y).palette)||null==(g=m.action)?void 0:g.disabled,inherit:void 0}[b.color]}})),g=i.forwardRef((function(e,t){var n=(0,u.Z)({props:e,name:"MuiSvgIcon"}),c=n.children,d=n.className,f=n.color,g=void 0===f?"inherit":f,y=n.component,b=void 0===y?"svg":y,x=n.fontSize,w=void 0===x?"medium":x,k=n.htmlColor,S=n.inheritViewBox,C=void 0!==S&&S,E=n.titleAccess,O=n.viewBox,j=void 0===O?"0 0 24 24":O,Z=(0,o.Z)(n,v),P=i.isValidElement(c)&&"svg"===c.type,M=(0,r.Z)({},n,{color:g,component:b,fontSize:w,instanceFontSize:e.fontSize,inheritViewBox:C,viewBox:j,hasSvgAsChild:P}),R={};C||(R.viewBox=j);var T=function(e){var t=e.color,n=e.fontSize,r=e.classes,o={root:["root","inherit"!==t&&"color".concat((0,s.Z)(t)),"fontSize".concat((0,s.Z)(n))]};return(0,l.Z)(o,p,r)}(M);return(0,h.jsxs)(m,(0,r.Z)({as:b,className:(0,a.Z)(T.root,d),focusable:"false",color:k,"aria-hidden":!E||void 0,role:E?"img":void 0,ref:t},R,Z,P&&c.props,{ownerState:M,children:[P?c.props.children:c,E?(0,h.jsx)("title",{children:E}):null]}))}));g.muiName="SvgIcon";var y=g},7458:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var r=n(7462),o=n(3366),i=n(7219),a=n(3019),l=n(5318),s=n(3232),u=n(3649),c=n(4942);function d(e,t){var n;return(0,r.Z)({toolbar:(n={minHeight:56},(0,c.Z)(n,e.up("xs"),{"@media (orientation: landscape)":{minHeight:48}}),(0,c.Z)(n,e.up("sm"),{minHeight:64}),n)},t)}var f=n(7551),p={black:"#000",white:"#fff"},h={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},v={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},m={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},g={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},y={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},b={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},x={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},w=["mode","contrastThreshold","tonalOffset"],k={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:p.white,default:p.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},S={text:{primary:p.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:p.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function C(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,f.$n)(e.main,o):"dark"===t&&(e.dark=(0,f._j)(e.main,i)))}function E(e){var t=e.mode,n=void 0===t?"light":t,l=e.contrastThreshold,s=void 0===l?3:l,u=e.tonalOffset,c=void 0===u?.2:u,d=(0,o.Z)(e,w),E=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:y[200],light:y[50],dark:y[400]}:{main:y[700],light:y[400],dark:y[800]}}(n),O=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v[200],light:v[50],dark:v[400]}:{main:v[500],light:v[300],dark:v[700]}}(n),j=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m[500],light:m[300],dark:m[700]}:{main:m[700],light:m[400],dark:m[800]}}(n),Z=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:b[400],light:b[300],dark:b[700]}:{main:b[700],light:b[500],dark:b[900]}}(n),P=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:x[400],light:x[300],dark:x[700]}:{main:x[800],light:x[500],dark:x[900]}}(n),M=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[400],light:g[300],dark:g[700]}:{main:"#ed6c02",light:g[500],dark:g[900]}}(n);function R(e){return(0,f.mi)(e,S.text.primary)>=s?S.text.primary:k.text.primary}var T=function(e){var t=e.color,n=e.name,o=e.mainShade,a=void 0===o?500:o,l=e.lightShade,s=void 0===l?300:l,u=e.darkShade,d=void 0===u?700:u;if(!(t=(0,r.Z)({},t)).main&&t[a]&&(t.main=t[a]),!t.hasOwnProperty("main"))throw new Error((0,i.Z)(11,n?" (".concat(n,")"):"",a));if("string"!==typeof t.main)throw new Error((0,i.Z)(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return C(t,"light",s,c),C(t,"dark",d,c),t.contrastText||(t.contrastText=R(t.main)),t},I={dark:S,light:k};return(0,a.Z)((0,r.Z)({common:(0,r.Z)({},p),mode:n,primary:T({color:E,name:"primary"}),secondary:T({color:O,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:T({color:j,name:"error"}),warning:T({color:M,name:"warning"}),info:T({color:Z,name:"info"}),success:T({color:P,name:"success"}),grey:h,contrastThreshold:s,getContrastText:R,augmentColor:T,tonalOffset:c},I[n]),d)}var O=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var j={textTransform:"uppercase"},Z='"Roboto", "Helvetica", "Arial", sans-serif';function P(e,t){var n="function"===typeof t?t(e):t,i=n.fontFamily,l=void 0===i?Z:i,s=n.fontSize,u=void 0===s?14:s,c=n.fontWeightLight,d=void 0===c?300:c,f=n.fontWeightRegular,p=void 0===f?400:f,h=n.fontWeightMedium,v=void 0===h?500:h,m=n.fontWeightBold,g=void 0===m?700:m,y=n.htmlFontSize,b=void 0===y?16:y,x=n.allVariants,w=n.pxToRem,k=(0,o.Z)(n,O);var S=u/14,C=w||function(e){return"".concat(e/b*S,"rem")},E=function(e,t,n,o,i){return(0,r.Z)({fontFamily:l,fontWeight:e,fontSize:C(t),lineHeight:n},l===Z?{letterSpacing:"".concat((a=o/t,Math.round(1e5*a)/1e5),"em")}:{},i,x);var a},P={h1:E(d,96,1.167,-1.5),h2:E(d,60,1.2,-.5),h3:E(p,48,1.167,0),h4:E(p,34,1.235,.25),h5:E(p,24,1.334,0),h6:E(v,20,1.6,.15),subtitle1:E(p,16,1.75,.15),subtitle2:E(v,14,1.57,.1),body1:E(p,16,1.5,.15),body2:E(p,14,1.43,.15),button:E(v,14,1.75,.4,j),caption:E(p,12,1.66,.4),overline:E(p,12,2.66,1,j),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.Z)((0,r.Z)({htmlFontSize:b,pxToRem:C,fontFamily:l,fontSize:u,fontWeightLight:d,fontWeightRegular:p,fontWeightMedium:v,fontWeightBold:g},P),k,{clone:!1})}function M(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var R=["none",M(0,2,1,-1,0,1,1,0,0,1,3,0),M(0,3,1,-2,0,2,2,0,0,1,5,0),M(0,3,3,-2,0,3,4,0,0,1,8,0),M(0,2,4,-1,0,4,5,0,0,1,10,0),M(0,3,5,-1,0,5,8,0,0,1,14,0),M(0,3,5,-1,0,6,10,0,0,1,18,0),M(0,4,5,-2,0,7,10,1,0,2,16,1),M(0,5,5,-3,0,8,10,1,0,3,14,2),M(0,5,6,-3,0,9,12,1,0,3,16,2),M(0,6,6,-3,0,10,14,1,0,4,18,3),M(0,6,7,-4,0,11,15,1,0,4,20,3),M(0,7,8,-4,0,12,17,2,0,5,22,4),M(0,7,8,-4,0,13,19,2,0,5,24,4),M(0,7,9,-4,0,14,21,2,0,5,26,4),M(0,8,9,-5,0,15,22,2,0,6,28,5),M(0,8,10,-5,0,16,24,2,0,6,30,5),M(0,8,11,-5,0,17,26,2,0,6,32,5),M(0,9,11,-5,0,18,28,2,0,7,34,6),M(0,9,12,-6,0,19,29,2,0,7,36,6),M(0,10,13,-6,0,20,31,3,0,8,38,7),M(0,10,13,-6,0,21,33,3,0,8,40,7),M(0,10,14,-6,0,22,35,3,0,8,42,7),M(0,11,14,-7,0,23,36,3,0,9,44,8),M(0,11,15,-7,0,24,38,3,0,9,46,8)],T=n(5829),I={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},A=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function _(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mixins,n=void 0===t?{}:t,c=e.palette,f=void 0===c?{}:c,p=e.transitions,h=void 0===p?{}:p,v=e.typography,m=void 0===v?{}:v,g=(0,o.Z)(e,A);if(e.vars)throw new Error((0,i.Z)(18));var y=E(f),b=(0,l.Z)(e),x=(0,a.Z)(b,{mixins:d(b.breakpoints,n),palette:y,shadows:R.slice(),typography:P(y,m),transitions:(0,T.ZP)(h),zIndex:(0,r.Z)({},I)});x=(0,a.Z)(x,g);for(var w=arguments.length,k=new Array(w>1?w-1:0),S=1;S0&&void 0!==arguments[0]?arguments[0]:["all"],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o.duration,l=void 0===a?n.standard:a,u=o.easing,c=void 0===u?t.easeInOut:u,d=o.delay,f=void 0===d?0:d;(0,r.Z)(o,i);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof l?l:s(l)," ").concat(c," ").concat("string"===typeof f?f:s(f))})).join(",")}},e,{easing:t,duration:n})}},2248:function(e,t,n){"use strict";var r=(0,n(7458).Z)();t.Z=r},2951:function(e,t){"use strict";t.Z="$$material"},7592:function(e,t,n){"use strict";n.d(t,{Dz:function(){return l},FO:function(){return a}});var r=n(6541),o=n(2248),i=n(2951),a=function(e){return(0,r.x9)(e)&&"classes"!==e},l=r.x9,s=(0,r.ZP)({themeId:i.Z,defaultTheme:o.Z,rootShouldForwardProp:a});t.ZP=s},7342:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(4614),o=n(2248),i=n(2951);function a(e){var t=e.props,n=e.name;return(0,r.Z)({props:t,name:n,defaultTheme:o.Z,themeId:i.Z})}},1615:function(e,t,n){"use strict";var r=n(8831);t.Z=r.Z},4750:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(7462),o=n(7313),i=n(210),a=n(6417);function l(e,t){function n(n,o){return(0,a.jsx)(i.Z,(0,r.Z)({"data-testid":"".concat(t,"Icon"),ref:o},n,{children:e}))}return n.muiName=i.Z.muiName,o.memo(o.forwardRef(n))}},8706:function(e,t,n){"use strict";var r=n(1636);t.Z=r.Z},6415:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return o.Z},createChainedFunction:function(){return i},createSvgIcon:function(){return a.Z},debounce:function(){return l.Z},deprecatedPropType:function(){return s},isMuiElement:function(){return u.Z},ownerDocument:function(){return c.Z},ownerWindow:function(){return d.Z},requirePropFactory:function(){return f},setRef:function(){return p},unstable_ClassNameGenerator:function(){return w},unstable_useEnhancedEffect:function(){return h.Z},unstable_useId:function(){return v.Z},unsupportedProp:function(){return m},useControlled:function(){return g.Z},useEventCallback:function(){return y.Z},useForkRef:function(){return b.Z},useIsFocusVisible:function(){return x.Z}});var r=n(1271),o=n(1615),i=n(4246).Z,a=n(4750),l=n(8706);var s=function(e,t){return function(){return null}},u=n(7816),c=n(6106),d=n(3533);n(7462);var f=function(e,t){return function(){return null}},p=n(9265).Z,h=n(4993),v=n(7677);var m=function(e,t,n,r,o){return null},g=n(3800),y=n(3236),b=n(6983),x=n(9127),w={configure:function(e){r.Z.configure(e)}}},7816:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7313);var o=function(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},6106:function(e,t,n){"use strict";var r=n(2504);t.Z=r.Z},3533:function(e,t,n){"use strict";var r=n(8929);t.Z=r.Z},3800:function(e,t,n){"use strict";var r=n(5422);t.Z=r.Z},4993:function(e,t,n){"use strict";var r=n(5094);t.Z=r.Z},3236:function(e,t,n){"use strict";var r=n(6182);t.Z=r.Z},6983:function(e,t,n){"use strict";var r=n(1577);t.Z=r.Z},7677:function(e,t,n){"use strict";var r=n(8334);t.Z=r.Z},9127:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r,o=n(7313),i=!0,a=!1,l={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function s(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function u(){i=!1}function c(){"hidden"===this.visibilityState&&a&&(i=!0)}function d(e){var t=e.target;try{return t.matches(":focus-visible")}catch(n){}return i||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!l[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}var f=function(){var e=o.useCallback((function(e){var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",s,!0),t.addEventListener("mousedown",u,!0),t.addEventListener("pointerdown",u,!0),t.addEventListener("touchstart",u,!0),t.addEventListener("visibilitychange",c,!0))}),[]),t=o.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!d(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,window.clearTimeout(r),r=window.setTimeout((function(){a=!1}),100),t.current=!1,!0)},ref:e}}},4472:function(e,t,n){"use strict";n.d(t,{ZP:function(){return y},Co:function(){return b}});var r=n(7462),o=n(7313),i=n(1816),a=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,l=(0,i.Z)((function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),s=n(3346),u=n(4911),c=n(1086),d=n(5696),f=l,p=function(e){return"theme"!==e},h=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?f:p},v=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},m=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,u.hC)(t,n,r),(0,d.L)((function(){return(0,u.My)(t,n,r)})),null},g=function e(t,n){var i,a,l=t.__emotion_real===t,d=l&&t.__emotion_base||t;void 0!==n&&(i=n.label,a=n.target);var f=v(t,n,l),p=f||h(d),g=!p("as");return function(){var y=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{0,b.push(y[0][0]);for(var x=y.length,w=1;w0&&void 0!==arguments[0]?arguments[0]:{},n=null==(e=t.keys)?void 0:e.reduce((function(e,n){return e[t.up(n)]={},e}),{});return n||{}}function s(e,t){return e.reduce((function(e,t){var n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function u(e){for(var t=l(e),n=arguments.length,o=new Array(n>1?n-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.slice(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.Z)(9,e));var o,a=e.substring(t+1,e.length-1);if("color"===n){if(o=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,r.Z)(10,o))}else a=a.split(",");return{type:n,values:a=a.map((function(e){return parseFloat(e)})),colorSpace:o}}function a(e){var t=e.type,n=e.colorSpace,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==t.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function l(e){var t="hsl"===(e=i(e)).type||"hsla"===e.type?i(function(e){var t=(e=i(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,l=r*Math.min(o,1-o),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-l*Math.max(Math.min(t-3,9-t,1),-1)},u="rgb",c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),a({type:u,values:c})}(e)).values:e.values;return t=t.map((function(t){return"color"!==e.type&&(t/=255),t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function s(e,t){var n=l(e),r=l(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e,t){return e=i(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,a(e)}function c(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function d(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(var r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return a(e)}},6541:function(e,t,n){"use strict";n.d(t,{ZP:function(){return k},x9:function(){return b}});var r=n(3433),o=n(9439),i=n(3366),a=n(7462),l=n(4472),s=n(5318),u=n(8831),c=["variant"];function d(e){return 0===e.length}function f(e){var t=e.variant,n=(0,i.Z)(e,c),r=t||"";return Object.keys(n).sort().forEach((function(t){r+="color"===t?d(r)?e[t]:(0,u.Z)(e[t]):"".concat(d(r)?t:(0,u.Z)(t)).concat((0,u.Z)(e[t].toString()))})),r}var p=n(3649),h=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function v(e){return"string"===typeof e&&e.charCodeAt(0)>96}var m=function(e,t){return t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null},g=function(e,t){var n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);var r={};return n.forEach((function(e){var t=f(e.props);r[t]=e.style})),r},y=function(e,t,n,r){var o,i,a=e.ownerState,l=void 0===a?{}:a,s=[],u=null==n||null==(o=n.components)||null==(i=o[r])?void 0:i.variants;return u&&u.forEach((function(n){var r=!0;Object.keys(n.props).forEach((function(t){l[t]!==n.props[t]&&e[t]!==n.props[t]&&(r=!1)})),r&&s.push(t[f(n.props)])})),s};function b(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}var x=(0,s.Z)();function w(e){var t,n=e.defaultTheme,r=e.theme,o=e.themeId;return t=r,0===Object.keys(t).length?n:r[o]||r}function k(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.themeId,n=e.defaultTheme,s=void 0===n?x:n,u=e.rootShouldForwardProp,c=void 0===u?b:u,d=e.slotShouldForwardProp,f=void 0===d?b:d,k=function(e){return(0,p.Z)((0,a.Z)({},e,{theme:w((0,a.Z)({},e,{defaultTheme:s,themeId:t}))}))};return k.__mui_systemSx=!0,function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,l.Co)(e,(function(e){return e.filter((function(e){return!(null!=e&&e.__mui_systemSx)}))}));var u,d=n.name,p=n.slot,x=n.skipVariantsResolver,S=n.skipSx,C=n.overridesResolver,E=(0,i.Z)(n,h),O=void 0!==x?x:p&&"Root"!==p||!1,j=S||!1;var Z=b;"Root"===p?Z=c:p?Z=f:v(e)&&(Z=void 0);var P=(0,l.ZP)(e,(0,a.Z)({shouldForwardProp:Z,label:u},E)),M=function(n){for(var i=arguments.length,l=new Array(i>1?i-1:0),u=1;u0){var h=new Array(p).fill("");(f=[].concat((0,r.Z)(n),(0,r.Z)(h))).raw=[].concat((0,r.Z)(n.raw),(0,r.Z)(h))}else"function"===typeof n&&n.__emotion_real!==n&&(f=function(e){return n((0,a.Z)({},e,{theme:w((0,a.Z)({},e,{defaultTheme:s,themeId:t}))}))});var v=P.apply(void 0,[f].concat((0,r.Z)(c)));return e.muiName&&(v.muiName=e.muiName),v};return P.withConfig&&(M.withConfig=P.withConfig),M}}},5318:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(7462),o=n(3366),i=n(3019),a=n(4942),l=["values","unit","step"];function s(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:900,lg:1200,xl:1536}:t,i=e.unit,s=void 0===i?"px":i,u=e.step,c=void 0===u?5:u,d=(0,o.Z)(e,l),f=function(e){var t=Object.keys(e).map((function(t){return{key:t,val:e[t]}}))||[];return t.sort((function(e,t){return e.val-t.val})),t.reduce((function(e,t){return(0,r.Z)({},e,(0,a.Z)({},t.key,t.val))}),{})}(n),p=Object.keys(f);function h(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(s,")")}function v(e){var t="number"===typeof n[e]?n[e]:e;return"@media (max-width:".concat(t-c/100).concat(s,")")}function m(e,t){var r=p.indexOf(t);return"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(s,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[p[r]]?n[p[r]]:t)-c/100).concat(s,")")}return(0,r.Z)({keys:p,values:f,up:h,down:v,between:m,only:function(e){return p.indexOf(e)+10&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=(0,c.hB)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,a=e.palette,l=void 0===a?{}:a,c=e.spacing,v=e.shape,m=void 0===v?{}:v,g=(0,o.Z)(e,h),y=s(n),b=d(c),x=(0,i.Z)({breakpoints:y,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},l),spacing:b,shape:(0,r.Z)({},u,m)},g),w=arguments.length,k=new Array(w>1?w-1:0),S=1;S2){if(!u[e])return[e];e=u[e]}var t=e.split(""),n=(0,r.Z)(t,2),o=n[0],i=n[1],a=l[o],c=s[i]||"";return Array.isArray(c)?c.map((function(e){return a+e})):[a+c]})),d=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[].concat(d,f);function h(e,t,n,r){var o,a=null!=(o=(0,i.DW)(e,t,!1))?o:n;return"number"===typeof a?function(e){return"string"===typeof e?e:a*e}:Array.isArray(a)?function(e){return"string"===typeof e?e:a[e]}:"function"===typeof a?a:function(){}}function v(e){return h(e,"spacing",8)}function m(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}function g(e,t,n,r){if(-1===t.indexOf(n))return null;var i=function(e,t){return function(n){return e.reduce((function(e,r){return e[r]=m(t,n),e}),{})}}(c(n),r),a=e[n];return(0,o.k9)(e,a,i)}function y(e,t){var n=v(e.theme);return Object.keys(e).map((function(r){return g(e,t,r,n)})).reduce(a.Z,{})}function b(e){return y(e,d)}function x(e){return y(e,f)}function w(e){return y(e,p)}b.propTypes={},b.filterProps=d,x.propTypes={},x.filterProps=f,w.propTypes={},w.filterProps=p},6428:function(e,t,n){"use strict";n.d(t,{DW:function(){return a},Jq:function(){return l}});var r=n(4942),o=n(8831),i=n(4929);function a(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&n){var r="vars.".concat(t).split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e);if(null!=r)return r}return t.split(".").reduce((function(e,t){return e&&null!=e[t]?e[t]:null}),e)}function l(e,t,n){var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||o:a(e,n)||o,t&&(r=t(r,o,e)),r}t.ZP=function(e){var t=e.prop,n=e.cssProperty,s=void 0===n?e.prop:n,u=e.themeKey,c=e.transform,d=function(e){if(null==e[t])return null;var n=e[t],d=a(e.theme,u)||{};return(0,i.k9)(e,n,(function(e){var n=l(d,c,e);return e===n&&"string"===typeof e&&(n=l(d,c,"".concat(t).concat("default"===e?"":(0,o.Z)(e)),e)),!1===s?n:(0,r.Z)({},s,n)}))};return d.propTypes={},d.filterProps=[t],d}},3232:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var r=n(6886),o=n(6428),i=n(7330);var a=function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:i;return(0,o.Z)(e)}},4290:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9023);function o(e){var t=e.theme,n=e.name,o=e.props;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.Z)(t.components[n].defaultProps,o):o}},4614:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(4290),o=n(6728);function i(e){var t=e.props,n=e.name,i=e.defaultTheme,a=e.themeId,l=(0,o.Z)(i);return a&&(l=l[a]||l),(0,r.Z)({theme:l,name:n,props:t})}},4976:function(e,t,n){"use strict";var r=n(7313),o=n(3346);function i(e){return 0===Object.keys(e).length}t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=r.useContext(o.T);return!t||i(t)?e:t}},1271:function(e,t){"use strict";var n=function(e){return e},r=function(){var e=n;return{configure:function(t){e=t},generate:function(t){return e(t)},reset:function(){e=n}}}();t.Z=r},8831:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7219);function o(e){if("string"!==typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},1921:function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r={};return Object.keys(e).forEach((function(o){r[o]=e[o].reduce((function(e,r){if(r){var o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}n.d(t,{Z:function(){return r}})},4246:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=this,o=arguments.length,i=new Array(o),a=0;a2&&void 0!==arguments[2]?arguments[2]:{clone:!0},l=n.clone?(0,r.Z)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(o(t[r])&&r in e&&o(e[r])?l[r]=a(e[r],t[r],n):n.clone?l[r]=o(t[r])?i(t[r]):t[r]:l[r]=t[r])})),l}},7219:function(e,t,n){"use strict";function r(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n2&&void 0!==arguments[2]?arguments[2]:"Mui",i=o[t];return i?"".concat(n,"-").concat(i):"".concat(r.Z.generate(e),"-").concat(t)}},7430:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2298);function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",o={};return t.forEach((function(t){o[t]=(0,r.Z)(e,t,n)})),o}},2504:function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},8929:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2504);function o(e){return(0,r.Z)(e).defaultView||window}},9023:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7462);function o(e,t){var n=(0,r.Z)({},t);return Object.keys(e).forEach((function(i){if(i.toString().match(/^(components|slots)$/))n[i]=(0,r.Z)({},e[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){var a=e[i]||{},l=t[i];n[i]={},l&&Object.keys(l)?a&&Object.keys(a)?(n[i]=(0,r.Z)({},l),Object.keys(a).forEach((function(e){n[i][e]=o(a[e],l[e])}))):n[i]=l:n[i]=a}else void 0===n[i]&&(n[i]=e[i])})),n}},9265:function(e,t,n){"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:function(){return r}})},5422:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(9439),o=n(7313);function i(e){var t=e.controlled,n=e.default,i=(e.name,e.state,o.useRef(void 0!==t).current),a=o.useState(n),l=(0,r.Z)(a,2),s=l[0],u=l[1];return[i?t:s,o.useCallback((function(e){i||u(e)}),[])]}},5094:function(e,t,n){"use strict";var r=n(7313),o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;t.Z=o},6182:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(7313),o=n(5094);function i(e){var t=r.useRef(e);return(0,o.Z)((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},1577:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(7313),o=n(9265);function i(){for(var e=arguments.length,t=new Array(e),n=0;n0}},{key:"onSubscribe",value:function(){}},{key:"onUnsubscribe",value:function(){}}]),e}(),w="undefined"==typeof window;function k(){}function S(e){return"number"==typeof e&&e>=0&&e!==1/0}function C(e,t){return e.filter((function(e){return-1===t.indexOf(e)}))}function E(e,t){return Math.max(e+(t||0)-Date.now(),0)}function O(e,t,n){return B(e)?"function"==typeof t?f(f({},n),{},{queryKey:e,queryFn:t}):f(f({},t),{},{queryKey:e}):e}function j(e,t,n){return B(e)?"function"==typeof t?f(f({},n),{},{mutationKey:e,mutationFn:t}):f(f({},t),{},{mutationKey:e}):"function"==typeof e?f(f({},t),{},{mutationFn:e}):f({},e)}function Z(e,t,n){return B(e)?[f(f({},t),{},{queryKey:e}),n]:[e||{},t]}function P(e,t,n){return B(e)?[f(f({},t),{},{mutationKey:e}),n]:[e||{},t]}function M(e,t){var n=e.type,r=void 0===n?"all":n,o=e.exact,i=e.fetchStatus,a=e.predicate,l=e.queryKey,s=e.stale;if(B(l))if(o){if(t.queryHash!==T(l,t.options))return!1}else if(!A(t.queryKey,l))return!1;if("all"!==r){var u=t.isActive();if("active"===r&&!u)return!1;if("inactive"===r&&u)return!1}return("boolean"!=typeof s||t.isStale()===s)&&(void 0===i||i===t.state.fetchStatus)&&!(a&&!a(t))}function R(e,t){var n=e.exact,r=e.fetching,o=e.predicate,i=e.mutationKey;if(B(i)){if(!t.options.mutationKey)return!1;if(n){if(I(t.options.mutationKey)!==I(i))return!1}else if(!A(t.options.mutationKey,i))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&!(o&&!o(t))}function T(e,t){return((null==t?void 0:t.queryKeyHashFn)||I)(e)}function I(e){return JSON.stringify(e,(function(e,t){return L(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function A(e,t){return _(e,t)}function _(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((function(n){return!_(e[n],t[n])}))}function N(e,t){if(e===t)return e;var n=F(e)&&F(t);if(n||L(e)&&L(t)){for(var r=n?e.length:Object.keys(e).length,o=n?t:Object.keys(t),i=o.length,a=n?[]:{},l=0,s=0;s0&&!this.isActive()}},{key:"isStale",value:function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))}},{key:"isStaleByTime",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.state.isInvalidated||!this.state.dataUpdatedAt||!E(this.state.dataUpdatedAt,e)}},{key:"onFocus",value:function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}},{key:"onOnline",value:function(){var e,t=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}},{key:"addObserver",value:function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}},{key:"removeObserver",value:function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((function(t){return t!==e})),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}},{key:"getObserversCount",value:function(){return this.observers.length}},{key:"invalidate",value:function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}},{key:"fetch",value:function(e,t){var n,r,o=this;if("idle"!==this.state.fetchStatus)if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var i;return null==(i=this.retryer)||i.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var a=this.observers.find((function(e){return e.options.queryFn}));a&&this.setOptions(a.options)}Array.isArray(this.options.queryKey);var l=function(){if("function"==typeof AbortController)return new AbortController}(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},u=function(e){Object.defineProperty(e,"signal",{enumerable:!0,get:function(){if(l)return o.abortSignalConsumed=!0,l.signal}})};u(s);var c,d={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:function(){return o.options.queryFn?(o.abortSignalConsumed=!1,o.options.queryFn(s)):Promise.reject("Missing queryFn")},meta:this.meta};u(d),null==(n=this.options.behavior)||n.onFetch(d),this.revertState=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(r=d.fetchOptions)?void 0:r.meta))&&this.dispatch({type:"fetch",meta:null==(c=d.fetchOptions)?void 0:c.meta});var f=function(e){var t,n;Y(e)&&e.silent||o.dispatch({type:"error",error:e}),Y(e)||null==(t=(n=o.cache.config).onError)||t.call(n,e,o),o.isFetchingOptimistic||o.scheduleGc(),o.isFetchingOptimistic=!1};return this.retryer=Q({fn:d.fetchFn,abort:null==l?void 0:l.abort.bind(l),onSuccess:function(e){var t,n;void 0!==e?(o.setData(e),null==(t=(n=o.cache.config).onSuccess)||t.call(n,e,o),o.isFetchingOptimistic||o.scheduleGc(),o.isFetchingOptimistic=!1):f(new Error("Query data cannot be undefined"))},onError:f,onFail:function(){o.dispatch({type:"failed"})},onPause:function(){o.dispatch({type:"pause"})},onContinue:function(){o.dispatch({type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode}),this.promise=this.retryer.promise,this.promise}},{key:"dispatch",value:function(e){var t=this;this.state=function(n){var r,o;switch(e.type){case"failed":return f(f({},n),{},{fetchFailureCount:n.fetchFailureCount+1});case"pause":return f(f({},n),{},{fetchStatus:"paused"});case"continue":return f(f({},n),{},{fetchStatus:"fetching"});case"fetch":return f(f({},n),{},{fetchFailureCount:0,fetchMeta:null!=(r=e.meta)?r:null,fetchStatus:K(t.options.networkMode)?"fetching":"paused"},!n.dataUpdatedAt&&{error:null,status:"loading"});case"success":return f(f({},n),{},{data:e.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:null!=(o=e.dataUpdatedAt)?o:Date.now(),error:null,isInvalidated:!1,status:"success"},!e.manual&&{fetchStatus:"idle",fetchFailureCount:0});case"error":var i=e.error;return Y(i)&&i.revert&&t.revertState?f({},t.revertState):f(f({},n),{},{error:i,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchStatus:"idle",status:"error"});case"invalidate":return f(f({},n),{},{isInvalidated:!0});case"setState":return f(f({},n),e.state)}}(this.state),X.batch((function(){t.observers.forEach((function(t){t.onQueryUpdate(e)})),t.cache.notify({query:t,type:"updated",action:e})}))}}]),n}(ee),ne=function(e){c(n,e);var t=d(n);function n(e){var r;return p(this,n),(r=t.call(this)).config=e||{},r.queries=[],r.queriesMap={},r}return h(n,[{key:"build",value:function(e,t,n){var r,o=t.queryKey,i=null!=(r=t.queryHash)?r:T(o,t),a=this.get(i);return a||(a=new te({cache:this,logger:e.getLogger(),queryKey:o,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o),meta:t.meta}),this.add(a)),a}},{key:"add",value:function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}},{key:"remove",value:function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((function(t){return t!==e})),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}},{key:"clear",value:function(){var e=this;X.batch((function(){e.queries.forEach((function(t){e.remove(t)}))}))}},{key:"get",value:function(e){return this.queriesMap[e]}},{key:"getAll",value:function(){return this.queries}},{key:"find",value:function(e,t){var n=Z(e,t),r=l(n,1)[0];return void 0===r.exact&&(r.exact=!0),this.queries.find((function(e){return M(r,e)}))}},{key:"findAll",value:function(e,t){var n=Z(e,t),r=l(n,1)[0];return Object.keys(r).length>0?this.queries.filter((function(e){return M(r,e)})):this.queries}},{key:"notify",value:function(e){var t=this;X.batch((function(){t.listeners.forEach((function(t){t(e)}))}))}},{key:"onFocus",value:function(){var e=this;X.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))}},{key:"onOnline",value:function(){var e=this;X.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))}}]),n}(x),re=function(e){c(n,e);var t=d(n);function n(e){var r;return p(this,n),(r=t.call(this)).options=f(f({},e.defaultOptions),e.options),r.mutationId=e.mutationId,r.mutationCache=e.mutationCache,r.logger=e.logger||J,r.observers=[],r.state=e.state||oe(),r.meta=e.meta,r.updateCacheTime(r.options.cacheTime),r.scheduleGc(),r}return h(n,[{key:"setState",value:function(e){this.dispatch({type:"setState",state:e})}},{key:"addObserver",value:function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}},{key:"removeObserver",value:function(e){this.observers=this.observers.filter((function(t){return t!==e})),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}},{key:"optionalRemove",value:function(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}},{key:"continue",value:function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()}},{key:"execute",value:function(){var e=a(i.mark((function e(){var t,n,r,o,a,l,s,u,c,d,f,p,h,v,m,g,y,b,x,w,k=this;return i.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=function(){var e;return k.retryer=Q({fn:function(){return k.options.mutationFn?k.options.mutationFn(k.state.variables):Promise.reject("No mutationFn found")},onFail:function(){k.dispatch({type:"failed"})},onPause:function(){k.dispatch({type:"pause"})},onContinue:function(){k.dispatch({type:"continue"})},retry:null!=(e=k.options.retry)?e:0,retryDelay:k.options.retryDelay,networkMode:k.options.networkMode}),k.retryer.promise},n="loading"===this.state.status,e.prev=1,n){e.next=8;break}return this.dispatch({type:"loading",variables:this.options.variables}),null==(c=(d=this.mutationCache.config).onMutate)||c.call(d,this.state.variables,this),e.next=6,null==(f=(p=this.options).onMutate)?void 0:f.call(p,this.state.variables);case 6:(h=e.sent)!==this.state.context&&this.dispatch({type:"loading",context:h,variables:this.state.variables});case 8:return e.next=10,t();case 10:return v=e.sent,null==(r=(o=this.mutationCache.config).onSuccess)||r.call(o,v,this.state.variables,this.state.context,this),e.next=14,null==(a=(l=this.options).onSuccess)?void 0:a.call(l,v,this.state.variables,this.state.context);case 14:return e.next=16,null==(s=(u=this.options).onSettled)?void 0:s.call(u,v,null,this.state.variables,this.state.context);case 16:return this.dispatch({type:"success",data:v}),e.abrupt("return",v);case 20:return e.prev=20,e.t0=e.catch(1),e.prev=22,null==(m=(g=this.mutationCache.config).onError)||m.call(g,e.t0,this.state.variables,this.state.context,this),e.next=26,null==(y=(b=this.options).onError)?void 0:y.call(b,e.t0,this.state.variables,this.state.context);case 26:return e.next=28,null==(x=(w=this.options).onSettled)?void 0:x.call(w,void 0,e.t0,this.state.variables,this.state.context);case 28:throw e.t0;case 29:return e.prev=29,this.dispatch({type:"error",error:e.t0}),e.finish(29);case 32:case"end":return e.stop()}}),e,this,[[1,20],[22,,29,32]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"dispatch",value:function(e){var t=this;this.state=function(n){switch(e.type){case"failed":return f(f({},n),{},{failureCount:n.failureCount+1});case"pause":return f(f({},n),{},{isPaused:!0});case"continue":return f(f({},n),{},{isPaused:!1});case"loading":return f(f({},n),{},{context:e.context,data:void 0,error:null,isPaused:!K(t.options.networkMode),status:"loading",variables:e.variables});case"success":return f(f({},n),{},{data:e.data,error:null,status:"success",isPaused:!1});case"error":return f(f({},n),{},{data:void 0,error:e.error,failureCount:n.failureCount+1,isPaused:!1,status:"error"});case"setState":return f(f({},n),e.state)}}(this.state),X.batch((function(){t.observers.forEach((function(t){t.onMutationUpdate(e)})),t.mutationCache.notify({mutation:t,type:"updated",action:e})}))}}]),n}(ee);function oe(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}var ie=function(e){c(n,e);var t=d(n);function n(e){var r;return p(this,n),(r=t.call(this)).config=e||{},r.mutations=[],r.mutationId=0,r}return h(n,[{key:"build",value:function(e,t,n){var r=new re({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(r),r}},{key:"add",value:function(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}},{key:"remove",value:function(e){this.mutations=this.mutations.filter((function(t){return t!==e})),this.notify({type:"removed",mutation:e})}},{key:"clear",value:function(){var e=this;X.batch((function(){e.mutations.forEach((function(t){e.remove(t)}))}))}},{key:"getAll",value:function(){return this.mutations}},{key:"find",value:function(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((function(t){return R(e,t)}))}},{key:"findAll",value:function(e){return this.mutations.filter((function(t){return R(e,t)}))}},{key:"notify",value:function(e){var t=this;X.batch((function(){t.listeners.forEach((function(t){t(e)}))}))}},{key:"resumePausedMutations",value:function(){var e=this.mutations.filter((function(e){return e.state.isPaused}));return X.batch((function(){return e.reduce((function(e,t){return e.then((function(){return t.continue().catch(k)}))}),Promise.resolve())}))}}]),n}(x);function ae(){return{onFetch:function(e){e.fetchFn=function(){var t,n,r,i,a,l,s,u=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,c=null==(r=e.fetchOptions)||null==(i=r.meta)?void 0:i.fetchMore,d=null==c?void 0:c.pageParam,f="forward"===(null==c?void 0:c.direction),p="backward"===(null==c?void 0:c.direction),h=(null==(a=e.state.data)?void 0:a.pages)||[],v=(null==(l=e.state.data)?void 0:l.pageParams)||[],m=v,g=!1,y=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},b=function(e,t,n,r){return m=r?[t].concat(o(m)):[].concat(o(m),[t]),r?[n].concat(o(e)):[].concat(o(e),[n])},x=function(t,n,r,o){if(g)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);var i,a={queryKey:e.queryKey,pageParam:r,meta:e.meta};i=a,Object.defineProperty(i,"signal",{enumerable:!0,get:function(){var t,n;return null!=(t=e.signal)&&t.aborted?g=!0:null==(n=e.signal)||n.addEventListener("abort",(function(){g=!0})),e.signal}});var l=y(a);return Promise.resolve(l).then((function(e){return b(t,r,e,o)}))};if(h.length)if(f){var w=void 0!==d,k=w?d:le(e.options,h);s=x(h,w,k)}else if(p){var S=void 0!==d,C=S?d:se(e.options,h);s=x(h,S,C,!0)}else!function(){m=[];var t=void 0===e.options.getNextPageParam;s=u&&h[0]&&!u(h[0],0,h)?Promise.resolve(b([],v[0],h[0])):x([],t,v[0]);for(var n=function(n){s=s.then((function(r){if(!u||!h[n]||u(h[n],n,h)){var o=t?v[n]:le(e.options,r);return x(r,t,o)}return Promise.resolve(b(r,v[n],h[n]))}))},r=1;r0&&void 0!==arguments[0]?arguments[0]:{},t=e.refetchPage,n=r(e,v);return this.fetch(f(f({},n),{},{meta:{refetchPage:t}}))}},{key:"fetchOptimistic",value:function(e){var t=this,n=this.client.defaultQueryOptions(e),r=this.client.getQueryCache().build(this.client,n);return r.isFetchingOptimistic=!0,r.fetch().then((function(){return t.createResult(r,n)}))}},{key:"fetch",value:function(e){var t,n=this;return this.executeFetch(f(f({},e),{},{cancelRefetch:null==(t=e.cancelRefetch)||t})).then((function(){return n.updateResult(),n.currentResult}))}},{key:"executeFetch",value:function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(k)),t}},{key:"updateStaleTimeout",value:function(){var e=this;if(this.clearStaleTimeout(),!w&&!this.currentResult.isStale&&S(this.options.staleTime)){var t=E(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){e.currentResult.isStale||e.updateResult()}),t)}}},{key:"computeRefetchInterval",value:function(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}},{key:"updateRefetchInterval",value:function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!w&&!1!==this.options.enabled&&S(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(t.options.refetchIntervalInBackground||W.isFocused())&&t.executeFetch()}),this.currentRefetchInterval))}},{key:"updateTimers",value:function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}},{key:"clearStaleTimeout",value:function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}},{key:"clearRefetchInterval",value:function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}},{key:"createResult",value:function(e,t){var n,r=this.currentQuery,o=this.options,i=this.currentResult,a=this.currentResultState,l=this.currentResultOptions,s=e!==r,u=s?e.state:this.currentQueryInitialState,c=s?this.currentResult:this.previousQueryResult,d=e.state,f=d.dataUpdatedAt,p=d.error,h=d.errorUpdatedAt,v=d.fetchStatus,m=d.status,g=!1,y=!1;if(t._optimisticResults){var b=this.hasListeners(),x=!b&&fe(e,t),w=b&&he(e,r,t,o);(x||w)&&(v=K(e.options.networkMode)?"fetching":"paused",f||(m="loading")),"isRestoring"===t._optimisticResults&&(v="idle")}if(t.keepPreviousData&&!d.dataUpdateCount&&null!=c&&c.isSuccess&&"error"!==m)n=c.data,f=c.dataUpdatedAt,m=c.status,g=!0;else if(t.select&&void 0!==d.data)if(i&&d.data===(null==a?void 0:a.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(d.data),n=U(null==i?void 0:i.data,n,t),this.selectResult=n,this.selectError=null}catch(e){this.selectError=e}else n=d.data;if(void 0!==t.placeholderData&&void 0===n&&"loading"===m){var k;if(null!=i&&i.isPlaceholderData&&t.placeholderData===(null==l?void 0:l.placeholderData))k=i.data;else if(k="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==k)try{k=t.select(k),k=U(null==i?void 0:i.data,k,t),this.selectError=null}catch(e){this.selectError=e}void 0!==k&&(m="success",n=k,y=!0)}this.selectError&&(p=this.selectError,n=this.selectResult,h=Date.now(),m="error");var S="fetching"===v;return{status:m,fetchStatus:v,isLoading:"loading"===m,isSuccess:"success"===m,isError:"error"===m,data:n,dataUpdatedAt:f,error:p,errorUpdatedAt:h,failureCount:d.fetchFailureCount,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:S,isRefetching:S&&"loading"!==m,isLoadingError:"error"===m&&0===d.dataUpdatedAt,isPaused:"paused"===v,isPlaceholderData:y,isPreviousData:g,isRefetchError:"error"===m&&0!==d.dataUpdatedAt,isStale:ve(e,t),refetch:this.refetch,remove:this.remove}}},{key:"updateResult",value:function(e){var t=this,n=this.currentResult,r=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!D(r,n)){this.currentResult=r;var o={cache:!0};!1!==(null==e?void 0:e.listeners)&&function(){if(!n)return!0;var e=t.options.notifyOnChangeProps;if("all"===e||!e&&!t.trackedProps.size)return!0;var r=new Set(null!=e?e:t.trackedProps);return t.options.useErrorBoundary&&r.add("error"),Object.keys(t.currentResult).some((function(e){var o=e;return t.currentResult[o]!==n[o]&&r.has(o)}))}()&&(o.listeners=!0),this.notify(f(f({},o),e))}}},{key:"updateQuery",value:function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}}},{key:"onQueryUpdate",value:function(e){var t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||Y(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}},{key:"notify",value:function(e){var t=this;X.batch((function(){var n,r,o,i;if(e.onSuccess)null==(n=(r=t.options).onSuccess)||n.call(r,t.currentResult.data),null==(o=(i=t.options).onSettled)||o.call(i,t.currentResult.data,null);else if(e.onError){var a,l,s,u;null==(a=(l=t.options).onError)||a.call(l,t.currentResult.error),null==(s=(u=t.options).onSettled)||s.call(u,void 0,t.currentResult.error)}e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)})),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})}))}}]),n}(x);function fe(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&pe(e,t,t.refetchOnMount)}function pe(e,t,n){if(!1!==t.enabled){var r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&ve(e,t)}return!1}function he(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&ve(e,n)}function ve(e,t){return e.isStaleByTime(t.staleTime)}var me=function(e){c(n,e);var t=d(n);function n(e,r){var o;return p(this,n),(o=t.call(this)).client=e,o.queries=[],o.result=[],o.observers=[],o.observersMap={},r&&o.setQueries(r),o}return h(n,[{key:"onSubscribe",value:function(){var e=this;1===this.listeners.length&&this.observers.forEach((function(t){t.subscribe((function(n){e.onUpdate(t,n)}))}))}},{key:"onUnsubscribe",value:function(){this.listeners.length||this.destroy()}},{key:"destroy",value:function(){this.listeners=[],this.observers.forEach((function(e){e.destroy()}))}},{key:"setQueries",value:function(e,t){var n=this;this.queries=e,X.batch((function(){var e=n.observers,r=n.findMatchingObservers(n.queries);r.forEach((function(e){return e.observer.setOptions(e.defaultedQueryOptions,t)}));var o=r.map((function(e){return e.observer})),i=Object.fromEntries(o.map((function(e){return[e.options.queryHash,e]}))),a=o.map((function(e){return e.getCurrentResult()})),l=o.some((function(t,n){return t!==e[n]}));(e.length!==o.length||l)&&(n.observers=o,n.observersMap=i,n.result=a,n.hasListeners()&&(C(e,o).forEach((function(e){e.destroy()})),C(o,e).forEach((function(e){e.subscribe((function(t){n.onUpdate(e,t)}))})),n.notify()))}))}},{key:"getCurrentResult",value:function(){return this.result}},{key:"getOptimisticResult",value:function(e){return this.findMatchingObservers(e).map((function(e){return e.observer.getOptimisticResult(e.defaultedQueryOptions)}))}},{key:"findMatchingObservers",value:function(e){var t=this,n=this.observers,r=e.map((function(e){return t.client.defaultQueryOptions(e)})),o=r.flatMap((function(e){var t=n.find((function(t){return t.options.queryHash===e.queryHash}));return null!=t?[{defaultedQueryOptions:e,observer:t}]:[]})),i=o.map((function(e){return e.defaultedQueryOptions.queryHash})),a=r.filter((function(e){return!i.includes(e.queryHash)})),l=n.filter((function(e){return!o.some((function(t){return t.observer===e}))})),s=function(e){var n=t.client.defaultQueryOptions(e),r=t.observersMap[n.queryHash];return null!=r?r:new de(t.client,n)},u=a.map((function(e,t){if(e.keepPreviousData){var n=l[t];if(void 0!==n)return{defaultedQueryOptions:e,observer:n}}return{defaultedQueryOptions:e,observer:s(e)}}));return o.concat(u).sort((function(e,t){return r.indexOf(e.defaultedQueryOptions)-r.indexOf(t.defaultedQueryOptions)}))}},{key:"onUpdate",value:function(e,t){var n=this.observers.indexOf(e);-1!==n&&(this.result=function(e,t,n){var r=e.slice(0);return r[t]=n,r}(this.result,n,t),this.notify())}},{key:"notify",value:function(){var e=this;X.batch((function(){e.listeners.forEach((function(t){t(e.result)}))}))}}]),n}(x),ge=function(e){c(n,e);var t=d(n);function n(e,r){return p(this,n),t.call(this,e,r)}return h(n,[{key:"bindMethods",value:function(){s(u(n.prototype),"bindMethods",this).call(this),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}},{key:"setOptions",value:function(e,t){s(u(n.prototype),"setOptions",this).call(this,f(f({},e),{},{behavior:ae()}),t)}},{key:"getOptimisticResult",value:function(e){return e.behavior=ae(),s(u(n.prototype),"getOptimisticResult",this).call(this,e)}},{key:"fetchNextPage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.pageParam,n=r(e,m);return this.fetch(f(f({},n),{},{meta:{fetchMore:{direction:"forward",pageParam:t}}}))}},{key:"fetchPreviousPage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.pageParam,n=r(e,g);return this.fetch(f(f({},n),{},{meta:{fetchMore:{direction:"backward",pageParam:t}}}))}},{key:"createResult",value:function(e,t){var r,o,i,a,l,c,d=e.state;return f(f({},s(u(n.prototype),"createResult",this).call(this,e,t)),{},{fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:ue(t,null==(r=d.data)?void 0:r.pages),hasPreviousPage:ce(t,null==(o=d.data)?void 0:o.pages),isFetchingNextPage:"fetching"===d.fetchStatus&&"forward"===(null==(i=d.fetchMeta)||null==(a=i.fetchMore)?void 0:a.direction),isFetchingPreviousPage:"fetching"===d.fetchStatus&&"backward"===(null==(l=d.fetchMeta)||null==(c=l.fetchMore)?void 0:c.direction)})}}]),n}(de),ye=function(e){c(n,e);var t=d(n);function n(e,r){var o;return p(this,n),(o=t.call(this)).client=e,o.setOptions(r),o.bindMethods(),o.updateResult(),o}return h(n,[{key:"bindMethods",value:function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}},{key:"setOptions",value:function(e){var t=this.options;this.options=this.client.defaultMutationOptions(e),D(t,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this})}},{key:"onUnsubscribe",value:function(){var e;this.listeners.length||null==(e=this.currentMutation)||e.removeObserver(this)}},{key:"onMutationUpdate",value:function(e){this.updateResult();var t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)}},{key:"getCurrentResult",value:function(){return this.currentResult}},{key:"reset",value:function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}},{key:"mutate",value:function(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,f(f({},this.options),{},{variables:void 0!==e?e:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()}},{key:"updateResult",value:function(){var e=this.currentMutation?this.currentMutation.state:{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},t=f(f({},e),{},{isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset});this.currentResult=t}},{key:"notify",value:function(e){var t=this;X.batch((function(){var n,r,o,i;if(t.mutateOptions)if(e.onSuccess)null==(n=(r=t.mutateOptions).onSuccess)||n.call(r,t.currentResult.data,t.currentResult.variables,t.currentResult.context),null==(o=(i=t.mutateOptions).onSettled)||o.call(i,t.currentResult.data,null,t.currentResult.variables,t.currentResult.context);else if(e.onError){var a,l,s,u;null==(a=(l=t.mutateOptions).onError)||a.call(l,t.currentResult.error,t.currentResult.variables,t.currentResult.context),null==(s=(u=t.mutateOptions).onSettled)||s.call(u,void 0,t.currentResult.error,t.currentResult.variables,t.currentResult.context)}e.listeners&&t.listeners.forEach((function(e){e(t.currentResult)}))}))}}]),n}(x);function be(e){return e.state.isPaused}function xe(e){return"success"===e.state.status}function we(e,t,n){if("object"==typeof t&&null!==t){var r=e.getMutationCache(),o=e.getQueryCache(),i=t.mutations||[],a=t.queries||[];i.forEach((function(t){var o;r.build(e,f(f({},null==n||null==(o=n.defaultOptions)?void 0:o.mutations),{},{mutationKey:t.mutationKey}),t.state)})),a.forEach((function(t){var r,i=o.get(t.queryHash);i?i.state.dataUpdatedAt0&&void 0!==arguments[0]?arguments[0]:{}).context,t=b.useContext(Ce(e,b.useContext(Se)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Oe=b.createContext(!1),je=function(){return b.useContext(Oe)},Ze=Oe.Provider;function Pe(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var Me=b.createContext(Pe()),Re=function(){return b.useContext(Me)};function Te(e,t){return"function"==typeof e?e.apply(void 0,o(t)):!!e}function Ie(e,t){var r=Ee({context:e.context}),o=je(),i=Re(),a=r.defaultQueryOptions(e);a._optimisticResults=o?"isRestoring":"optimistic",a.onError&&(a.onError=X.batchCalls(a.onError)),a.onSuccess&&(a.onSuccess=X.batchCalls(a.onSuccess)),a.onSettled&&(a.onSettled=X.batchCalls(a.onSettled)),a.suspense&&"number"!=typeof a.staleTime&&(a.staleTime=1e3),(a.suspense||a.useErrorBoundary)&&(i.isReset()||(a.retryOnMount=!1));var s=b.useState((function(){return new t(r,a)})),u=l(s,1)[0],c=u.getOptimisticResult(a);if(n.useSyncExternalStore(b.useCallback((function(e){return o?function(){}:u.subscribe(X.batchCalls(e))}),[u,o]),(function(){return u.getCurrentResult()}),(function(){return u.getCurrentResult()})),b.useEffect((function(){i.clearReset()}),[i]),b.useEffect((function(){u.setOptions(a,{listeners:!1})}),[a,u]),a.suspense&&c.isLoading&&c.isFetching&&!o)throw u.fetchOptimistic(a).then((function(e){var t=e.data;null==a.onSuccess||a.onSuccess(t),null==a.onSettled||a.onSettled(t,null)})).catch((function(e){i.clearReset(),null==a.onError||a.onError(e),null==a.onSettled||a.onSettled(void 0,e)}));if(c.isError&&!i.isReset()&&!c.isFetching&&Te(a.useErrorBoundary,[c.error,u.getCurrentQuery()]))throw c.error;return a.notifyOnChangeProps?c:u.trackResult(c)}function Ae(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Ee({context:t.context}),r=b.useRef(t);r.current=t,b.useMemo((function(){e&&we(n,e,r.current)}),[n,e])}function _e(){}e.CancelledError=$,e.Hydrate=function(e){var t=e.children,n=e.options;return Ae(e.state,n),t},e.InfiniteQueryObserver=ge,e.IsRestoringProvider=Ze,e.MutationCache=ie,e.MutationObserver=ye,e.QueriesObserver=me,e.QueryCache=ne,e.QueryClient=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};p(this,e),this.queryCache=t.queryCache||new ne,this.mutationCache=t.mutationCache||new ie,this.logger=t.logger||J,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}return h(e,[{key:"mount",value:function(){var e=this;this.unsubscribeFocus=W.subscribe((function(){W.isFocused()&&(e.resumePausedMutations(),e.queryCache.onFocus())})),this.unsubscribeOnline=q.subscribe((function(){q.isOnline()&&(e.resumePausedMutations(),e.queryCache.onOnline())}))}},{key:"unmount",value:function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)}},{key:"isFetching",value:function(e,t){var n=Z(e,t),r=l(n,1)[0];return r.fetchStatus="fetching",this.queryCache.findAll(r).length}},{key:"isMutating",value:function(e){return this.mutationCache.findAll(f(f({},e),{},{fetching:!0})).length}},{key:"getQueryData",value:function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}},{key:"getQueriesData",value:function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))}},{key:"setQueryData",value:function(e,t,n){var r=this.queryCache.find(e),o=function(e,t){return"function"==typeof e?e(t):e}(t,null==r?void 0:r.state.data);if(void 0!==o){var i=O(e),a=this.defaultQueryOptions(i);return this.queryCache.build(this,a).setData(o,f(f({},n),{},{manual:!0}))}}},{key:"setQueriesData",value:function(e,t,n){var r=this;return X.batch((function(){return r.getQueryCache().findAll(e).map((function(e){var o=e.queryKey;return[o,r.setQueryData(o,t,n)]}))}))}},{key:"getQueryState",value:function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}},{key:"removeQueries",value:function(e,t){var n=Z(e,t),r=l(n,1)[0],o=this.queryCache;X.batch((function(){o.findAll(r).forEach((function(e){o.remove(e)}))}))}},{key:"resetQueries",value:function(e,t,n){var r=this,o=Z(e,t,n),i=l(o,2),a=i[0],s=i[1],u=this.queryCache,c=f({type:"active"},a);return X.batch((function(){return u.findAll(a).forEach((function(e){e.reset()})),r.refetchQueries(c,s)}))}},{key:"cancelQueries",value:function(e,t,n){var r=this,o=Z(e,t,n),i=l(o,2),a=i[0],s=i[1],u=void 0===s?{}:s;void 0===u.revert&&(u.revert=!0);var c=X.batch((function(){return r.queryCache.findAll(a).map((function(e){return e.cancel(u)}))}));return Promise.all(c).then(k).catch(k)}},{key:"invalidateQueries",value:function(e,t,n){var r=this,o=Z(e,t,n),i=l(o,2),a=i[0],s=i[1];return X.batch((function(){var e,t;if(r.queryCache.findAll(a).forEach((function(e){e.invalidate()})),"none"===a.refetchType)return Promise.resolve();var n=f(f({},a),{},{type:null!=(e=null!=(t=a.refetchType)?t:a.type)?e:"active"});return r.refetchQueries(n,s)}))}},{key:"refetchQueries",value:function(e,t,n){var r=this,o=Z(e,t,n),i=l(o,2),a=i[0],s=i[1],u=X.batch((function(){return r.queryCache.findAll(a).filter((function(e){return!e.isDisabled()})).map((function(e){var t;return e.fetch(void 0,f(f({},s),{},{cancelRefetch:null==(t=null==s?void 0:s.cancelRefetch)||t,meta:{refetchPage:a.refetchPage}}))}))})),c=Promise.all(u).then(k);return null!=s&&s.throwOnError||(c=c.catch(k)),c}},{key:"fetchQuery",value:function(e,t,n){var r=O(e,t,n),o=this.defaultQueryOptions(r);void 0===o.retry&&(o.retry=!1);var i=this.queryCache.build(this,o);return i.isStaleByTime(o.staleTime)?i.fetch(o):Promise.resolve(i.state.data)}},{key:"prefetchQuery",value:function(e,t,n){return this.fetchQuery(e,t,n).then(k).catch(k)}},{key:"fetchInfiniteQuery",value:function(e,t,n){var r=O(e,t,n);return r.behavior=ae(),this.fetchQuery(r)}},{key:"prefetchInfiniteQuery",value:function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(k).catch(k)}},{key:"resumePausedMutations",value:function(){return this.mutationCache.resumePausedMutations()}},{key:"getQueryCache",value:function(){return this.queryCache}},{key:"getMutationCache",value:function(){return this.mutationCache}},{key:"getLogger",value:function(){return this.logger}},{key:"getDefaultOptions",value:function(){return this.defaultOptions}},{key:"setDefaultOptions",value:function(e){this.defaultOptions=e}},{key:"setQueryDefaults",value:function(e,t){var n=this.queryDefaults.find((function(t){return I(e)===I(t.queryKey)}));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}},{key:"getQueryDefaults",value:function(e){if(e){var t=this.queryDefaults.find((function(t){return A(e,t.queryKey)}));return null==t?void 0:t.defaultOptions}}},{key:"setMutationDefaults",value:function(e,t){var n=this.mutationDefaults.find((function(t){return I(e)===I(t.mutationKey)}));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}},{key:"getMutationDefaults",value:function(e){if(e){var t=this.mutationDefaults.find((function(t){return A(e,t.mutationKey)}));return null==t?void 0:t.defaultOptions}}},{key:"defaultQueryOptions",value:function(e){if(null!=e&&e._defaulted)return e;var t=f(f(f(f({},this.defaultOptions.queries),this.getQueryDefaults(null==e?void 0:e.queryKey)),e),{},{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=T(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}},{key:"defaultMutationOptions",value:function(e){return null!=e&&e._defaulted?e:f(f(f(f({},this.defaultOptions.mutations),this.getMutationDefaults(null==e?void 0:e.mutationKey)),e),{},{_defaulted:!0})}},{key:"clear",value:function(){this.queryCache.clear(),this.mutationCache.clear()}}]),e}(),e.QueryClientProvider=function(e){var t=e.client,n=e.children,r=e.context,o=e.contextSharing,i=void 0!==o&&o;b.useEffect((function(){return t.mount(),function(){t.unmount()}}),[t]);var a=Ce(r,i);return b.createElement(Se.Provider,{value:!r&&i},b.createElement(a.Provider,{value:t},n))},e.QueryErrorResetBoundary=function(e){var t=e.children,n=b.useState((function(){return Pe()})),r=l(n,1)[0];return b.createElement(Me.Provider,{value:r},"function"==typeof t?t(r):t)},e.QueryObserver=de,e.defaultContext=ke,e.dehydrate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=[];if(!1!==t.dehydrateMutations){var o=t.shouldDehydrateMutation||be;e.getMutationCache().getAll().forEach((function(e){o(e)&&n.push(function(e){return{mutationKey:e.options.mutationKey,state:e.state}}(e))}))}if(!1!==t.dehydrateQueries){var i=t.shouldDehydrateQuery||xe;e.getQueryCache().getAll().forEach((function(e){i(e)&&r.push(function(e){return{state:e.state,queryKey:e.queryKey,queryHash:e.queryHash}}(e))}))}return{mutations:n,queries:r}},e.focusManager=W,e.hashQueryKey=I,e.hydrate=we,e.isCancelledError=Y,e.isError=function(e){return e instanceof Error},e.notifyManager=X,e.onlineManager=q,e.parseFilterArgs=Z,e.parseMutationArgs=j,e.parseMutationFilterArgs=P,e.parseQueryArgs=O,e.useHydrate=Ae,e.useInfiniteQuery=function(e,t,n){return Ie(O(e,t,n),ge)},e.useIsFetching=function(e,t,r){var o=Z(e,t,r),i=l(o,2),a=i[0],s=i[1],u=Ee({context:(void 0===s?{}:s).context}),c=u.getQueryCache();return n.useSyncExternalStore(b.useCallback((function(e){return c.subscribe(X.batchCalls(e))}),[c]),(function(){return u.isFetching(a)}),(function(){return u.isFetching(a)}))},e.useIsMutating=function(e,t,r){var o=P(e,t,r),i=l(o,2),a=i[0],s=i[1],u=Ee({context:(void 0===s?{}:s).context}),c=u.getMutationCache();return n.useSyncExternalStore(b.useCallback((function(e){return c.subscribe(X.batchCalls(e))}),[c]),(function(){return u.isMutating(a)}),(function(){return u.isMutating(a)}))},e.useIsRestoring=je,e.useMutation=function(e,t,r){var o=j(e,t,r),i=Ee({context:o.context}),a=b.useState((function(){return new ye(i,o)})),s=l(a,1)[0];b.useEffect((function(){s.setOptions(o)}),[s,o]);var u=n.useSyncExternalStore(b.useCallback((function(e){return s.subscribe(X.batchCalls(e))}),[s]),(function(){return s.getCurrentResult()}),(function(){return s.getCurrentResult()})),c=b.useCallback((function(e,t){s.mutate(e,t).catch(_e)}),[s]);if(u.error&&Te(s.options.useErrorBoundary,[u.error]))throw u.error;return f(f({},u),{},{mutate:c,mutateAsync:u.mutate})},e.useQueries=function(e){var t=e.queries,r=e.context,o=Ee({context:r}),i=je(),a=b.useMemo((function(){return t.map((function(e){var t=o.defaultQueryOptions(e);return t._optimisticResults=i?"isRestoring":"optimistic",t}))}),[t,o,i]),s=b.useState((function(){return new me(o,a)})),u=l(s,1)[0],c=u.getOptimisticResult(a);return n.useSyncExternalStore(b.useCallback((function(e){return i?function(){}:u.subscribe(X.batchCalls(e))}),[u,i]),(function(){return u.getCurrentResult()}),(function(){return u.getCurrentResult()})),b.useEffect((function(){u.setQueries(a,{listeners:!1})}),[a,u]),c},e.useQuery=function(e,t,n){return Ie(O(e,t,n),de)},e.useQueryClient=Ee,e.useQueryErrorResetBoundary=Re,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(7313),n(1239))},6123:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t(l=(a=Math.ceil(f/7))>l?a+1:l+1)&&(i=l,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((l=u.length)-(i=c.length)<0&&(i=l,r=c,c=u,u=r),n=0;i;)n=(u[--i]=u[i]+c[i]+n)/v|0,u[i]%=v;for(n&&(u.unshift(n),++o),l=u.length;0==u[--l];)u.pop();return t.d=u,t.e=o,s?P(t,f):t}function x(e,t,n){if(e!==~~e||en)throw Error(c+e)}function w(e){var t,n,r,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;te.e^i.s<0?1:-1;for(t=0,n=(r=i.d.length)<(o=e.d.length)?r:o;te.d[t]^i.s<0?1:-1;return r===o?0:r>o^i.s<0?1:-1},y.decimalPlaces=y.dp=function(){var e=this,t=e.d.length-1,n=7*(t-e.e);if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},y.dividedBy=y.div=function(e){return k(this,new this.constructor(e))},y.dividedToIntegerBy=y.idiv=function(e){var t=this.constructor;return P(k(this,new t(e),0,1),t.precision)},y.equals=y.eq=function(e){return!this.cmp(e)},y.exponent=function(){return C(this)},y.greaterThan=y.gt=function(e){return this.cmp(e)>0},y.greaterThanOrEqualTo=y.gte=function(e){return this.cmp(e)>=0},y.isInteger=y.isint=function(){return this.e>this.d.length-2},y.isNegative=y.isneg=function(){return this.s<0},y.isPositive=y.ispos=function(){return this.s>0},y.isZero=function(){return 0===this.s},y.lessThan=y.lt=function(e){return this.cmp(e)<0},y.lessThanOrEqualTo=y.lte=function(e){return this.cmp(e)<1},y.logarithm=y.log=function(e){var t,n=this,r=n.constructor,o=r.precision,a=o+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(i))throw Error(u+"NaN");if(n.s<1)throw Error(u+(n.s?"NaN":"-Infinity"));return n.eq(i)?new r(0):(s=!1,t=k(j(n,a),j(e,a),a),s=!0,P(t,o))},y.minus=y.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?M(t,e):b(t,(e.s=-e.s,e))},y.modulo=y.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(!(e=new r(e)).s)throw Error(u+"NaN");return n.s?(s=!1,t=k(n,e,0,1).times(e),s=!0,n.minus(t)):P(new r(n),o)},y.naturalExponential=y.exp=function(){return S(this)},y.naturalLogarithm=y.ln=function(){return j(this)},y.negated=y.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},y.plus=y.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?b(t,e):M(t,(e.s=-e.s,e))},y.precision=y.sd=function(e){var t,n,r,o=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(c+e);if(t=C(o)+1,n=7*(r=o.d.length-1)+1,r=o.d[r]){for(;r%10==0;r/=10)n--;for(r=o.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},y.squareRoot=y.sqrt=function(){var e,t,n,r,o,i,a,l=this,c=l.constructor;if(l.s<1){if(!l.s)return new c(0);throw Error(u+"NaN")}for(e=C(l),s=!1,0==(o=Math.sqrt(+l))||o==1/0?(((t=w(l.d)).length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=f((e+1)/2)-(e<0||e%2),r=new c(t=o==1/0?"5e"+e:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new c(o.toString()),o=a=(n=c.precision)+3;;)if(r=(i=r).plus(k(l,i,a+2)).times(.5),w(i.d).slice(0,a)===(t=w(r.d)).slice(0,a)){if(t=t.slice(a-3,a+1),o==a&&"4999"==t){if(P(i,n+1,0),i.times(i).eq(l)){r=i;break}}else if("9999"!=t)break;a+=4}return s=!0,P(r,n)},y.times=y.mul=function(e){var t,n,r,o,i,a,l,u,c,d=this,f=d.constructor,p=d.d,h=(e=new f(e)).d;if(!d.s||!e.s)return new f(0);for(e.s*=d.s,n=d.e+e.e,(u=p.length)<(c=h.length)&&(i=p,p=h,h=i,a=u,u=c,c=a),i=[],r=a=u+c;r--;)i.push(0);for(r=c;--r>=0;){for(t=0,o=u+r;o>r;)l=i[o]+h[r]*p[o-r-1]+t,i[o--]=l%v|0,t=l/v|0;i[o]=(i[o]+t)%v|0}for(;!i[--a];)i.pop();return t?++n:i.shift(),e.d=i,e.e=n,s?P(e,f.precision):e},y.toDecimalPlaces=y.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(x(e,0,a),void 0===t?t=r.rounding:x(t,0,8),P(n,e+C(n)+1,t))},y.toExponential=function(e,t){var n,r=this,o=r.constructor;return void 0===e?n=R(r,!0):(x(e,0,a),void 0===t?t=o.rounding:x(t,0,8),n=R(r=P(new o(r),e+1,t),!0,e+1)),n},y.toFixed=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?R(o):(x(e,0,a),void 0===t?t=i.rounding:x(t,0,8),n=R((r=P(new i(o),e+C(o)+1,t)).abs(),!1,e+C(r)+1),o.isneg()&&!o.isZero()?"-"+n:n)},y.toInteger=y.toint=function(){var e=this,t=e.constructor;return P(new t(e),C(e)+1,t.rounding)},y.toNumber=function(){return+this},y.toPower=y.pow=function(e){var t,n,r,o,a,l,c=this,d=c.constructor,p=+(e=new d(e));if(!e.s)return new d(i);if(!(c=new d(c)).s){if(e.s<1)throw Error(u+"Infinity");return c}if(c.eq(i))return c;if(r=d.precision,e.eq(i))return P(c,r);if(l=(t=e.e)>=(n=e.d.length-1),a=c.s,l){if((n=p<0?-p:p)<=m){for(o=new d(i),t=Math.ceil(r/7+4),s=!1;n%2&&T((o=o.times(c)).d,t),0!==(n=f(n/2));)T((c=c.times(c)).d,t);return s=!0,e.s<0?new d(i).div(o):P(o,r)}}else if(a<0)throw Error(u+"NaN");return a=a<0&&1&e.d[Math.max(t,n)]?-1:1,c.s=1,s=!1,o=e.times(j(c,r+12)),s=!0,(o=S(o)).s=a,o},y.toPrecision=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?r=R(o,(n=C(o))<=i.toExpNeg||n>=i.toExpPos):(x(e,1,a),void 0===t?t=i.rounding:x(t,0,8),r=R(o=P(new i(o),e,t),e<=(n=C(o))||n<=i.toExpNeg,e)),r},y.toSignificantDigits=y.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(x(e,1,a),void 0===t?t=n.rounding:x(t,0,8)),P(new n(this),e,t)},y.toString=y.valueOf=y.val=y.toJSON=function(){var e=this,t=C(e),n=e.constructor;return R(e,t<=n.toExpNeg||t>=n.toExpPos)};var k=function(){function e(e,t){var n,r=0,o=e.length;for(e=e.slice();o--;)n=e[o]*t+r,e[o]=n%v|0,r=n/v|0;return r&&e.unshift(r),e}function t(e,t,n,r){var o,i;if(n!=r)i=n>r?1:-1;else for(o=i=0;ot[o]?1:-1;break}return i}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]1;)e.shift()}return function(r,o,i,a){var l,s,c,d,f,p,h,m,g,y,b,x,w,k,S,E,O,j,Z=r.constructor,M=r.s==o.s?1:-1,R=r.d,T=o.d;if(!r.s)return new Z(r);if(!o.s)throw Error(u+"Division by zero");for(s=r.e-o.e,O=T.length,S=R.length,m=(h=new Z(M)).d=[],c=0;T[c]==(R[c]||0);)++c;if(T[c]>(R[c]||0)&&--s,(x=null==i?i=Z.precision:a?i+(C(r)-C(o))+1:i)<0)return new Z(0);if(x=x/7+2|0,c=0,1==O)for(d=0,T=T[0],x++;(c1&&(T=e(T,d),R=e(R,d),O=T.length,S=R.length),k=O,y=(g=R.slice(0,O)).length;y=v/2&&++E;do{d=0,(l=t(T,g,O,y))<0?(b=g[0],O!=y&&(b=b*v+(g[1]||0)),(d=b/E|0)>1?(d>=v&&(d=v-1),1==(l=t(f=e(T,d),g,p=f.length,y=g.length))&&(d--,n(f,O16)throw Error(d+C(e));if(!e.s)return new f(i);for(null==t?(s=!1,l=h):l=t,a=new f(.03125);e.abs().gte(.1);)e=e.times(a),c+=5;for(l+=Math.log(p(2,c))/Math.LN10*2+5|0,n=r=o=new f(i),f.precision=l;;){if(r=P(r.times(e),l),n=n.times(++u),w((a=o.plus(k(r,n,l))).d).slice(0,l)===w(o.d).slice(0,l)){for(;c--;)o=P(o.times(o),l);return f.precision=h,null==t?(s=!0,P(o,h)):o}o=a}}function C(e){for(var t=7*e.e,n=e.d[0];n>=10;n/=10)t++;return t}function E(e,t,n){if(t>e.LN10.sd())throw s=!0,n&&(e.precision=n),Error(u+"LN10 precision limit exceeded");return P(new e(e.LN10),t)}function O(e){for(var t="";e--;)t+="0";return t}function j(e,t){var n,r,o,a,l,c,d,f,p,h=1,v=e,m=v.d,g=v.constructor,y=g.precision;if(v.s<1)throw Error(u+(v.s?"NaN":"-Infinity"));if(v.eq(i))return new g(0);if(null==t?(s=!1,f=y):f=t,v.eq(10))return null==t&&(s=!0),E(g,f);if(f+=10,g.precision=f,r=(n=w(m)).charAt(0),a=C(v),!(Math.abs(a)<15e14))return d=E(g,f+2,y).times(a+""),v=j(new g(r+"."+n.slice(1)),f-10).plus(d),g.precision=y,null==t?(s=!0,P(v,y)):v;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=w((v=v.times(e)).d)).charAt(0),h++;for(a=C(v),r>1?(v=new g("0."+n),a++):v=new g(r+"."+n.slice(1)),c=l=v=k(v.minus(i),v.plus(i),f),p=P(v.times(v),f),o=3;;){if(l=P(l.times(p),f),w((d=c.plus(k(l,new g(o),f))).d).slice(0,f)===w(c.d).slice(0,f))return c=c.times(2),0!==a&&(c=c.plus(E(g,f+2,y).times(a+""))),c=k(c,new g(h),f),g.precision=y,null==t?(s=!0,P(c,y)):c;c=d,o+=2}}function Z(e,t){var n,r,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(o=t.length;48===t.charCodeAt(o-1);)--o;if(t=t.slice(r,o)){if(o-=r,n=n-r-1,e.e=f(n/7),e.d=[],r=(n+1)%7,n<0&&(r+=7),rg||e.e<-g))throw Error(d+n)}else e.s=0,e.e=0,e.d=[0];return e}function P(e,t,n){var r,o,i,a,l,u,c,h,m=e.d;for(a=1,i=m[0];i>=10;i/=10)a++;if((r=t-a)<0)r+=7,o=t,c=m[h=0];else{if((h=Math.ceil((r+1)/7))>=(i=m.length))return e;for(c=i=m[h],a=1;i>=10;i/=10)a++;o=(r%=7)-7+a}if(void 0!==n&&(l=c/(i=p(10,a-o-1))%10|0,u=t<0||void 0!==m[h+1]||c%i,u=n<4?(l||u)&&(0==n||n==(e.s<0?3:2)):l>5||5==l&&(4==n||u||6==n&&(r>0?o>0?c/p(10,a-o):0:m[h-1])%10&1||n==(e.s<0?8:7))),t<1||!m[0])return u?(i=C(e),m.length=1,t=t-i-1,m[0]=p(10,(7-t%7)%7),e.e=f(-t/7)||0):(m.length=1,m[0]=e.e=e.s=0),e;if(0==r?(m.length=h,i=1,h--):(m.length=h+1,i=p(10,7-r),m[h]=o>0?(c/p(10,a-o)%p(10,o)|0)*i:0),u)for(;;){if(0==h){(m[0]+=i)==v&&(m[0]=1,++e.e);break}if(m[h]+=i,m[h]!=v)break;m[h--]=0,i=1}for(r=m.length;0===m[--r];)m.pop();if(s&&(e.e>g||e.e<-g))throw Error(d+C(e));return e}function M(e,t){var n,r,o,i,a,l,u,c,d,f,p=e.constructor,h=p.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new p(e),s?P(t,h):t;if(u=e.d,f=t.d,r=t.e,c=e.e,u=u.slice(),a=c-r){for((d=a<0)?(n=u,a=-a,l=f.length):(n=f,r=c,l=u.length),a>(o=Math.max(Math.ceil(h/7),l)+2)&&(a=o,n.length=1),n.reverse(),o=a;o--;)n.push(0);n.reverse()}else{for((d=(o=u.length)<(l=f.length))&&(l=o),o=0;o0;--o)u[l++]=0;for(o=f.length;o>a;){if(u[--o]0?i=i.charAt(0)+"."+i.slice(1)+O(r):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+O(-o-1)+i,n&&(r=n-a)>0&&(i+=O(r))):o>=a?(i+=O(o+1-a),n&&(r=n-o-1)>0&&(i=i+"."+O(r))):((r=o+1)0&&(o+1===a&&(i+="."),i+=O(r))),e.s<0?"-"+i:i}function T(e,t){if(e.length>t)return e.length=t,!0}function I(e){if(!e||"object"!==typeof e)throw Error(u+"Object expected");var t,n,r,o=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t=o[t+1]&&r<=o[t+2]))throw Error(c+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(c+n+": "+r);this[n]=new this(r)}return this}l=function e(t){var n,r,o;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"===typeof e){if(0*e!==0)throw Error(c+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):Z(t,e.toString())}if("string"!==typeof e)throw Error(c+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!h.test(e))throw Error(c+e);Z(t,e)}if(i.prototype=y,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=e,i.config=i.set=I,void 0===t&&(t={}),t)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n0;)if(!n(e[o],t[o],r))return!1;return!0}function d(e,t,n,r){var o=e.size===t.size;if(o&&e.size){var i={};e.forEach((function(e,a){if(o){var l=!1,s=0;t.forEach((function(t,o){l||i[s]||(l=n(a,o,r)&&n(e,t,r))&&(i[s]=!0),s++})),o=l}}))}return o}var f="_owner",p=Function.prototype.bind.call(Function.prototype.call,Object.prototype.hasOwnProperty);function h(e,t,r,o){var i=n(e),l=i.length;if(n(t).length!==l)return!1;if(l)for(var s=void 0;l-- >0;){if((s=i[l])===f){var u=a(e),c=a(t);if((u||c)&&u!==c)return!1}if(!p(t,s)||!r(e[s],t[s],o))return!1}return!0}function v(e,t){return e.source===t.source&&e.global===t.global&&e.ignoreCase===t.ignoreCase&&e.multiline===t.multiline&&e.unicode===t.unicode&&e.sticky===t.sticky&&e.lastIndex===t.lastIndex}function m(e,t,n,r){var o=e.size===t.size;if(o&&e.size){var i={};e.forEach((function(e){if(o){var a=!1,l=0;t.forEach((function(t){a||i[l]||(a=n(e,t,r))&&(i[l]=!0),l++})),o=a}}))}return o}var g="function"===typeof Map,y="function"===typeof Set;function b(e){var t="function"===typeof e?e(n):n;function n(e,n,a){if(e===n)return!0;if(e&&n&&"object"===typeof e&&"object"===typeof n){if(o(e)&&o(n))return h(e,n,t,a);var l=Array.isArray(e),s=Array.isArray(n);return l||s?l===s&&c(e,n,t,a):(l=e instanceof Date,s=n instanceof Date,l||s?l===s&&r(e.getTime(),n.getTime()):(l=e instanceof RegExp,s=n instanceof RegExp,l||s?l===s&&v(e,n):i(e)||i(n)?e===n:g&&(l=e instanceof Map,s=n instanceof Map,l||s)?l===s&&d(e,n,t,a):y&&(l=e instanceof Set,s=n instanceof Set,l||s)?l===s&&m(e,n,t,a):h(e,n,t,a)))}return e!==e&&n!==n}return n}var x=b(),w=b((function(){return r})),k=b(u()),S=b(u(r));e.circularDeepEqual=k,e.circularShallowEqual=S,e.createCustomEqual=b,e.deepEqual=x,e.sameValueZeroEqual=r,e.shallowEqual=w,Object.defineProperty(e,"__esModule",{value:!0})}(t)},7861:function(e,t,n){"use strict";var r=n(9456),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var l=s(t),v=s(n),m=0;m-1}},6722:function(e){e.exports=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r0&&i(c)?n>1?e(c,n-1,i,a,l):r(l,c):a||(l[l.length]=c)}return l}},5461:function(e,t,n){var r=n(2550)();e.exports=r},5705:function(e,t,n){var r=n(5461),o=n(6385);e.exports=function(e,t){return e&&r(e,t,o)}},207:function(e,t,n){var r=n(4534),o=n(925);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&nt}},1966:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},9038:function(e,t,n){var r=n(3527),o=n(7700),i=n(3245);e.exports=function(e,t,n){return t===t?i(e,t,n):r(e,o,n)}},1276:function(e,t,n){var r=n(8665),o=n(9752);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},7081:function(e,t,n){var r=n(9110),o=n(9752);e.exports=function e(t,n,i,a,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,i,a,e,l))}},9110:function(e,t,n){var r=n(7016),o=n(4132),i=n(9820),a=n(6353),l=n(8466),s=n(5585),u=n(667),c=n(3153),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,v,m,g){var y=s(e),b=s(t),x=y?f:l(e),w=b?f:l(t),k=(x=x==d?p:x)==p,S=(w=w==d?p:w)==p,C=x==w;if(C&&u(e)){if(!u(t))return!1;y=!0,k=!1}if(C&&!k)return g||(g=new r),y||c(e)?o(e,t,n,v,m,g):i(e,t,x,n,v,m,g);if(!(1&n)){var E=k&&h.call(e,"__wrapped__"),O=S&&h.call(t,"__wrapped__");if(E||O){var j=E?e.value():e,Z=O?t.value():t;return g||(g=new r),m(j,Z,n,v,g)}}return!!C&&(g||(g=new r),a(e,t,n,v,m,g))}},9280:function(e,t,n){var r=n(7016),o=n(7081);e.exports=function(e,t,n,i){var a=n.length,l=a,s=!i;if(null==e)return!l;for(e=Object(e);a--;){var u=n[a];if(s&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++ao?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r=200){var v=t?null:l(e);if(v)return s(v);f=!1,c=a,h=new r}else h=t?[]:p;e:for(;++u=o?e:r(e,t,n)}},5445:function(e,t,n){var r=n(2060);e.exports=function(e,t){if(e!==t){var n=void 0!==e,o=null===e,i=e===e,a=r(e),l=void 0!==t,s=null===t,u=t===t,c=r(t);if(!s&&!c&&!a&&e>t||a&&l&&u&&!s&&!c||o&&l&&u||!n&&u||!i)return 1;if(!o&&!a&&!c&&e=s?u:u*("desc"==n[o]?-1:1)}return e.index-t.index}},7683:function(e,t,n){var r=n(7289)["__core-js_shared__"];e.exports=r},5305:function(e,t,n){var r=n(2114);e.exports=function(e,t){return function(n,o){if(null==n)return n;if(!r(n))return e(n,o);for(var i=n.length,a=t?i:-1,l=Object(n);(t?a--:++a-1?l[s?t[u]:u]:void 0}}},3934:function(e,t,n){var r=n(2948),o=n(3271),i=n(9103);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&o(t,n,a)&&(n=a=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),a=void 0===a?tc))return!1;var f=s.get(e),p=s.get(t);if(f&&p)return f==t&&p==e;var h=-1,v=!0,m=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++h-1&&e%1==0&&e-1}},3316:function(e,t,n){var r=n(9194);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},9e3:function(e,t,n){var r=n(9748),o=n(5745),i=n(8579);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},7240:function(e,t,n){var r=n(6911);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},3414:function(e,t,n){var r=n(6911);e.exports=function(e){return r(this,e).get(e)}},7140:function(e,t,n){var r=n(6911);e.exports=function(e){return r(this,e).has(e)}},5429:function(e,t,n){var r=n(6911);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},258:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},2093:function(e){e.exports=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}},3679:function(e,t,n){var r=n(2736);e.exports=function(e){var t=r(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}},1353:function(e,t,n){var r=n(781)(Object,"create");e.exports=r},8723:function(e,t,n){var r=n(9698)(Object.keys,Object);e.exports=r},7785:function(e,t,n){e=n.nmd(e);var r=n(2692),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,l=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=l},8186:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9698:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},5313:function(e,t,n){var r=n(1686),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,l=o(i.length-t,0),s=Array(l);++a0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},3653:function(e,t,n){var r=n(5745);e.exports=function(){this.__data__=new r,this.size=0}},3359:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},2571:function(e){e.exports=function(e){return this.__data__.get(e)}},1698:function(e){e.exports=function(e){return this.__data__.has(e)}},5883:function(e,t,n){var r=n(5745),o=n(8579),i=n(3109);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},3245:function(e){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r=t||n<0||m&&e-h>=c}function w(){var e=o();if(x(e))return k(e);f=setTimeout(w,function(e){var n=t-(e-p);return m?l(n,c-(e-h)):n}(e))}function k(e){return f=void 0,g&&s?y(e):(s=u=void 0,d)}function S(){var e=o(),n=x(e);if(s=arguments,u=this,p=e,n){if(void 0===f)return b(p);if(m)return clearTimeout(f),f=setTimeout(w,t),y(p)}return void 0===f&&(f=setTimeout(w,t)),d}return t=i(t)||0,r(n)&&(v=!!n.leading,c=(m="maxWait"in n)?a(i(n.maxWait)||0,t):c,g="trailing"in n?!!n.trailing:g),S.cancel=function(){void 0!==f&&clearTimeout(f),h=0,s=p=u=f=void 0},S.flush=function(){return void 0===f?d:k(o())},S}},3666:function(e){e.exports=function(e,t){return e===t||e!==e&&t!==t}},5499:function(e,t,n){var r=n(3514),o=n(4754),i=n(1186),a=n(5585),l=n(3271);e.exports=function(e,t,n){var s=a(e)?r:o;return n&&l(e,t,n)&&(t=void 0),s(e,i(t,3))}},3709:function(e,t,n){var r=n(1392)(n(4353));e.exports=r},4353:function(e,t,n){var r=n(3527),o=n(1186),i=n(7260),a=Math.max;e.exports=function(e,t,n){var l=null==e?0:e.length;if(!l)return-1;var s=null==n?0:i(n);return s<0&&(s=a(l+s,0)),r(e,o(t,3),s)}},2572:function(e,t,n){var r=n(3255),o=n(3428);e.exports=function(e,t){return r(o(e,t),1)}},9706:function(e,t,n){var r=n(207);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},9775:function(e,t,n){var r=n(1966),o=n(1898);e.exports=function(e,t){return null!=e&&o(e,t,r)}},9908:function(e){e.exports=function(e){return e}},2794:function(e,t,n){var r=n(1276),o=n(9752),i=Object.prototype,a=i.hasOwnProperty,l=i.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!l.call(e,"callee")};e.exports=s},5585:function(e){var t=Array.isArray;e.exports=t},2114:function(e,t,n){var r=n(375),o=n(4276);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},9877:function(e,t,n){var r=n(8665),o=n(9752);e.exports=function(e){return!0===e||!1===e||o(e)&&"[object Boolean]"==r(e)}},667:function(e,t,n){e=n.nmd(e);var r=n(7289),o=n(5535),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,l=a&&a.exports===i?r.Buffer:void 0,s=(l?l.isBuffer:void 0)||o;e.exports=s},1905:function(e,t,n){var r=n(7081);e.exports=function(e,t){return r(e,t)}},375:function(e,t,n){var r=n(8665),o=n(1845);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},4276:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},6783:function(e,t,n){var r=n(9714);e.exports=function(e){return r(e)&&e!=+e}},1450:function(e){e.exports=function(e){return null==e}},9714:function(e,t,n){var r=n(8665),o=n(9752);e.exports=function(e){return"number"==typeof e||o(e)&&"[object Number]"==r(e)}},1845:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},9752:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},5406:function(e,t,n){var r=n(8665),o=n(5585),i=n(9752);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},2060:function(e,t,n){var r=n(8665),o=n(9752);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},3153:function(e,t,n){var r=n(7499),o=n(6902),i=n(7785),a=i&&i.isTypedArray,l=a?o(a):r;e.exports=l},6385:function(e,t,n){var r=n(3200),o=n(3409),i=n(2114);e.exports=function(e){return i(e)?r(e):o(e)}},2699:function(e){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},3428:function(e,t,n){var r=n(5434),o=n(1186),i=n(1839),a=n(5585);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},8463:function(e,t,n){var r=n(6351),o=n(5705),i=n(1186);e.exports=function(e,t){var n={};return t=i(t,3),o(e,(function(e,o,i){r(n,o,t(e,o,i))})),n}},4402:function(e,t,n){var r=n(7022),o=n(2174),i=n(9908);e.exports=function(e){return e&&e.length?r(e,i,o):void 0}},2736:function(e,t,n){var r=n(3109);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},2507:function(e,t,n){var r=n(7022),o=n(3225),i=n(9908);e.exports=function(e){return e&&e.length?r(e,i,o):void 0}},8568:function(e){e.exports=function(){}},6170:function(e,t,n){var r=n(7289);e.exports=function(){return r.Date.now()}},4445:function(e,t,n){var r=n(1125),o=n(171),i=n(8939),a=n(925);e.exports=function(e){return i(e)?r(a(e)):o(e)}},3575:function(e,t,n){var r=n(3934)();e.exports=r},6366:function(e,t,n){var r=n(9330),o=n(1186),i=n(3268),a=n(5585),l=n(3271);e.exports=function(e,t,n){var s=a(e)?r:i;return n&&l(e,t,n)&&(t=void 0),s(e,o(t,3))}},163:function(e,t,n){var r=n(3255),o=n(9318),i=n(4409),a=n(3271),l=i((function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])}));e.exports=l},2554:function(e){e.exports=function(){return[]}},5535:function(e){e.exports=function(){return!1}},1909:function(e,t,n){var r=n(2279),o=n(1845);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},9103:function(e,t,n){var r=n(7923),o=1/0;e.exports=function(e){return e?(e=r(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}},7260:function(e,t,n){var r=n(9103);e.exports=function(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}},7923:function(e,t,n){var r=n(2306),o=n(1845),i=n(2060),a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||s.test(e)?u(e.slice(2),n?2:8):a.test(e)?NaN:+e}},1822:function(e,t,n){var r=n(1612);e.exports=function(e){return null==e?"":r(e)}},5487:function(e,t,n){var r=n(1186),o=n(7579);e.exports=function(e,t){return e&&e.length?o(e,r(t,2)):[]}},4569:function(e,t,n){var r=n(2797)("toUpperCase");e.exports=r},1729:function(e,t,n){"use strict";var r=n(9165);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5192:function(e,t,n){e.exports=n(1729)()},9165:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3294:function(e){"use strict";function t(e){this._maxSize=e,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(e){return this._values[e]},t.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,o=/^\d/,i=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,a=/^\s*(['"]?)(.*?)(\1)\s*$/,l=new t(512),s=new t(512),u=new t(512);function c(e){return l.get(e)||l.set(e,d(e).map((function(e){return e.replace(a,"$2")})))}function d(e){return e.match(n)||[""]}function f(e){return"string"===typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function p(e){return!f(e)&&(function(e){return e.match(o)&&!e.match(r)}(e)||function(e){return i.test(e)}(e))}e.exports={Cache:t,split:d,normalizePath:c,setter:function(e){var t=c(e);return s.get(e)||s.set(e,(function(e,n){for(var r=0,o=t.length,i=e;r