ethyca-fides 2.69.1rc0__py2.py3-none-any.whl → 2.76.0rc2__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ethyca_fides-2.69.1rc0.dist-info → ethyca_fides-2.76.0rc2.dist-info}/METADATA +9 -6
- {ethyca_fides-2.69.1rc0.dist-info → ethyca_fides-2.76.0rc2.dist-info}/RECORD +488 -361
- fides/_version.py +3 -3
- fides/api/alembic/alembic.ini +5 -1
- fides/api/alembic/migrations/env.py +7 -1
- fides/api/alembic/migrations/versions/0eef0016cf06_adding_oauth2_config_for_.py +69 -0
- fides/api/alembic/migrations/versions/303287c70600_migrate_resource_type_from_enum_to_.py +99 -0
- fides/api/alembic/migrations/versions/30369bb8ae01_add_webmonitorgroupjob_model.py +67 -0
- fides/api/alembic/migrations/versions/3efe14d4469a_adds_new_experience_configs_for_vendor_.py +79 -0
- fides/api/alembic/migrations/versions/4bfbeff34611_add_polling_status.py +68 -0
- fides/api/alembic/migrations/versions/4d8c0fcc5771_adding_default_system_groups.py +78 -0
- fides/api/alembic/migrations/versions/5fa78b1f324d_add_event_audit_table.py +82 -0
- fides/api/alembic/migrations/versions/65a1bc82ae09_adds_experience_config_for_delete_.py +53 -0
- fides/api/alembic/migrations/versions/67d0e389b003_update_consentstatus_enum.py +47 -0
- fides/api/alembic/migrations/versions/795f46f656c0_migrate_field_type_from_enum_to_string.py +61 -0
- fides/api/alembic/migrations/versions/7db29f9cd77b_create_new_sub_request_table.py +95 -0
- fides/api/alembic/migrations/versions/918aefc950c9_create_digest_conditional_dependencies.py +125 -0
- fides/api/alembic/migrations/versions/9caf76161e55_make_user_assigned_data_uses_nullable_.py +64 -0
- fides/api/alembic/migrations/versions/9e0dcbf67b9f_add_digest_config.py +84 -0
- fides/api/alembic/migrations/versions/a55e12c2c2df_add_tagging_instructions_to_data_.py +29 -0
- fides/api/alembic/migrations/versions/a8e0c016afd_add_classification_benchmark_table.py +126 -0
- fides/api/alembic/migrations/versions/b97e92b038d2_add_digest_execution_model.py +117 -0
- fides/api/alembic/migrations/versions/b9bfa12c167b_add_not_applicable_to_asset_consentstatus.py +46 -0
- fides/api/alembic/migrations/versions/c09e76282dd1_add_privacy_request_duplication_cols.py +64 -0
- fides/api/alembic/migrations/versions/cd8649be3a2b_add_classifications_and_user_assigned_.py +74 -0
- fides/api/alembic/migrations/versions/e2cda8d6abc3_add_dismissed_in_activity_view_to_.py +29 -0
- fides/api/alembic/migrations/versions/f108fa05c579_adds_optional_duration_field_to_assets.py +28 -0
- fides/api/alembic/migrations/versions/f36ce1bde293_add_system_groups.py +132 -0
- fides/api/alembic/migrations/versions/fd7571bef683_adds_new_fields_to_messagingconfig_for_.py +31 -0
- fides/api/alembic/migrations/versions/xx_2025_10_17_1603_5093e92e2a5a_add_consent_data_v3_to_the_database.py +72 -0
- fides/api/alembic/migrations/versions/xx_2025_10_27_1834_67f0f2f4748e_adding_identity_definition_model.py +45 -0
- fides/api/alembic/migrations/versions/xx_2025_10_29_1659_80d28dea3b6b_added_duplicate_group_table.py +79 -0
- fides/api/alembic/migrations/versions/xx_2025_11_05_0200_f1a2b3c4d5e6_create_staged_resource_error_table.py +82 -0
- fides/api/alembic/migrations/versions/xx_2025_11_07_1709_56fe6fad2d89_add_notice_display_order.py +47 -0
- fides/api/alembic/migrations/versions/xx_2025_11_10_1200_a1b2c3d4e5f6_add_test_datastore_to_connectiontype.py +53 -0
- fides/api/alembic/migrations/versions/xx_2025_11_11_1317_7d82c8fc4c34_store_saas_template_datasets.py +68 -0
- fides/api/alembic/migrations/versions/xx_2025_11_12_1430_b2c3d4e5f6a7_add_default_identity_definitions.py +81 -0
- fides/api/alembic/migrations/versions/xx_2025_11_25_1854_3ff6449c099e_add_index_on_providedidentity_privacy_.py +50 -0
- fides/api/api/v1/api.py +2 -0
- fides/api/api/v1/endpoints/admin.py +39 -0
- fides/api/api/v1/endpoints/connection_endpoints.py +191 -47
- fides/api/api/v1/endpoints/connector_template_endpoints.py +167 -0
- fides/api/api/v1/endpoints/generic_overrides.py +90 -15
- fides/api/api/v1/endpoints/messaging_endpoints.py +164 -34
- fides/api/api/v1/endpoints/pre_approval_webhook_endpoints.py +5 -5
- fides/api/api/v1/endpoints/privacy_request_endpoints.py +231 -46
- fides/api/api/v1/endpoints/saas_config_endpoints.py +63 -92
- fides/api/api/v1/endpoints/storage_endpoints.py +5 -1
- fides/api/api/v1/endpoints/system.py +157 -100
- fides/api/api/v1/endpoints/user_endpoints.py +17 -4
- fides/api/app_setup.py +1 -3
- fides/api/common_exceptions.py +8 -0
- fides/api/db/base.py +8 -0
- fides/api/db/crud.py +30 -2
- fides/api/db/database.py +261 -4
- fides/api/db/safe_crud.py +377 -0
- fides/api/db/seed.py +35 -1
- fides/api/email_templates/get_email_template.py +3 -0
- fides/api/email_templates/template_names.py +1 -0
- fides/api/email_templates/templates/external_user_welcome.html +9 -5
- fides/api/email_templates/templates/manual_task_digest.html +316 -0
- fides/api/main.py +2 -0
- fides/api/migrations/post_upgrade_index_creation.py +20 -0
- fides/api/models/asset.py +17 -1
- fides/api/models/attachment.py +1 -0
- fides/api/models/conditional_dependency/__init__.py +0 -0
- fides/api/models/conditional_dependency/conditional_dependency_base.py +311 -0
- fides/api/models/connection_oauth_credentials.py +57 -0
- fides/api/models/connectionconfig.py +11 -1
- fides/api/models/detection_discovery/__init__.py +4 -0
- fides/api/models/detection_discovery/classification_benchmark.py +140 -0
- fides/api/models/detection_discovery/core.py +78 -3
- fides/api/models/detection_discovery/monitor_task.py +3 -1
- fides/api/models/detection_discovery/staged_resource_error.py +25 -0
- fides/api/models/detection_discovery/web_monitor.py +61 -0
- fides/api/models/digest/__init__.py +16 -0
- fides/api/models/digest/conditional_dependencies.py +275 -0
- fides/api/models/digest/digest_config.py +110 -0
- fides/api/models/digest/digest_execution.py +142 -0
- fides/api/models/event_audit.py +85 -0
- fides/api/models/experience_notices.py +6 -1
- fides/api/models/fides_user.py +9 -0
- fides/api/models/identity_definition.py +66 -0
- fides/api/models/location_regulation_selections.py +22 -0
- fides/api/models/manual_task/conditional_dependency.py +29 -87
- fides/api/models/manual_webhook.py +17 -6
- fides/api/models/messaging.py +30 -10
- fides/api/models/messaging_template.py +14 -0
- fides/api/models/policy.py +27 -0
- fides/api/models/privacy_experience.py +41 -0
- fides/api/models/privacy_notice.py +196 -13
- fides/api/models/privacy_preference.py +2 -0
- fides/api/models/privacy_request/duplicate_group.py +84 -0
- fides/api/models/privacy_request/privacy_request.py +154 -8
- fides/api/models/privacy_request/provided_identity.py +22 -1
- fides/api/models/privacy_request/request_task.py +98 -1
- fides/api/models/privacy_request/webhook.py +3 -1
- fides/api/models/saas_template_dataset.py +63 -0
- fides/api/models/sql_models.py +161 -7
- fides/api/models/system_group.py +85 -0
- fides/api/models/taxonomy.py +91 -9
- fides/api/models/v3/__init__.py +0 -0
- fides/api/models/v3/privacy_preferences.py +85 -0
- fides/api/models/worker_task.py +8 -0
- fides/api/oauth/roles.py +4 -0
- fides/api/schemas/application_config.py +32 -1
- fides/api/schemas/connection_configuration/connection_config.py +1 -30
- fides/api/schemas/connection_configuration/connection_oauth_config.py +42 -0
- fides/api/schemas/connection_configuration/connection_secrets_mongodb.py +15 -3
- fides/api/schemas/connection_configuration/connection_secrets_mssql.py +5 -0
- fides/api/schemas/messaging/messaging.py +49 -66
- fides/api/schemas/messaging/messaging_secrets_docs_only.py +1 -1
- fides/api/schemas/messaging/shared_schemas.py +102 -0
- fides/api/schemas/oauth.py +2 -1
- fides/api/schemas/privacy_center_config.py +29 -5
- fides/api/schemas/privacy_request.py +44 -7
- fides/api/schemas/saas/async_polling_configuration.py +81 -0
- fides/api/schemas/saas/connector_template.py +14 -0
- fides/api/schemas/saas/saas_config.py +12 -20
- fides/api/schemas/system.py +8 -0
- fides/api/schemas/taxonomy_extensions.py +8 -0
- fides/api/schemas/user.py +2 -2
- fides/api/service/async_dsr/handlers/__init__.py +0 -0
- fides/api/service/async_dsr/handlers/polling_attachment_handler.py +155 -0
- fides/api/service/async_dsr/handlers/polling_request_handler.py +88 -0
- fides/api/service/async_dsr/handlers/polling_response_handler.py +261 -0
- fides/api/service/async_dsr/handlers/polling_sub_request_handler.py +123 -0
- fides/api/service/async_dsr/strategies/__init__.py +0 -0
- fides/api/service/async_dsr/strategies/async_dsr_strategy.py +52 -0
- fides/api/service/async_dsr/strategies/async_dsr_strategy_callback.py +199 -0
- fides/api/service/async_dsr/strategies/async_dsr_strategy_factory.py +72 -0
- fides/api/service/async_dsr/strategies/async_dsr_strategy_polling.py +691 -0
- fides/api/service/async_dsr/utils.py +130 -0
- fides/api/service/connectors/base_erasure_email_connector.py +7 -0
- fides/api/service/connectors/bigquery_connector.py +34 -16
- fides/api/service/connectors/fides/fides_client.py +63 -1
- fides/api/service/connectors/http_connector.py +48 -12
- fides/api/service/connectors/microsoft_sql_server_connector.py +6 -1
- fides/api/service/connectors/mongodb_connector.py +74 -9
- fides/api/service/connectors/query_configs/saas_query_config.py +160 -79
- fides/api/service/connectors/saas/connector_registry_service.py +42 -135
- fides/api/service/connectors/saas_connector.py +116 -76
- fides/api/service/connectors/sql_connector.py +14 -4
- fides/api/service/deps.py +25 -2
- fides/api/service/messaging/message_dispatch_service.py +98 -20
- fides/api/service/messaging/messaging_crud_service.py +5 -9
- fides/api/service/privacy_request/attachment_handling.py +9 -2
- fides/api/service/privacy_request/dsr_package/dsr_report_builder.py +17 -9
- fides/api/service/privacy_request/dsr_package/templates/attachments_index.html +41 -30
- fides/api/service/privacy_request/dsr_package/templates/clickme.html +68 -0
- fides/api/service/privacy_request/dsr_package/templates/dataset_index.html +30 -27
- fides/api/service/privacy_request/duplication_detection.py +439 -0
- fides/api/service/privacy_request/email_batch_service.py +2 -1
- fides/api/service/privacy_request/request_runner_service.py +92 -91
- fides/api/service/privacy_request/request_service.py +74 -90
- fides/api/service/saas_request/saas_request_override_factory.py +71 -1
- fides/api/service/storage/streaming/schemas.py +27 -19
- fides/api/service/storage/streaming/smart_open_client.py +2 -2
- fides/api/service/storage/streaming/smart_open_streaming_storage.py +238 -147
- fides/api/service/storage/util.py +20 -106
- fides/api/service/strategy.py +6 -3
- fides/api/task/conditional_dependencies/privacy_request/__init__.py +0 -0
- fides/api/task/conditional_dependencies/privacy_request/convenience_fields.py +155 -0
- fides/api/task/conditional_dependencies/privacy_request/privacy_request_data.py +140 -0
- fides/api/task/conditional_dependencies/privacy_request/schemas.py +212 -0
- fides/api/task/conditional_dependencies/sql_schemas.py +301 -0
- fides/api/task/conditional_dependencies/sql_translator.py +757 -0
- fides/api/task/conditional_dependencies/util.py +111 -0
- fides/api/task/execute_request_tasks.py +34 -13
- fides/api/task/filter_results.py +35 -2
- fides/api/task/graph_runners.py +2 -32
- fides/api/task/graph_task.py +42 -12
- fides/api/task/manual/manual_task_conditional_evaluation.py +33 -28
- fides/api/task/manual/manual_task_graph_task.py +4 -1
- fides/api/task/manual/manual_task_utils.py +68 -26
- fides/api/task/scheduler_utils.py +39 -0
- fides/api/tasks/__init__.py +15 -1
- fides/api/util/cache.py +5 -1
- fides/api/util/connection_util.py +101 -218
- fides/api/util/event_audit_util.py +230 -0
- fides/api/util/filter_utils.py +0 -3
- fides/api/util/fuzzy_search_utils.py +7 -1
- fides/api/util/lock.py +13 -3
- fides/api/util/logger.py +58 -4
- fides/api/util/logger_context_utils.py +3 -1
- fides/api/util/masking_util.py +31 -0
- fides/api/util/memory_watchdog.py +118 -0
- fides/api/util/rate_limit.py +25 -7
- fides/api/util/saas_config_updater.py +76 -0
- fides/api/util/saas_util.py +28 -1
- fides/api/worker/__init__.py +6 -0
- fides/common/api/scope_registry.py +6 -7
- fides/common/api/v1/urn_registry.py +15 -3
- fides/config/__init__.py +11 -2
- fides/config/celery_settings.py +42 -0
- fides/config/config_proxy.py +10 -0
- fides/config/duplicate_detection_settings.py +31 -0
- fides/config/execution_settings.py +6 -6
- fides/config/security_settings.py +4 -1
- fides/config/utils.py +5 -0
- fides/data/language/languages.yml +2 -0
- fides/service/connection/__init__.py +0 -0
- fides/service/connection/connection_service.py +651 -0
- fides/service/dataset/dataset_service.py +39 -0
- fides/service/event_audit_service.py +109 -0
- fides/service/messaging/aws_ses_service.py +2 -4
- fides/service/messaging/messaging_service.py +75 -74
- fides/service/privacy_request/privacy_request_service.py +345 -100
- fides/service/system/__init__.py +0 -0
- fides/service/system/system_service.py +153 -0
- fides/service/taxonomy/handlers/legacy_handler.py +3 -3
- fides/service/taxonomy/taxonomy_service.py +64 -18
- fides/ui-build/static/admin/404.html +1 -1
- fides/ui-build/static/admin/_next/static/chunks/1099-688fa865621531cc.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/1115-7fd171dac1eb0e51.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/1276.deb10ae2643f8463.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/1438-8a33b3834d6e43f3.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{6148-59a59d5c5925344f.js → 1533-84e250d1f26e6d7d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/1821-c1daa160f492aacf.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/1840-359ee056e4cf6629.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{1975.78e719130cfe3fd6.js → 1975.bef017bc80e2012c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/2040-70972e15960d9afe.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/2121.321b0fd3932164d4.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/2397-3434603a97f3f5d6.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/2921-49ed0ed897832958.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3150-da5406b80d25fe6d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3214-90ce0a366b0f461a.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3377-02bf9780fd383d94.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3615-5e2d062d684b8fa1.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3655-5e1ba5dd68b5ec48.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3729-31ff8ba51491bf21.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3872-cff30ca0844fe2b1.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3931-8bedde156fe83564.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/401-582d9970d89deefe.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4093-7e47408c28de5375.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{4259.d1507e0db19cbed7.js → 4259.05038c9b78467244.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/431-e01ee730c8ad9ece.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4322-f6aeff6880726c83.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4339-04a715ab07122744.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4496-ccbce2459174e0d6.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/454-d5c2c84f1a14e4f1.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4589-c1d83c6a8dab4d30.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4809-a8f4a108a42f53ed.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4903-19c0bc07a956dfa8.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4910-d990773601f794c1.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5185-96423702fba70ced.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5258-4e308cca01d59367.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5487-5c3501754bf027ba.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/549-1bdc3e6f3264c020.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5505-43b9c39491b88e08.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5698.2135391a128cc373.js +164 -0
- fides/ui-build/static/admin/_next/static/chunks/5783-016dfcee8e49bf61.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5826-4db99ea4e5077911.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/590-be447cacf12419dd.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6084-91badbc6569a0efb.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6344-026cb323c1d49926.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6362-ba0e12f2fc4cad94.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6853-882889659769d7b4.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6882-bb1b469d7d7f5335.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6954-0dcf22a9aabe39c5.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/7170-46db82bb5b55e856.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/7218-2ace8c82e3e7eb74.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/7245-1cdafb35f289861b.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/7630-7f75ab7b8df42eb3.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/7654-2e9a8be02e41769a.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/8212-348ddd2b6933db70.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/9014-eeae6f581158e645.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{5596-bb601cbf40e47a0f.js → 9195-da717d324917b049.js} +3 -3
- fides/ui-build/static/admin/_next/static/chunks/9450-b7b7bb1d755ecf57.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{9676.9fd9552ef744c717.js → 9676.1f395eeb9cc34968.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/9826-1078e46f3ac0b688.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/9911-ece086f2230e34f0.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{404-471a6b18e712f050.js → 404-800be6996aaa999c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{_app-fcdad91f6f66292b.js → _app-de4b578c904df772.js} +57 -220
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/manual-f12020b82dd4bd1a.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/multiple-a911b7990371704d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems-ad585b79953c2753.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure/{add-vendors-406170eaae4329c6.js → add-vendors-bb263d394ca1c8fa.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure-6907c368d8611c44.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{[id]-f80cf2d3966816fd.js → [id]-c32f381af358149b.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{new-e74cb5ea87f15b40.js → new-6efb3c069d8b47dd.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience-1975c529905eea9b.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{[id]-b378576cba255609.js → [id]-b05331178928ab52.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/{new-2ca1de7b88094ab0.js → new-516834e930bb0d0d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices-985717f2565f9d9d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/{properties-226efa1dcd41437f.js → properties-2be773e08498e40c.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/reporting-850afb74f4192e87.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent-b63d1e395d879b86.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-5b28f0f674ea87bd.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/{[projectUrn]-04cfe2cfba7b7cd8.js → [projectUrn]-676177e2f3c9c2a2.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects-794906929efb8e1d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-3ccbf7c0d06507b9.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog-1ea0b24d306b1e67.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/datastore/[monitorId]-d4861a4a218bb65a.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/datastore-4498881c26f1458d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/infrastructure/[monitorId]-66bd265044daf97d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/infrastructure-c9c79fa8576a4f77.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/website/[monitorId]/[systemId]-60cacc3232c2eead.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/website/[monitorId]-437bd64a3016de36.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/website-5b3e0009d442bc3f.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-8349248c2da970a6.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/activity-6919a1d6cadaa46b.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/detection/{[resourceUrn]-8f736b078e9842da.js → [resourceUrn]-1a50d421897d3da1.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{detection-eb814e3c22807871.js → detection-49509414a15e8393.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/discovery/{[resourceUrn]-6875b7783fcfda2f.js → [resourceUrn]-1a1bb80b586d0c0f.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/{discovery-172dbd7740e212ca.js → discovery-49de61df1e8e7fba.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datamap-c2719f5cff20c0f8.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]/{[...subfieldNames]-dfd71c1e9c458b89.js → [...subfieldNames]-415015aebab60436.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/{[collectionName]-7cdc42ec5493b83d.js → [collectionName]-5accb09715b5122d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]-aebecca1d8ec5f98.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/new-9551a82ddec9f909.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset-72f8fe47beef0f09.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/[id]-3a8aa3f633528e88.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/new-87512616f35ec6da.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection-2f1bf4eac7aa55fd.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{fides-js-docs-1f4335dca5c09860.js → fides-js-docs-5235760b3e508d7d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/index-8d67cd2872cb682a.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-7a631df29cd0e31a.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-ea3bc43cdaf273de.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/new-privacy-requests-5d8632bba1b81cd4.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/digests/[id]-92e01822ecde8fb8.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/digests/new-1256cf6d3f6794e0.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/digests-0daac00911d27617.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/providers/[key]-2d976fe5e8ba0a3a.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/providers/new-7766ba497b863740.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/providers-f2880d2ed4734270.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/templates/[id]-669f585c3458faff.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/templates/add-template-c79e7724e4bc3899.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications/templates-891654e8dc13965c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/notifications-40c8148244c5d347.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/ant-components-1e86f3e28bd23ed6.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/AntForm-9b7bd8c38f02c091.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikAntFormItem-b18a53a940cf9e19.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikControlled-6d028d7450e77578.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikField-8399083ee2cd8cc2.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/forms-0a910125cdb2b3b8.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-acc90b6f7fe915cb.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/storage-bbc42026f2685438.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure-c08ca6ad21c99799.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-77c2db582f8823bc.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/properties/{[id]-e784c05d056b2371.js → [id]-74ccea4868408e3d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/properties/{add-property-0a7a2db148a7561a.js → add-property-7d9f09bfe9d44dfc.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/{properties-da734840e4f9d04b.js → properties-cd77bc30672bb1fa.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/datamap-cc3bd9540132d5ed.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/sandbox/privacy-notices-7ce7d720107ab4b5.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/about/alpha-68eaac2d79133679.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/about-6c4904c157477285.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-ae789892343c24f5.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent-13ee1b331ced0846.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields/[id]-ee4e43692336a330.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields/new-ca51d794abfcbf25.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields-ecd1dc5db8e81409.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/domain-records-df06f7e2f668c540.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/domains-da0c77bd510c6c51.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/email-templates-950b0c115bf673d8.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{locations-2e635dcd11b78224.js → locations-7e36cb4756973a9d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/organization-a0e5ed486d24ccf3.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/privacy-requests-3cdebafb6870d3ad.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/{regulations-7c02e469d8c5bd74.js → regulations-159aad34f1021320.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/test-datasets-dbd1a64090ad0946.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]-7d042497a57a3788.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/systems-21f1172e73dfc9f0.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-e553161e6338ee48.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management/{new-92f52c43f522a350.js → new-efc4af017723e57a.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management/profile/{[id]-64452dfae2c5e614.js → [id]-b152319d67372ee4.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management-dba8692491f7935e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/webpack-09ca52bc7beb0b43.js +1 -0
- fides/ui-build/static/admin/_next/static/css/012b10627a654d5c.css +1 -0
- fides/ui-build/static/admin/_next/static/css/05d05fc31d09638b.css +1 -0
- fides/ui-build/static/admin/_next/static/css/0fd6e0884cfcc5f3.css +1 -0
- fides/ui-build/static/admin/_next/static/css/14ba79c49597d37a.css +1 -0
- fides/ui-build/static/admin/_next/static/css/{34a7eb08b86ddb57.css → 3d6582469f7d56e0.css} +1 -1
- fides/ui-build/static/admin/_next/static/css/3d66bb57ddcb0978.css +1 -0
- fides/ui-build/static/admin/_next/static/css/4861ca3e088f2d05.css +1 -0
- fides/ui-build/static/admin/_next/static/css/a1800714b486e230.css +1 -0
- fides/ui-build/static/admin/_next/static/css/a1e4be9466578ef1.css +1 -0
- fides/ui-build/static/admin/_next/static/css/af32fcac7a177a0e.css +1 -0
- fides/ui-build/static/admin/_next/static/css/cb417f0587918f85.css +1 -0
- fides/ui-build/static/admin/_next/static/css/dd15c278b964de80.css +1 -0
- fides/ui-build/static/admin/_next/static/css/{5f393dea1c0d031c.css → f89607996ad54f4b.css} +1 -1
- fides/ui-build/static/admin/_next/static/css/f9a2a44d3d34c904.css +1 -0
- fides/ui-build/static/admin/_next/static/l2vgGUHB04Fi4oEVlVMrc/_buildManifest.js +1 -0
- fides/ui-build/static/admin/add-systems/manual.html +1 -1
- fides/ui-build/static/admin/add-systems/multiple.html +1 -1
- fides/ui-build/static/admin/add-systems.html +1 -1
- fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
- fides/ui-build/static/admin/consent/configure.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
- fides/ui-build/static/admin/consent/properties.html +1 -1
- fides/ui-build/static/admin/consent/reporting.html +1 -1
- fides/ui-build/static/admin/consent.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
- fides/ui-build/static/admin/data-catalog.html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/datastore/[monitorId].html +1 -0
- fides/ui-build/static/admin/data-discovery/action-center/datastore.html +1 -0
- fides/ui-build/static/admin/data-discovery/action-center/infrastructure/[monitorId].html +1 -0
- fides/ui-build/static/admin/data-discovery/action-center/infrastructure.html +1 -0
- fides/ui-build/static/admin/data-discovery/action-center/website/[monitorId]/[systemId].html +1 -0
- fides/ui-build/static/admin/data-discovery/action-center/website/[monitorId].html +1 -0
- fides/ui-build/static/admin/data-discovery/action-center/website.html +1 -0
- fides/ui-build/static/admin/data-discovery/action-center.html +1 -1
- fides/ui-build/static/admin/data-discovery/activity.html +1 -1
- fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/detection.html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery.html +1 -1
- fides/ui-build/static/admin/datamap.html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId].html +1 -1
- fides/ui-build/static/admin/dataset/new.html +1 -1
- fides/ui-build/static/admin/dataset.html +1 -1
- fides/ui-build/static/admin/datastore-connection/[id].html +1 -1
- fides/ui-build/static/admin/datastore-connection/new.html +1 -1
- fides/ui-build/static/admin/datastore-connection.html +1 -1
- fides/ui-build/static/admin/index.html +1 -1
- fides/ui-build/static/admin/integrations/[id].html +1 -1
- fides/ui-build/static/admin/integrations.html +1 -1
- fides/ui-build/static/admin/lib/fides-ext-gpp.js +1 -1
- fides/ui-build/static/admin/lib/fides-headless.js +1 -1
- fides/ui-build/static/admin/lib/fides-preview.js +1 -1
- fides/ui-build/static/admin/lib/fides-tcf.js +3 -3
- fides/ui-build/static/admin/lib/fides.js +3 -3
- fides/ui-build/static/admin/login/[provider].html +1 -1
- fides/ui-build/static/admin/login.html +1 -1
- fides/ui-build/static/admin/new-privacy-requests.html +1 -0
- fides/ui-build/static/admin/notifications/digests/[id].html +1 -0
- fides/ui-build/static/admin/notifications/digests/new.html +1 -0
- fides/ui-build/static/admin/notifications/digests.html +1 -0
- fides/ui-build/static/admin/notifications/providers/[key].html +1 -0
- fides/ui-build/static/admin/notifications/providers/new.html +1 -0
- fides/ui-build/static/admin/notifications/providers.html +1 -0
- fides/ui-build/static/admin/notifications/templates/[id].html +1 -0
- fides/ui-build/static/admin/notifications/templates/add-template.html +1 -0
- fides/ui-build/static/admin/notifications/templates.html +1 -0
- fides/ui-build/static/admin/notifications.html +1 -0
- fides/ui-build/static/admin/poc/ant-components.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/AntForm.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikAntFormItem.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikControlled.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikField.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikSpreadField.html +1 -1
- fides/ui-build/static/admin/poc/forms.html +1 -1
- fides/ui-build/static/admin/privacy-requests/[id].html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure/storage.html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure.html +1 -1
- fides/ui-build/static/admin/privacy-requests.html +1 -1
- fides/ui-build/static/admin/properties/[id].html +1 -1
- fides/ui-build/static/admin/properties/add-property.html +1 -1
- fides/ui-build/static/admin/properties.html +1 -1
- fides/ui-build/static/admin/reporting/datamap.html +1 -1
- fides/ui-build/static/admin/sandbox/privacy-notices.html +1 -0
- fides/ui-build/static/admin/settings/about/alpha.html +1 -1
- fides/ui-build/static/admin/settings/about.html +1 -1
- fides/ui-build/static/admin/settings/consent/[configuration_id]/[purpose_id].html +1 -1
- fides/ui-build/static/admin/settings/consent.html +1 -1
- fides/ui-build/static/admin/settings/custom-fields/[id].html +1 -0
- fides/ui-build/static/admin/settings/custom-fields/new.html +1 -0
- fides/ui-build/static/admin/settings/custom-fields.html +1 -1
- fides/ui-build/static/admin/settings/domain-records.html +1 -1
- fides/ui-build/static/admin/settings/domains.html +1 -1
- fides/ui-build/static/admin/settings/email-templates.html +1 -1
- fides/ui-build/static/admin/settings/locations.html +1 -1
- fides/ui-build/static/admin/settings/organization.html +1 -1
- fides/ui-build/static/admin/settings/privacy-requests.html +1 -1
- fides/ui-build/static/admin/settings/regulations.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id].html +1 -1
- fides/ui-build/static/admin/systems.html +1 -1
- fides/ui-build/static/admin/taxonomy.html +1 -1
- fides/ui-build/static/admin/user-management/new.html +1 -1
- fides/ui-build/static/admin/user-management/profile/[id].html +1 -1
- fides/ui-build/static/admin/user-management.html +1 -1
- fides/api/service/async_dsr/async_dsr_service.py +0 -75
- fides/api/service/privacy_request/dsr_package/templates/welcome.html +0 -66
- fides/ui-build/static/admin/_next/static/OmXHlY9MvjoZH9jDkAytl/_buildManifest.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1099-79646e64f26d62fa.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1316-2606e19807c08aa5.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1345-5e1c5b66e25c566e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1467-8808ec8836e033f9.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1817-0ca16d288fad916d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/2150-930ffaf2c4718edc.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/255-1bc0cbef7a59cdc6.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/2921-52328140bc420d0f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/346-aa3b88efb85f2e28.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3550-d04125c828d591a1.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3620-602eb74dc896d556.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3729-c17ac8031a4c4fd1.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3847-230bf61b053bc706.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3855-ef5194cdb228beb6.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3872-f78dec02f0d959ae.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3923-bb2417b8dcade7a4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/401-4af0a912e249d30f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4164-355644b916ae0094.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/431-86ad2beeb93c95c9.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4608-be8cba73f5d7c326.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4786-61154adf88e448e1.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4808-dd4157aa72648068.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4831-fd99c0b3784de128.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4844-46324c3d848b8b6a.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5163-e682273cd76a7d07.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5258-b0de22a8521686ab.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5487-02d00bad7c6830e0.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/549-38ea1d91ee2addaa.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5619-9b50cec521203989.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6084-c153669d5567e242.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6419-d0c00d661b01f8fa.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6853-b17673391117c976.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6954-5296188c19d7d0ac.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/699-8ca44b0de9fa20f0.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/7476-45c5088baa8b66af.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/7630-7ed6c6117775dffe.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/787-a8c7eab617e2fceb.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/79-65674011d455af4d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/796-9e1ca1a4030707c5.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/8002-24af20d679efc04e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/8765-f622a35b40a7ec63.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9046-712156d461165f56.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9187-7438242f0d380bb0.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9278-08cc704317fe535e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9729-fcf6ff4e3534e4a8.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9826-dbae8dee941a7fac.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9951-a88367a129b724ba.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/manual-ace203dfacacbdc4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/multiple-920fb469e0dda1d2.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems-bd0d82078e67cac3.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure-7207ab23bdb36ce8.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience-9dda4de5ec580279.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices-0d4844d0b808e6e4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/reporting-28b192e2c074b0f3.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent-3e8bdefe714254ec.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-2c29ff7a01198f30.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects-5f2d7b24804f861f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-8eb581024bc0172f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog-30108b00ac769fc3.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-e1ba213fb666b3f4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-6d133580045abdda.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-9a81d42a474e1e48.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/activity-b6ae7adb8ef0b525.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datamap-c7390e046b2e2b7f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]-e12b11ba15bc3fc1.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/new-e32fccc4ca520d2b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset-7c59a6abf6ba6207.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/[id]-927b7e476c4b47d0.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/new-cbe100d50df34285.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection-cce20440b177050b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/index-6cd8708106331b8d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-4c3c413a2668df53.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-95402b5001c07ef2.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging/[id]-3c6dc2f6e6bae960.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging/add-template-4a6d4023a7791be8.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging-76b204c9b98d656f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/ant-components-bc0e2adf6e0d3ac7.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/AntForm-86ffcc1ad3fa912e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikAntFormItem-ec04f595465bdf69.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikControlled-41d309754ff0c1de.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikField-cab1f78cec7808f9.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/forms-eb6058221403b156.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/table-migration-48500551fd6a7602.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-0f25a76dd18c5e20.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/messaging-ad6ad3e5bd72765d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/storage-6032d82f0fc2893d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure-d83e5bd52a638234.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-baf31c3e4b081046.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/datamap-6903f42a0412bfa6.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/about/alpha-a82f3df840d5c1b5.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/about-d06fb16487705b9d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-9495e2eb506606c7.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent-93a978443bf299db.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields-9ecb803099082bf4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/domain-records-16fdd91a81074dd1.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/domains-4cdd6001e7cb9aee.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/email-templates-1914de830ce5cfc4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/organization-f547f1f33c12faf3.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/privacy-requests-2ecc073f41628f62.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/test-datasets-20b1193ed76c56b0.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]-6e15332935f6b538.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems-fbc8761ef4d55516.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-4d7827fc9c46b6b8.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management-9cec020f89544426.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/webpack-678e89d68dbcd94f.js +0 -1
- fides/ui-build/static/admin/_next/static/css/073713cd1eddda79.css +0 -1
- fides/ui-build/static/admin/_next/static/css/23cf870196941c9a.css +0 -1
- fides/ui-build/static/admin/_next/static/css/304c6f148886a8d4.css +0 -1
- fides/ui-build/static/admin/_next/static/css/650df9c348000a26.css +0 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +0 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +0 -1
- fides/ui-build/static/admin/messaging/[id].html +0 -1
- fides/ui-build/static/admin/messaging/add-template.html +0 -1
- fides/ui-build/static/admin/messaging.html +0 -1
- fides/ui-build/static/admin/poc/table-migration.html +0 -1
- fides/ui-build/static/admin/privacy-requests/configure/messaging.html +0 -1
- {ethyca_fides-2.69.1rc0.dist-info → ethyca_fides-2.76.0rc2.dist-info}/WHEEL +0 -0
- {ethyca_fides-2.69.1rc0.dist-info → ethyca_fides-2.76.0rc2.dist-info}/entry_points.txt +0 -0
- {ethyca_fides-2.69.1rc0.dist-info → ethyca_fides-2.76.0rc2.dist-info}/licenses/LICENSE +0 -0
- {ethyca_fides-2.69.1rc0.dist-info → ethyca_fides-2.76.0rc2.dist-info}/top_level.txt +0 -0
- /fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/{resources-de704de849960f01.js → resources-81d1b50585468fb0.js} +0 -0
- /fides/ui-build/static/admin/_next/static/{OmXHlY9MvjoZH9jDkAytl → l2vgGUHB04Fi4oEVlVMrc}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5698],{67513:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(30956),t)},30956:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0}),t.store=t.PERSISTENCY_KEY=void 0;let i=n(88319);function o(){try{if(null==localStorage)return!1;let e=t.PERSISTENCY_KEY+"_test";return localStorage.setItem(e,"test"),localStorage.getItem(e),localStorage.removeItem(e),!0}catch(e){return!1}}t.PERSISTENCY_KEY="MSW_COOKIE_STORE";class a{constructor(){this.store=new Map}add(e,t){if("omit"===e.credentials)return;let n=new URL(e.url),o=t.headers.get("set-cookie");if(!o)return;let a=Date.now(),s=i.parse(o).map(e=>{var{maxAge:t}=e,n=r(e,["maxAge"]);return Object.assign(Object.assign({},n),{expires:void 0===t?n.expires:new Date(a+1e3*t),maxAge:t})}),u=this.store.get(n.origin)||new Map;s.forEach(e=>{this.store.set(n.origin,u.set(e.name,e))})}get(e){this.deleteExpiredCookies();let t=new URL(e.url),n=this.store.get(t.origin)||new Map;switch(e.credentials){case"include":if("undefined"==typeof document)return n;return i.parse(document.cookie).forEach(e=>{n.set(e.name,e)}),n;case"same-origin":return n;default:return new Map}}getAll(){return this.deleteExpiredCookies(),this.store}deleteAll(e){let t=new URL(e.url);this.store.delete(t.origin)}clear(){this.store.clear()}hydrate(){if(!o())return;let e=localStorage.getItem(t.PERSISTENCY_KEY);if(e)try{JSON.parse(e).forEach(([e,t])=>{this.store.set(e,new Map(t.map(e=>{var[t,n]=e,{expires:i}=n,o=r(n,["expires"]);return[t,void 0===i?o:Object.assign(Object.assign({},o),{expires:new Date(i)})]})))})}catch(e){console.warn(`
|
|
2
|
+
[virtual-cookie] Failed to parse a stored cookie from the localStorage (key "${t.PERSISTENCY_KEY}").
|
|
3
|
+
|
|
4
|
+
Stored value:
|
|
5
|
+
${localStorage.getItem(t.PERSISTENCY_KEY)}
|
|
6
|
+
|
|
7
|
+
Thrown exception:
|
|
8
|
+
${e}
|
|
9
|
+
|
|
10
|
+
Invalid value has been removed from localStorage to prevent subsequent failed parsing attempts.`),localStorage.removeItem(t.PERSISTENCY_KEY)}}persist(){if(!o())return;let e=Array.from(this.store.entries()).map(([e,t])=>[e,Array.from(t.entries())]);localStorage.setItem(t.PERSISTENCY_KEY,JSON.stringify(e))}deleteExpiredCookies(){let e=Date.now();this.store.forEach((t,n)=>{t.forEach(({expires:n,name:r})=>{void 0!==n&&n.getTime()<=e&&t.delete(r)}),0===t.size&&this.store.delete(n)})}}t.store=new a},39169:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.BatchInterceptor=void 0;var a=function(e){function t(n){var r=this;return t.symbol=Symbol(n.name),(r=e.call(this,t.symbol)||this).interceptors=n.interceptors,r}return i(t,e),t.prototype.setup=function(){var e,t,n=this.log.extend("setup");n("applying all %d interceptors...",this.interceptors.length);var r=function(e){n('applying "%s" interceptor...',e.constructor.name),e.apply(),n("adding interceptor dispose subscription"),i.subscriptions.push(function(){return e.dispose()})},i=this;try{for(var a=o(this.interceptors),s=a.next();!s.done;s=a.next()){var u=s.value;r(u)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}},t.prototype.on=function(e,t){this.interceptors.forEach(function(n){n.on(e,t)})},t}(n(80827).Interceptor);t.BatchInterceptor=a},23512:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.InteractiveIsomorphicRequest=void 0;var o=n(85466),a=n(12666),s=n(49255),u=function(e){function t(t){var n=e.call(this,t)||this;return n.respondWith=s.createLazyCallback({maxCalls:1,maxCallsCallback:function(){o.invariant(!1,'Failed to respond to "%s %s" request: the "request" event has already been responded to.',n.method,n.url.href)}}),n}return i(t,e),t}(a.IsomorphicRequest);t.InteractiveIsomorphicRequest=u},80827:function(e,t,n){"use strict";var r,i,o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.Interceptor=t.InterceptorReadyState=t.deleteGlobalSymbol=t.getGlobalSymbol=void 0;var a=n(96292),s=n(17422),u=n(18326);function l(e){return globalThis[e]||void 0}function c(e){delete globalThis[e]}t.getGlobalSymbol=l,t.deleteGlobalSymbol=c,(r=i=t.InterceptorReadyState||(t.InterceptorReadyState={})).IDLE="IDLE",r.APPLYING="APPLYING",r.APPLIED="APPLIED",r.DISPOSING="DISPOSING",r.DISPOSED="DISPOSED";var p=function(){function e(e){this.symbol=e,this.readyState=i.IDLE,this.emitter=new s.AsyncEventEmitter,this.subscriptions=[],this.log=a.debug(e.description),this.emitter.setMaxListeners(0),this.log("constructing the interceptor...")}return e.prototype.checkEnvironment=function(){return!0},e.prototype.apply=function(){var e=this,t=this.log.extend("apply");if(t("applying the interceptor..."),this.readyState===i.APPLIED){t("intercepted already applied!");return}if(!this.checkEnvironment()){t("the interceptor cannot be applied in this environment!");return}this.readyState=i.APPLYING,this.emitter.activate(),t("activated the emiter!",this.emitter.readyState);var n=this.getInstance();if(n){t("found a running instance, reusing..."),this.on=function(r,i){t('proxying the "%s" listener',r),n.emitter.addListener(r,i),e.subscriptions.push(function(){n.emitter.removeListener(r,i),t('removed proxied "%s" listener!',r)})},u.nextTick(function(){e.readyState=i.APPLIED});return}t("no running instance found, setting up a new instance..."),this.setup(),this.setInstance(),u.nextTick(function(){e.readyState=i.APPLIED})},e.prototype.setup=function(){},e.prototype.on=function(e,t){var n=this.log.extend("on");if(this.readyState===i.DISPOSING||this.readyState===i.DISPOSED){n("cannot listen to events, already disposed!");return}n('adding "%s" event listener:',e,t.name),this.emitter.on(e,t)},e.prototype.dispose=function(){var e,t,n=this,r=this.log.extend("dispose");if(this.readyState===i.DISPOSED){r("cannot dispose, already disposed!");return}if(r("disposing the interceptor..."),this.readyState=i.DISPOSING,!this.getInstance()){r("no interceptors running, skipping dispose...");return}if(this.clearInstance(),r("global symbol deleted:",l(this.symbol)),this.subscriptions.length>0){r("disposing of %d subscriptions...",this.subscriptions.length);try{for(var a=o(this.subscriptions),s=a.next();!s.done;s=a.next())(0,s.value)()}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}this.subscriptions=[],r("disposed of all subscriptions!",this.subscriptions.length)}this.emitter.deactivate(),r("destroyed the listener!"),u.nextTick(function(){n.readyState=i.DISPOSED})},e.prototype.getInstance=function(){var e,t=l(this.symbol);return this.log("retrieved global instance:",null===(e=null==t?void 0:t.constructor)||void 0===e?void 0:e.name),t},e.prototype.setInstance=function(){var e;e=this.symbol,globalThis[e]=this,this.log("set global instance!",this.symbol.description)},e.prototype.clearInstance=function(){c(this.symbol),this.log("cleared global instance!",this.symbol.description)},e}();t.Interceptor=p},12666:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.IsomorphicRequest=void 0;var o=n(10359),a=n(85466),s=n(57438),u=n(86320),l=function(){function e(t,n){void 0===n&&(n={});var r=new ArrayBuffer(0);if(this._bodyUsed=!1,t instanceof e){this.id=t.id,this.url=t.url,this.method=t.method,this.headers=t.headers,this.credentials=t.credentials,this._body=t._body||r;return}this.id=u.uuidv4(),this.url=t,this.method=n.method||"GET",this.headers=new o.Headers(n.headers),this.credentials=n.credentials||"same-origin",this._body=n.body||r}return Object.defineProperty(e.prototype,"bodyUsed",{get:function(){return this._bodyUsed},enumerable:!1,configurable:!0}),e.prototype.text=function(){return r(this,void 0,void 0,function(){return i(this,function(e){return a.invariant(!this.bodyUsed,'Failed to execute "text" on "IsomorphicRequest": body buffer already read'),this._bodyUsed=!0,[2,s.decodeBuffer(this._body)]})})},e.prototype.json=function(){return r(this,void 0,void 0,function(){return i(this,function(e){return a.invariant(!this.bodyUsed,'Failed to execute "json" on "IsomorphicRequest": body buffer already read'),this._bodyUsed=!0,[2,JSON.parse(s.decodeBuffer(this._body))]})})},e.prototype.arrayBuffer=function(){return r(this,void 0,void 0,function(){return i(this,function(e){return a.invariant(!this.bodyUsed,'Failed to execute "arrayBuffer" on "IsomorphicRequest": body buffer already read'),this._bodyUsed=!0,[2,this._body]})})},e.prototype.clone=function(){return new e(this)},e}();t.IsomorphicRequest=l},86178:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IS_PATCHED_MODULE=void 0,t.IS_PATCHED_MODULE=Symbol("isPatchedModule")},23978:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeBuffer=t.encodeBuffer=t.getCleanUrl=void 0,i(n(86178),t),i(n(80827),t),i(n(39169),t),i(n(12666),t),i(n(23512),t);var o=n(35255);Object.defineProperty(t,"getCleanUrl",{enumerable:!0,get:function(){return o.getCleanUrl}});var a=n(57438);Object.defineProperty(t,"encodeBuffer",{enumerable:!0,get:function(){return a.encodeBuffer}}),Object.defineProperty(t,"decodeBuffer",{enumerable:!0,get:function(){return a.decodeBuffer}})},13327:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},i=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},a=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.createXMLHttpRequestOverride=void 0;var s=n(26865),u=n(10359),l=n(23337),c=n(31630),p=n(19564),f=n(48219),d=n(76143),h=n(12666),y=n(57438),m=n(23512);t.createXMLHttpRequestOverride=function(e){var t,n=e.XMLHttpRequest,v=e.emitter,g=e.log;return(t=function(){function e(){this._events=[],this.log=g,this.UNSENT=0,this.OPENED=1,this.HEADERS_RECEIVED=2,this.LOADING=3,this.DONE=4,this.onreadystatechange=null,this.onabort=null,this.onerror=null,this.onload=null,this.onloadend=null,this.onloadstart=null,this.onprogress=null,this.ontimeout=null,this.url="",this.method="GET",this.readyState=this.UNSENT,this.withCredentials=!1,this.status=200,this.statusText="OK",this.response="",this.responseType="text",this.responseText="",this.responseXML=null,this.responseURL="",this.upload={},this.timeout=0,this._requestHeaders=new u.Headers,this._responseHeaders=new u.Headers}return e.prototype.setReadyState=function(e){e!==this.readyState&&(this.log("readyState change %d -> %d",this.readyState,e),this.readyState=e,e!==this.UNSENT&&(this.log("triggering readystate change..."),this.trigger("readystatechange")))},e.prototype.trigger=function(e,t){this.log('trigger "%s" (%d)',e,this.readyState),this.log('resolve listener for event "%s"',e);var n,r,i=this["on"+e];null==i||i.call(this,d.createEvent(this,e,t));try{for(var a=o(this._events),s=a.next();!s.done;s=a.next()){var u=s.value;u.name===e&&(g('calling mock event listener "%s" (%d)',e,this.readyState),u.listener.call(this,d.createEvent(this,e,t)))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return this},e.prototype.reset=function(){this.log("reset"),this.setReadyState(this.UNSENT),this.status=200,this.statusText="OK",this.response=null,this.responseText=null,this.responseXML=null,this._requestHeaders=new u.Headers,this._responseHeaders=new u.Headers},e.prototype.open=function(e,t,n,o,a){return void 0===n&&(n=!0),r(this,void 0,void 0,function(){return i(this,function(r){return this.log=this.log.extend("request "+e+" "+t),this.log("open",{method:e,url:t,async:n,user:o,password:a}),this.reset(),this.setReadyState(this.OPENED),void 0===t?(this.url=e,this.method="GET"):(this.url=t,this.method=e,this.async=n,this.user=o,this.password=a),[2]})})},e.prototype.send=function(e){var t,o,l=this;this.log("send %s %s",this.method,this.url),t="string"==typeof e?y.encodeBuffer(e):e||new ArrayBuffer(0);try{o=new URL(this.url)}catch(e){o=new URL(this.url,window.location.href)}this.log("request headers",this._requestHeaders);var c=new h.IsomorphicRequest(o,{body:t,method:this.method,headers:this._requestHeaders,credentials:this.withCredentials?"include":"omit"}),d=new m.InteractiveIsomorphicRequest(c);this.log('emitting the "request" event for %d listener(s)...',v.listenerCount("request")),v.emit("request",d),this.log("awaiting mocked response..."),Promise.resolve(s.until(function(){return r(l,void 0,void 0,function(){var e;return i(this,function(t){switch(t.label){case 0:return[4,v.untilIdle("request",function(e){return a(e.args,1)[0].id===d.id})];case 1:return t.sent(),this.log("all request listeners have been resolved!"),[4,d.respondWith.invoked()];case 2:return e=a.apply(void 0,[t.sent(),1])[0],this.log("event.respondWith called with:",e),[2,e]}})})})).then(function(t){var r,i,o=a(t,2),s=o[0],d=o[1];if(s){l.log("middleware function threw an exception!",s),l.trigger("error"),l.abort();return}if(d){if(l.log("received mocked response",d),l.trigger("loadstart"),l.status=null!==(r=d.status)&&void 0!==r?r:200,l.statusText=d.statusText||"OK",l._responseHeaders=d.headers?u.objectToHeaders(d.headers):new u.Headers,l.log("set response status",l.status,l.statusText),l.log("set response headers",l._responseHeaders),l.setReadyState(l.HEADERS_RECEIVED),l.log("response type",l.responseType),l.response=l.getResponseBody(d.body),l.responseURL=l.url,l.responseText=d.body||"",l.responseXML=l.getResponseXML(),l.log("set response body",l.response),d.body&&l.response){l.setReadyState(l.LOADING);var h=f.bufferFrom(d.body);l.trigger("progress",{loaded:h.length,total:h.length})}l.setReadyState(l.DONE),l.trigger("load"),l.trigger("loadend"),v.emit("response",c,p.toIsoResponse(d))}else{l.log("no mocked response received!");var y=new n;l.log("opening an original request %s %s",l.method,l.url),y.open(l.method,l.url,null===(i=l.async)||void 0===i||i,l.user,l.password),y.addEventListener("load",function(){l.log('original "onload"'),l.status=y.status,l.statusText=y.statusText,l.responseURL=y.responseURL,l.responseType=y.responseType,l.response=y.response,l.responseText=y.responseText,l.responseXML=y.responseXML,l.log("set mock request readyState to DONE"),l.setReadyState(l.DONE),l.log("received original response",l.status,l.statusText),l.log("original response body:",l.response);var e=y.getAllResponseHeaders();l.log("original response headers:\n",e),l._responseHeaders=u.stringToHeaders(e),l.log("original response headers (normalized)",l._responseHeaders),l.log("original response finished"),v.emit("response",c,{status:y.status,statusText:y.statusText,headers:l._responseHeaders,body:y.response})}),l.propagateCallbacks(y),l.propagateListeners(y),l.propagateHeaders(y,l._requestHeaders),l.async&&(y.timeout=l.timeout),l.log("send",e),y.send(e)}})},e.prototype.abort=function(){this.log("abort"),this.readyState>this.UNSENT&&this.readyState<this.DONE&&(this.setReadyState(this.UNSENT),this.trigger("abort"))},e.prototype.dispatchEvent=function(){return!1},e.prototype.setRequestHeader=function(e,t){this.log('set request header "%s" to "%s"',e,t),this._requestHeaders.append(e,t)},e.prototype.getResponseHeader=function(e){if(this.log('get response header "%s"',e),this.readyState<this.HEADERS_RECEIVED)return this.log("cannot return a header: headers not received (state: %s)",this.readyState),null;var t=this._responseHeaders.get(e);return this.log('resolved response header "%s" to "%s"',e,t,this._responseHeaders),t},e.prototype.getAllResponseHeaders=function(){return(this.log("get all response headers"),this.readyState<this.HEADERS_RECEIVED)?(this.log("cannot return headers: headers not received (state: %s)",this.readyState),""):u.headersToString(this._responseHeaders)},e.prototype.addEventListener=function(e,t){this.log("addEventListener",e,t),this._events.push({name:e,listener:t})},e.prototype.removeEventListener=function(e,t){this.log("removeEventListener",e,t),this._events=this._events.filter(function(n){return n.name!==e&&n.listener!==t})},e.prototype.overrideMimeType=function(){},e.prototype.getResponseBody=function(e){var t=null!=e?e:"";switch(this.log("coerced response body to",t),this.responseType){case"json":return this.log("resolving response body as JSON"),c.parseJson(t);case"blob":var n=this.getResponseHeader("content-type")||"text/plain";return this.log("resolving response body as Blob",{type:n}),new Blob([t],{type:n});case"arraybuffer":return this.log("resolving response body as ArrayBuffer"),f.bufferFrom(t);default:return t}},e.prototype.getResponseXML=function(){var e=this.getResponseHeader("Content-Type");return"application/xml"===e||"text/xml"===e?new l.DOMParser().parseFromString(this.responseText,e):null},e.prototype.propagateCallbacks=function(e){var t,n;this.log("propagating request callbacks to the original request");try{for(var r=o(["abort","onerror","ontimeout","onload","onloadstart","onloadend","onprogress","onreadystatechange"]),i=r.next();!i.done;i=r.next()){var a=i.value,s=this[a];s&&(e[a]=this[a],this.log('propagated the "%s" callback',a,s))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}e.onabort=this.abort,e.onerror=this.onerror,e.ontimeout=this.ontimeout,e.onload=this.onload,e.onloadstart=this.onloadstart,e.onloadend=this.onloadend,e.onprogress=this.onprogress,e.onreadystatechange=this.onreadystatechange},e.prototype.propagateListeners=function(e){this.log("propagating request listeners (%d) to the original request",this._events.length,this._events),this._events.forEach(function(t){var n=t.name,r=t.listener;e.addEventListener(n,r)})},e.prototype.propagateHeaders=function(e,t){var n=this;this.log("propagating request headers to the original request",t),Object.entries(t.raw()).forEach(function(t){var r=a(t,2),i=r[0],o=r[1];n.log('setting "%s" (%s) header on the original request',i,o),e.setRequestHeader(i,o)})},e}()).UNSENT=0,t.OPENED=1,t.HEADERS_RECEIVED=2,t.LOADING=3,t.DONE=4,t}},68223:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.XMLHttpRequestInterceptor=void 0;var o=n(85466),a=n(86178),s=n(80827),u=n(13327),l=function(e){function t(){return e.call(this,t.symbol)||this}return i(t,e),t.prototype.checkEnvironment=function(){return"undefined"!=typeof window&&void 0!==window.XMLHttpRequest},t.prototype.setup=function(){var e=this.log.extend("setup");e('patching "XMLHttpRequest" module...');var t=window.XMLHttpRequest;o.invariant(!t[a.IS_PATCHED_MODULE],'Failed to patch the "XMLHttpRequest" module: already patched.'),window.XMLHttpRequest=u.createXMLHttpRequestOverride({XMLHttpRequest:t,emitter:this.emitter,log:this.log}),e('native "XMLHttpRequest" module patched!',window.XMLHttpRequest.name),Object.defineProperty(window.XMLHttpRequest,a.IS_PATCHED_MODULE,{enumerable:!0,configurable:!0,value:!0}),this.subscriptions.push(function(){Object.defineProperty(window.XMLHttpRequest,a.IS_PATCHED_MODULE,{value:void 0}),window.XMLHttpRequest=t,e('native "XMLHttpRequest" module restored!',window.XMLHttpRequest.name)})},t.symbol=Symbol("xhr"),t}(s.Interceptor);t.XMLHttpRequestInterceptor=l},96142:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventPolyfill=void 0;var n=function(){function e(e,t){this.AT_TARGET=0,this.BUBBLING_PHASE=0,this.CAPTURING_PHASE=0,this.NONE=0,this.type="",this.srcElement=null,this.currentTarget=null,this.eventPhase=0,this.isTrusted=!0,this.composed=!1,this.cancelable=!0,this.defaultPrevented=!1,this.bubbles=!0,this.lengthComputable=!0,this.loaded=0,this.total=0,this.cancelBubble=!1,this.returnValue=!0,this.type=e,this.target=(null==t?void 0:t.target)||null,this.currentTarget=(null==t?void 0:t.currentTarget)||null,this.timeStamp=Date.now()}return e.prototype.composedPath=function(){return[]},e.prototype.initEvent=function(e,t,n){this.type=e,this.bubbles=!!t,this.cancelable=!!n},e.prototype.preventDefault=function(){this.defaultPrevented=!0},e.prototype.stopPropagation=function(){},e.prototype.stopImmediatePropagation=function(){},e}();t.EventPolyfill=n},52684:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.ProgressEventPolyfill=void 0;var o=function(e){function t(t,n){var r=e.call(this,t)||this;return r.lengthComputable=(null==n?void 0:n.lengthComputable)||!1,r.composed=(null==n?void 0:n.composed)||!1,r.loaded=(null==n?void 0:n.loaded)||0,r.total=(null==n?void 0:n.total)||0,r}return i(t,e),t}(n(96142).EventPolyfill);t.ProgressEventPolyfill=o},48219:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bufferFrom=void 0,t.bufferFrom=function(e){var t=encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,function(e,t){return String.fromCharCode("0x"+t)}),n=new Uint8Array(t.length);return Array.prototype.forEach.call(t,function(e,t){n[t]=e.charCodeAt(0)}),n}},76143:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createEvent=void 0;var r=n(96142),i=n(52684),o="undefined"!=typeof ProgressEvent;t.createEvent=function(e,t,n){var a=o?ProgressEvent:i.ProgressEventPolyfill;return["error","progress","loadstart","loadend","load","timeout","abort"].includes(t)?new a(t,{lengthComputable:!0,loaded:(null==n?void 0:n.loaded)||0,total:(null==n?void 0:n.total)||0}):new r.EventPolyfill(t,{target:e,currentTarget:e})}},49104:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},a=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},s=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},u=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};Object.defineProperty(t,"__esModule",{value:!0}),t.FetchInterceptor=void 0;var l=n(10359),c=n(85466),p=n(26865),f=n(12666),d=n(86178),h=n(80827),y=n(19564),m=n(23512),v=function(e){function t(){return e.call(this,t.symbol)||this}return i(t,e),t.prototype.checkEnvironment=function(){return"undefined"!=typeof globalThis&&void 0!==globalThis.fetch},t.prototype.setup=function(){var e=this,t=globalThis.fetch;c.invariant(!t[d.IS_PATCHED_MODULE],'Failed to patch the "fetch" module: already patched.'),globalThis.fetch=function(n,r){return a(e,void 0,void 0,function(){var e,i,c,d,h,v,g,b,E,T,w,N,D=this;return s(this,function(O){switch(O.label){case 0:return e=new Request(n,r),i="string"==typeof n?n:n.url,c=e.method,this.log("[%s] %s",c,i),[4,e.clone().arrayBuffer()];case 1:return d=O.sent(),h=new URL(i,"undefined"!=typeof location?location.origin:void 0),v=new f.IsomorphicRequest(h,{body:d,method:c,headers:new l.Headers(e.headers),credentials:e.credentials}),g=new m.InteractiveIsomorphicRequest(v),this.log("isomorphic request",g),this.log('emitting the "request" event for %d listener(s)...',this.emitter.listenerCount("request")),this.emitter.emit("request",g),this.log("awaiting for the mocked response..."),[4,p.until(function(){return a(D,void 0,void 0,function(){var e;return s(this,function(t){switch(t.label){case 0:return[4,this.emitter.untilIdle("request",function(e){return u(e.args,1)[0].id===g.id})];case 1:return t.sent(),this.log("all request listeners have been resolved!"),[4,g.respondWith.invoked()];case 2:return e=u.apply(void 0,[t.sent(),1])[0],this.log("event.respondWith called with:",e),[2,e]}})})})];case 2:if(E=(b=u.apply(void 0,[O.sent(),2]))[0],T=b[1],E)return console.error(e.method+" "+e.url+" net::ERR_FAILED"),[2,Promise.reject(Object.assign(TypeError("Failed to fetch"),{cause:E}))];if(T)return this.log("received mocked response:",T),w=y.toIsoResponse(T),this.log("derived isomorphic response:",w),this.emitter.emit("response",g,w),Object.defineProperty(N=new Response(T.body,o(o({},w),{headers:l.flattenHeadersObject(T.headers||{})})),"url",{writable:!1,enumerable:!0,configurable:!1,value:g.url.href}),[2,N];return this.log("no mocked response received!"),[2,t(e).then(function(e){return a(D,void 0,void 0,function(){var t,n,r,i;return s(this,function(o){switch(o.label){case 0:return t=e.clone(),this.log("original fetch performed",t),r=(n=this.emitter).emit,i=["response",g],[4,function(e){return a(this,void 0,void 0,function(){var t;return s(this,function(n){switch(n.label){case 0:return t={status:e.status,statusText:e.statusText,headers:l.objectToHeaders(l.headersToObject(e.headers))},[4,e.text()];case 1:return[2,(t.body=n.sent(),t)]}})})}(t)];case 1:return r.apply(n,i.concat([o.sent()])),[2,e]}})})})]}})})},Object.defineProperty(globalThis.fetch,d.IS_PATCHED_MODULE,{enumerable:!0,configurable:!0,value:!0}),this.subscriptions.push(function(){Object.defineProperty(globalThis.fetch,d.IS_PATCHED_MODULE,{value:void 0}),globalThis.fetch=t,e.log('restored native "globalThis.fetch"!',globalThis.fetch.name)})},t.symbol=Symbol("fetch"),t}(h.Interceptor);t.FetchInterceptor=v},17422:function(e,t,n){"use strict";var r,i,o,a=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},u=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},l=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},c=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncEventEmitter=t.AsyncEventEmitterReadyState=void 0;var p=n(96292),f=n(12642),d=n(18326);(r=o=t.AsyncEventEmitterReadyState||(t.AsyncEventEmitterReadyState={})).ACTIVE="ACTIVE",r.DEACTIVATED="DEACTIVATED";var h=function(e){function t(){var t=e.call(this)||this;return t.log=p.debug("async-event-emitter"),t.queue=new Map,t.readyState=o.ACTIVE,t}return a(t,e),t.prototype.on=function(t,n){var r=this,i=this.log.extend("on");return(i('adding "%s" listener...',t),this.readyState===o.DEACTIVATED)?(i("the emitter is destroyed, skipping!"),this):e.prototype.on.call(this,t,function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return s(r,void 0,void 0,function(){var r,o=this;return u(this,function(a){return r=this.openListenerQueue(t),i('awaiting the "%s" listener...',t),r.push({args:e,done:new Promise(function(r,a){return s(o,void 0,void 0,function(){var o;return u(this,function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,n.apply(void 0,c([],l(e)))];case 1:return s.sent(),r(),i('"%s" listener has resolved!',t),[3,3];case 2:return i('"%s" listener has rejected!',o=s.sent()),a(o),[3,3];case 3:return[2]}})})})}),[2]})})})},t.prototype.emit=function(t){for(var n=this,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];var a=this.log.extend("emit");return(a('emitting "%s" event...',t),this.readyState===o.DEACTIVATED)?(a("the emitter is destroyed, skipping!"),!1):(this.openListenerQueue(t),a('appending a one-time cleanup "%s" listener...',t),this.once(t,function(){d.nextTick(function(){n.queue.delete(t),a('cleaned up "%s" listeners queue!',t)})}),e.prototype.emit.apply(this,c([t],l(r))))},t.prototype.untilIdle=function(e,t){return void 0===t&&(t=function(){return!0}),s(this,void 0,void 0,function(){var n=this;return u(this,function(r){switch(r.label){case 0:return[4,Promise.all((this.queue.get(e)||[]).filter(t).map(function(e){return e.done})).finally(function(){n.queue.delete(e)})];case 1:return r.sent(),[2]}})})},t.prototype.openListenerQueue=function(e){var t=this.log.extend("openListenerQueue");t('opening "%s" listeners queue...',e);var n=this.queue.get(e);return n?(t("returning an exising queue:",n),n):(t("no queue found, creating one..."),this.queue.set(e,[]),[])},t.prototype.removeAllListeners=function(t){var n=this.log.extend("removeAllListeners");return n("event:",t),t?(this.queue.delete(t),n('cleared the "%s" listeners queue!',t,this.queue.get(t))):(this.queue.clear(),n("cleared the listeners queue!",this.queue)),e.prototype.removeAllListeners.call(this,t)},t.prototype.activate=function(){var e=this.log.extend("activate");this.readyState=o.ACTIVE,e("set state to:",this.readyState)},t.prototype.deactivate=function(){var e=this.log.extend("deactivate");e("removing all listeners..."),this.removeAllListeners(),this.readyState=o.DEACTIVATED,e("set state to:",this.readyState)},t}(f.StrictEventEmitter);t.AsyncEventEmitter=h},57438:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getArrayBuffer=t.decodeBuffer=t.encodeBuffer=void 0;var r=n(8758);function i(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}t.encodeBuffer=function(e){return i(new r.TextEncoder().encode(e))},t.decodeBuffer=function(e,t){return new r.TextDecoder(t).decode(e)},t.getArrayBuffer=i},49255:function(e,t){"use strict";var n=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}u((r=r.apply(e,t||[])).next())})},r=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.createLazyCallback=void 0,t.createLazyCallback=function(e){var t,i,o=this;void 0===e&&(e={});var a=0,s=new Promise(function(e){i=e}).finally(function(){clearTimeout(t)}),u=function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];e.maxCalls&&a>=e.maxCalls&&(null===(t=e.maxCallsCallback)||void 0===t||t.call(e)),i(n),a++};return u.invoked=function(){return n(o,void 0,void 0,function(){return r(this,function(e){return t=setTimeout(function(){i([])},0),[2,s]})})},u}},35255:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCleanUrl=void 0,t.getCleanUrl=function(e,t){return void 0===t&&(t=!0),[t&&e.origin,e.pathname].filter(Boolean).join("")}},18326:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nextTickAsync=t.nextTick=void 0,t.nextTick=function(e){setTimeout(e,0)},t.nextTickAsync=function(e){return new Promise(function(t){setTimeout(function(){t(e())},0)})}},31630:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseJson=void 0,t.parseJson=function(e){try{return JSON.parse(e)}catch(e){return null}}},19564:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toIsoResponse=void 0;var r=n(10359);t.toIsoResponse=function(e){var t;return{status:null!==(t=e.status)&&void 0!==t?t:200,statusText:e.statusText||"OK",headers:r.objectToHeaders(e.headers||{}),body:e.body}}},86320:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uuidv4=void 0,t.uuidv4=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}},10359:function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function n(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw r}}return o}}(e,n)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}var i,o,a,s,u,l,c=Object.create,p=Object.defineProperty,f=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,h=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty,m=function(e,t,n,r){if(t&&"object"==typeof t||"function"==typeof t){var i=!0,o=!1,a=void 0;try{for(var s,u=d(t)[Symbol.iterator]();!(i=(s=u.next()).done);i=!0)!function(){var i=s.value;y.call(e,i)||i===n||p(e,i,{get:function(){return t[i]},enumerable:!(r=f(t,i))||r.enumerable})}()}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}}return e},v=(i={"node_modules/set-cookie-parser/lib/set-cookie.js":function(e,t){"use strict";var n=function(e){return"string"==typeof e&&!!e.trim()},r=function(e,t){var r=e.split(";").filter(n),o=i(r.shift()),s=o.name,u=o.value;t=t?Object.assign({},a,t):a;try{u=t.decodeValues?decodeURIComponent(u):u}catch(e){console.error("set-cookie-parser encountered an error while decoding a cookie with value '"+u+"'. Set options.decodeValues to false to disable this feature.",e)}var l={name:s,value:u};return r.forEach(function(e){var t=e.split("="),n=t.shift().trimLeft().toLowerCase(),r=t.join("=");"expires"===n?l.expires=new Date(r):"max-age"===n?l.maxAge=parseInt(r,10):"secure"===n?l.secure=!0:"httponly"===n?l.httpOnly=!0:"samesite"===n?l.sameSite=r:l[n]=r}),l},i=function(e){var t="",n="",r=e.split("=");return r.length>1?(t=r.shift(),n=r.join("=")):n=e,{name:t,value:n}},o=function(e,t){if(t=t?Object.assign({},a,t):a,!e)return t.map?{}:[];if(e.headers){if("function"==typeof e.headers.getSetCookie)e=e.headers.getSetCookie();else if(e.headers["set-cookie"])e=e.headers["set-cookie"];else{var i=e.headers[Object.keys(e.headers).find(function(e){return"set-cookie"===e.toLowerCase()})];i||!e.headers.cookie||t.silent||console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),e=i}}return(Array.isArray(e)||(e=[e]),(t=t?Object.assign({},a,t):a).map)?e.filter(n).reduce(function(e,n){var i=r(n,t);return e[i.name]=i,e},{}):e.filter(n).map(function(e){return r(e,t)})},a={decodeValues:!0,map:!1,silent:!1};t.exports=o,t.exports.parse=o,t.exports.parseString=r,t.exports.splitCookiesString=function(e){if(Array.isArray(e))return e;if("string"!=typeof e)return[];var t,n,r,i,o,a=[],s=0;function u(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}for(;s<e.length;){for(t=s,o=!1;u();)if(","===(n=e.charAt(s))){for(r=s,s+=1,u(),i=s;s<e.length&&"="!==(n=e.charAt(s))&&";"!==n&&","!==n;)s+=1;s<e.length&&"="===e.charAt(s)?(o=!0,s=i,a.push(e.substring(t,r)),t=s):s=r+1}else s+=1;(!o||s>=e.length)&&a.push(e.substring(t,e.length))}return a}}},function(){return o||(0,i[d(i)[0]])((o={exports:{}}).exports,o),o.exports}),g={};!function(e,t){for(var n in t)p(e,n,{get:t[n],enumerable:!0})}(g,{Headers:function(){return A},flattenHeadersList:function(){return M},flattenHeadersObject:function(){return $},headersToList:function(){return x},headersToObject:function(){return C},headersToString:function(){return R},listToHeaders:function(){return F},objectToHeaders:function(){return j},reduceHeadersObject:function(){return P},stringToHeaders:function(){return L}}),e.exports=m(p({},"__esModule",{value:!0}),g);var b=(s=null!=(a=v())?c(h(a)):{},m(a&&a.__esModule?s:p(s,"default",{value:a,enumerable:!0}),a)),E=/[^a-z0-9\-#$%&'*+.^_`|~]/i;function T(e){if(E.test(e)||""===e.trim())throw TypeError("Invalid character in header field name");return e.trim().toLowerCase()}var w=["\n","\r"," "," "],N=RegExp("(^[".concat(w.join(""),"]|$[").concat(w.join(""),"])"),"g");function D(e){return e.replace(N,"")}function O(e){if("string"!=typeof e||0===e.length)return!1;for(var t=0;t<e.length;t++){var n=e.charCodeAt(t);if(n>127||[127,32,"(",")","<",">","@",",",";",":","\\",'"',"/","[","]","?","=","{","}"].includes(n))return!1}return!0}function I(e){if("string"!=typeof e||e.trim()!==e)return!1;for(var t=0;t<e.length;t++){var n=e.charCodeAt(t);if(0===n||10===n||13===n)return!1}return!0}var _=Symbol("normalizedHeaders"),S=Symbol("rawHeaderNames"),A=function(){"use strict";var e;function t(e){var r=this;(!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),this[u]={},this[l]=new Map,["Headers","HeadersPolyfill"].includes(null==e?void 0:e.constructor.name)||(null!=A&&"undefined"!=typeof Symbol&&A[Symbol.hasInstance]?!!A[Symbol.hasInstance](e):e instanceof A))?e.forEach(function(e,t){r.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){var t=n(e,2),i=t[0],o=t[1];r.append(i,Array.isArray(o)?o.join(", "):o)}):e&&Object.getOwnPropertyNames(e).forEach(function(t){var n=e[t];r.append(t,Array.isArray(n)?n.join(", "):n)})}return e=[{key:(u=_,l=S,Symbol.iterator),value:function(){return this.entries()}},{key:"keys",value:function(){var e,t,i,o,a,s;return r(this,function(r){switch(r.label){case 0:e=!0,t=!1,i=void 0,r.label=1;case 1:r.trys.push([1,6,7,8]),o=this.entries()[Symbol.iterator](),r.label=2;case 2:if(e=(a=o.next()).done)return[3,5];return[4,n(a.value,1)[0]];case 3:r.sent(),r.label=4;case 4:return e=!0,[3,2];case 5:return[3,8];case 6:return s=r.sent(),t=!0,i=s,[3,8];case 7:try{e||null==o.return||o.return()}finally{if(t)throw i}return[7];case 8:return[2]}})}},{key:"values",value:function(){var e,t,i,o,a,s;return r(this,function(r){switch(r.label){case 0:e=!0,t=!1,i=void 0,r.label=1;case 1:r.trys.push([1,6,7,8]),o=this.entries()[Symbol.iterator](),r.label=2;case 2:if(e=(a=o.next()).done)return[3,5];return[4,n(a.value,2)[1]];case 3:r.sent(),r.label=4;case 4:return e=!0,[3,2];case 5:return[3,8];case 6:return s=r.sent(),t=!0,i=s,[3,8];case 7:try{e||null==o.return||o.return()}finally{if(t)throw i}return[7];case 8:return[2]}})}},{key:"entries",value:function(){var e,t,n,i,o,a,s,u,l,c,p,f,d,h;return r(this,function(r){switch(r.label){case 0:e=Object.keys(this[_]).sort(function(e,t){return e.localeCompare(t)}),t=!0,n=!1,i=void 0,r.label=1;case 1:r.trys.push([1,15,16,17]),o=e[Symbol.iterator](),r.label=2;case 2:if(t=(a=o.next()).done)return[3,14];if("set-cookie"!==(s=a.value))return[3,11];u=!0,l=!1,c=void 0,r.label=3;case 3:r.trys.push([3,8,9,10]),p=this.getSetCookie()[Symbol.iterator](),r.label=4;case 4:if(u=(f=p.next()).done)return[3,7];return d=f.value,[4,[s,d]];case 5:r.sent(),r.label=6;case 6:return u=!0,[3,4];case 7:return[3,10];case 8:return h=r.sent(),l=!0,c=h,[3,10];case 9:try{u||null==p.return||p.return()}finally{if(l)throw c}return[7];case 10:return[3,13];case 11:return[4,[s,this.get(s)]];case 12:r.sent(),r.label=13;case 13:return t=!0,[3,2];case 14:return[3,17];case 15:return h=r.sent(),n=!0,i=h,[3,17];case 16:try{t||null==o.return||o.return()}finally{if(n)throw i}return[7];case 17:return[2]}})}},{key:"has",value:function(e){if(!O(e))throw TypeError('Invalid header name "'.concat(e,'"'));return this[_].hasOwnProperty(T(e))}},{key:"get",value:function(e){var t;if(!O(e))throw TypeError('Invalid header name "'.concat(e,'"'));return null!==(t=this[_][T(e)])&&void 0!==t?t:null}},{key:"set",value:function(e,t){if(O(e)&&I(t)){var n=T(e),r=D(t);this[_][n]=D(r),this[S].set(n,e)}}},{key:"append",value:function(e,t){if(O(e)&&I(t)){var n=T(e),r=D(t),i=this.has(n)?"".concat(this.get(n),", ").concat(r):r;this.set(e,i)}}},{key:"delete",value:function(e){if(O(e)&&this.has(e)){var t=T(e);delete this[_][t],this[S].delete(t)}}},{key:"all",value:function(){return this[_]}},{key:"raw",value:function(){var e={},t=!0,r=!1,i=void 0;try{for(var o,a=this.entries()[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var s=n(o.value,2),u=s[0],l=s[1];e[this[S].get(u)]=l}}catch(e){r=!0,i=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw i}}return e}},{key:"forEach",value:function(e,t){var r=!0,i=!1,o=void 0;try{for(var a,s=this.entries()[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=n(a.value,2),l=u[0],c=u[1];e.call(t,c,l,this)}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}}},{key:"getSetCookie",value:function(){var e=this.get("set-cookie");return null===e?[]:""===e?[""]:(0,b.splitCookiesString)(e)}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,e),t}();function x(e){var t=[];return e.forEach(function(e,n){var r=e.includes(",")?e.split(",").map(function(e){return e.trim()}):e;t.push([n,r])}),t}function R(e){return x(e).map(function(e){var t=n(e,2),r=t[0],i=[].concat(t[1]);return"".concat(r,": ").concat(i.join(", "))}).join("\r\n")}var k=["user-agent"];function C(e){var t={};return e.forEach(function(e,n){var r=!k.includes(n.toLowerCase())&&e.includes(",");t[n]=r?e.split(",").map(function(e){return e.trim()}):e}),t}function L(e){return e.trim().split(/[\r\n]+/).reduce(function(e,t){if(""===t.trim())return e;var n=t.split(": "),r=n.shift(),i=n.join(": ");return e.append(r,i),e},new A)}function F(e){var t=new A;return e.forEach(function(e){var r=n(e,2),i=r[0];[].concat(r[1]).forEach(function(e){t.append(i,e)})}),t}function P(e,t,n){return Object.keys(e).reduce(function(n,r){return t(n,r,e[r])},n)}function j(e){return P(e,function(e,t,n){return[].concat(n).filter(Boolean).forEach(function(n){e.append(t,n)}),e},new A)}function M(e){return e.map(function(e){var t=n(e,2);return[t[0],[].concat(t[1]).join(", ")]})}function $(e){return P(e,function(e,t,n){return e[t]=[].concat(n).join(", "),e},{})}},54353:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r};t.__esModule=!0,t.StrictEventEmitter=void 0;var a=function(e){function t(){return e.call(this)||this}return i(t,e),t.prototype.on=function(t,n){return e.prototype.on.call(this,t.toString(),n)},t.prototype.once=function(t,n){return e.prototype.once.call(this,t.toString(),n)},t.prototype.off=function(t,n){return e.prototype.off.call(this,t.toString(),n)},t.prototype.emit=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return e.prototype.emit.apply(this,o([t.toString()],n))},t.prototype.addListener=function(t,n){return e.prototype.addListener.call(this,t.toString(),n)},t.prototype.prependListener=function(t,n){return e.prototype.prependListener.call(this,t.toString(),n)},t.prototype.prependOnceListener=function(t,n){return e.prototype.prependOnceListener.call(this,t.toString(),n)},t.prototype.removeListener=function(t,n){return e.prototype.removeListener.call(this,t.toString(),n)},t.prototype.removeAllListeners=function(t){return t?e.prototype.removeAllListeners.call(this,t.toString()):e.prototype.removeAllListeners.call(this)},t.prototype.eventNames=function(){return e.prototype.eventNames.call(this)},t.prototype.listeners=function(t){return e.prototype.listeners.call(this,t.toString())},t.prototype.rawListeners=function(t){return e.prototype.rawListeners.call(this,t.toString())},t.prototype.listenerCount=function(t){return e.prototype.listenerCount.call(this,t.toString())},t}(n(50343).EventEmitter);t.StrictEventEmitter=a},12642:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};t.__esModule=!0,i(n(54353),t)},26865:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(52766);t.until=r.until},52766:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.until=async e=>{try{let t=await e().catch(e=>{throw e});return[null,t]}catch(e){return[e,null]}}},46042:function(e,t){"use strict";function n(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var r=n({HTML:"text/html",isHTML:function(e){return e===r.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),i=n({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===i.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=function(e,t){if(null===e||"object"!=typeof e)throw TypeError("target is not an object");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},t.find=function(e,t,n){if(void 0===n&&(n=Array.prototype),e&&"function"==typeof n.find)return n.find.call(e,t);for(var r=0;r<e.length;r++)if(Object.prototype.hasOwnProperty.call(e,r)){var i=e[r];if(t.call(void 0,i,r,e))return i}},t.freeze=n,t.MIME_TYPE=r,t.NAMESPACE=i},5289:function(e,t,n){var r=n(46042),i=n(77990),o=n(32128),a=n(82394),s=i.DOMImplementation,u=r.NAMESPACE,l=a.ParseError,c=a.XMLReader;function p(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function f(e){this.options=e||{locator:{}}}function d(){this.cdata=!1}function h(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function y(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function m(e,t,n){return"string"==typeof e?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+"":e}function v(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}f.prototype.parseFromString=function(e,t){var n=this.options,r=new c,i=n.domBuilder||new d,a=n.errorHandler,s=n.locator,l=n.xmlns||{},f=/\/x?html?$/.test(t),h=f?o.HTML_ENTITIES:o.XML_ENTITIES;s&&i.setDocumentLocator(s),r.errorHandler=function(e,t,n){if(!e){if(t instanceof d)return t;e=t}var r={},i=e instanceof Function;function o(t){var o=e[t];!o&&i&&(o=2==e.length?function(n){e(t,n)}:e),r[t]=o&&function(e){o("[xmldom "+t+"] "+e+y(n))}||function(){}}return n=n||{},o("warning"),o("error"),o("fatalError"),r}(a,i,s),r.domBuilder=n.domBuilder||i,f&&(l[""]=u.HTML),l.xml=l.xml||u.XML;var m=n.normalizeLineEndings||p;return e&&"string"==typeof e?r.parse(m(e),l,h):r.errorHandler.error("invalid doc source"),i.doc},d.prototype={startDocument:function(){this.doc=new s().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,o=i.createElementNS(e,n||t),a=r.length;v(this,o),this.currentElement=o,this.locator&&h(this.locator,o);for(var s=0;s<a;s++){var e=r.getURI(s),u=r.getValue(s),n=r.getQName(s),l=i.createAttributeNS(e,n);this.locator&&h(r.getLocator(s),l),l.value=l.nodeValue=u,o.setAttributeNode(l)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName,this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&h(this.locator,n),v(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=m.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else var r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&h(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=m.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&h(this.locator,r),v(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var i=r.createDocumentType(e,t,n);this.locator&&h(this.locator,i),v(this,i),this.doc.doctype=i}},warning:function(e){console.warn("[xmldom warning] "+e,y(this.locator))},error:function(e){console.error("[xmldom error] "+e,y(this.locator))},fatalError:function(e){throw new l(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(e){d.prototype[e]=function(){return null}}),t.DOMParser=f},77990:function(e,t,n){var r=n(46042),i=r.find,o=r.NAMESPACE;function a(e){return""!==e}function s(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function u(e){return e?Object.keys((e?e.split(/[\t\n\f\r ]+/).filter(a):[]).reduce(s,{})):[]}function l(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function c(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,l(n,r=new r),e.prototype=n=r}n.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),n.constructor=e)}var p={},f=p.ELEMENT_NODE=1,d=p.ATTRIBUTE_NODE=2,h=p.TEXT_NODE=3,y=p.CDATA_SECTION_NODE=4,m=p.ENTITY_REFERENCE_NODE=5,v=p.ENTITY_NODE=6,g=p.PROCESSING_INSTRUCTION_NODE=7,b=p.COMMENT_NODE=8,E=p.DOCUMENT_NODE=9,T=p.DOCUMENT_TYPE_NODE=10,w=p.DOCUMENT_FRAGMENT_NODE=11,N=p.NOTATION_NODE=12,D={},O={};D.INDEX_SIZE_ERR=(O[1]="Index size error",1),D.DOMSTRING_SIZE_ERR=(O[2]="DOMString size error",2);var I=D.HIERARCHY_REQUEST_ERR=(O[3]="Hierarchy request error",3);D.WRONG_DOCUMENT_ERR=(O[4]="Wrong document",4),D.INVALID_CHARACTER_ERR=(O[5]="Invalid character",5),D.NO_DATA_ALLOWED_ERR=(O[6]="No data allowed",6),D.NO_MODIFICATION_ALLOWED_ERR=(O[7]="No modification allowed",7);var _=D.NOT_FOUND_ERR=(O[8]="Not found",8);D.NOT_SUPPORTED_ERR=(O[9]="Not supported",9);var S=D.INUSE_ATTRIBUTE_ERR=(O[10]="Attribute in use",10);function A(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,O[e]),this.message=O[e],Error.captureStackTrace&&Error.captureStackTrace(this,A);return n.code=e,t&&(this.message=this.message+": "+t),n}function x(){}function R(e,t){this._node=e,this._refresh=t,k(this)}function k(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var n=e._refresh(e._node);if(ey(e,"length",n.length),!e.$$length||n.length<e.$$length)for(var r=n.length;(r in e);r++)Object.prototype.hasOwnProperty.call(e,r)&&delete e[r];l(n,e),e._inc=t}}function C(){}function L(e,t){for(var n=e.length;n--;)if(e[n]===t)return n}function F(e,t,n,r){if(r?t[L(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var i=e.ownerDocument;i&&(r&&V(i,e,r),i&&i._inc++,n.namespaceURI===o.XMLNS&&(e._nsMap[n.prefix?n.localName:""]=n.value))}}function P(e,t,n){var r=L(t,n);if(r>=0){for(var i=t.length-1;r<i;)t[r]=t[++r];if(t.length=i,e){var o=e.ownerDocument;o&&(V(o,e,n),n.ownerElement=null)}}else throw new A(_,Error(e.tagName+"@"+n))}function j(){}function M(){}function $(e){return"<"==e&&"<"||">"==e&&">"||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function U(e,t){if(t(e))return!0;if(e=e.firstChild)do if(U(e,t))return!0;while(e=e.nextSibling)}function q(){this.ownerDocument=this}function V(e,t,n,r){e&&e._inc++,n.namespaceURI===o.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function B(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{for(var i=t.firstChild,o=0;i;)r[o++]=i,i=i.nextSibling;r.length=o,delete r[r.length]}}}function G(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,B(e.ownerDocument,e),t}function H(e){return e&&e.nodeType===M.DOCUMENT_TYPE_NODE}function Y(e){return e&&e.nodeType===M.ELEMENT_NODE}function Q(e){return e&&e.nodeType===M.TEXT_NODE}function J(e,t){var n=e.childNodes||[];if(i(n,Y)||H(t))return!1;var r=i(n,H);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function z(e,t){var n=e.childNodes||[];if(i(n,function(e){return Y(e)&&e!==t}))return!1;var r=i(n,H);return!(t&&r&&n.indexOf(r)>n.indexOf(t))}function W(e,t,n){var r=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===M.DOCUMENT_FRAGMENT_NODE){var a=o.filter(Y);if(a.length>1||i(o,Q))throw new A(I,"More than one element or text in fragment");if(1===a.length&&!z(e,n))throw new A(I,"Element in fragment can not be inserted before doctype")}if(Y(t)&&!z(e,n))throw new A(I,"Only one element can be added and only after doctype");if(H(t)){if(i(r,function(e){return H(e)&&e!==n}))throw new A(I,"Only one doctype is allowed");var s=i(r,Y);if(n&&r.indexOf(s)<r.indexOf(n))throw new A(I,"Doctype can only be inserted before an element")}}function X(e,t,n,r){!function(e,t,n){if(!(e&&(e.nodeType===M.DOCUMENT_NODE||e.nodeType===M.DOCUMENT_FRAGMENT_NODE||e.nodeType===M.ELEMENT_NODE)))throw new A(I,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new A(_,"child not in parent");if(!(t&&(Y(t)||Q(t)||H(t)||t.nodeType===M.DOCUMENT_FRAGMENT_NODE||t.nodeType===M.COMMENT_NODE||t.nodeType===M.PROCESSING_INSTRUCTION_NODE))||H(t)&&e.nodeType!==M.DOCUMENT_NODE)throw new A(I,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}(e,t,n),e.nodeType===M.DOCUMENT_NODE&&(r||function(e,t,n){var r=e.childNodes||[],o=t.childNodes||[];if(t.nodeType===M.DOCUMENT_FRAGMENT_NODE){var a=o.filter(Y);if(a.length>1||i(o,Q))throw new A(I,"More than one element or text in fragment");if(1===a.length&&!J(e,n))throw new A(I,"Element in fragment can not be inserted before doctype")}if(Y(t)&&!J(e,n))throw new A(I,"Only one element can be added and only after doctype");if(H(t)){if(i(r,H))throw new A(I,"Only one doctype is allowed");var s=i(r,Y);if(n&&r.indexOf(s)<r.indexOf(n))throw new A(I,"Doctype can only be inserted before an element");if(!n&&s)throw new A(I,"Doctype can not be appended since element is present")}})(e,t,n);var o=t.parentNode;if(o&&o.removeChild(t),t.nodeType===w){var a=t.firstChild;if(null==a)return t;var s=t.lastChild}else a=s=t;var u=n?n.previousSibling:e.lastChild;a.previousSibling=u,s.nextSibling=n,u?u.nextSibling=a:e.firstChild=a,null==n?e.lastChild=s:n.previousSibling=s;do a.parentNode=e;while(a!==s&&(a=a.nextSibling));return B(e.ownerDocument||e,e),t.nodeType==w&&(t.firstChild=t.lastChild=null),t}function K(){this._nsMap={}}function Z(){}function ee(){}function et(){}function en(){}function er(){}function ei(){}function eo(){}function ea(){}function es(){}function eu(){}function el(){}function ec(){}function ep(e,t){var n=[],r=9==this.nodeType&&this.documentElement||this,i=r.prefix,o=r.namespaceURI;if(o&&null==i){var i=r.lookupPrefix(o);if(null==i)var a=[{namespace:o,prefix:null}]}return eh(this,n,e,t,a),n.join("")}function ef(e,t,n){var r=e.prefix||"",i=e.namespaceURI;if(!i||"xml"===r&&i===o.XML||i===o.XMLNS)return!1;for(var a=n.length;a--;){var s=n[a];if(s.prefix===r)return s.namespace!==i}return!0}function ed(e,t,n){e.push(" ",t,'="',n.replace(/[<>&"\t\n\r]/g,$),'"')}function eh(e,t,n,r,i){if(i||(i=[]),r){if(!(e=r(e)))return;if("string"==typeof e){t.push(e);return}}switch(e.nodeType){case f:var a,s=e.attributes,u=s.length,l=e.firstChild,c=e.tagName;n=o.isHTML(e.namespaceURI)||n;var p=c;if(!n&&!e.prefix&&e.namespaceURI){for(var v=0;v<s.length;v++)if("xmlns"===s.item(v).name){a=s.item(v).value;break}if(!a)for(var N=i.length-1;N>=0;N--){var D=i[N];if(""===D.prefix&&D.namespace===e.namespaceURI){a=D.namespace;break}}if(a!==e.namespaceURI)for(var N=i.length-1;N>=0;N--){var D=i[N];if(D.namespace===e.namespaceURI){D.prefix&&(p=D.prefix+":"+c);break}}}t.push("<",p);for(var O=0;O<u;O++){var I=s.item(O);"xmlns"==I.prefix?i.push({prefix:I.localName,namespace:I.value}):"xmlns"==I.nodeName&&i.push({prefix:"",namespace:I.value})}for(var O=0;O<u;O++){var I=s.item(O);if(ef(I,n,i)){var _=I.prefix||"",S=I.namespaceURI;ed(t,_?"xmlns:"+_:"xmlns",S),i.push({prefix:_,namespace:S})}eh(I,t,n,r,i)}if(c===p&&ef(e,n,i)){var _=e.prefix||"",S=e.namespaceURI;ed(t,_?"xmlns:"+_:"xmlns",S),i.push({prefix:_,namespace:S})}if(l||n&&!/^(?:meta|link|img|br|hr|input)$/i.test(c)){if(t.push(">"),n&&/^script$/i.test(c))for(;l;)l.data?t.push(l.data):eh(l,t,n,r,i.slice()),l=l.nextSibling;else for(;l;)eh(l,t,n,r,i.slice()),l=l.nextSibling;t.push("</",p,">")}else t.push("/>");return;case E:case w:for(var l=e.firstChild;l;)eh(l,t,n,r,i.slice()),l=l.nextSibling;return;case d:return ed(t,e.name,e.value);case h:return t.push(e.data.replace(/[<&>]/g,$));case y:return t.push("<![CDATA[",e.data,"]]>");case b:return t.push("<!--",e.data,"-->");case T:var A=e.publicId,x=e.systemId;if(t.push("<!DOCTYPE ",e.name),A)t.push(" PUBLIC ",A),x&&"."!=x&&t.push(" ",x),t.push(">");else if(x&&"."!=x)t.push(" SYSTEM ",x,">");else{var R=e.internalSubset;R&&t.push(" [",R,"]"),t.push(">")}return;case g:return t.push("<?",e.target," ",e.data,"?>");case m:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ey(e,t,n){e[t]=n}D.INVALID_STATE_ERR=(O[11]="Invalid state",11),D.SYNTAX_ERR=(O[12]="Syntax error",12),D.INVALID_MODIFICATION_ERR=(O[13]="Invalid modification",13),D.NAMESPACE_ERR=(O[14]="Invalid namespace",14),D.INVALID_ACCESS_ERR=(O[15]="Invalid access",15),A.prototype=Error.prototype,l(D,A),x.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,t){for(var n=[],r=0;r<this.length;r++)eh(this[r],n,e,t);return n.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},R.prototype.item=function(e){return k(this),this[e]||null},c(R,x),C.prototype={length:0,item:x.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var n=this[t];if(n.nodeName==e)return n}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new A(S);var n=this.getNamedItem(e.nodeName);return F(this._ownerElement,this,e,n),n},setNamedItemNS:function(e){var t,n=e.ownerElement;if(n&&n!=this._ownerElement)throw new A(S);return t=this.getNamedItemNS(e.namespaceURI,e.localName),F(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return P(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);return P(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){for(var n=this.length;n--;){var r=this[n];if(r.localName==t&&r.namespaceURI==e)return r}return null}},j.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=new q;if(r.implementation=this,r.childNodes=new x,r.doctype=n||null,n&&r.appendChild(n),t){var i=r.createElementNS(e,t);r.appendChild(i)}return r},createDocumentType:function(e,t,n){var r=new ei;return r.name=e,r.nodeName=e,r.publicId=t||"",r.systemId=n||"",r}},M.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return X(this,e,t)},replaceChild:function(e,t){X(this,e,t,W),t&&this.removeChild(t)},removeChild:function(e){return G(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return function e(t,n,r){var i=new n.constructor;for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)){var a=n[o];"object"!=typeof a&&a!=i[o]&&(i[o]=a)}switch(n.childNodes&&(i.childNodes=new x),i.ownerDocument=t,i.nodeType){case f:var s=n.attributes,u=i.attributes=new C,l=s.length;u._ownerElement=i;for(var c=0;c<l;c++)i.setAttributeNode(e(t,s.item(c),!0));break;case d:r=!0}if(r)for(var p=n.firstChild;p;)i.appendChild(e(t,p,r)),p=p.nextSibling;return i}(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==h&&e.nodeType==h?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&n[r]===e)return r}t=t.nodeType==d?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&Object.prototype.hasOwnProperty.call(n,e))return n[e];t=t.nodeType==d?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},l(p,M),l(p,M.prototype),q.prototype={nodeName:"#document",nodeType:E,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==w){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return X(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===f&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),G(this,e)},replaceChild:function(e,t){X(this,e,t,W),e.ownerDocument=this,t&&this.removeChild(t),Y(e)&&(this.documentElement=e)},importNode:function(e,t){return function e(t,n,r){var i;switch(n.nodeType){case f:(i=n.cloneNode(!1)).ownerDocument=t;case w:break;case d:r=!0}if(i||(i=n.cloneNode(!1)),i.ownerDocument=t,i.parentNode=null,r)for(var o=n.firstChild;o;)i.appendChild(e(t,o,r)),o=o.nextSibling;return i}(this,e,t)},getElementById:function(e){var t=null;return U(this.documentElement,function(n){if(n.nodeType==f&&n.getAttribute("id")==e)return t=n,!0}),t},getElementsByClassName:function(e){var t=u(e);return new R(this,function(n){var r=[];return t.length>0&&U(n.documentElement,function(i){if(i!==n&&i.nodeType===f){var o=i.getAttribute("class");if(o){var a=e===o;if(!a){var s=u(o);a=t.every(function(e){return s&&-1!==s.indexOf(e)})}a&&r.push(i)}}}),r})},createElement:function(e){var t=new K;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new x,(t.attributes=new C)._ownerElement=t,t},createDocumentFragment:function(){var e=new eu;return e.ownerDocument=this,e.childNodes=new x,e},createTextNode:function(e){var t=new et;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new en;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new er;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new el;return n.ownerDocument=this,n.tagName=n.nodeName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){var t=new Z;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new es;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var n=new K,r=t.split(":"),i=n.attributes=new C;return n.childNodes=new x,n.ownerDocument=this,n.nodeName=t,n.tagName=t,n.namespaceURI=e,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,i._ownerElement=n,n},createAttributeNS:function(e,t){var n=new Z,r=t.split(":");return n.ownerDocument=this,n.nodeName=t,n.name=t,n.namespaceURI=e,n.specified=!0,2==r.length?(n.prefix=r[0],n.localName=r[1]):n.localName=t,n}},c(q,M),K.prototype={nodeType:f,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var n=this.ownerDocument.createAttribute(e);n.value=n.nodeValue=""+t,this.setAttributeNode(n)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===w?this.insertBefore(e,null):(e.parentNode&&e.parentNode.removeChild(e),e.parentNode=this,e.previousSibling=this.lastChild,e.nextSibling=null,e.previousSibling?e.previousSibling.nextSibling=e:this.firstChild=e,this.lastChild=e,B(this.ownerDocument,this,e),e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n&&n.value||""},setAttributeNS:function(e,t,n){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+n,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new R(this,function(t){var n=[];return U(t,function(r){r!==t&&r.nodeType==f&&("*"===e||r.tagName==e)&&n.push(r)}),n})},getElementsByTagNameNS:function(e,t){return new R(this,function(n){var r=[];return U(n,function(i){i!==n&&i.nodeType===f&&("*"===e||i.namespaceURI===e)&&("*"===t||i.localName==t)&&r.push(i)}),r})}},q.prototype.getElementsByTagName=K.prototype.getElementsByTagName,q.prototype.getElementsByTagNameNS=K.prototype.getElementsByTagNameNS,c(K,M),Z.prototype.nodeType=d,c(Z,M),ee.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw Error(O[I])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},c(ee,M),et.prototype={nodeName:"#text",nodeType:h,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},c(et,ee),en.prototype={nodeName:"#comment",nodeType:b},c(en,ee),er.prototype={nodeName:"#cdata-section",nodeType:y},c(er,ee),ei.prototype.nodeType=T,c(ei,M),eo.prototype.nodeType=N,c(eo,M),ea.prototype.nodeType=v,c(ea,M),es.prototype.nodeType=m,c(es,M),eu.prototype.nodeName="#document-fragment",eu.prototype.nodeType=w,c(eu,M),el.prototype.nodeType=g,c(el,M),ec.prototype.serializeToString=function(e,t,n){return ep.call(e,t,n)},M.prototype.toString=ep;try{Object.defineProperty&&(Object.defineProperty(R.prototype,"length",{get:function(){return k(this),this.$$length}}),Object.defineProperty(M.prototype,"textContent",{get:function(){return function e(t){switch(t.nodeType){case f:case w:var n=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&n.push(e(t)),t=t.nextSibling;return n.join("");default:return t.nodeValue}}(this)},set:function(e){switch(this.nodeType){case f:case w:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),ey=function(e,t,n){e["$$"+t]=n})}catch(e){}t.DocumentType=ei,t.DOMException=A,t.DOMImplementation=j,t.Element=K,t.Node=M,t.NodeList=x,t.XMLSerializer=ec},32128:function(e,t,n){"use strict";var r=n(46042).freeze;t.XML_ENTITIES=r({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=r({Aacute:"\xc1",aacute:"\xe1",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",Acy:"А",acy:"а",AElig:"\xc6",aelig:"\xe6",af:"",Afr:"\uD835\uDD04",afr:"\uD835\uDD1E",Agrave:"\xc0",agrave:"\xe0",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"\xc5",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"\uD835\uDD38",aopf:"\uD835\uDD52",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"\xc5",aring:"\xe5",Ascr:"\uD835\uDC9C",ascr:"\uD835\uDCB6",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"\uD835\uDD05",bfr:"\uD835\uDD1F",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"\uD835\uDD39",bopf:"\uD835\uDD53",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"\xa6",Bscr:"ℬ",bscr:"\uD835\uDCB7",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"\xc7",ccedil:"\xe7",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"⦲",cent:"\xa2",CenterDot:"\xb7",centerdot:"\xb7",Cfr:"ℭ",cfr:"\uD835\uDD20",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"\xae",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"\uD835\uDD54",coprod:"∐",Coproduct:"∐",COPY:"\xa9",copy:"\xa9",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"\uD835\uDC9E",cscr:"\uD835\uDCB8",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"\xa4",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"\xb0",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"\uD835\uDD07",dfr:"\uD835\uDD21",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"\xb4",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"\xa8",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"\xf7",divide:"\xf7",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"\uD835\uDD3B",dopf:"\uD835\uDD55",Dot:"\xa8",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"\xa8",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"\uD835\uDC9F",dscr:"\uD835\uDCB9",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"\xc9",eacute:"\xe9",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"\xca",ecirc:"\xea",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"\uD835\uDD08",efr:"\uD835\uDD22",eg:"⪚",Egrave:"\xc8",egrave:"\xe8",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"\uD835\uDD3C",eopf:"\uD835\uDD56",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"\uD835\uDD09",ffr:"\uD835\uDD23",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"\uD835\uDD3D",fopf:"\uD835\uDD57",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"\xbd",frac13:"⅓",frac14:"\xbc",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"\xbe",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"\uD835\uDCBB",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"\uD835\uDD0A",gfr:"\uD835\uDD24",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"\uD835\uDD3E",gopf:"\uD835\uDD58",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"\uD835\uDCA2",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"\xbd",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"\uD835\uDD25",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"\uD835\uDD59",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"\uD835\uDCBD",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"\xcd",iacute:"\xed",ic:"",Icirc:"\xce",icirc:"\xee",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"\xa1",iff:"⇔",Ifr:"ℑ",ifr:"\uD835\uDD26",Igrave:"\xcc",igrave:"\xec",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"\uD835\uDD40",iopf:"\uD835\uDD5A",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"\xbf",Iscr:"ℐ",iscr:"\uD835\uDCBE",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"\xcf",iuml:"\xef",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"\uD835\uDD0D",jfr:"\uD835\uDD27",jmath:"ȷ",Jopf:"\uD835\uDD41",jopf:"\uD835\uDD5B",Jscr:"\uD835\uDCA5",jscr:"\uD835\uDCBF",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"\uD835\uDD0E",kfr:"\uD835\uDD28",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"\uD835\uDD42",kopf:"\uD835\uDD5C",Kscr:"\uD835\uDCA6",kscr:"\uD835\uDCC0",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"\xab",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"\uD835\uDD0F",lfr:"\uD835\uDD29",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"\uD835\uDD43",lopf:"\uD835\uDD5D",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"\uD835\uDCC1",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"\xaf",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"\uD835\uDD10",mfr:"\uD835\uDD2A",mho:"℧",micro:"\xb5",mid:"∣",midast:"*",midcir:"⫰",middot:"\xb7",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"\uD835\uDD44",mopf:"\uD835\uDD5E",mp:"∓",Mscr:"ℳ",mscr:"\uD835\uDCC2",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:"\xa0",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"\uD835\uDD11",nfr:"\uD835\uDD2B",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:"\xa0",Nopf:"ℕ",nopf:"\uD835\uDD5F",Not:"⫬",not:"\xac",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"\uD835\uDCA9",nscr:"\uD835\uDCC3",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"\xd3",oacute:"\xf3",oast:"⊛",ocir:"⊚",Ocirc:"\xd4",ocirc:"\xf4",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"\uD835\uDD12",ofr:"\uD835\uDD2C",ogon:"˛",Ograve:"\xd2",ograve:"\xf2",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"\uD835\uDD46",oopf:"\uD835\uDD60",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"\xaa",ordm:"\xba",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"\uD835\uDCAA",oscr:"ℴ",Oslash:"\xd8",oslash:"\xf8",osol:"⊘",Otilde:"\xd5",otilde:"\xf5",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"\xd6",ouml:"\xf6",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"\xb6",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"\uD835\uDD13",pfr:"\uD835\uDD2D",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"⨦",plustwo:"⨧",pm:"\xb1",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"\uD835\uDD61",pound:"\xa3",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"\uD835\uDCAB",pscr:"\uD835\uDCC5",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"\uD835\uDD14",qfr:"\uD835\uDD2E",qint:"⨌",Qopf:"ℚ",qopf:"\uD835\uDD62",qprime:"⁗",Qscr:"\uD835\uDCAC",qscr:"\uD835\uDCC6",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"\xbb",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"\xae",reg:"\xae",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"\uD835\uDD2F",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"\uD835\uDCC7",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"\xa7",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"\uD835\uDD16",sfr:"\uD835\uDD30",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"\xad",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"\uD835\uDD4A",sopf:"\uD835\uDD64",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"\uD835\uDCAE",sscr:"\uD835\uDCC8",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"\xaf",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"\xdf",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"\uD835\uDD17",tfr:"\uD835\uDD31",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"\xde",thorn:"\xfe",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"\xd7",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"\uD835\uDD4B",topf:"\uD835\uDD65",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"\uD835\uDCAF",tscr:"\uD835\uDCC9",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"\xda",uacute:"\xfa",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"\uD835\uDD18",ufr:"\uD835\uDD32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"\xa8",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"\uD835\uDD4C",uopf:"\uD835\uDD66",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"\uD835\uDCB0",uscr:"\uD835\uDCCA",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"\xdc",uuml:"\xfc",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"\uD835\uDD19",vfr:"\uD835\uDD33",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"\uD835\uDD4D",vopf:"\uD835\uDD67",vprop:"∝",vrtri:"⊳",Vscr:"\uD835\uDCB1",vscr:"\uD835\uDCCB",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"\uD835\uDD1A",wfr:"\uD835\uDD34",Wopf:"\uD835\uDD4E",wopf:"\uD835\uDD68",wp:"℘",wr:"≀",wreath:"≀",Wscr:"\uD835\uDCB2",wscr:"\uD835\uDCCC",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"\uD835\uDD1B",xfr:"\uD835\uDD35",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"\uD835\uDD4F",xopf:"\uD835\uDD69",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"\uD835\uDCB3",xscr:"\uD835\uDCCD",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"\xdd",yacute:"\xfd",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"\xa5",Yfr:"\uD835\uDD1C",yfr:"\uD835\uDD36",YIcy:"Ї",yicy:"ї",Yopf:"\uD835\uDD50",yopf:"\uD835\uDD6A",Yscr:"\uD835\uDCB4",yscr:"\uD835\uDCCE",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"\xff",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"\uD835\uDD37",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"\uD835\uDD6B",Zscr:"\uD835\uDCB5",zscr:"\uD835\uDCCF",zwj:"",zwnj:""}),t.entityMap=t.HTML_ENTITIES},23337:function(e,t,n){var r=n(77990);t.DOMImplementation=r.DOMImplementation,t.XMLSerializer=r.XMLSerializer,t.DOMParser=n(5289).DOMParser},82394:function(e,t,n){var r=n(46042).NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,o=RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=RegExp("^"+i.source+o.source+"*(?::"+i.source+o.source+"*)?$");function s(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,s)}function u(){}function l(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function c(e,t,n){for(var i=e.tagName,o=null,a=e.length;a--;){var s=e[a],u=s.qName,l=s.value,c=u.indexOf(":");if(c>0)var f=s.prefix=u.slice(0,c),d=u.slice(c+1),h="xmlns"===f&&d;else d=u,f=null,h="xmlns"===u&&"";s.localName=d,!1!==h&&(null==o&&(o={},p(n,n={})),n[h]=o[h]=l,s.uri=r.XMLNS,t.startPrefixMapping(h,l))}for(var a=e.length;a--;){var f=(s=e[a]).prefix;f&&("xml"===f&&(s.uri=r.XML),"xmlns"!==f&&(s.uri=n[f||""]))}var c=i.indexOf(":");c>0?(f=e.prefix=i.slice(0,c),d=e.localName=i.slice(c+1)):(f=null,d=e.localName=i);var y=e.uri=n[f||""];if(t.startElement(y,d,i,e),!e.closed)return e.currentNSMap=n,e.localNSMap=o,!0;if(t.endElement(y,d,i),o)for(f in o)Object.prototype.hasOwnProperty.call(o,f)&&t.endPrefixMapping(f)}function p(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}function f(){this.attributeNames={}}s.prototype=Error(),s.prototype.name=s.name,u.prototype={parse:function(e,t,n){var i=this.domBuilder;i.startDocument(),p(t,t={}),function(e,t,n,i,o){function a(e){var t,r=e.slice(1,-1);return Object.hasOwnProperty.call(n,r)?n[r]:"#"!==r.charAt(0)?(o.error("entity not found:"+e),e):(t=parseInt(r.substr(1).replace("x","0x")))>65535?String.fromCharCode(55296+((t-=65536)>>10),56320+(1023&t)):String.fromCharCode(t)}function u(t){if(t>b){var n=e.substring(b,t).replace(/&#?\w+;/g,a);m&&p(b),i.characters(n,0,t-b),b=t}}function p(t,n){for(;t>=h&&(n=y.exec(e));)h=(d=n.index)+n[0].length,m.lineNumber++;m.columnNumber=t-d+1}for(var d=0,h=0,y=/.*(?:\r\n?|\n)|.*$/g,m=i.locator,v=[{currentNSMap:t}],g={},b=0;;){try{var E=e.indexOf("<",b);if(E<0){if(!e.substr(b).match(/^\s*$/)){var T=i.doc,w=T.createTextNode(e.substr(b));T.appendChild(w),i.currentElement=w}return}switch(E>b&&u(E),e.charAt(E+1)){case"/":var N=e.indexOf(">",E+3),D=e.substring(E+2,N).replace(/[ \t\n\r]+$/g,""),O=v.pop();N<0?(D=e.substring(E+2).replace(/[\s<].*/,""),o.error("end tag name: "+D+" is not complete:"+O.tagName),N=E+1+D.length):D.match(/\s</)&&(D=D.replace(/[\s<].*/,""),o.error("end tag name: "+D+" maybe not complete"),N=E+1+D.length);var I=O.localNSMap,_=O.tagName==D;if(_||O.tagName&&O.tagName.toLowerCase()==D.toLowerCase()){if(i.endElement(O.uri,O.localName,D),I)for(var S in I)Object.prototype.hasOwnProperty.call(I,S)&&i.endPrefixMapping(S);_||o.fatalError("end tag name: "+D+" is not match the current start tagName:"+O.tagName)}else v.push(O);N++;break;case"?":m&&p(E),N=function(e,t,n){var r=e.indexOf("?>",t);if(r){var i=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(i)return i[0].length,n.processingInstruction(i[1],i[2]),r+2}return -1}(e,E,i);break;case"!":m&&p(E),N=function(e,t,n,r){if("-"===e.charAt(t+2)){if("-"===e.charAt(t+3)){var i=e.indexOf("-->",t+4);if(i>t)return n.comment(e,t+4,i-t-4),i+3;r.error("Unclosed comment")}}else{if("CDATA["==e.substr(t+3,6)){var i=e.indexOf("]]>",t+9);return n.startCDATA(),n.characters(e,t+9,i-t-9),n.endCDATA(),i+3}var o=function(e,t){var n,r=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(i.lastIndex=t,i.exec(e);n=i.exec(e);)if(r.push(n),n[1])return r}(e,t),a=o.length;if(a>1&&/!doctype/i.test(o[0][0])){var s=o[1][0],u=!1,l=!1;a>3&&(/^public$/i.test(o[2][0])?(u=o[3][0],l=a>4&&o[4][0]):/^system$/i.test(o[2][0])&&(l=o[3][0]));var c=o[a-1];return n.startDTD(s,u,l),n.endDTD(),c.index+c[0].length}}return -1}(e,E,i,o);break;default:m&&p(E);var A=new f,x=v[v.length-1].currentNSMap,N=function(e,t,n,i,o,a){function s(e,t,r){n.attributeNames.hasOwnProperty(e)&&a.fatalError("Attribute "+e+" redefined"),n.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,o),r)}for(var u,l,c=++t,p=0;;){var f=e.charAt(c);switch(f){case"=":if(1===p)u=e.slice(t,c),p=3;else if(2===p)p=3;else throw Error("attribute equal must after attrName");break;case"'":case'"':if(3===p||1===p){if(1===p&&(a.warning('attribute value must after "="'),u=e.slice(t,c)),t=c+1,(c=e.indexOf(f,t))>0)s(u,l=e.slice(t,c),t-1),p=5;else throw Error("attribute value no end '"+f+"' match")}else if(4==p)s(u,l=e.slice(t,c),t),a.warning('attribute "'+u+'" missed start quot('+f+")!!"),t=c+1,p=5;else throw Error('attribute value must after "="');break;case"/":switch(p){case 0:n.setTagName(e.slice(t,c));case 5:case 6:case 7:p=7,n.closed=!0;case 4:case 1:break;case 2:n.closed=!0;break;default:throw Error("attribute invalid close char('/')")}break;case"":return a.error("unexpected end of input"),0==p&&n.setTagName(e.slice(t,c)),c;case">":switch(p){case 0:n.setTagName(e.slice(t,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(l=e.slice(t,c)).slice(-1)&&(n.closed=!0,l=l.slice(0,-1));case 2:2===p&&(l=u),4==p?(a.warning('attribute "'+l+'" missed quot(")!'),s(u,l,t)):(r.isHTML(i[""])&&l.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+l+'" missed value!! "'+l+'" instead!!'),s(l,l,t));break;case 3:throw Error("attribute value missed!!")}return c;case"\x80":f=" ";default:if(f<=" ")switch(p){case 0:n.setTagName(e.slice(t,c)),p=6;break;case 1:u=e.slice(t,c),p=2;break;case 4:var l=e.slice(t,c);a.warning('attribute "'+l+'" missed quot(")!!'),s(u,l,t);case 5:p=6}else switch(p){case 2:n.tagName,r.isHTML(i[""])&&u.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+u+'" missed value!! "'+u+'" instead2!!'),s(u,u,t),t=c,p=1;break;case 5:a.warning('attribute space is required"'+u+'"!!');case 6:p=1,t=c;break;case 3:p=4,t=c;break;case 7:throw Error("elements closed character '/' and '>' must be connected to")}}c++}}(e,E,A,x,a,o),R=A.length;if(!A.closed&&function(e,t,n,r){var i=r[n];return null==i&&((i=e.lastIndexOf("</"+n+">"))<t&&(i=e.lastIndexOf("</"+n)),r[n]=i),i<t}(e,N,A.tagName,g)&&(A.closed=!0,n.nbsp||o.warning("unclosed xml attribute")),m&&R){for(var k=l(m,{}),C=0;C<R;C++){var L=A[C];p(L.offset),L.locator=l(m,{})}i.locator=k,c(A,i,x)&&v.push(A),i.locator=m}else c(A,i,x)&&v.push(A);r.isHTML(A.uri)&&!A.closed?N=function(e,t,n,r,i){if(/^(?:script|textarea)$/i.test(n)){var o=e.indexOf("</"+n+">",t),a=e.substring(t+1,o);if(/[&<]/.test(a))return/^script$/i.test(n)||(a=a.replace(/&#?\w+;/g,r)),i.characters(a,0,a.length),o}return t+1}(e,N,A.tagName,a,i):N++}}catch(e){if(e instanceof s)throw e;o.error("element parse error: "+e),N=-1}N>b?b=N:u(Math.max(E,b)+1)}}(e,t,n,i,this.errorHandler),i.endDocument()}},f.prototype={setTagName:function(e){if(!a.test(e))throw Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,n){if(!a.test(e))throw Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:n}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=u,t.ParseError=s},6088:function(e,t,n){"use strict";var r=n(20132),i=n(52453),o=n(31720),a=n(68273);e.exports=a||r.call(o,i)},42432:function(e,t,n){"use strict";var r=n(20132),i=n(52453),o=n(6088);e.exports=function(){return o(r,i,arguments)}},52453:function(e){"use strict";e.exports=Function.prototype.apply},31720:function(e){"use strict";e.exports=Function.prototype.call},11519:function(e,t,n){"use strict";var r=n(20132),i=n(31805),o=n(31720),a=n(6088);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new i("a function is required");return a(r,o,e)}},68273:function(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},34573:function(e,t,n){"use strict";var r=n(504),i=n(51544),o=n(11519),a=n(42432);e.exports=function(e){var t=o(arguments),n=e.length-(arguments.length-1);return r(t,1+(n>0?n:0),!0)},i?i(e.exports,"apply",{value:a}):e.exports.apply=a},75343:function(e,t,n){"use strict";var r=n(68750),i=n(11519),o=i([r("%String.prototype.indexOf%")]);e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?i([n]):n}},34882:function(e,t){"use strict";t.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var r={},i=e.split(";"),o=(t||{}).decode||n,a=0;a<i.length;a++){var s=i[a],u=s.indexOf("=");if(!(u<0)){var l=s.substring(0,u).trim();if(void 0==r[l]){var c=s.substring(u+1,s.length).trim();'"'===c[0]&&(c=c.slice(1,-1)),r[l]=function(e,t){try{return t(e)}catch(t){return e}}(c,o)}}}return r},t.serialize=function(e,t,n){var o=n||{},a=o.encode||r;if("function"!=typeof a)throw TypeError("option encode is invalid");if(!i.test(e))throw TypeError("argument name is invalid");var s=a(t);if(s&&!i.test(s))throw TypeError("argument val is invalid");var u=e+"="+s;if(null!=o.maxAge){var l=o.maxAge-0;if(isNaN(l)||!isFinite(l))throw TypeError("option maxAge is invalid");u+="; Max-Age="+Math.floor(l)}if(o.domain){if(!i.test(o.domain))throw TypeError("option domain is invalid");u+="; Domain="+o.domain}if(o.path){if(!i.test(o.path))throw TypeError("option path is invalid");u+="; Path="+o.path}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw TypeError("option expires is invalid");u+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(u+="; HttpOnly"),o.secure&&(u+="; Secure"),o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:case"strict":u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"none":u+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return u};var n=decodeURIComponent,r=encodeURIComponent,i=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},96292:function(e,t,n){let r;var i=n(27061);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&void 0!==i&&"env"in i&&(e=i.env.DEBUG),e},t.useColors=function(){let e;return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(r=!1,()=>{r||(r=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(29374)(t);let{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},29374:function(e,t,n){e.exports=function(e){function t(e){let n,i,o;let a=null;function s(...e){if(!s.enabled)return;let r=Number(new Date),i=r-(n||r);s.diff=i,s.prev=n,s.curr=r,n=r,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,r)=>{if("%%"===n)return"%";o++;let i=t.formatters[r];if("function"==typeof i){let t=e[o];n=i.call(s,t),e.splice(o,1),o--}return n}),t.formatArgs.call(s,e),(s.log||t.log).apply(s,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){let r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function i(e,t){let n=0,r=0,i=-1,o=0;for(;n<e.length;)if(r<t.length&&(t[r]===e[n]||"*"===t[r]))"*"===t[r]?(i=r,o=n):n++,r++;else{if(-1===i)return!1;r=i+1,n=++o}for(;r<t.length&&"*"===t[r];)r++;return r===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let n of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(" ",",").split(",").filter(Boolean)))"-"===n[0]?t.skips.push(n.slice(1)):t.names.push(n)},t.enabled=function(e){for(let n of t.skips)if(i(e,n))return!1;for(let n of t.names)if(i(e,n))return!0;return!1},t.humanize=n(48628),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(n=>{t[n]=e[n]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t)|0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},76300:function(e,t,n){"use strict";var r=n(51544),i=n(20099),o=n(31805),a=n(77502);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new o("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],p=!!a&&a(e,t);if(r)r(e,t,{configurable:null===l&&p?p.configurable:!l,enumerable:null===s&&p?p.enumerable:!s,value:n,writable:null===u&&p?p.writable:!u});else if(!c&&(s||u||l))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[t]=n}},97755:function(e,t,n){"use strict";var r,i=n(11519),o=n(77502);try{r=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var a=!!r&&o&&o(Object.prototype,"__proto__"),s=Object,u=s.getPrototypeOf;e.exports=a&&"function"==typeof a.get?i([a.get]):"function"==typeof u&&function(e){return u(null==e?e:s(e))}},51544:function(e){"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},73573:function(e){"use strict";e.exports=EvalError},85513:function(e){"use strict";e.exports=Error},77679:function(e){"use strict";e.exports=RangeError},39269:function(e){"use strict";e.exports=ReferenceError},20099:function(e){"use strict";e.exports=SyntaxError},31805:function(e){"use strict";e.exports=TypeError},99491:function(e){"use strict";e.exports=URIError},19767:function(e){"use strict";e.exports=Object},50343:function(e){"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise(function(n,r){var i;function o(n){e.removeListener(t,a),r(n)}function a(){"function"==typeof e.removeListener&&e.removeListener("error",o),n([].slice.call(arguments))}y(e,t,a,{once:!0}),"error"!==t&&(i={once:!0},"function"==typeof e.on&&y(e,"error",o,i))})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function l(e,t,n,r){if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=u(e))>0&&a.length>i&&!a.warned){a.warned=!0;var i,o,a,l=Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,console&&console.warn&&console.warn(l)}return e}function c(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=c.bind(r);return i.listener=n,r.wrapFn=i,i}function f(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):h(i,i.length)}function d(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function h(e,t){for(var n=Array(t),r=0;r<t;++r)n[r]=e[r];return n}function y(e,t,n,r){if("function"==typeof e.on)r.once?e.once(t,n):e.on(t,n);else if("function"==typeof e.addEventListener)e.addEventListener(t,function i(o){r.once&&e.removeEventListener(t,i),n(o)});else throw TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||i(e))throw RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var a,s=Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)r(u,this,t);else for(var l=u.length,c=h(u,l),n=0;n<l;++n)r(c[n],this,t);return!0},o.prototype.addListener=function(e,t){return l(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return l(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,p(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,p(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,r,i,o,a;if(s(t),void 0===(r=this._events)||void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0==arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return f(this,e,!0)},o.prototype.rawListeners=function(e){return f(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},o.prototype.listenerCount=d,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},55278:function(e,t,n){"use strict";var r=n(72922),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty,a=function(e,t,n){for(var r=0,i=e.length;r<i;r++)o.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))},s=function(e,t,n){for(var r=0,i=e.length;r<i;r++)null==n?t(e.charAt(r),r,e):t.call(n,e.charAt(r),r,e)},u=function(e,t,n){for(var r in e)o.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))};e.exports=function(e,t,n){var o;if(!r(t))throw TypeError("iterator must be a function");(arguments.length>=3&&(o=n),"[object Array]"===i.call(e))?a(e,t,o):"string"==typeof e?s(e,t,o):u(e,t,o)}},68458:function(e){"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},i=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},o=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};e.exports=function(e){var a,s=this;if("function"!=typeof s||"[object Function]"!==t.apply(s))throw TypeError("Function.prototype.bind called on incompatible "+s);for(var u=i(arguments,1),l=n(0,s.length-u.length),c=[],p=0;p<l;p++)c[p]="$"+p;if(a=Function("binder","return function ("+o(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var t=s.apply(this,r(u,arguments));return Object(t)===t?t:this}return s.apply(e,r(u,arguments))}),s.prototype){var f=function(){};f.prototype=s.prototype,a.prototype=new f,f.prototype=null}return a}},20132:function(e,t,n){"use strict";var r=n(68458);e.exports=Function.prototype.bind||r},68750:function(e,t,n){"use strict";var r,i=n(19767),o=n(85513),a=n(73573),s=n(77679),u=n(39269),l=n(20099),c=n(31805),p=n(99491),f=n(36354),d=n(72244),h=n(24268),y=n(55139),m=n(89544),v=n(56298),g=n(87558),b=Function,E=function(e){try{return b('"use strict"; return ('+e+").constructor;")()}catch(e){}},T=n(77502),w=n(51544),N=function(){throw new c},D=T?function(){try{return arguments.callee,N}catch(e){try{return T(arguments,"callee").get}catch(e){return N}}}():N,O=n(40679)(),I=n(87778),_=n(77819),S=n(84578),A=n(52453),x=n(31720),R={},k="undefined"!=typeof Uint8Array&&I?I(Uint8Array):r,C={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":O&&I?I([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":R,"%AsyncGenerator%":R,"%AsyncGeneratorFunction%":R,"%AsyncIteratorPrototype%":R,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"undefined"==typeof Float16Array?r:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":R,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":O&&I?I(I([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&O&&I?I(new Map()[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":T,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":s,"%ReferenceError%":u,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&O&&I?I(new Set()[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":O&&I?I(""[Symbol.iterator]()):r,"%Symbol%":O?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":D,"%TypedArray%":k,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":p,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet,"%Function.prototype.call%":x,"%Function.prototype.apply%":A,"%Object.defineProperty%":w,"%Object.getPrototypeOf%":_,"%Math.abs%":f,"%Math.floor%":d,"%Math.max%":h,"%Math.min%":y,"%Math.pow%":m,"%Math.round%":v,"%Math.sign%":g,"%Reflect.getPrototypeOf%":S};if(I)try{null.error}catch(e){var L=I(I(e));C["%Error.prototype%"]=L}var F=function e(t){var n;if("%AsyncFunction%"===t)n=E("async function () {}");else if("%GeneratorFunction%"===t)n=E("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=E("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&I&&(n=I(i.prototype))}return C[t]=n,n},P={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},j=n(20132),M=n(71712),$=j.call(x,Array.prototype.concat),U=j.call(A,Array.prototype.splice),q=j.call(x,String.prototype.replace),V=j.call(x,String.prototype.slice),B=j.call(x,RegExp.prototype.exec),G=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,H=/\\(\\)?/g,Y=function(e){var t=V(e,0,1),n=V(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var r=[];return q(e,G,function(e,t,n,i){r[r.length]=n?q(i,H,"$1"):t||e}),r},Q=function(e,t){var n,r=e;if(M(P,r)&&(r="%"+(n=P[r])[0]+"%"),M(C,r)){var i=C[r];if(i===R&&(i=F(r)),void 0===i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===B(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Y(e),r=n.length>0?n[0]:"",i=Q("%"+r+"%",t),o=i.name,a=i.value,s=!1,u=i.alias;u&&(r=u[0],U(n,$([0,1],u)));for(var p=1,f=!0;p<n.length;p+=1){var d=n[p],h=V(d,0,1),y=V(d,-1);if(('"'===h||"'"===h||"`"===h||'"'===y||"'"===y||"`"===y)&&h!==y)throw new l("property names with quotes must have matching quotes");if("constructor"!==d&&f||(s=!0),r+="."+d,M(C,o="%"+r+"%"))a=C[o];else if(null!=a){if(!(d in a)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(T&&p+1>=n.length){var m=T(a,d);a=(f=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:a[d]}else f=M(a,d),a=a[d];f&&!s&&(C[o]=a)}}return a}},77819:function(e,t,n){"use strict";var r=n(19767);e.exports=r.getPrototypeOf||null},84578:function(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},87778:function(e,t,n){"use strict";var r=n(84578),i=n(77819),o=n(97755);e.exports=r?function(e){return r(e)}:i?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("getProto: not an object");return i(e)}:o?function(e){return o(e)}:null},76158:function(e){"use strict";e.exports=Object.getOwnPropertyDescriptor},77502:function(e,t,n){"use strict";var r=n(76158);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},93136:function(e,t,n){"use strict";var r=n(51544),i=function(){return!!r};i.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},40679:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n(8186);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&i()}},8186:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var r in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},10698:function(e,t,n){"use strict";var r=n(8186);e.exports=function(){return r()&&!!Symbol.toStringTag}},71712:function(e,t,n){"use strict";var r=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=n(20132);e.exports=o.call(r,i)},70087:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},47740:function(e,t,n){"use strict";var r=n(10698)(),i=n(75343)("Object.prototype.toString"),o=function(e){return(!r||!e||"object"!=typeof e||!(Symbol.toStringTag in e))&&"[object Arguments]"===i(e)},a=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"length"in e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"callee"in e&&"[object Function]"===i(e.callee)},s=function(){return o(arguments)}();o.isLegacyArguments=a,e.exports=s?o:a},72922:function(e){"use strict";var t,n,r=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},i(function(){throw 42},null,t)}catch(e){e!==n&&(i=null)}else i=null;var o=/^\s*class\b/,a=function(e){try{var t=r.call(e);return o.test(t)}catch(e){return!1}},s=function(e){try{if(a(e))return!1;return r.call(e),!0}catch(e){return!1}},u=Object.prototype.toString,l="function"==typeof Symbol&&!!Symbol.toStringTag,c=!(0 in[,]),p=function(){return!1};if("object"==typeof document){var f=document.all;u.call(f)===u.call(document.all)&&(p=function(e){if((c||!e)&&(void 0===e||"object"==typeof e))try{var t=u.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=i?function(e){if(p(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;try{i(e,null,t)}catch(e){if(e!==n)return!1}return!a(e)&&s(e)}:function(e){if(p(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;if(l)return s(e);if(a(e))return!1;var t=u.call(e);return!!("[object Function]"===t||"[object GeneratorFunction]"===t||/^\[object HTML/.test(t))&&s(e)}},18265:function(e,t,n){"use strict";var r,i=n(75343),o=n(87821)(/^\s*(?:function)?\*/),a=n(10698)(),s=n(87778),u=i("Object.prototype.toString"),l=i("Function.prototype.toString"),c=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(e){}};e.exports=function(e){if("function"!=typeof e)return!1;if(o(l(e)))return!0;if(!a)return"[object GeneratorFunction]"===u(e);if(!s)return!1;if(void 0===r){var t=c();r=!!t&&s(t)}return s(e)===r}},66819:function(e,t,n){var r=n(27061),i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,u={};function l(){if("undefined"!=typeof navigator&&"ReactNative"===navigator.product)return!0;if(void 0!==r){let e=r.type;return"renderer"!==e&&"worker"!==e&&!!(r.versions&&r.versions.node)}return!1}((e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})})(u,{isNodeProcess:()=>l}),e.exports=((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let u of a(t))s.call(e,u)||u===n||i(e,u,{get:()=>t[u],enumerable:!(r=o(t,u))||r.enumerable});return e})(i({},"__esModule",{value:!0}),u)},82483:function(e,t,n){"use strict";var r,i=n(75343),o=n(10698)(),a=n(71712),s=n(77502);if(o){var u=i("RegExp.prototype.exec"),l={},c=function(){throw l},p={toString:c,valueOf:c};"symbol"==typeof Symbol.toPrimitive&&(p[Symbol.toPrimitive]=c),r=function(e){if(!e||"object"!=typeof e)return!1;var t=s(e,"lastIndex");if(!(t&&a(t,"value")))return!1;try{u(e,p)}catch(e){return e===l}}}else{var f=i("Object.prototype.toString");r=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"[object RegExp]"===f(e)}}e.exports=r},50387:function(e,t,n){"use strict";var r=n(52505);e.exports=function(e){return!!r(e)}},52256:function(e){"use strict";e.exports=function(){function e(e,t,n,r,i){return e<t||n<t?e>n?n+1:e+1:r===i?t:t+1}return function(t,n){if(t===n)return 0;if(t.length>n.length){var r,i,o,a,s,u,l,c,p,f,d,h,y=t;t=n,n=y}for(var m=t.length,v=n.length;m>0&&t.charCodeAt(m-1)===n.charCodeAt(v-1);)m--,v--;for(var g=0;g<m&&t.charCodeAt(g)===n.charCodeAt(g);)g++;if(m-=g,v-=g,0===m||v<3)return v;var b=0,E=[];for(r=0;r<m;r++)E.push(r+1),E.push(t.charCodeAt(g+r));for(var T=E.length-1;b<v-3;)for(r=0,p=n.charCodeAt(g+(i=b)),f=n.charCodeAt(g+(o=b+1)),d=n.charCodeAt(g+(a=b+2)),h=n.charCodeAt(g+(s=b+3)),u=b+=4;r<T;r+=2)i=e(l=E[r],i,o,p,c=E[r+1]),o=e(i,o,a,f,c),a=e(o,a,s,d,c),u=e(a,s,u,h,c),E[r]=u,s=a,a=o,o=i,i=l;for(;b<v;)for(r=0,p=n.charCodeAt(g+(i=b)),u=++b;r<T;r+=2)l=E[r],E[r]=u=e(l,i,u,p,E[r+1]),i=l;return u}}()},36354:function(e){"use strict";e.exports=Math.abs},72244:function(e){"use strict";e.exports=Math.floor},77890:function(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},24268:function(e){"use strict";e.exports=Math.max},55139:function(e){"use strict";e.exports=Math.min},89544:function(e){"use strict";e.exports=Math.pow},56298:function(e){"use strict";e.exports=Math.round},87558:function(e,t,n){"use strict";var r=n(77890);e.exports=function(e){return r(e)||0===e?e:e<0?-1:1}},48628:function(e){function t(e,t,n,r){return Math.round(e/n)+" "+r+(t>=1.5*n?"s":"")}e.exports=function(e,n){n=n||{};var r,i,o=typeof e;if("string"===o&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"weeks":case"week":case"w":return 6048e5*n;case"days":case"day":case"d":return 864e5*n;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*n;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*n;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(e);if("number"===o&&isFinite(e))return n.long?(r=Math.abs(e))>=864e5?t(e,r,864e5,"day"):r>=36e5?t(e,r,36e5,"hour"):r>=6e4?t(e,r,6e4,"minute"):r>=1e3?t(e,r,1e3,"second"):e+" ms":(i=Math.abs(e))>=864e5?Math.round(e/864e5)+"d":i>=36e5?Math.round(e/36e5)+"h":i>=6e4?Math.round(e/6e4)+"m":i>=1e3?Math.round(e/1e3)+"s":e+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},45698:function(e,t,n){"use strict";var r,i=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})},p=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))l.call(e,i)||i===n||o(e,i,{get:()=>t[i],enumerable:!(r=a(t,i))||r.enumerable});return e},f=(e,t,n)=>(n=null!=e?i(u(e)):{},p(!t&&e&&e.__esModule?n:o(n,"default",{value:e,enumerable:!0}),e)),d={};c(d,{GraphQLHandler:()=>eJ,MockedRequest:()=>ef,RESTMethods:()=>eU,RequestHandler:()=>e$,RestHandler:()=>eB,SetupApi:()=>tr,SetupWorkerApi:()=>ti,cleanUrl:()=>eS,compose:()=>eR,context:()=>h,createResponseComposition:()=>eL,defaultContext:()=>eM,defaultResponse:()=>ek,graphql:()=>tc,graphqlContext:()=>eY,handleRequest:()=>eW,matchRequestUrl:()=>eA,response:()=>eF,rest:()=>ts,restContext:()=>eq,setupWorker:()=>to}),e.exports=p(o({},"__esModule",{value:!0}),d);var h={};c(h,{body:()=>T,cookie:()=>E,data:()=>I,delay:()=>x,errors:()=>R,extensions:()=>_,fetch:()=>j,json:()=>O,set:()=>g,status:()=>m,text:()=>M,xml:()=>$});var y={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a Teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"},m=(e,t)=>n=>(n.status=e,n.statusText=t||y[String(e)],n),v=n(48452);function g(...e){return t=>{let[n,r]=e;return"string"==typeof n?t.headers.append(n,r):(0,v.objectToHeaders)(n).forEach((e,n)=>{t.headers.append(n,e)}),t}}var b=f(n(34882)),E=(e,t,n)=>r=>{let i=b.serialize(e,t,n);return r.headers.append("Set-Cookie",i),"undefined"!=typeof document&&(document.cookie=i),r},T=e=>t=>(t.body=e,t);function w(e){try{return JSON.parse(e)}catch(e){return}}function N(e){return null!=e&&"object"==typeof e&&!Array.isArray(e)}function D(e,t){return Object.entries(t).reduce((e,[t,n])=>{let r=e[t];return Array.isArray(r)&&Array.isArray(n)?e[t]=r.concat(n):N(r)&&N(n)?e[t]=D(r,n):e[t]=n,e},Object.assign({},e))}var O=e=>t=>(t.headers.set("Content-Type","application/json"),t.body=JSON.stringify(e),t),I=e=>t=>O(D(w(t.body)||{},{data:e}))(t),_=e=>t=>O(D(w(t.body)||{},{extensions:e}))(t),S=n(66819),A=()=>(0,S.isNodeProcess)()?5:Math.floor(300*Math.random()+100),x=e=>t=>{let n;if("string"==typeof e)switch(e){case"infinite":n=2147483647;break;case"real":n=A();break;default:throw Error(`Failed to delay a response: unknown delay mode "${e}". Please make sure you provide one of the supported modes ("real", "infinite") or a number to "ctx.delay".`)}else if(void 0===e)n=A();else{if(e>2147483647)throw Error(`Failed to delay a response: provided delay duration (${e}) exceeds the maximum allowed duration for "setTimeout" (2147483647). This will cause the response to be returned immediately. Please use a number within the allowed range to delay the response by exact duration, or consider the "infinite" delay mode to delay the response indefinitely.`);n=e}return t.delay=n,t},R=e=>t=>null==e?t:O(D(w(t.body)||{},{errors:e}))(t),k=n(66819),C=n(48452),L=(0,k.isNodeProcess)()?(e,t)=>Promise.resolve().then(()=>f(n(40759))).then(({default:n})=>n(e,t)):globalThis.fetch,F=e=>{let t=new C.Headers(e.headers);return t.set("x-msw-bypass","true"),{...e,headers:t.all()}},P=e=>{let{body:t,method:n}=e,r={...e,body:void 0};return["GET","HEAD"].includes(n)||("object"==typeof t||"number"==typeof t||"boolean"==typeof t?r.body=JSON.stringify(t):r.body=t),r},j=(e,t={})=>{if("string"==typeof e)return L(e,F(t));let n=F(P(e));return L(e.url.href,n)},M=e=>t=>(t.headers.set("Content-Type","text/plain"),t.body=e,t),$=e=>t=>(t.headers.set("Content-Type","text/xml"),t.body=e,t),U=n(85466),q=n(85466);function V(e,...t){let n=(0,q.format)(e,...t);return`[MSW] ${n}`}var B={formatMessage:V,warn:function(e,...t){console.warn(V(e,...t))},error:function(e,...t){console.error(V(e,...t))}},G=n(85466),H=n(66819),Y=n(26865),Q=n(26865);function J(e,t,n){return[e.active,e.installing,e.waiting].filter(e=>null!=e).find(e=>n(e.scriptURL,t))||null}var z=async(e,t={},n)=>{let r=new URL(e,location.href).href,i=await navigator.serviceWorker.getRegistrations().then(e=>e.filter(e=>J(e,r,n)));!navigator.serviceWorker.controller&&i.length>0&&location.reload();let[o]=i;if(o)return o.update().then(()=>[J(o,r,n),o]);let[a,s]=await (0,Q.until)(async()=>{let i=await navigator.serviceWorker.register(e,t);return[J(i,r,n),i]});if(a){if(a.message.includes("(404)")){let e=new URL((null==t?void 0:t.scope)||"/",location.href);throw Error(B.formatMessage(`Failed to register a Service Worker for scope ('${e.href}') with script ('${r}'): Service Worker script does not exist at the given path.
|
|
11
|
+
|
|
12
|
+
Did you forget to run "npx msw init <PUBLIC_DIR>"?
|
|
13
|
+
|
|
14
|
+
Learn more about creating the Service Worker script: https://mswjs.io/docs/cli/init`))}throw Error(B.formatMessage("Failed to register the Service Worker:\n\n%s",a.message))}return s};function W(e={}){if(e.quiet)return;let t=e.message||"Mocking enabled.";console.groupCollapsed(`%c${B.formatMessage(t)}`,"color:orangered;font-weight:bold;"),console.log("%cDocumentation: %chttps://mswjs.io/docs","font-weight:bold","font-weight:normal"),console.log("Found an issue? https://github.com/mswjs/msw/issues"),e.workerUrl&&console.log("Worker script URL:",e.workerUrl),e.workerScope&&console.log("Worker scope:",e.workerScope),console.groupEnd()}async function X(e,t){var n,r;if(e.workerChannel.send("MOCK_ACTIVATE"),await e.events.once("MOCKING_ENABLED"),e.isMockingEnabled){B.warn('Found a redundant "worker.start()" call. Note that starting the worker while mocking is already enabled will have no effect. Consider removing this "worker.start()" call.');return}e.isMockingEnabled=!0,W({quiet:t.quiet,workerScope:null==(n=e.registration)?void 0:n.scope,workerUrl:null==(r=e.worker)?void 0:r.scriptURL})}var K=class{constructor(e){this.port=e}postMessage(e,...t){let[n,r]=t;this.port.postMessage({type:e,data:n},{transfer:r})}},Z=class extends Error{constructor(e){super(e),this.name="NetworkError"}},ee=n(23978),et=n(48452),en=f(n(34882)),er=n(67513),ei=n(23978),eo=n(57438),ea=n(48452),es=f(n(34882));function eu(){return es.parse(document.cookie)}var el=n(48452);function ec(e,t){var n;if(!e)return e;let r=(null==(n=null==t?void 0:t.get("content-type"))?void 0:n.toLowerCase())||"";return r.startsWith("multipart/form-data")&&"object"!=typeof e?function(e,t){let n=null==t?void 0:t.get("content-type");if(!n)return;let[,...r]=n.split(/; */),i=r.filter(e=>e.startsWith("boundary=")).map(e=>e.replace(/^boundary=/,""))[0];if(!i)return;let o=RegExp(`--+${i}`),a=e.split(o).filter(e=>e.startsWith("\r\n")&&e.endsWith("\r\n")).map(e=>e.trimStart().replace(/\r\n$/,""));if(!a.length)return;let s={};try{for(let e of a){let[t,...n]=e.split("\r\n\r\n"),r=n.join("\r\n\r\n"),{contentType:i,filename:o,name:a}=function(e){var t,n;let r=(0,el.stringToHeaders)(e),i=r.get("content-type")||"text/plain",o=r.get("content-disposition");if(!o)throw Error('"Content-Disposition" header is required.');let a=o.split(";").reduce((e,t)=>{let[n,...r]=t.trim().split("=");return e[n]=r.join("="),e},{});return{name:null==(t=a.name)?void 0:t.slice(1,-1),filename:null==(n=a.filename)?void 0:n.slice(1,-1),contentType:i}}(t),u=void 0===o?r:new File([r],o,{type:i}),l=s[a];void 0===l?s[a]=u:Array.isArray(l)?s[a]=[...l,u]:s[a]=[l,u]}return s}catch(e){return}}(e.toString(),t)||e:r.includes("json")&&"object"!=typeof e&&w(e.toString())||e}function ep(e,t){return e.toLowerCase()===t.toLowerCase()}var ef=class extends ei.IsomorphicRequest{constructor(e,t={}){super(e,t),t.id&&(this.id=t.id),this.cache=t.cache||"default",this.destination=t.destination||"",this.integrity=t.integrity||"",this.keepalive=t.keepalive||!1,this.mode=t.mode||"cors",this.priority=t.priority||"auto",this.redirect=t.redirect||"follow",this.referrer=t.referrer||"",this.referrerPolicy=t.referrerPolicy||"no-referrer",this.cookies=t.cookies||this.getCookies()}get body(){let e=ec((0,eo.decodeBuffer)(this._body),this.headers);if(!ep(this.method,"GET")||""!==e)return e}passthrough(){return{status:101,statusText:"Continue",headers:new ea.Headers,body:null,passthrough:!0,once:!1}}getCookies(){var e;let t=this.headers.get("cookie"),n=t?en.parse(t):{};er.store.hydrate();let r=Array.from(null==(e=er.store.get({...this,url:this.url.href}))?void 0:e.entries()).reduce((e,[t,{value:n}])=>Object.assign(e,{[t.trim()]:n}),{}),i={...function(e){if("undefined"==typeof document||"undefined"==typeof location)return{};switch(e.credentials){case"same-origin":return location.origin===e.url.origin?eu():{};case"include":return eu();default:return{}}}(this),...r};for(let[e,t]of Object.entries(i))this.headers.append("cookie",`${e}=${t}`);return{...i,...n}}},ed=n(26865),eh=async(e,t,n)=>{let r=t.filter(t=>t.test(e,n));if(0===r.length)return{handler:void 0,response:void 0};let i=await r.reduce(async(t,r)=>{let i=await t;if(null==i?void 0:i.response)return t;let o=await r.run(e,n);return null===o||o.handler.shouldSkip?null:o.response?(o.response.once&&r.markAsSkipped(!0),o):{request:o.request,handler:o.handler,response:void 0,parsedResult:o.parsedResult}},Promise.resolve(null));return i?{handler:i.handler,publicRequest:i.request,parsedRequest:i.parsedResult,response:i.response}:{handler:void 0,response:void 0}},ey=f(n(52256)),em=n(15115),ev=e=>e.referrer.startsWith(e.url.origin)?e.url.pathname:new URL(e.url.pathname,`${e.url.protocol}//${e.url.host}`).href;function eg(e){var t;let n=e.definitions.find(e=>"OperationDefinition"===e.kind);return{operationType:null==n?void 0:n.operation,operationName:null==(t=null==n?void 0:n.name)?void 0:t.value}}function eb(e){let t=function(e){var t,n;switch(e.method){case"GET":return{query:e.url.searchParams.get("query"),variables:w(e.url.searchParams.get("variables")||"")};case"POST":if(null==(t=e.body)?void 0:t.query){let{query:t,variables:n}=e.body;return{query:t,variables:n}}if(null==(n=e.body)?void 0:n.operations){let{operations:t,map:n,...r}=e.body,i=w(t)||{};if(!i.query)return null;let o=w(n||"")||{},a=i.variables?function(e,t,n){let r={variables:e};for(let[e,i]of Object.entries(t)){if(!(e in n))throw Error(`Given files do not have a key '${e}' .`);for(let t of i){let[i,...o]=t.split(".").reverse(),a=o.reverse(),s=r;for(let e of a){if(!(e in s))throw Error(`Property '${a}' is not in operations.`);s=s[e]}s[i]=n[e]}}return r.variables}(i.variables,o,r):{};return{query:i.query,variables:a}}default:return null}}(e);if(!t||!t.query)return;let{query:n,variables:r}=t,i=function(e){try{let t=(0,em.parse)(e);return eg(t)}catch(e){return e}}(n);if(i instanceof Error){let t=ev(e);throw Error(B.formatMessage('Failed to intercept a GraphQL request to "%s %s": cannot parse query. See the error message from the parser below.\n\n%s',e.method,t,i.message))}return{operationType:i.operationType,operationName:i.operationName,variables:r}}function eE(e){return e<300?"#69AB32":e<400?"#F0BB4B":"#E95F5D"}function eT(){let e=new Date;return[e.getHours(),e.getMinutes(),e.getSeconds()].map(String).map(e=>e.slice(0,2)).map(e=>e.padStart(2,"0")).join(":")}function ew(e){return{...e,body:e.body,headers:e.headers.all()}}var eN=n(48452);function eD(e){let t=(0,eN.objectToHeaders)(e.headers),n=ec(e.body,t);return{...e,body:n}}var eO=n(92586),eI=n(35255),e_=/[\?|#].*$/g;function eS(e){return e.replace(e_,"")}function eA(e,t,n){let r=t instanceof RegExp?t:eS(function(e,t){if(/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)||e.startsWith("*"))return e;let n=t||"undefined"!=typeof document&&document.baseURI;return n?decodeURI(new URL(encodeURI(e),n).href):e}(t,n)),i="string"==typeof r?r.replace(/([:a-zA-Z_-]*)(\*{1,2})+/g,(e,t,n)=>{let r="(.*)";return t?t.startsWith(":")?`${t}${n}`:`${t}${r}`:r}).replace(/([^\/])(:)(?=\d+)/,"$1\\$2").replace(/^([^\/]+)(:)(?=\/\/)/,"$1\\$2"):r,o=(0,eI.getCleanUrl)(e),a=(0,eO.match)(i,{decode:decodeURIComponent})(o),s=a&&a.params||{};return{matches:!1!==a,params:s}}n(48452);var ex=n(48452);function eR(...e){return(...t)=>e.reduceRight((e,t)=>e instanceof Promise?Promise.resolve(e).then(t):t(e),t[0])}var ek={status:200,statusText:"OK",body:null,delay:0,once:!1,passthrough:!1},eC=[];function eL(e,t=eC){return async(...n)=>{let r=Object.assign({},ek,{headers:new ex.Headers({"x-powered-by":"msw"})},e),i=[...t,...n].filter(Boolean);return i.length>0?eR(...i)(r):r}}var eF=Object.assign(eL(),{once:eL({once:!0}),networkError(e){throw new Z(e)}}),eP=/[\/\\]msw[\/\\]src[\/\\](.+)/,ej=/(node_modules)?[\/\\]lib[\/\\](umd|esm|iief|cjs)[\/\\]|^[^\/\\]*$/,eM={status:m,set:g,delay:x,fetch:j},e$=class{constructor(e){this.shouldSkip=!1,this.ctx=e.ctx||eM,this.resolver=e.resolver;let t=function(e){let t=e.stack;if(!t)return;let n=t.split("\n").slice(1).find(e=>!(eP.test(e)||ej.test(e)));if(n)return n.replace(/\s*at [^()]*\(([^)]+)\)/,"$1").replace(/^@/,"")}(Error());this.info={...e.info,callFrame:t}}parse(e,t){return null}test(e,t){return this.predicate(e,this.parse(e,t),t)}getPublicRequest(e,t){return e}markAsSkipped(e=!0){this.shouldSkip=e}async run(e,t){if(this.shouldSkip)return null;let n=this.parse(e,t);if(!this.predicate(e,n,t))return null;let r=this.getPublicRequest(e,n),i=this.wrapResolver(this.resolver),o=await i(r,eF,this.ctx);return this.createExecutionResult(n,r,o)}wrapResolver(e){return async(t,n,r)=>{let i=this.resolverGenerator||await e(t,n,r);if(i&&"function"==typeof i[Symbol.iterator]){let{value:e,done:t}=i[Symbol.iterator]().next(),n=await e;return!n&&t?this.resolverGeneratorResult:(this.resolverGenerator||(this.resolverGenerator=i),this.resolverGeneratorResult=n,n)}return i}}createExecutionResult(e,t,n){return{handler:this,parsedResult:e||null,request:t,response:n||null}}},eU=((r=eU||{}).HEAD="HEAD",r.GET="GET",r.POST="POST",r.PUT="PUT",r.PATCH="PATCH",r.OPTIONS="OPTIONS",r.DELETE="DELETE",r),eq={...eM,cookie:E,body:T,text:M,json:O,xml:$},eV=class extends ef{constructor(e,t){super(e.url,{...e,body:e._body}),this.params=t,this.id=e.id}},eB=class extends e${constructor(e,t,n){super({info:{header:`${e} ${t}`,path:t,method:e},ctx:eq,resolver:n}),this.checkRedundantQueryParameters()}checkRedundantQueryParameters(){let{method:e,path:t}=this.info;if(t instanceof RegExp||eS(t)===t)return;let n=new URL(`/${t}`,"http://localhost").searchParams,r=[];n.forEach((e,t)=>{r.push(t)}),B.warn(`Found a redundant usage of query parameters in the request handler URL for "${e} ${t}". Please match against a path instead and access query parameters in the response resolver function using "req.url.searchParams".`)}parse(e,t){return eA(e.url,this.info.path,null==t?void 0:t.baseUrl)}getPublicRequest(e,t){return new eV(e,t.params||{})}predicate(e,t){return(this.info.method instanceof RegExp?this.info.method.test(e.method):ep(this.info.method,e.method))&&t.matches}log(e,t){let n=ev(e),r=ew(e),i=eD(t),o=eE(t.status);console.groupCollapsed(B.formatMessage("%s %s %s (%c%s%c)"),eT(),e.method,n,`color:${o}`,`${t.status} ${t.statusText}`,"color:inherit"),console.log("Request",r),console.log("Handler:",this),console.log("Response",i),console.groupEnd()}},eG=n(85466);function eH(e,t){try{return e()}catch(e){null==t||t(e)}}var eY={...eM,data:I,extensions:_,errors:R,cookie:E,field:(e,t)=>n=>((0,eG.invariant)(""!==e.trim(),B.formatMessage("Failed to set a custom field on a GraphQL response: field name cannot be empty.")),(0,eG.invariant)("data"!==e,B.formatMessage('Failed to set a custom "%s" field on a mocked GraphQL response: forbidden field name. Did you mean to call "ctx.data()" instead?',e)),(0,eG.invariant)("errors"!==e,B.formatMessage('Failed to set a custom "%s" field on a mocked GraphQL response: forbidden field name. Did you mean to call "ctx.errors()" instead?',e)),(0,eG.invariant)("extensions"!==e,B.formatMessage('Failed to set a custom "%s" field on a mocked GraphQL response: forbidden field name. Did you mean to call "ctx.extensions()" instead?',e)),O(D(w(n.body)||{},{[e]:t}))(n))},eQ=class extends ef{constructor(e,t,n){super(e.url,{...e,body:e._body}),this.variables=t,this.operationName=n}},eJ=class extends e${constructor(e,t,n,r){let i=t;if(null!=t&&"object"==typeof t&&"kind"in t&&"definitions"in t){let n=eg(t);if(n.operationType!==e)throw Error(`Failed to create a GraphQL handler: provided a DocumentNode with a mismatched operation type (expected "${e}", but got "${n.operationType}").`);if(!n.operationName)throw Error("Failed to create a GraphQL handler: provided a DocumentNode with no operation name.");i=n.operationName}super({info:{header:"all"===e?`${e} (origin: ${n.toString()})`:`${e} ${i} (origin: ${n.toString()})`,operationType:e,operationName:i},ctx:eY,resolver:r}),this.endpoint=n}parse(e){return eH(()=>eb(e),e=>console.error(e.message))}getPublicRequest(e,t){var n,r;return new eQ(e,null!=(n=null==t?void 0:t.variables)?n:{},null!=(r=null==t?void 0:t.operationName)?r:"")}predicate(e,t){if(!t)return!1;if(!t.operationName&&"all"!==this.info.operationType){let t=ev(e);return B.warn(`Failed to intercept a GraphQL request at "${e.method} ${t}": anonymous GraphQL operations are not supported.
|
|
15
|
+
|
|
16
|
+
Consider naming this operation or using "graphql.operation()" request handler to intercept GraphQL requests regardless of their operation name/type. Read more: https://mswjs.io/docs/api/graphql/operation `),!1}let n=eA(e.url,this.endpoint),r="all"===this.info.operationType||t.operationType===this.info.operationType,i=this.info.operationName instanceof RegExp?this.info.operationName.test(t.operationName||""):t.operationName===this.info.operationName;return n.matches&&r&&i}log(e,t,n){let r=ew(e),i=eD(t),o=eE(t.status),a=(null==n?void 0:n.operationName)?`${null==n?void 0:n.operationType} ${null==n?void 0:n.operationName}`:`anonymous ${null==n?void 0:n.operationType}`;console.groupCollapsed(B.formatMessage("%s %s (%c%s%c)"),eT(),`${a}`,`color:${o}`,`${t.status} ${t.statusText}`,"color:inherit"),console.log("Request:",r),console.log("Handler:",this),console.log("Response:",i),console.groupEnd()}},ez=n(67513);async function eW(e,t,n,r,i){var o,a,s,u,l,c;if(r.emit("request:start",e),"true"===e.headers.get("x-msw-bypass")){r.emit("request:end",e),null==(o=null==i?void 0:i.onPassthroughResponse)||o.call(i,e);return}let[p,f]=await (0,ed.until)(()=>eh(e,t,null==i?void 0:i.resolutionContext));if(p)throw r.emit("unhandledException",p,e),p;let{handler:d,response:h}=f;if(!d){!function(e,t,n="warn"){let r=eH(()=>eb(e));function i(n){let i=function(){let n=ev(e),i=r?`${r.operationType} ${r.operationName} (${e.method} ${n})`:`${e.method} ${n}`;return["captured a request without a matching request handler:",` \u2022 ${i}`,function(){var n;let i=t.reduce((e,t)=>(t instanceof eB&&e.rest.push(t),t instanceof eJ&&e.graphql.push(t),e),{rest:[],graphql:[]}),o=r?i.graphql:i.rest,a=(n=r?(e,t)=>{if(void 0===r.operationName)return 1/0;let{operationType:n,operationName:i}=t.info;if("string"!=typeof i)return 1/0;let o=r.operationType===n;return(0,ey.default)(r.operationName,i)-(o?.5:0)}:(e,t)=>{let{path:n,method:r}=t.info;if(n instanceof RegExp||r instanceof RegExp)return 1/0;let i=ep(e.method,r),o=ev(e);return(0,ey.default)(o,n)-(i?.5:0)},o.reduce((t,r)=>{let i=n(e,r);return t.concat([[i,r]])},[]).sort(([e],[t])=>e-t).filter(([e])=>e<=3).slice(0,4).map(([,e])=>e));return a.length>0?a.length>1?`Did you mean to request one of the following resources instead?
|
|
17
|
+
|
|
18
|
+
${a.map(e=>` \u2022 ${e.info.header}`).join("\n")}`:`Did you mean to request "${a[0].info.header}" instead?`:""}(),`If you still wish to intercept this unhandled request, please create a request handler for it.
|
|
19
|
+
Read more: https://mswjs.io/docs/getting-started/mocks`].filter(Boolean).join("\n\n")}();switch(n){case"error":throw B.error("Error: %s",i),Error(B.formatMessage('Cannot bypass a request when using the "error" strategy for the "onUnhandledRequest" option.'));case"warn":B.warn("Warning: %s",i);break;case"bypass":break;default:throw Error(B.formatMessage('Failed to react to an unhandled request: unknown strategy "%s". Please provide one of the supported strategies ("bypass", "warn", "error") or a custom callback function as the value of the "onUnhandledRequest" option.',n))}}if("function"==typeof n){n(e,{warning:i.bind(null,"warn"),error:i.bind(null,"error")});return}i(n)}(e,t,n.onUnhandledRequest),r.emit("request:unhandled",e),r.emit("request:end",e),null==(a=null==i?void 0:i.onPassthroughResponse)||a.call(i,e);return}if(!h){B.warn(`Expected response resolver to return a mocked response Object, but got %s. The original response is going to be used instead.
|
|
20
|
+
|
|
21
|
+
\u2022 %s
|
|
22
|
+
%s`,h,d.info.header,d.info.callFrame),r.emit("request:end",e),null==(s=null==i?void 0:i.onPassthroughResponse)||s.call(i,e);return}if(h.passthrough){r.emit("request:end",e),null==(u=null==i?void 0:i.onPassthroughResponse)||u.call(i,e);return}ez.store.add({...e,url:e.url.toString()},h),ez.store.persist(),r.emit("request:match",e);let y=(null==(l=null==i?void 0:i.transformResponse)?void 0:l.call(i,h))||h;return null==(c=null==i?void 0:i.onMockedResponse)||c.call(i,y,f),r.emit("request:end",e),y}var eX=n(48452);async function eK(e){return{status:e.status,statusText:e.statusText,headers:(0,eX.flattenHeadersObject)((0,eX.headersToObject)(e.headers)),body:await e.clone().text()}}var eZ=(e,t)=>async(n,r)=>{var i;let o=new K(n.ports[0]),a=function(e){let t=new URL(e.url),n=new et.Headers(e.headers);return new ef(t,{...e,body:(0,ee.encodeBuffer)(e.body||""),headers:n})}(r.payload);try{await eW(a,e.requestHandlers,t,e.emitter,{transformResponse:e0,onPassthroughResponse(){o.postMessage("NOT_FOUND")},async onMockedResponse(n,{handler:r,publicRequest:i,parsedRequest:a}){if(n.body instanceof ReadableStream)throw Error(B.formatMessage('Failed to construct a mocked response with a "ReadableStream" body: mocked streams are not supported. Follow https://github.com/mswjs/msw/issues/1336 for more details.'));let s=new Response(n.body,n),u=s.clone(),l=await s.arrayBuffer(),c=null==n.body?null:l;o.postMessage("MOCK_RESPONSE",{...n,body:c},[l]),t.quiet||e.emitter.once("response:mocked",async()=>{r.log(i,await eK(u),a)})}})}catch(e){if(e instanceof Z){o.postMessage("NETWORK_ERROR",{name:e.name,message:e.message});return}e instanceof Error&&(B.error(`Uncaught exception in the request handler for "%s %s":
|
|
23
|
+
|
|
24
|
+
%s
|
|
25
|
+
|
|
26
|
+
This exception has been gracefully handled as a 500 response, however, it's strongly recommended to resolve this error, as it indicates a mistake in your code. If you wish to mock an error response, please see this guide: https://mswjs.io/docs/recipes/mocking-error-responses`,a.method,a.url,null!=(i=e.stack)?i:e),o.postMessage("MOCK_RESPONSE",{status:500,statusText:"Request Handler Error",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:e.name,message:e.message,stack:e.stack})}))}};function e0(e){return{status:e.status,statusText:e.statusText,headers:e.headers.all(),body:e.body,delay:e.delay}}async function e1(e,t){e.workerChannel.send("INTEGRITY_CHECK_REQUEST");let{payload:n}=await e.events.once("INTEGRITY_CHECK_RESPONSE");if("3d6b9f06410d179a7f7404d4bf4c3c70"!==n)throw Error(`Currently active Service Worker (${n}) is behind the latest published one (3d6b9f06410d179a7f7404d4bf4c3c70).`);return t}var e3=n(26865),e2=e=>function(t,n){let r=(async()=>{var r;e.events.removeAllListeners(),e.workerChannel.on("REQUEST",eZ(e,t)),e.workerChannel.on("RESPONSE",(t,n)=>{var r;let{payload:i}=n;if(null==(r=i.type)?void 0:r.includes("opaque"))return;let o=new Response(i.body||null,i);"msw"===o.headers.get("x-powered-by")?e.emitter.emit("response:mocked",o,i.requestId):e.emitter.emit("response:bypass",o,i.requestId)});let[i,o]=await z(t.serviceWorker.url,t.serviceWorker.options,t.findWorker);if(!i)throw Error((null==n?void 0:n.findWorker)?B.formatMessage(`Failed to locate the Service Worker registration using a custom "findWorker" predicate.
|
|
27
|
+
|
|
28
|
+
Please ensure that the custom predicate properly locates the Service Worker registration at "%s".
|
|
29
|
+
More details: https://mswjs.io/docs/api/setup-worker/start#findworker
|
|
30
|
+
`,t.serviceWorker.url):B.formatMessage(`Failed to locate the Service Worker registration.
|
|
31
|
+
|
|
32
|
+
This most likely means that the worker script URL "%s" cannot resolve against the actual public hostname (%s). This may happen if your application runs behind a proxy, or has a dynamic hostname.
|
|
33
|
+
|
|
34
|
+
Please consider using a custom "serviceWorker.url" option to point to the actual worker script location, or a custom "findWorker" option to resolve the Service Worker registration manually. More details: https://mswjs.io/docs/api/setup-worker/start`,t.serviceWorker.url,location.host));e.worker=i,e.registration=o,e.events.addListener(window,"beforeunload",()=>{"redundant"!==i.state&&e.workerChannel.send("CLIENT_CLOSED"),window.clearInterval(e.keepAliveInterval)});let[a]=await (0,Y.until)(()=>e1(e,i));return a&&B.error(`Detected outdated Service Worker: ${a.message}
|
|
35
|
+
|
|
36
|
+
The mocking is still enabled, but it's highly recommended that you update your Service Worker by running:
|
|
37
|
+
|
|
38
|
+
$ npx msw init <PUBLIC_DIR>
|
|
39
|
+
|
|
40
|
+
This is necessary to ensure that the Service Worker is in sync with the library to guarantee its stability.
|
|
41
|
+
If this message still persists after updating, please report an issue: https://github.com/open-draft/msw/issues `),e.keepAliveInterval=window.setInterval(()=>e.workerChannel.send("KEEPALIVE_REQUEST"),5e3),(null==(r=e.startOptions)?void 0:r.quiet)||location.href.startsWith(o.scope)||B.warn(`Cannot intercept requests on this page because it's outside of the worker's scope ("${o.scope}"). If you wish to mock API requests on this page, you must resolve this scope issue.
|
|
42
|
+
|
|
43
|
+
- (Recommended) Register the worker at the root level ("/") of your application.
|
|
44
|
+
- Set the "Service-Worker-Allowed" response header to allow out-of-scope workers.`),o})().then(async n=>{let r=n.installing||n.waiting;return r&&await new Promise(e=>{r.addEventListener("statechange",()=>{if("activated"===r.state)return e()})}),await X(e,t).catch(e=>{throw Error(`Failed to enable mocking: ${null==e?void 0:e.message}`)}),n});return t.waitUntilReady&&function(e){let t=window.XMLHttpRequest.prototype.send;window.XMLHttpRequest.prototype.send=function(...n){(0,e3.until)(()=>e).then(()=>{window.XMLHttpRequest.prototype.send=t,this.send(...n)})};let n=window.fetch;window.fetch=async(...t)=>(await (0,e3.until)(()=>e),window.fetch=n,window.fetch(...t))}(r),r};function e5(e={}){e.quiet||console.log(`%c${B.formatMessage("Mocking disabled.")}`,"color:orangered;font-weight:bold;")}var e8=e=>function(){var t;if(!e.isMockingEnabled){B.warn('Found a redundant "worker.stop()" call. Note that stopping the worker while mocking already stopped has no effect. Consider removing this "worker.stop()" call.');return}e.workerChannel.send("MOCK_DEACTIVATE"),e.isMockingEnabled=!1,window.clearInterval(e.keepAliveInterval),e5({quiet:null==(t=e.startOptions)?void 0:t.quiet})},e4={serviceWorker:{url:"/mockServiceWorker.js",options:null},quiet:!1,waitUntilReady:!0,onUnhandledRequest:"warn",findWorker:(e,t)=>e===t},e6=n(23978),e7=n(49104),e9=n(68223),te=n(85466),tt=n(39853);function tn(e){let t=[...e];return Object.freeze(t),t}var tr=class{constructor(...e){this.validateHandlers(...e),this.initialHandlers=tn(e),this.currentHandlers=[...e],this.emitter=new tt.Emitter,this.publicEmitter=new tt.Emitter,function(e,t){let n=e.emit;n._isPiped||(e.emit=function(e,...r){return t.emit(e,...r),n.call(this,e,...r)},e.emit._isPiped=!0)}(this.emitter,this.publicEmitter),this.events=this.createLifeCycleEvents()}validateHandlers(...e){for(let t of e)(0,te.invariant)(!Array.isArray(t),B.formatMessage('Failed to construct "%s" given an Array of request handlers. Make sure you spread the request handlers when calling the respective setup function.'),this.constructor.name)}dispose(){this.emitter.removeAllListeners(),this.publicEmitter.removeAllListeners()}use(...e){this.currentHandlers.unshift(...e)}restoreHandlers(){this.currentHandlers.forEach(e=>{e.markAsSkipped(!1)})}resetHandlers(...e){this.currentHandlers=e.length>0?[...e]:[...this.initialHandlers]}listHandlers(){return tn(this.currentHandlers)}createLifeCycleEvents(){return{on:(...e)=>this.publicEmitter.on(...e),removeListener:(...e)=>this.publicEmitter.removeListener(...e),removeAllListeners:(...e)=>this.publicEmitter.removeAllListeners(...e)}}},ti=class extends tr{constructor(...e){super(...e),this.startHandler=null,this.stopHandler=null,(0,G.invariant)(!(0,H.isNodeProcess)(),B.formatMessage("Failed to execute `setupWorker` in a non-browser environment. Consider using `setupServer` for Node.js environment instead.")),this.listeners=[],this.context=this.createWorkerContext()}createWorkerContext(){let e={isMockingEnabled:!1,startOptions:null,worker:null,registration:null,requestHandlers:this.currentHandlers,emitter:this.emitter,workerChannel:{on:(e,t)=>{this.context.events.addListener(navigator.serviceWorker,"message",n=>{if(n.source!==this.context.worker)return;let r=n.data;r&&r.type===e&&t(n,r)})},send:e=>{var t;null==(t=this.context.worker)||t.postMessage(e)}},events:{addListener:(e,t,n)=>(e.addEventListener(t,n),this.listeners.push({eventType:t,target:e,callback:n}),()=>{e.removeEventListener(t,n)}),removeAllListeners:()=>{for(let{target:e,eventType:t,callback:n}of this.listeners)e.removeEventListener(t,n);this.listeners=[]},once:e=>{let t=[];return new Promise((n,r)=>{t.push(this.context.events.addListener(navigator.serviceWorker,"message",t=>{try{let r=t.data;r.type===e&&n(r)}catch(e){r(e)}}),this.context.events.addListener(navigator.serviceWorker,"messageerror",r))}).finally(()=>{t.forEach(e=>e())})}},useFallbackMode:!("serviceWorker"in navigator)||"file:"===location.protocol};return Object.defineProperties(e,{requestHandlers:{get:()=>this.currentHandlers}}),this.startHandler=e.useFallbackMode?async function(t){e.fallbackInterceptor=function(e,t){let n=new e6.BatchInterceptor({name:"fallback",interceptors:[new e7.FetchInterceptor,new e9.XMLHttpRequestInterceptor]});return n.on("request",async n=>{let r=new ef(n.url,{...n,body:await n.arrayBuffer()}),i=await eW(r,e.requestHandlers,t,e.emitter,{transformResponse:e=>({status:e.status,statusText:e.statusText,headers:e.headers.all(),body:e.body,delay:e.delay}),onMockedResponse(n,{handler:r,publicRequest:i,parsedRequest:o}){t.quiet||e.emitter.once("response:mocked",async e=>{r.log(i,await eK(e),o)})}});i&&n.respondWith(i)}),n.on("response",(t,n)=>{if(!t.id)return;let r=new Response(n.body,{status:n.status,statusText:n.statusText,headers:n.headers});"msw"===n.headers.get("x-powered-by")?e.emitter.emit("response:mocked",r,t.id):e.emitter.emit("response:bypass",r,t.id)}),n.apply(),n}(e,t),W({message:"Mocking enabled (fallback mode).",quiet:t.quiet})}:e2(e),this.stopHandler=e.useFallbackMode?function(){var t,n;null==(t=e.fallbackInterceptor)||t.dispose(),e5({quiet:null==(n=e.startOptions)?void 0:n.quiet})}:e8(e),e}async start(e={}){return this.context.startOptions=D(e4,e),await this.startHandler(this.context.startOptions,e)}printHandlers(){this.listHandlers().forEach(e=>{let{header:t,callFrame:n}=e.info,r=e.info.hasOwnProperty("operationType")?"[graphql]":"[rest]";console.groupCollapsed(`${r} ${t}`),n&&console.log(`Declaration: ${n}`),console.log("Handler:",e),console.groupEnd()})}stop(){super.dispose(),this.context.events.removeAllListeners(),this.context.emitter.removeAllListeners(),this.stopHandler()}};function to(...e){return new ti(...e)}function ta(e){return(t,n)=>new eB(e,t,n)}var ts={all:ta(/.+/),head:ta("HEAD"),get:ta("GET"),post:ta("POST"),put:ta("PUT"),delete:ta("DELETE"),patch:ta("PATCH"),options:ta("OPTIONS")};function tu(e,t){return(n,r)=>new eJ(e,n,t,r)}function tl(e){return t=>new eJ("all",RegExp(".*"),e,t)}var tc={operation:tl("*"),query:tu("query","*"),mutation:tu("mutation","*"),link:function(e){return{operation:tl(e),query:tu("query",e),mutation:tu("mutation",e)}}};(0,U.invariant)("undefined"!=typeof URL,B.formatMessage('Global "URL" class is not defined. This likely means that you\'re running MSW in an environment that doesn\'t support all Node.js standard API (e.g. React Native). If that\'s the case, please use an appropriate polyfill for the "URL" class, like "react-native-url-polyfill".'))},48452:function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function n(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(n=i.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw r}}return o}}(e,n)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}}(e,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}var i,o,a,s,u,l,c=Object.create,p=Object.defineProperty,f=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,h=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty,m=function(e,t,n,r){if(t&&"object"==typeof t||"function"==typeof t){var i=!0,o=!1,a=void 0;try{for(var s,u=d(t)[Symbol.iterator]();!(i=(s=u.next()).done);i=!0)!function(){var i=s.value;y.call(e,i)||i===n||p(e,i,{get:function(){return t[i]},enumerable:!(r=f(t,i))||r.enumerable})}()}catch(e){o=!0,a=e}finally{try{i||null==u.return||u.return()}finally{if(o)throw a}}}return e},v=(i={"node_modules/set-cookie-parser/lib/set-cookie.js":function(e,t){"use strict";var n=function(e){return"string"==typeof e&&!!e.trim()},r=function(e,t){var r=e.split(";").filter(n),o=i(r.shift()),s=o.name,u=o.value;t=t?Object.assign({},a,t):a;try{u=t.decodeValues?decodeURIComponent(u):u}catch(e){console.error("set-cookie-parser encountered an error while decoding a cookie with value '"+u+"'. Set options.decodeValues to false to disable this feature.",e)}var l={name:s,value:u};return r.forEach(function(e){var t=e.split("="),n=t.shift().trimLeft().toLowerCase(),r=t.join("=");"expires"===n?l.expires=new Date(r):"max-age"===n?l.maxAge=parseInt(r,10):"secure"===n?l.secure=!0:"httponly"===n?l.httpOnly=!0:"samesite"===n?l.sameSite=r:l[n]=r}),l},i=function(e){var t="",n="",r=e.split("=");return r.length>1?(t=r.shift(),n=r.join("=")):n=e,{name:t,value:n}},o=function(e,t){if(t=t?Object.assign({},a,t):a,!e)return t.map?{}:[];if(e.headers){if("function"==typeof e.headers.getSetCookie)e=e.headers.getSetCookie();else if(e.headers["set-cookie"])e=e.headers["set-cookie"];else{var i=e.headers[Object.keys(e.headers).find(function(e){return"set-cookie"===e.toLowerCase()})];i||!e.headers.cookie||t.silent||console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),e=i}}return(Array.isArray(e)||(e=[e]),(t=t?Object.assign({},a,t):a).map)?e.filter(n).reduce(function(e,n){var i=r(n,t);return e[i.name]=i,e},{}):e.filter(n).map(function(e){return r(e,t)})},a={decodeValues:!0,map:!1,silent:!1};t.exports=o,t.exports.parse=o,t.exports.parseString=r,t.exports.splitCookiesString=function(e){if(Array.isArray(e))return e;if("string"!=typeof e)return[];var t,n,r,i,o,a=[],s=0;function u(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}for(;s<e.length;){for(t=s,o=!1;u();)if(","===(n=e.charAt(s))){for(r=s,s+=1,u(),i=s;s<e.length&&"="!==(n=e.charAt(s))&&";"!==n&&","!==n;)s+=1;s<e.length&&"="===e.charAt(s)?(o=!0,s=i,a.push(e.substring(t,r)),t=s):s=r+1}else s+=1;(!o||s>=e.length)&&a.push(e.substring(t,e.length))}return a}}},function(){return o||(0,i[d(i)[0]])((o={exports:{}}).exports,o),o.exports}),g={};!function(e,t){for(var n in t)p(e,n,{get:t[n],enumerable:!0})}(g,{Headers:function(){return A},flattenHeadersList:function(){return M},flattenHeadersObject:function(){return $},headersToList:function(){return x},headersToObject:function(){return C},headersToString:function(){return R},listToHeaders:function(){return F},objectToHeaders:function(){return j},reduceHeadersObject:function(){return P},stringToHeaders:function(){return L}}),e.exports=m(p({},"__esModule",{value:!0}),g);var b=(s=null!=(a=v())?c(h(a)):{},m(a&&a.__esModule?s:p(s,"default",{value:a,enumerable:!0}),a)),E=/[^a-z0-9\-#$%&'*+.^_`|~]/i;function T(e){if(E.test(e)||""===e.trim())throw TypeError("Invalid character in header field name");return e.trim().toLowerCase()}var w=["\n","\r"," "," "],N=RegExp("(^[".concat(w.join(""),"]|$[").concat(w.join(""),"])"),"g");function D(e){return e.replace(N,"")}function O(e){if("string"!=typeof e||0===e.length)return!1;for(var t=0;t<e.length;t++){var n=e.charCodeAt(t);if(n>127||[127,32,"(",")","<",">","@",",",";",":","\\",'"',"/","[","]","?","=","{","}"].includes(n))return!1}return!0}function I(e){if("string"!=typeof e||e.trim()!==e)return!1;for(var t=0;t<e.length;t++){var n=e.charCodeAt(t);if(0===n||10===n||13===n)return!1}return!0}var _=Symbol("normalizedHeaders"),S=Symbol("rawHeaderNames"),A=function(){"use strict";var e;function t(e){var r=this;(!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),this[u]={},this[l]=new Map,["Headers","HeadersPolyfill"].includes(null==e?void 0:e.constructor.name)||(null!=A&&"undefined"!=typeof Symbol&&A[Symbol.hasInstance]?!!A[Symbol.hasInstance](e):e instanceof A))?e.forEach(function(e,t){r.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){var t=n(e,2),i=t[0],o=t[1];r.append(i,Array.isArray(o)?o.join(", "):o)}):e&&Object.getOwnPropertyNames(e).forEach(function(t){var n=e[t];r.append(t,Array.isArray(n)?n.join(", "):n)})}return e=[{key:(u=_,l=S,Symbol.iterator),value:function(){return this.entries()}},{key:"keys",value:function(){var e,t,i,o,a,s;return r(this,function(r){switch(r.label){case 0:e=!0,t=!1,i=void 0,r.label=1;case 1:r.trys.push([1,6,7,8]),o=this.entries()[Symbol.iterator](),r.label=2;case 2:if(e=(a=o.next()).done)return[3,5];return[4,n(a.value,1)[0]];case 3:r.sent(),r.label=4;case 4:return e=!0,[3,2];case 5:return[3,8];case 6:return s=r.sent(),t=!0,i=s,[3,8];case 7:try{e||null==o.return||o.return()}finally{if(t)throw i}return[7];case 8:return[2]}})}},{key:"values",value:function(){var e,t,i,o,a,s;return r(this,function(r){switch(r.label){case 0:e=!0,t=!1,i=void 0,r.label=1;case 1:r.trys.push([1,6,7,8]),o=this.entries()[Symbol.iterator](),r.label=2;case 2:if(e=(a=o.next()).done)return[3,5];return[4,n(a.value,2)[1]];case 3:r.sent(),r.label=4;case 4:return e=!0,[3,2];case 5:return[3,8];case 6:return s=r.sent(),t=!0,i=s,[3,8];case 7:try{e||null==o.return||o.return()}finally{if(t)throw i}return[7];case 8:return[2]}})}},{key:"entries",value:function(){var e,t,n,i,o,a,s,u,l,c,p,f,d,h;return r(this,function(r){switch(r.label){case 0:e=Object.keys(this[_]).sort(function(e,t){return e.localeCompare(t)}),t=!0,n=!1,i=void 0,r.label=1;case 1:r.trys.push([1,15,16,17]),o=e[Symbol.iterator](),r.label=2;case 2:if(t=(a=o.next()).done)return[3,14];if("set-cookie"!==(s=a.value))return[3,11];u=!0,l=!1,c=void 0,r.label=3;case 3:r.trys.push([3,8,9,10]),p=this.getSetCookie()[Symbol.iterator](),r.label=4;case 4:if(u=(f=p.next()).done)return[3,7];return d=f.value,[4,[s,d]];case 5:r.sent(),r.label=6;case 6:return u=!0,[3,4];case 7:return[3,10];case 8:return h=r.sent(),l=!0,c=h,[3,10];case 9:try{u||null==p.return||p.return()}finally{if(l)throw c}return[7];case 10:return[3,13];case 11:return[4,[s,this.get(s)]];case 12:r.sent(),r.label=13;case 13:return t=!0,[3,2];case 14:return[3,17];case 15:return h=r.sent(),n=!0,i=h,[3,17];case 16:try{t||null==o.return||o.return()}finally{if(n)throw i}return[7];case 17:return[2]}})}},{key:"has",value:function(e){if(!O(e))throw TypeError('Invalid header name "'.concat(e,'"'));return this[_].hasOwnProperty(T(e))}},{key:"get",value:function(e){var t;if(!O(e))throw TypeError('Invalid header name "'.concat(e,'"'));return null!==(t=this[_][T(e)])&&void 0!==t?t:null}},{key:"set",value:function(e,t){if(O(e)&&I(t)){var n=T(e),r=D(t);this[_][n]=D(r),this[S].set(n,e)}}},{key:"append",value:function(e,t){if(O(e)&&I(t)){var n=T(e),r=D(t),i=this.has(n)?"".concat(this.get(n),", ").concat(r):r;this.set(e,i)}}},{key:"delete",value:function(e){if(O(e)&&this.has(e)){var t=T(e);delete this[_][t],this[S].delete(t)}}},{key:"all",value:function(){return this[_]}},{key:"raw",value:function(){var e={},t=!0,r=!1,i=void 0;try{for(var o,a=this.entries()[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var s=n(o.value,2),u=s[0],l=s[1];e[this[S].get(u)]=l}}catch(e){r=!0,i=e}finally{try{t||null==a.return||a.return()}finally{if(r)throw i}}return e}},{key:"forEach",value:function(e,t){var r=!0,i=!1,o=void 0;try{for(var a,s=this.entries()[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=n(a.value,2),l=u[0],c=u[1];e.call(t,c,l,this)}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}}},{key:"getSetCookie",value:function(){var e=this.get("set-cookie");return null===e?[]:""===e?[""]:(0,b.splitCookiesString)(e)}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,e),t}();function x(e){var t=[];return e.forEach(function(e,n){var r=e.includes(",")?e.split(",").map(function(e){return e.trim()}):e;t.push([n,r])}),t}function R(e){return x(e).map(function(e){var t=n(e,2),r=t[0],i=[].concat(t[1]);return"".concat(r,": ").concat(i.join(", "))}).join("\r\n")}var k=["user-agent"];function C(e){var t={};return e.forEach(function(e,n){var r=!k.includes(n.toLowerCase())&&e.includes(",");t[n]=r?e.split(",").map(function(e){return e.trim()}):e}),t}function L(e){return e.trim().split(/[\r\n]+/).reduce(function(e,t){if(""===t.trim())return e;var n=t.split(": "),r=n.shift(),i=n.join(": ");return e.append(r,i),e},new A)}function F(e){var t=new A;return e.forEach(function(e){var r=n(e,2),i=r[0];[].concat(r[1]).forEach(function(e){t.append(i,e)})}),t}function P(e,t,n){return Object.keys(e).reduce(function(n,r){return t(n,r,e[r])},n)}function j(e){return P(e,function(e,t,n){return[].concat(n).filter(Boolean).forEach(function(n){e.append(t,n)}),e},new A)}function M(e){return e.map(function(e){var t=n(e,2);return[t[0],[].concat(t[1]).join(", ")]})}function $(e){return P(e,function(e,t,n){return e[t]=[].concat(n).join(", "),e},{})}},40759:function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw Error("unable to locate global object")}();e.exports=t=r.fetch,r.fetch&&(t.default=r.fetch.bind(r)),t.Headers=r.Headers,t.Request=r.Request,t.Response=r.Response},85466:function(e){"use strict";var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,o={};((e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})})(o,{InvariantError:()=>u,format:()=>s,invariant:()=>l}),e.exports=((e,o,a,s)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let u of r(o))i.call(e,u)||u===a||t(e,u,{get:()=>o[u],enumerable:!(s=n(o,u))||s.enumerable});return e})(t({},"__esModule",{value:!0}),o);var a=/(%?)(%([sdijo]))/g;function s(e,...t){if(0===t.length)return e;let n=0,r=e.replace(a,(e,r,i,o)=>{let a=function(e,t){switch(t){case"s":return e;case"d":case"i":return Number(e);case"j":return JSON.stringify(e);case"o":{if("string"==typeof e)return e;let t=JSON.stringify(e);if("{}"===t||"[]"===t||/^\[object .+?\]$/.test(t))return e;return t}}}(t[n],o);return r?e:(n++,a)});return n<t.length&&(r+=` ${t.slice(n).join(" ")}`),r=r.replace(/%{2,2}/g,"%")}var u=class extends Error{constructor(e,...t){super(e),this.message=e,this.name="Invariant Violation",this.message=s(e,...t),function(e){if(!e.stack)return;let t=e.stack.split("\n");t.splice(1,2),e.stack=t.join("\n")}(this)}},l=(e,t,...n)=>{if(!e)throw new u(t,...n)};l.as=(e,t,n,...r)=>{if(!t){let t;let i=0===r.length?n:s(n,...r);try{t=Reflect.construct(e,[i])}catch(n){t=e(i)}throw t}}},92586:function(e,t,n){"use strict";function r(e,t){void 0===t&&(t={});for(var n=function(e){for(var t=[],n=0;n<e.length;){var r=e[n];if("*"===r||"+"===r||"?"===r){t.push({type:"MODIFIER",index:n,value:e[n++]});continue}if("\\"===r){t.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});continue}if("{"===r){t.push({type:"OPEN",index:n,value:e[n++]});continue}if("}"===r){t.push({type:"CLOSE",index:n,value:e[n++]});continue}if(":"===r){for(var i="",o=n+1;o<e.length;){var a=e.charCodeAt(o);if(a>=48&&a<=57||a>=65&&a<=90||a>=97&&a<=122||95===a){i+=e[o++];continue}break}if(!i)throw TypeError("Missing parameter name at ".concat(n));t.push({type:"NAME",index:n,value:i}),n=o;continue}if("("===r){var s=1,u="",o=n+1;if("?"===e[o])throw TypeError('Pattern cannot start with "?" at '.concat(o));for(;o<e.length;){if("\\"===e[o]){u+=e[o++]+e[o++];continue}if(")"===e[o]){if(0==--s){o++;break}}else if("("===e[o]&&(s++,"?"!==e[o+1]))throw TypeError("Capturing groups are not allowed at ".concat(o));u+=e[o++]}if(s)throw TypeError("Unbalanced pattern at ".concat(n));if(!u)throw TypeError("Missing pattern at ".concat(n));t.push({type:"PATTERN",index:n,value:u}),n=o;continue}t.push({type:"CHAR",index:n,value:e[n++]})}return t.push({type:"END",index:n,value:""}),t}(e),r=t.prefixes,i=void 0===r?"./":r,o=t.delimiter,a=void 0===o?"/#?":o,s=[],l=0,c=0,p="",f=function(e){if(c<n.length&&n[c].type===e)return n[c++].value},d=function(e){var t=f(e);if(void 0!==t)return t;var r=n[c],i=r.type,o=r.index;throw TypeError("Unexpected ".concat(i," at ").concat(o,", expected ").concat(e))},h=function(){for(var e,t="";e=f("CHAR")||f("ESCAPED_CHAR");)t+=e;return t},y=function(e){for(var t=0;t<a.length;t++){var n=a[t];if(e.indexOf(n)>-1)return!0}return!1},m=function(e){var t=s[s.length-1],n=e||(t&&"string"==typeof t?t:"");if(t&&!n)throw TypeError('Must have text between two parameters, missing text after "'.concat(t.name,'"'));return!n||y(n)?"[^".concat(u(a),"]+?"):"(?:(?!".concat(u(n),")[^").concat(u(a),"])+?")};c<n.length;){var v=f("CHAR"),g=f("NAME"),b=f("PATTERN");if(g||b){var E=v||"";-1===i.indexOf(E)&&(p+=E,E=""),p&&(s.push(p),p=""),s.push({name:g||l++,prefix:E,suffix:"",pattern:b||m(E),modifier:f("MODIFIER")||""});continue}var T=v||f("ESCAPED_CHAR");if(T){p+=T;continue}if(p&&(s.push(p),p=""),f("OPEN")){var E=h(),w=f("NAME")||"",N=f("PATTERN")||"",D=h();d("CLOSE"),s.push({name:w||(N?l++:""),pattern:w&&!N?m(E):N,prefix:E,suffix:D,modifier:f("MODIFIER")||""});continue}d("END")}return s}function i(e,t){return o(r(e,t),t)}function o(e,t){void 0===t&&(t={});var n=l(t),r=t.encode,i=void 0===r?function(e){return e}:r,o=t.validate,a=void 0===o||o,s=e.map(function(e){if("object"==typeof e)return new RegExp("^(?:".concat(e.pattern,")$"),n)});return function(t){for(var n="",r=0;r<e.length;r++){var o=e[r];if("string"==typeof o){n+=o;continue}var u=t?t[o.name]:void 0,l="?"===o.modifier||"*"===o.modifier,c="*"===o.modifier||"+"===o.modifier;if(Array.isArray(u)){if(!c)throw TypeError('Expected "'.concat(o.name,'" to not repeat, but got an array'));if(0===u.length){if(l)continue;throw TypeError('Expected "'.concat(o.name,'" to not be empty'))}for(var p=0;p<u.length;p++){var f=i(u[p],o);if(a&&!s[r].test(f))throw TypeError('Expected all "'.concat(o.name,'" to match "').concat(o.pattern,'", but got "').concat(f,'"'));n+=o.prefix+f+o.suffix}continue}if("string"==typeof u||"number"==typeof u){var f=i(String(u),o);if(a&&!s[r].test(f))throw TypeError('Expected "'.concat(o.name,'" to match "').concat(o.pattern,'", but got "').concat(f,'"'));n+=o.prefix+f+o.suffix;continue}if(!l){var d=c?"an array":"a string";throw TypeError('Expected "'.concat(o.name,'" to be ').concat(d))}}return n}}function a(e,t){var n=[];return s(p(e,n,t),n,t)}function s(e,t,n){void 0===n&&(n={});var r=n.decode,i=void 0===r?function(e){return e}:r;return function(n){var r=e.exec(n);if(!r)return!1;for(var o=r[0],a=r.index,s=Object.create(null),u=1;u<r.length;u++)!function(e){if(void 0!==r[e]){var n=t[e-1];"*"===n.modifier||"+"===n.modifier?s[n.name]=r[e].split(n.prefix+n.suffix).map(function(e){return i(e,n)}):s[n.name]=i(r[e],n)}}(u);return{path:o,index:a,params:s}}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function l(e){return e&&e.sensitive?"":"i"}function c(e,t,n){void 0===n&&(n={});for(var r=n.strict,i=void 0!==r&&r,o=n.start,a=n.end,s=n.encode,c=void 0===s?function(e){return e}:s,p=n.delimiter,f=n.endsWith,d="[".concat(u(void 0===f?"":f),"]|$"),h="[".concat(u(void 0===p?"/#?":p),"]"),y=void 0===o||o?"^":"",m=0;m<e.length;m++){var v=e[m];if("string"==typeof v)y+=u(c(v));else{var g=u(c(v.prefix)),b=u(c(v.suffix));if(v.pattern){if(t&&t.push(v),g||b){if("+"===v.modifier||"*"===v.modifier){var E="*"===v.modifier?"?":"";y+="(?:".concat(g,"((?:").concat(v.pattern,")(?:").concat(b).concat(g,"(?:").concat(v.pattern,"))*)").concat(b,")").concat(E)}else y+="(?:".concat(g,"(").concat(v.pattern,")").concat(b,")").concat(v.modifier)}else{if("+"===v.modifier||"*"===v.modifier)throw TypeError('Can not repeat "'.concat(v.name,'" without a prefix and suffix'));y+="(".concat(v.pattern,")").concat(v.modifier)}}else y+="(?:".concat(g).concat(b,")").concat(v.modifier)}}if(void 0===a||a)i||(y+="".concat(h,"?")),y+=n.endsWith?"(?=".concat(d,")"):"$";else{var T=e[e.length-1],w="string"==typeof T?h.indexOf(T[T.length-1])>-1:void 0===T;i||(y+="(?:".concat(h,"(?=").concat(d,"))?")),w||(y+="(?=".concat(h,"|").concat(d,")"))}return new RegExp(y,l(n))}function p(e,t,n){var i;return e instanceof RegExp?function(e,t){if(!t)return e;for(var n=/\((?:\?<(.*?)>)?(?!\?)/g,r=0,i=n.exec(e.source);i;)t.push({name:i[1]||r++,prefix:"",suffix:"",modifier:"",pattern:""}),i=n.exec(e.source);return e}(e,t):Array.isArray(e)?(i=e.map(function(e){return p(e,t,n).source}),new RegExp("(?:".concat(i.join("|"),")"),l(n))):c(r(e,n),t,n)}n.r(t),n.d(t,{compile:function(){return i},match:function(){return a},parse:function(){return r},pathToRegexp:function(){return p},regexpToFunction:function(){return s},tokensToFunction:function(){return o},tokensToRegexp:function(){return c}})},82556:function(e){"use strict";e.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},87821:function(e,t,n){"use strict";var r=n(75343),i=n(82483),o=r("RegExp.prototype.exec"),a=n(31805);e.exports=function(e){if(!i(e))throw new a("`regex` must be a RegExp");return function(t){return null!==o(e,t)}}},88319:function(e){"use strict";var t={decodeValues:!0,map:!1,silent:!1};function n(e){return"string"==typeof e&&!!e.trim()}function r(e,r){var i,o,a,s,u=e.split(";").filter(n),l=(i=u.shift(),o="",a="",(s=i.split("=")).length>1?(o=s.shift(),a=s.join("=")):a=i,{name:o,value:a}),c=l.name,p=l.value;r=r?Object.assign({},t,r):t;try{p=r.decodeValues?decodeURIComponent(p):p}catch(e){console.error("set-cookie-parser encountered an error while decoding a cookie with value '"+p+"'. Set options.decodeValues to false to disable this feature.",e)}var f={name:c,value:p};return u.forEach(function(e){var t=e.split("="),n=t.shift().trimLeft().toLowerCase(),r=t.join("=");"expires"===n?f.expires=new Date(r):"max-age"===n?f.maxAge=parseInt(r,10):"secure"===n?f.secure=!0:"httponly"===n?f.httpOnly=!0:"samesite"===n?f.sameSite=r:"partitioned"===n?f.partitioned=!0:f[n]=r}),f}function i(e,i){if(i=i?Object.assign({},t,i):t,!e)return i.map?{}:[];if(e.headers){if("function"==typeof e.headers.getSetCookie)e=e.headers.getSetCookie();else if(e.headers["set-cookie"])e=e.headers["set-cookie"];else{var o=e.headers[Object.keys(e.headers).find(function(e){return"set-cookie"===e.toLowerCase()})];o||!e.headers.cookie||i.silent||console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),e=o}}return(Array.isArray(e)||(e=[e]),i.map)?e.filter(n).reduce(function(e,t){var n=r(t,i);return e[n.name]=n,e},{}):e.filter(n).map(function(e){return r(e,i)})}e.exports=i,e.exports.parse=i,e.exports.parseString=r,e.exports.splitCookiesString=function(e){if(Array.isArray(e))return e;if("string"!=typeof e)return[];var t,n,r,i,o,a=[],s=0;function u(){for(;s<e.length&&/\s/.test(e.charAt(s));)s+=1;return s<e.length}for(;s<e.length;){for(t=s,o=!1;u();)if(","===(n=e.charAt(s))){for(r=s,s+=1,u(),i=s;s<e.length&&"="!==(n=e.charAt(s))&&";"!==n&&","!==n;)s+=1;s<e.length&&"="===e.charAt(s)?(o=!0,s=i,a.push(e.substring(t,r)),t=s):s=r+1}else s+=1;(!o||s>=e.length)&&a.push(e.substring(t,e.length))}return a}},504:function(e,t,n){"use strict";var r=n(68750),i=n(76300),o=n(93136)(),a=n(77502),s=n(31805),u=r("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||u(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,l=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(r=!1),c&&!c.writable&&(l=!1)}return(r||l||!n)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},3288:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Emitter=void 0;let r=n(43976);class i{constructor(){this.events=new Map,this.maxListeners=i.defaultMaxListeners,this.hasWarnedAboutPotentialMemoryLeak=!1}static listenerCount(e,t){return e.listenerCount(t)}_emitInternalEvent(e,t,n){this.emit(e,t,n)}_getListeners(e){return this.events.get(e)||[]}_removeListener(e,t){let n=e.indexOf(t);return n>-1&&e.splice(n,1),[]}_wrapOnceListener(e,t){let n=(...r)=>{this.removeListener(e,n),t.apply(this,r)};return n}setMaxListeners(e){return this.maxListeners=e,this}getMaxListeners(){return this.maxListeners}eventNames(){return Array.from(this.events.keys())}emit(e,...t){let n=this._getListeners(e);return n.forEach(e=>{e.apply(this,t)}),n.length>0}addListener(e,t){this._emitInternalEvent("newListener",e,t);let n=this._getListeners(e).concat(t);return this.events.set(e,n),this.maxListeners>0&&this.listenerCount(e)>this.maxListeners&&!this.hasWarnedAboutPotentialMemoryLeak&&(this.hasWarnedAboutPotentialMemoryLeak=!0,console.warn(new r.MemoryLeakError(this,e,this.listenerCount(e)))),this}on(e,t){return this.addListener(e,t)}once(e,t){return this.addListener(e,this._wrapOnceListener(e,t))}prependListener(e,t){let n=this._getListeners(e);if(n.length>0){let r=[t].concat(n);this.events.set(e,r)}else this.events.set(e,n.concat(t));return this}prependOnceListener(e,t){return this.prependListener(e,this._wrapOnceListener(e,t))}removeListener(e,t){let n=this._getListeners(e);return n.length>0&&(this._removeListener(n,t),this.events.set(e,n),this._emitInternalEvent("removeListener",e,t)),this}off(e,t){return this.removeListener(e,t)}removeAllListeners(e){return e?this.events.delete(e):this.events.clear(),this}listeners(e){return Array.from(this._getListeners(e))}listenerCount(e){return this._getListeners(e).length}rawListeners(e){return this.listeners(e)}}t.Emitter=i,i.defaultMaxListeners=10},43976:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MemoryLeakError=void 0;class n extends Error{constructor(e,t,n){super(`Possible EventEmitter memory leak detected. ${n} ${t.toString()} listeners added. Use emitter.setMaxListeners() to increase limit`),this.emitter=e,this.type=t,this.count=n,this.name="MaxListenersExceededWarning"}}t.MemoryLeakError=n},39853:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(3288),t),i(n(43976),t)},56579:function(e){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},7673:function(e,t,n){"use strict";var r=n(47740),i=n(18265),o=n(52505),a=n(50387);function s(e){return e.call.bind(e)}var u="undefined"!=typeof BigInt,l="undefined"!=typeof Symbol,c=s(Object.prototype.toString),p=s(Number.prototype.valueOf),f=s(String.prototype.valueOf),d=s(Boolean.prototype.valueOf);if(u)var h=s(BigInt.prototype.valueOf);if(l)var y=s(Symbol.prototype.valueOf);function m(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function v(e){return"[object Map]"===c(e)}function g(e){return"[object Set]"===c(e)}function b(e){return"[object WeakMap]"===c(e)}function E(e){return"[object WeakSet]"===c(e)}function T(e){return"[object ArrayBuffer]"===c(e)}function w(e){return"undefined"!=typeof ArrayBuffer&&(T.working?T(e):e instanceof ArrayBuffer)}function N(e){return"[object DataView]"===c(e)}function D(e){return"undefined"!=typeof DataView&&(N.working?N(e):e instanceof DataView)}t.isArgumentsObject=r,t.isGeneratorFunction=i,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||D(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},v.working="undefined"!=typeof Map&&v(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(v.working?v(e):e instanceof Map)},g.working="undefined"!=typeof Set&&g(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(g.working?g(e):e instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},E.working="undefined"!=typeof WeakSet&&E(new WeakSet),t.isWeakSet=function(e){return E(e)},T.working="undefined"!=typeof ArrayBuffer&&T(new ArrayBuffer),t.isArrayBuffer=w,N.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&N(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=D;var O="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function I(e){return"[object SharedArrayBuffer]"===c(e)}function _(e){return void 0!==O&&(void 0===I.working&&(I.working=I(new O)),I.working?I(e):e instanceof O)}function S(e){return m(e,p)}function A(e){return m(e,f)}function x(e){return m(e,d)}function R(e){return u&&m(e,h)}function k(e){return l&&m(e,y)}t.isSharedArrayBuffer=_,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===c(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===c(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===c(e)},t.isGeneratorObject=function(e){return"[object Generator]"===c(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===c(e)},t.isNumberObject=S,t.isStringObject=A,t.isBooleanObject=x,t.isBigIntObject=R,t.isSymbolObject=k,t.isBoxedPrimitive=function(e){return S(e)||A(e)||x(e)||R(e)||k(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(w(e)||_(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw Error(e+" is not supported in userland")}})})},71323:function(e,t,n){var r=n(27061),i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},o=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(l(arguments[n]));return t.join(" ")}for(var n=1,r=arguments,i=r.length,a=String(e).replace(o,function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),s=r[n];n<i;s=r[++n])v(s)||!w(s)?a+=" "+s:a+=" "+l(s);return a},t.deprecate=function(e,n){if(void 0!==r&&!0===r.noDeprecation)return e;if(void 0===r)return function(){return t.deprecate(e,n).apply(this,arguments)};var i=!1;return function(){if(!i){if(r.throwDeprecation)throw Error(n);r.traceDeprecation?console.trace(n):console.error(n),i=!0}return e.apply(this,arguments)}};var a={},s=/^$/;if(r.env.NODE_DEBUG){var u=r.env.NODE_DEBUG;s=RegExp("^"+(u=u.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase())+"$","i")}function l(e,n){var r={seen:[],stylize:p};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(n)?r.showHidden=n:n&&t._extend(r,n),E(r.showHidden)&&(r.showHidden=!1),E(r.depth)&&(r.depth=2),E(r.colors)&&(r.colors=!1),E(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=c),f(r,e,r.depth)}function c(e,t){var n=l.styles[t];return n?"\x1b["+l.colors[n][0]+"m"+e+"\x1b["+l.colors[n][1]+"m":e}function p(e,t){return e}function f(e,n,r){if(e.customInspect&&n&&O(n.inspect)&&n.inspect!==t.inspect&&!(n.constructor&&n.constructor.prototype===n)){var i,o,a,s,u,l=n.inspect(r,e);return b(l)||(l=f(e,l,r)),l}var c=function(e,t){if(E(t))return e.stylize("undefined","undefined");if(b(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return g(t)?e.stylize(""+t,"number"):m(t)?e.stylize(""+t,"boolean"):v(t)?e.stylize("null","null"):void 0}(e,n);if(c)return c;var p=Object.keys(n),w=(s={},p.forEach(function(e,t){s[e]=!0}),s);if(e.showHidden&&(p=Object.getOwnPropertyNames(n)),D(n)&&(p.indexOf("message")>=0||p.indexOf("description")>=0))return d(n);if(0===p.length){if(O(n)){var I=n.name?": "+n.name:"";return e.stylize("[Function"+I+"]","special")}if(T(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(N(n))return e.stylize(Date.prototype.toString.call(n),"date");if(D(n))return d(n)}var _="",S=!1,x=["{","}"];return(y(n)&&(S=!0,x=["[","]"]),O(n)&&(_=" [Function"+(n.name?": "+n.name:"")+"]"),T(n)&&(_=" "+RegExp.prototype.toString.call(n)),N(n)&&(_=" "+Date.prototype.toUTCString.call(n)),D(n)&&(_=" "+d(n)),0!==p.length||S&&0!=n.length)?r<0?T(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),u=S?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)A(t,String(a))?o.push(h(e,t,n,r,String(a),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(h(e,t,n,r,i,!0))}),o}(e,n,r,w,p):p.map(function(t){return h(e,n,r,w,t,S)}),e.seen.pop(),i=_,o=x,a=0,u.reduce(function(e,t){return a++,t.indexOf("\n")>=0&&a++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?o[0]+(""===i?"":i+"\n ")+" "+u.join(",\n ")+" "+o[1]:o[0]+i+" "+u.join(", ")+" "+o[1]):x[0]+_+x[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,n,r,i,o){var a,s,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),A(r,i)||(a="["+i+"]"),!s&&(0>e.seen.indexOf(u.value)?(s=v(n)?f(e,u.value,null):f(e,u.value,n-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map(function(e){return" "+e}).join("\n").slice(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),E(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function y(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function v(e){return null===e}function g(e){return"number"==typeof e}function b(e){return"string"==typeof e}function E(e){return void 0===e}function T(e){return w(e)&&"[object RegExp]"===I(e)}function w(e){return"object"==typeof e&&null!==e}function N(e){return w(e)&&"[object Date]"===I(e)}function D(e){return w(e)&&("[object Error]"===I(e)||e instanceof Error)}function O(e){return"function"==typeof e}function I(e){return Object.prototype.toString.call(e)}function _(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(!a[e=e.toUpperCase()]){if(s.test(e)){var n=r.pid;a[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else a[e]=function(){}}return a[e]},t.inspect=l,l.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},l.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=n(7673),t.isArray=y,t.isBoolean=m,t.isNull=v,t.isNullOrUndefined=function(e){return null==e},t.isNumber=g,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=E,t.isRegExp=T,t.types.isRegExp=T,t.isObject=w,t.isDate=N,t.types.isDate=N,t.isError=D,t.types.isNativeError=D,t.isFunction=O,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(56579);var S=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function A(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,n;console.log("%s - %s",(n=[_((e=new Date).getHours()),_(e.getMinutes()),_(e.getSeconds())].join(":"),[e.getDate(),S[e.getMonth()],n].join(" ")),t.format.apply(t,arguments))},t.inherits=n(70087),t._extend=function(e,t){if(!t||!w(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var x="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function R(e,t){if(!e){var n=Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');if(x&&e[x]){var t=e[x];if("function"!=typeof t)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,x,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise(function(e,r){t=e,n=r}),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push(function(e,r){e?n(e):t(r)});try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),x&&Object.defineProperty(t,x,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,i(e))},t.promisify.custom=x,t.callbackify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var i=t.pop();if("function"!=typeof i)throw TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};e.apply(this,t).then(function(e){r.nextTick(a.bind(null,null,e))},function(e){r.nextTick(R.bind(null,e,a))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,i(e)),t}},8758:function(e,t,n){"use strict";t.TextEncoder="undefined"!=typeof TextEncoder?TextEncoder:n(71323).TextEncoder,t.TextDecoder="undefined"!=typeof TextDecoder?TextDecoder:n(71323).TextDecoder},52505:function(e,t,n){"use strict";var r=n(55278),i=n(40973),o=n(34573),a=n(75343),s=n(77502),u=n(87778),l=a("Object.prototype.toString"),c=n(10698)(),p="undefined"==typeof globalThis?n.g:globalThis,f=i(),d=a("String.prototype.slice"),h=a("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return -1},y={__proto__:null};c&&s&&u?r(f,function(e){var t=new p[e];if(Symbol.toStringTag in t&&u){var n=u(t),r=s(n,Symbol.toStringTag);!r&&n&&(r=s(u(n),Symbol.toStringTag)),y["$"+e]=o(r.get)}}):r(f,function(e){var t=new p[e],n=t.slice||t.set;n&&(y["$"+e]=o(n))});var m=function(e){var t=!1;return r(y,function(n,r){if(!t)try{"$"+n(e)===r&&(t=d(r,1))}catch(e){}}),t},v=function(e){var t=!1;return r(y,function(n,r){if(!t)try{n(e),t=d(r,1)}catch(e){}}),t};e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!c){var t=d(l(e),8,-1);return h(f,t)>-1?t:"Object"===t&&v(e)}return s?m(e):null}},40973:function(e,t,n){"use strict";var r=n(82556),i="undefined"==typeof globalThis?n.g:globalThis;e.exports=function(){for(var e=[],t=0;t<r.length;t++)"function"==typeof i[r[t]]&&(e[e.length]=r[t]);return e}},15115:function(e,t,n){"use strict";var r,i,o,a,s,u,l,c,p,f,d,h,y,m,v;let g;n.r(t),n.d(t,{BREAK:function(){return eS},BreakingChangeType:function(){return u},DEFAULT_DEPRECATION_REASON:function(){return t1},DangerousChangeType:function(){return l},DirectiveLocation:function(){return i},ExecutableDefinitionsRule:function(){return nU},FieldsOnCorrectTypeRule:function(){return nq},FragmentsOnCompositeTypesRule:function(){return nV},GRAPHQL_MAX_INT:function(){return tU},GRAPHQL_MIN_INT:function(){return tq},GraphQLBoolean:function(){return tH},GraphQLDeprecatedDirective:function(){return t3},GraphQLDirective:function(){return tK},GraphQLEnumType:function(){return tR},GraphQLError:function(){return x},GraphQLFloat:function(){return tB},GraphQLID:function(){return tY},GraphQLIncludeDirective:function(){return tZ},GraphQLInputObjectType:function(){return tL},GraphQLInt:function(){return tV},GraphQLInterfaceType:function(){return tS},GraphQLList:function(){return ts},GraphQLNonNull:function(){return tu},GraphQLObjectType:function(){return tE},GraphQLOneOfDirective:function(){return t5},GraphQLScalarType:function(){return tb},GraphQLSchema:function(){return ny},GraphQLSkipDirective:function(){return t0},GraphQLSpecifiedByDirective:function(){return t2},GraphQLString:function(){return tG},GraphQLUnionType:function(){return tA},Kind:function(){return o},KnownArgumentNamesRule:function(){return nB},KnownDirectivesRule:function(){return nH},KnownFragmentNamesRule:function(){return nY},KnownTypeNamesRule:function(){return nQ},Lexer:function(){return Y},Location:function(){return F},LoneAnonymousOperationRule:function(){return nz},LoneSchemaDefinitionRule:function(){return nW},MaxIntrospectionDepthRule:function(){return nX},NoDeprecatedCustomRule:function(){return iy},NoFragmentCyclesRule:function(){return nK},NoSchemaIntrospectionCustomRule:function(){return im},NoUndefinedVariablesRule:function(){return nZ},NoUnusedFragmentsRule:function(){return n0},NoUnusedVariablesRule:function(){return n1},OperationTypeNode:function(){return r},OverlappingFieldsCanBeMergedRule:function(){return n2},PossibleFragmentSpreadsRule:function(){return rn},PossibleTypeExtensionsRule:function(){return rr},ProvidedRequiredArgumentsRule:function(){return ro},ScalarLeafsRule:function(){return ru},SchemaMetaFieldDef:function(){return nu},SingleFieldSubscriptionsRule:function(){return rD},Source:function(){return eo},Token:function(){return P},TokenKind:function(){return a},TypeInfo:function(){return nS},TypeKind:function(){return s},TypeMetaFieldDef:function(){return nl},TypeNameMetaFieldDef:function(){return nc},UniqueArgumentDefinitionNamesRule:function(){return rI},UniqueArgumentNamesRule:function(){return r_},UniqueDirectiveNamesRule:function(){return rS},UniqueDirectivesPerLocationRule:function(){return rA},UniqueEnumValueNamesRule:function(){return rx},UniqueFieldDefinitionNamesRule:function(){return rR},UniqueFragmentNamesRule:function(){return rk},UniqueInputFieldNamesRule:function(){return rC},UniqueOperationNamesRule:function(){return rL},UniqueOperationTypesRule:function(){return rF},UniqueTypeNamesRule:function(){return rP},UniqueVariableNamesRule:function(){return rj},ValidationContext:function(){return rQ},ValuesOfCorrectTypeRule:function(){return rM},VariablesAreInputTypesRule:function(){return rU},VariablesInAllowedPositionRule:function(){return rq},__Directive:function(){return nt},__DirectiveLocation:function(){return nn},__EnumValue:function(){return na},__Field:function(){return ni},__InputValue:function(){return no},__Schema:function(){return ne},__Type:function(){return nr},__TypeKind:function(){return ns},assertAbstractType:function(){return ta},assertCompositeType:function(){return ti},assertDirective:function(){return tX},assertEnumType:function(){return e0},assertEnumValueName:function(){return eV},assertInputObjectType:function(){return e3},assertInputType:function(){return e7},assertInterfaceType:function(){return eW},assertLeafType:function(){return tn},assertListType:function(){return e5},assertName:function(){return eq},assertNamedType:function(){return ty},assertNonNullType:function(){return e4},assertNullableType:function(){return tf},assertObjectType:function(){return eJ},assertOutputType:function(){return te},assertScalarType:function(){return eY},assertSchema:function(){return nh},assertType:function(){return eG},assertUnionType:function(){return eK},assertValidName:function(){return iz},assertValidSchema:function(){return ng},assertWrappingType:function(){return tc},astFromValue:function(){return t7},buildASTSchema:function(){return i_},buildClientSchema:function(){return iT},buildSchema:function(){return iS},coerceInputValue:function(){return rf},concatAST:function(){return iH},createSourceEventStream:function(){return id},defaultFieldResolver:function(){return io},defaultTypeResolver:function(){return ii},doTypesOverlap:function(){return t$},execute:function(){return r0},executeSync:function(){return r1},extendSchema:function(){return iw},findBreakingChanges:function(){return iX},findDangerousChanges:function(){return iK},formatError:function(){return C},getArgumentValues:function(){return rv},getDirectiveValues:function(){return rg},getEnterLeaveForKind:function(){return eR},getIntrospectionQuery:function(){return iv},getLocation:function(){return I},getNamedType:function(){return tm},getNullableType:function(){return td},getOperationAST:function(){return ig},getOperationRootType:function(){return ib},getVariableValues:function(){return rm},getVisitFn:function(){return ek},graphql:function(){return is},graphqlSync:function(){return iu},introspectionFromSchema:function(){return iE},introspectionTypes:function(){return np},isAbstractType:function(){return to},isCompositeType:function(){return tr},isConstValueNode:function(){return function e(t){return nL(t)&&(t.kind===o.LIST?t.values.some(e):t.kind===o.OBJECT?t.fields.some(t=>e(t.value)):t.kind!==o.VARIABLE)}},isDefinitionNode:function(){return nR},isDirective:function(){return tW},isEnumType:function(){return eZ},isEqualType:function(){return tj},isExecutableDefinitionNode:function(){return nk},isInputObjectType:function(){return e1},isInputType:function(){return e6},isInterfaceType:function(){return ez},isIntrospectionType:function(){return nf},isLeafType:function(){return tt},isListType:function(){return e2},isNamedType:function(){return th},isNonNullType:function(){return e8},isNullableType:function(){return tp},isObjectType:function(){return eQ},isOutputType:function(){return e9},isRequiredArgument:function(){return t_},isRequiredInputField:function(){return tP},isScalarType:function(){return eH},isSchema:function(){return nd},isSelectionNode:function(){return nC},isSpecifiedDirective:function(){return t4},isSpecifiedScalarType:function(){return tJ},isType:function(){return eB},isTypeDefinitionNode:function(){return nj},isTypeExtensionNode:function(){return n$},isTypeNode:function(){return nF},isTypeSubTypeOf:function(){return tM},isTypeSystemDefinitionNode:function(){return nP},isTypeSystemExtensionNode:function(){return nM},isUnionType:function(){return eX},isValidNameError:function(){return iW},isValueNode:function(){return nL},isWrappingType:function(){return tl},lexicographicSortSchema:function(){return iA},locatedError:function(){return rK},parse:function(){return ea},parseConstValue:function(){return eu},parseType:function(){return el},parseValue:function(){return es},print:function(){return eC},printError:function(){return k},printIntrospectionSchema:function(){return iL},printLocation:function(){return _},printSchema:function(){return iC},printSourceLocation:function(){return S},printType:function(){return ij},recommendedRules:function(){return rV},resolveObjMapThunk:function(){return tg},resolveReadonlyArrayThunk:function(){return tv},responsePathAsArray:function(){return rp},separateOperations:function(){return iY},specifiedDirectives:function(){return t8},specifiedRules:function(){return rB},specifiedScalarTypes:function(){return tQ},stripIgnoredCharacters:function(){return iJ},subscribe:function(){return ip},syntaxError:function(){return L},typeFromAST:function(){return n_},validate:function(){return rJ},validateSchema:function(){return nv},valueFromAST:function(){return rh},valueFromASTUntyped:function(){return eU},version:function(){return b},versionInfo:function(){return E},visit:function(){return eA},visitInParallel:function(){return ex},visitWithTypeInfo:function(){return nx}});let b="16.10.0",E=Object.freeze({major:16,minor:10,patch:0,preReleaseTag:null});function T(e,t){if(!e)throw Error(t)}function w(e){return"function"==typeof(null==e?void 0:e.then)}function N(e){return"object"==typeof e&&null!==e}function D(e,t){if(!e)throw Error(null!=t?t:"Unexpected invariant triggered.")}let O=/\r\n|[\n\r]/g;function I(e,t){let n=0,r=1;for(let i of e.body.matchAll(O)){if("number"==typeof i.index||D(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function _(e){return S(e.source,I(e.source,e.start))}function S(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?n:0,u=t.column+s,l=`${e.name}:${a}:${u}
|
|
45
|
+
`,c=r.split(/\r\n|[\n\r]/g),p=c[i];if(p.length>120){let e=Math.floor(u/80),t=[];for(let e=0;e<p.length;e+=80)t.push(p.slice(e,e+80));return l+A([[`${a} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(u%80)],["|",t[e+1]]])}return l+A([[`${a-1} |`,c[i-1]],[`${a} |`,p],["|","^".padStart(u)],[`${a+1} |`,c[i+1]]])}function A(e){let t=e.filter(([e,t])=>void 0!==t),n=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(n)+(t?" "+t:"")).join("\n")}class x extends Error{constructor(e,...t){var n,r,i;let{nodes:o,source:a,positions:s,path:u,originalError:l,extensions:c}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=u?u:void 0,this.originalError=null!=l?l:void 0,this.nodes=R(Array.isArray(o)?o:o?[o]:void 0);let p=R(null===(n=this.nodes)||void 0===n?void 0:n.map(e=>e.loc).filter(e=>null!=e));this.source=null!=a?a:null==p?void 0:null===(r=p[0])||void 0===r?void 0:r.source,this.positions=null!=s?s:null==p?void 0:p.map(e=>e.start),this.locations=s&&a?s.map(e=>I(a,e)):null==p?void 0:p.map(e=>I(e.source,e.start));let f=N(null==l?void 0:l.extensions)?null==l?void 0:l.extensions:void 0;this.extensions=null!==(i=null!=c?c:f)&&void 0!==i?i:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=l&&l.stack?Object.defineProperty(this,"stack",{value:l.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,x):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let t of this.nodes)t.loc&&(e+="\n\n"+_(t.loc));else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+S(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function R(e){return void 0===e||0===e.length?void 0:e}function k(e){return e.toString()}function C(e){return e.toJSON()}function L(e,t,n){return new x(`Syntax Error: ${n}`,{source:e,positions:[t]})}class F{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class P{constructor(e,t,n,r,i,o){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let j={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},M=new Set(Object.keys(j));function $(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&M.has(t)}function U(e){return 9===e||32===e}function q(e){return e>=48&&e<=57}function V(e){return e>=97&&e<=122||e>=65&&e<=90}function B(e){return V(e)||95===e}function G(e){return V(e)||q(e)||95===e}function H(e,t){let n=e.replace(/"""/g,'\\"""'),r=n.split(/\r\n|[\n\r]/g),i=1===r.length,o=r.length>1&&r.slice(1).every(e=>0===e.length||U(e.charCodeAt(0))),a=n.endsWith('\\"""'),s=e.endsWith('"')&&!a,u=e.endsWith("\\"),l=s||u,c=!(null!=t&&t.minimize)&&(!i||e.length>70||l||o||a),p="",f=i&&U(e.charCodeAt(0));return(c&&!f||o)&&(p+="\n"),p+=n,(c||l)&&(p+="\n"),'"""'+p+'"""'}(c=r||(r={})).QUERY="query",c.MUTATION="mutation",c.SUBSCRIPTION="subscription",(p=i||(i={})).QUERY="QUERY",p.MUTATION="MUTATION",p.SUBSCRIPTION="SUBSCRIPTION",p.FIELD="FIELD",p.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",p.FRAGMENT_SPREAD="FRAGMENT_SPREAD",p.INLINE_FRAGMENT="INLINE_FRAGMENT",p.VARIABLE_DEFINITION="VARIABLE_DEFINITION",p.SCHEMA="SCHEMA",p.SCALAR="SCALAR",p.OBJECT="OBJECT",p.FIELD_DEFINITION="FIELD_DEFINITION",p.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",p.INTERFACE="INTERFACE",p.UNION="UNION",p.ENUM="ENUM",p.ENUM_VALUE="ENUM_VALUE",p.INPUT_OBJECT="INPUT_OBJECT",p.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",(f=o||(o={})).NAME="Name",f.DOCUMENT="Document",f.OPERATION_DEFINITION="OperationDefinition",f.VARIABLE_DEFINITION="VariableDefinition",f.SELECTION_SET="SelectionSet",f.FIELD="Field",f.ARGUMENT="Argument",f.FRAGMENT_SPREAD="FragmentSpread",f.INLINE_FRAGMENT="InlineFragment",f.FRAGMENT_DEFINITION="FragmentDefinition",f.VARIABLE="Variable",f.INT="IntValue",f.FLOAT="FloatValue",f.STRING="StringValue",f.BOOLEAN="BooleanValue",f.NULL="NullValue",f.ENUM="EnumValue",f.LIST="ListValue",f.OBJECT="ObjectValue",f.OBJECT_FIELD="ObjectField",f.DIRECTIVE="Directive",f.NAMED_TYPE="NamedType",f.LIST_TYPE="ListType",f.NON_NULL_TYPE="NonNullType",f.SCHEMA_DEFINITION="SchemaDefinition",f.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",f.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",f.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",f.FIELD_DEFINITION="FieldDefinition",f.INPUT_VALUE_DEFINITION="InputValueDefinition",f.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",f.UNION_TYPE_DEFINITION="UnionTypeDefinition",f.ENUM_TYPE_DEFINITION="EnumTypeDefinition",f.ENUM_VALUE_DEFINITION="EnumValueDefinition",f.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",f.DIRECTIVE_DEFINITION="DirectiveDefinition",f.SCHEMA_EXTENSION="SchemaExtension",f.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",f.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",f.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",f.UNION_TYPE_EXTENSION="UnionTypeExtension",f.ENUM_TYPE_EXTENSION="EnumTypeExtension",f.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",(d=a||(a={})).SOF="<SOF>",d.EOF="<EOF>",d.BANG="!",d.DOLLAR="$",d.AMP="&",d.PAREN_L="(",d.PAREN_R=")",d.SPREAD="...",d.COLON=":",d.EQUALS="=",d.AT="@",d.BRACKET_L="[",d.BRACKET_R="]",d.BRACE_L="{",d.PIPE="|",d.BRACE_R="}",d.NAME="Name",d.INT="Int",d.FLOAT="Float",d.STRING="String",d.BLOCK_STRING="BlockString",d.COMMENT="Comment";class Y{constructor(e){let t=new P(a.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==a.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let n=e.source.body,r=n.length,i=t;for(;i<r;){let t=n.charCodeAt(i);switch(t){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:10===n.charCodeAt(i+1)?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return function(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;){let e=n.charCodeAt(i);if(10===e||13===e)break;if(J(e))++i;else if(z(n,i))i+=2;else break}return Z(e,a.COMMENT,t,i,n.slice(t+1,i))}(e,i);case 33:return Z(e,a.BANG,i,i+1);case 36:return Z(e,a.DOLLAR,i,i+1);case 38:return Z(e,a.AMP,i,i+1);case 40:return Z(e,a.PAREN_L,i,i+1);case 41:return Z(e,a.PAREN_R,i,i+1);case 46:if(46===n.charCodeAt(i+1)&&46===n.charCodeAt(i+2))return Z(e,a.SPREAD,i,i+3);break;case 58:return Z(e,a.COLON,i,i+1);case 61:return Z(e,a.EQUALS,i,i+1);case 64:return Z(e,a.AT,i,i+1);case 91:return Z(e,a.BRACKET_L,i,i+1);case 93:return Z(e,a.BRACKET_R,i,i+1);case 123:return Z(e,a.BRACE_L,i,i+1);case 124:return Z(e,a.PIPE,i,i+1);case 125:return Z(e,a.BRACE_R,i,i+1);case 34:if(34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2))return function(e,t){let n=e.source.body,r=n.length,i=e.lineStart,o=t+3,s=o,u="",l=[];for(;o<r;){let r=n.charCodeAt(o);if(34===r&&34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)){u+=n.slice(s,o),l.push(u);let r=Z(e,a.BLOCK_STRING,t,o+3,(function(e){var t,n;let r=Number.MAX_SAFE_INTEGER,i=null,o=-1;for(let t=0;t<e.length;++t){let a=e[t],s=function(e){let t=0;for(;t<e.length&&U(e.charCodeAt(t));)++t;return t}(a);s!==a.length&&(i=null!==(n=i)&&void 0!==n?n:t,o=t,0!==t&&s<r&&(r=s))}return e.map((e,t)=>0===t?e:e.slice(r)).slice(null!==(t=i)&&void 0!==t?t:0,o+1)})(l).join("\n"));return e.line+=l.length-1,e.lineStart=i,r}if(92===r&&34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)&&34===n.charCodeAt(o+3)){u+=n.slice(s,o),s=o+1,o+=4;continue}if(10===r||13===r){u+=n.slice(s,o),l.push(u),13===r&&10===n.charCodeAt(o+1)?o+=2:++o,u="",s=o,i=o;continue}if(J(r))++o;else if(z(n,o))o+=2;else throw L(e.source,o,`Invalid character within String: ${K(e,o)}.`)}throw L(e.source,o,"Unterminated string.")}(e,i);return function(e,t){let n=e.source.body,r=n.length,i=t+1,o=i,s="";for(;i<r;){let r=n.charCodeAt(i);if(34===r)return s+=n.slice(o,i),Z(e,a.STRING,t,i+1,s);if(92===r){s+=n.slice(o,i);let t=117===n.charCodeAt(i+1)?123===n.charCodeAt(i+2)?function(e,t){let n=e.source.body,r=0,i=3;for(;i<12;){let e=n.charCodeAt(t+i++);if(125===e){if(i<5||!J(r))break;return{value:String.fromCodePoint(r),size:i}}if((r=r<<4|en(e))<0)break}throw L(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+i)}".`)}(e,i):function(e,t){let n=e.source.body,r=et(n,t+2);if(J(r))return{value:String.fromCodePoint(r),size:6};if(W(r)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){let e=et(n,t+8);if(X(e))return{value:String.fromCodePoint(r,e),size:12}}throw L(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}(e,i):function(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw L(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}(e,i);s+=t.value,i+=t.size,o=i;continue}if(10===r||13===r)break;if(J(r))++i;else if(z(n,i))i+=2;else throw L(e.source,i,`Invalid character within String: ${K(e,i)}.`)}throw L(e.source,i,"Unterminated string.")}(e,i)}if(q(t)||45===t)return function(e,t,n){let r=e.source.body,i=t,o=n,s=!1;if(45===o&&(o=r.charCodeAt(++i)),48===o){if(q(o=r.charCodeAt(++i)))throw L(e.source,i,`Invalid number, unexpected digit after 0: ${K(e,i)}.`)}else i=ee(e,i,o),o=r.charCodeAt(i);if(46===o&&(s=!0,o=r.charCodeAt(++i),i=ee(e,i,o),o=r.charCodeAt(i)),(69===o||101===o)&&(s=!0,(43===(o=r.charCodeAt(++i))||45===o)&&(o=r.charCodeAt(++i)),i=ee(e,i,o),o=r.charCodeAt(i)),46===o||B(o))throw L(e.source,i,`Invalid number, expected digit but got: ${K(e,i)}.`);return Z(e,s?a.FLOAT:a.INT,t,i,r.slice(t,i))}(e,i,t);if(B(t))return function(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;)if(G(n.charCodeAt(i)))++i;else break;return Z(e,a.NAME,t,i,n.slice(t,i))}(e,i);throw L(e.source,i,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":J(t)||z(n,i)?`Unexpected character: ${K(e,i)}.`:`Invalid character: ${K(e,i)}.`)}return Z(e,a.EOF,r,r)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===a.COMMENT);return e}}function Q(e){return e===a.BANG||e===a.DOLLAR||e===a.AMP||e===a.PAREN_L||e===a.PAREN_R||e===a.SPREAD||e===a.COLON||e===a.EQUALS||e===a.AT||e===a.BRACKET_L||e===a.BRACKET_R||e===a.BRACE_L||e===a.PIPE||e===a.BRACE_R}function J(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function z(e,t){return W(e.charCodeAt(t))&&X(e.charCodeAt(t+1))}function W(e){return e>=55296&&e<=56319}function X(e){return e>=56320&&e<=57343}function K(e,t){let n=e.source.body.codePointAt(t);if(void 0===n)return a.EOF;if(n>=32&&n<=126){let e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function Z(e,t,n,r,i){let o=e.line,a=1+n-e.lineStart;return new P(t,n,r,o,a,i)}function ee(e,t,n){if(!q(n))throw L(e.source,t,`Invalid number, expected digit but got: ${K(e,t)}.`);let r=e.source.body,i=t+1;for(;q(r.charCodeAt(i));)++i;return i}function et(e,t){return en(e.charCodeAt(t))<<12|en(e.charCodeAt(t+1))<<8|en(e.charCodeAt(t+2))<<4|en(e.charCodeAt(t+3))}function en(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function er(e){return function e(t,n){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,n){if(null===t)return"null";if(n.includes(t))return"[Circular]";let r=[...n,t];if("function"==typeof t.toJSON){let n=t.toJSON();if(n!==t)return"string"==typeof n?n:e(n,r)}else if(Array.isArray(t))return function(t,n){if(0===t.length)return"[]";if(n.length>2)return"[Array]";let r=Math.min(10,t.length),i=t.length-r,o=[];for(let i=0;i<r;++i)o.push(e(t[i],n));return 1===i?o.push("... 1 more item"):i>1&&o.push(`... ${i} more items`),"["+o.join(", ")+"]"}(t,r);return function(t,n){let r=Object.entries(t);return 0===r.length?"{}":n.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(t)+"]":"{ "+r.map(([t,r])=>t+": "+e(r,n)).join(", ")+" }"}(t,r)}(t,n);default:return String(t)}}(e,[])}let ei=globalThis.process?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var n;let r=t.prototype[Symbol.toStringTag];if(r===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(n=e.constructor)||void 0===n?void 0:n.name)){let t=er(e);throw Error(`Cannot use ${r} "${t}" from another module or realm.
|
|
46
|
+
|
|
47
|
+
Ensure that there is only one instance of "graphql" in the node_modules
|
|
48
|
+
directory. If different versions of "graphql" are the dependencies of other
|
|
49
|
+
relied on modules, use "resolutions" to ensure only one version is installed.
|
|
50
|
+
|
|
51
|
+
https://yarnpkg.com/en/docs/selective-version-resolutions
|
|
52
|
+
|
|
53
|
+
Duplicate "graphql" modules cannot be used at the same time since different
|
|
54
|
+
versions may have different capabilities and behavior. The data from one
|
|
55
|
+
version used in the function from another could produce confusing and
|
|
56
|
+
spurious results.`)}}return!1};class eo{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||T(!1,`Body must be a string. Received: ${er(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||T(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||T(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function ea(e,t){let n=new ec(e,t),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}function es(e,t){let n=new ec(e,t);n.expectToken(a.SOF);let r=n.parseValueLiteral(!1);return n.expectToken(a.EOF),r}function eu(e,t){let n=new ec(e,t);n.expectToken(a.SOF);let r=n.parseConstValueLiteral();return n.expectToken(a.EOF),r}function el(e,t){let n=new ec(e,t);n.expectToken(a.SOF);let r=n.parseTypeReference();return n.expectToken(a.EOF),r}class ec{constructor(e,t={}){let n=ei(e,eo)?e:new eo(e);this._lexer=new Y(n),this._options=t,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(a.NAME);return this.node(e,{kind:o.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:o.DOCUMENT,definitions:this.many(a.SOF,this.parseDefinition,a.EOF)})}parseDefinition(){if(this.peek(a.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===a.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw L(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e;let t=this._lexer.token;if(this.peek(a.BRACE_L))return this.node(t,{kind:o.OPERATION_DEFINITION,operation:r.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseOperationType();return this.peek(a.NAME)&&(e=this.parseName()),this.node(t,{kind:o.OPERATION_DEFINITION,operation:n,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(a.NAME);switch(e.value){case"query":return r.QUERY;case"mutation":return r.MUTATION;case"subscription":return r.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(a.PAREN_L,this.parseVariableDefinition,a.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:o.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(a.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(a.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(a.DOLLAR),this.node(e,{kind:o.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:o.SELECTION_SET,selections:this.many(a.BRACE_L,this.parseSelection,a.BRACE_R)})}parseSelection(){return this.peek(a.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t;let n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(a.COLON)?(e=r,t=this.parseName()):t=r,this.node(n,{kind:o.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(a.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(a.PAREN_L,t,a.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(a.COLON),this.node(t,{kind:o.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(a.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(a.NAME)?this.node(e,{kind:o.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:o.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token;return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:o.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:o.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case a.BRACKET_L:return this.parseList(e);case a.BRACE_L:return this.parseObject(e);case a.INT:return this.advanceLexer(),this.node(t,{kind:o.INT,value:t.value});case a.FLOAT:return this.advanceLexer(),this.node(t,{kind:o.FLOAT,value:t.value});case a.STRING:case a.BLOCK_STRING:return this.parseStringLiteral();case a.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:o.BOOLEAN,value:!0});case"false":return this.node(t,{kind:o.BOOLEAN,value:!1});case"null":return this.node(t,{kind:o.NULL});default:return this.node(t,{kind:o.ENUM,value:t.value})}case a.DOLLAR:if(e){if(this.expectToken(a.DOLLAR),this._lexer.token.kind===a.NAME){let e=this._lexer.token.value;throw L(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:o.STRING,value:e.value,block:e.kind===a.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:o.LIST,values:this.any(a.BRACKET_L,()=>this.parseValueLiteral(e),a.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:o.OBJECT,fields:this.any(a.BRACE_L,()=>this.parseObjectField(e),a.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(a.COLON),this.node(t,{kind:o.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(a.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(a.AT),this.node(t,{kind:o.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e;let t=this._lexer.token;if(this.expectOptionalToken(a.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(a.BRACKET_R),e=this.node(t,{kind:o.LIST_TYPE,type:n})}else e=this.parseNamedType();return this.expectOptionalToken(a.BANG)?this.node(t,{kind:o.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:o.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(a.STRING)||this.peek(a.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.many(a.BRACE_L,this.parseOperationTypeDefinition,a.BRACE_R);return this.node(e,{kind:o.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(a.COLON);let n=this.parseNamedType();return this.node(e,{kind:o.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:o.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:o.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(a.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(a.BRACE_L,this.parseFieldDefinition,a.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(a.COLON);let i=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:o.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:s})}parseArgumentDefs(){return this.optionalMany(a.PAREN_L,this.parseInputValueDef,a.PAREN_R)}parseInputValueDef(){let e;let t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(a.COLON);let i=this.parseTypeReference();this.expectOptionalToken(a.EQUALS)&&(e=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(t,{kind:o.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:e,directives:s})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:o.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:a})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:o.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(a.EQUALS)?this.delimitedMany(a.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:o.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(a.BRACE_L,this.parseEnumValueDefinition,a.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:o.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw L(this._lexer.source,this._lexer.token.start,`${ep(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:o.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(a.BRACE_L,this.parseInputValueDef,a.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===a.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),n=this.optionalMany(a.BRACE_L,this.parseOperationTypeDefinition,a.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:o.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:o.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:o.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:o.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:o.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:o.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:o.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(a.AT);let n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let s=this.parseDirectiveLocations();return this.node(e,{kind:o.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:s})}parseDirectiveLocations(){return this.delimitedMany(a.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(i,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new F(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw L(this._lexer.source,t.start,`Expected ${ef(e)}, found ${ep(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===a.NAME&&t.value===e)this.advanceLexer();else throw L(this._lexer.source,t.start,`Expected "${e}", found ${ep(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===a.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return L(this._lexer.source,t.start,`Unexpected ${ep(t)}.`)}any(e,t,n){this.expectToken(e);let r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do n.push(t.call(this));while(this.expectOptionalToken(e));return n}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==a.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw L(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function ep(e){let t=e.value;return ef(e.kind)+(null!=t?` "${t}"`:"")}function ef(e){return Q(e)?`"${e}"`:e}function ed(e,t){let[n,r]=t?[e,t]:[void 0,e],i=" Did you mean ";n&&(i+=n+" ");let o=r.map(e=>`"${e}"`);switch(o.length){case 0:return"";case 1:return i+o[0]+"?";case 2:return i+o[0]+" or "+o[1]+"?"}let a=o.slice(0,5),s=a.pop();return i+a.join(", ")+", or "+s+"?"}function eh(e){return e}function ey(e,t){let n=Object.create(null);for(let r of e)n[t(r)]=r;return n}function em(e,t,n){let r=Object.create(null);for(let i of e)r[t(i)]=n(i);return r}function ev(e,t){let n=Object.create(null);for(let r of Object.keys(e))n[r]=t(e[r],r);return n}function eg(e,t){let n=0,r=0;for(;n<e.length&&r<t.length;){let i=e.charCodeAt(n),o=t.charCodeAt(r);if(eE(i)&&eE(o)){let a=0;do++n,a=10*a+i-eb,i=e.charCodeAt(n);while(eE(i)&&a>0);let s=0;do++r,s=10*s+o-eb,o=t.charCodeAt(r);while(eE(o)&&s>0);if(a<s)return -1;if(a>s)return 1}else{if(i<o)return -1;if(i>o)return 1;++n,++r}}return e.length-t.length}let eb=48;function eE(e){return!isNaN(e)&&eb<=e&&e<=57}function eT(e,t){let n=Object.create(null),r=new ew(e),i=Math.floor(.4*e.length)+1;for(let e of t){let t=r.measure(e,i);void 0!==t&&(n[e]=t)}return Object.keys(n).sort((e,t)=>{let r=n[e]-n[t];return 0!==r?r:eg(e,t)})}class ew{constructor(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=eN(this._inputLowerCase),this._rows=[Array(e.length+1).fill(0),Array(e.length+1).fill(0),Array(e.length+1).fill(0)]}measure(e,t){if(this._input===e)return 0;let n=e.toLowerCase();if(this._inputLowerCase===n)return 1;let r=eN(n),i=this._inputArray;if(r.length<i.length){let e=r;r=i,i=e}let o=r.length,a=i.length;if(o-a>t)return;let s=this._rows;for(let e=0;e<=a;e++)s[0][e]=e;for(let e=1;e<=o;e++){let n=s[(e-1)%3],o=s[e%3],u=o[0]=e;for(let t=1;t<=a;t++){let a=r[e-1]===i[t-1]?0:1,l=Math.min(n[t]+1,o[t-1]+1,n[t-1]+a);e>1&&t>1&&r[e-1]===i[t-2]&&r[e-2]===i[t-1]&&(l=Math.min(l,s[(e-2)%3][t-2]+1)),l<u&&(u=l),o[t]=l}if(u>t)return}let u=s[o%3][a];return u<=t?u:void 0}}function eN(e){let t=e.length,n=Array(t);for(let r=0;r<t;++r)n[r]=e.charCodeAt(r);return n}function eD(e){if(null==e)return Object.create(null);if(null===Object.getPrototypeOf(e))return e;let t=Object.create(null);for(let[n,r]of Object.entries(e))t[n]=r;return t}let eO=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function eI(e){return e_[e.charCodeAt(0)]}let e_=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],eS=Object.freeze({});function eA(e,t,n=j){let r,i,a;let s=new Map;for(let e of Object.values(o))s.set(e,eR(t,e));let u=Array.isArray(e),l=[e],c=-1,p=[],f=e,d=[],h=[];do{var y,m,v;let e;let o=++c===l.length,g=o&&0!==p.length;if(o){if(i=0===h.length?void 0:d[d.length-1],f=a,a=h.pop(),g){if(u){f=f.slice();let e=0;for(let[t,n]of p){let r=t-e;null===n?(f.splice(r,1),e++):f[r]=n}}else for(let[e,t]of(f=Object.defineProperties({},Object.getOwnPropertyDescriptors(f)),p))f[e]=t}c=r.index,l=r.keys,p=r.edits,u=r.inArray,r=r.prev}else if(a){if(null==(f=a[i=u?c:l[c]]))continue;d.push(i)}if(!Array.isArray(f)){$(f)||T(!1,`Invalid AST Node: ${er(f)}.`);let n=o?null===(y=s.get(f.kind))||void 0===y?void 0:y.leave:null===(m=s.get(f.kind))||void 0===m?void 0:m.enter;if((e=null==n?void 0:n.call(t,f,i,a,d,h))===eS)break;if(!1===e){if(!o){d.pop();continue}}else if(void 0!==e&&(p.push([i,e]),!o)){if($(e))f=e;else{d.pop();continue}}}void 0===e&&g&&p.push([i,f]),o?d.pop():(r={inArray:u,index:c,keys:l,edits:p,prev:r},l=(u=Array.isArray(f))?f:null!==(v=n[f.kind])&&void 0!==v?v:[],c=-1,p=[],a&&h.push(a),a=f)}while(void 0!==r);return 0!==p.length?p[p.length-1][1]:e}function ex(e){let t=Array(e.length).fill(null),n=Object.create(null);for(let r of Object.values(o)){let i=!1,o=Array(e.length).fill(void 0),a=Array(e.length).fill(void 0);for(let t=0;t<e.length;++t){let{enter:n,leave:s}=eR(e[t],r);i||(i=null!=n||null!=s),o[t]=n,a[t]=s}if(!i)continue;let s={enter(...n){let r=n[0];for(let a=0;a<e.length;a++)if(null===t[a]){var i;let s=null===(i=o[a])||void 0===i?void 0:i.apply(e[a],n);if(!1===s)t[a]=r;else if(s===eS)t[a]=eS;else if(void 0!==s)return s}},leave(...n){let r=n[0];for(let o=0;o<e.length;o++)if(null===t[o]){var i;let r=null===(i=a[o])||void 0===i?void 0:i.apply(e[o],n);if(r===eS)t[o]=eS;else if(void 0!==r&&!1!==r)return r}else t[o]===r&&(t[o]=null)}};n[r]=s}return n}function eR(e,t){let n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function ek(e,t,n){let{enter:r,leave:i}=eR(e,t);return n?i:r}function eC(e){return eA(e,eL)}let eL={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>eF(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=ej("(",eF(e.variableDefinitions,", "),")"),n=eF([e.operation,eF([e.name,t]),eF(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+ej(" = ",n)+ej(" ",eF(r," "))},SelectionSet:{leave:({selections:e})=>eP(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){let o=ej("",e,": ")+t,a=o+ej("(",eF(n,", "),")");return a.length>80&&(a=o+ej("(\n",eM(eF(n,"\n")),"\n)")),eF([a,eF(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+ej(" ",eF(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>eF(["...",ej("on ",e),eF(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${ej("(",eF(n,", "),")")} on ${t} ${ej("",eF(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?H(e):`"${e.replace(eO,eI)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+eF(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+eF(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+ej("(",eF(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>ej("",e,"\n")+eF(["schema",eF(t," "),eP(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>ej("",e,"\n")+eF(["scalar",t,eF(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>ej("",e,"\n")+eF(["type",t,ej("implements ",eF(n," & ")),eF(r," "),eP(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>ej("",e,"\n")+t+(e$(n)?ej("(\n",eM(eF(n,"\n")),"\n)"):ej("(",eF(n,", "),")"))+": "+r+ej(" ",eF(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>ej("",e,"\n")+eF([t+": "+n,ej("= ",r),eF(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>ej("",e,"\n")+eF(["interface",t,ej("implements ",eF(n," & ")),eF(r," "),eP(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>ej("",e,"\n")+eF(["union",t,eF(n," "),ej("= ",eF(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>ej("",e,"\n")+eF(["enum",t,eF(n," "),eP(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>ej("",e,"\n")+eF([t,eF(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>ej("",e,"\n")+eF(["input",t,eF(n," "),eP(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>ej("",e,"\n")+"directive @"+t+(e$(n)?ej("(\n",eM(eF(n,"\n")),"\n)"):ej("(",eF(n,", "),")"))+(r?" repeatable":"")+" on "+eF(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>eF(["extend schema",eF(e," "),eP(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>eF(["extend scalar",e,eF(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>eF(["extend type",e,ej("implements ",eF(t," & ")),eF(n," "),eP(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>eF(["extend interface",e,ej("implements ",eF(t," & ")),eF(n," "),eP(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>eF(["extend union",e,eF(t," "),ej("= ",eF(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>eF(["extend enum",e,eF(t," "),eP(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>eF(["extend input",e,eF(t," "),eP(n)]," ")}};function eF(e,t=""){var n;return null!==(n=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==n?n:""}function eP(e){return ej("{\n",eM(eF(e,"\n")),"\n}")}function ej(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function eM(e){return ej(" ",e.replace(/\n/g,"\n "))}function e$(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}function eU(e,t){switch(e.kind){case o.NULL:return null;case o.INT:return parseInt(e.value,10);case o.FLOAT:return parseFloat(e.value);case o.STRING:case o.ENUM:case o.BOOLEAN:return e.value;case o.LIST:return e.values.map(e=>eU(e,t));case o.OBJECT:return em(e.fields,e=>e.name.value,e=>eU(e.value,t));case o.VARIABLE:return null==t?void 0:t[e.name.value]}}function eq(e){if(null!=e||T(!1,"Must provide name."),"string"==typeof e||T(!1,"Expected name to be a string."),0===e.length)throw new x("Expected name to be a non-empty string.");for(let t=1;t<e.length;++t)if(!G(e.charCodeAt(t)))throw new x(`Names must only contain [_a-zA-Z0-9] but "${e}" does not.`);if(!B(e.charCodeAt(0)))throw new x(`Names must start with [_a-zA-Z] but "${e}" does not.`);return e}function eV(e){if("true"===e||"false"===e||"null"===e)throw new x(`Enum values cannot be named: ${e}`);return eq(e)}function eB(e){return eH(e)||eQ(e)||ez(e)||eX(e)||eZ(e)||e1(e)||e2(e)||e8(e)}function eG(e){if(!eB(e))throw Error(`Expected ${er(e)} to be a GraphQL type.`);return e}function eH(e){return ei(e,tb)}function eY(e){if(!eH(e))throw Error(`Expected ${er(e)} to be a GraphQL Scalar type.`);return e}function eQ(e){return ei(e,tE)}function eJ(e){if(!eQ(e))throw Error(`Expected ${er(e)} to be a GraphQL Object type.`);return e}function ez(e){return ei(e,tS)}function eW(e){if(!ez(e))throw Error(`Expected ${er(e)} to be a GraphQL Interface type.`);return e}function eX(e){return ei(e,tA)}function eK(e){if(!eX(e))throw Error(`Expected ${er(e)} to be a GraphQL Union type.`);return e}function eZ(e){return ei(e,tR)}function e0(e){if(!eZ(e))throw Error(`Expected ${er(e)} to be a GraphQL Enum type.`);return e}function e1(e){return ei(e,tL)}function e3(e){if(!e1(e))throw Error(`Expected ${er(e)} to be a GraphQL Input Object type.`);return e}function e2(e){return ei(e,ts)}function e5(e){if(!e2(e))throw Error(`Expected ${er(e)} to be a GraphQL List type.`);return e}function e8(e){return ei(e,tu)}function e4(e){if(!e8(e))throw Error(`Expected ${er(e)} to be a GraphQL Non-Null type.`);return e}function e6(e){return eH(e)||eZ(e)||e1(e)||tl(e)&&e6(e.ofType)}function e7(e){if(!e6(e))throw Error(`Expected ${er(e)} to be a GraphQL input type.`);return e}function e9(e){return eH(e)||eQ(e)||ez(e)||eX(e)||eZ(e)||tl(e)&&e9(e.ofType)}function te(e){if(!e9(e))throw Error(`Expected ${er(e)} to be a GraphQL output type.`);return e}function tt(e){return eH(e)||eZ(e)}function tn(e){if(!tt(e))throw Error(`Expected ${er(e)} to be a GraphQL leaf type.`);return e}function tr(e){return eQ(e)||ez(e)||eX(e)}function ti(e){if(!tr(e))throw Error(`Expected ${er(e)} to be a GraphQL composite type.`);return e}function to(e){return ez(e)||eX(e)}function ta(e){if(!to(e))throw Error(`Expected ${er(e)} to be a GraphQL abstract type.`);return e}class ts{constructor(e){eB(e)||T(!1,`Expected ${er(e)} to be a GraphQL type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}}class tu{constructor(e){tp(e)||T(!1,`Expected ${er(e)} to be a GraphQL nullable type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}}function tl(e){return e2(e)||e8(e)}function tc(e){if(!tl(e))throw Error(`Expected ${er(e)} to be a GraphQL wrapping type.`);return e}function tp(e){return eB(e)&&!e8(e)}function tf(e){if(!tp(e))throw Error(`Expected ${er(e)} to be a GraphQL nullable type.`);return e}function td(e){if(e)return e8(e)?e.ofType:e}function th(e){return eH(e)||eQ(e)||ez(e)||eX(e)||eZ(e)||e1(e)}function ty(e){if(!th(e))throw Error(`Expected ${er(e)} to be a GraphQL named type.`);return e}function tm(e){if(e){let t=e;for(;tl(t);)t=t.ofType;return t}}function tv(e){return"function"==typeof e?e():e}function tg(e){return"function"==typeof e?e():e}class tb{constructor(e){var t,n,r,i;let o=null!==(t=e.parseValue)&&void 0!==t?t:eh;this.name=eq(e.name),this.description=e.description,this.specifiedByURL=e.specifiedByURL,this.serialize=null!==(n=e.serialize)&&void 0!==n?n:eh,this.parseValue=o,this.parseLiteral=null!==(r=e.parseLiteral)&&void 0!==r?r:(e,t)=>o(eU(e,t)),this.extensions=eD(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(i=e.extensionASTNodes)&&void 0!==i?i:[],null==e.specifiedByURL||"string"==typeof e.specifiedByURL||T(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${er(e.specifiedByURL)}.`),null==e.serialize||"function"==typeof e.serialize||T(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),e.parseLiteral&&("function"==typeof e.parseValue&&"function"==typeof e.parseLiteral||T(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class tE{constructor(e){var t;this.name=eq(e.name),this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=eD(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=()=>tw(e),this._interfaces=()=>tT(e),null==e.isTypeOf||"function"==typeof e.isTypeOf||T(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${er(e.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:tO(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function tT(e){var t;let n=tv(null!==(t=e.interfaces)&&void 0!==t?t:[]);return Array.isArray(n)||T(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),n}function tw(e){let t=tg(e.fields);return tD(t)||T(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),ev(t,(t,n)=>{var r;tD(t)||T(!1,`${e.name}.${n} field config must be an object.`),null==t.resolve||"function"==typeof t.resolve||T(!1,`${e.name}.${n} field resolver must be a function if provided, but got: ${er(t.resolve)}.`);let i=null!==(r=t.args)&&void 0!==r?r:{};return tD(i)||T(!1,`${e.name}.${n} args must be an object with argument names as keys.`),{name:eq(n),description:t.description,type:t.type,args:tN(i),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:eD(t.extensions),astNode:t.astNode}})}function tN(e){return Object.entries(e).map(([e,t])=>({name:eq(e),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:eD(t.extensions),astNode:t.astNode}))}function tD(e){return N(e)&&!Array.isArray(e)}function tO(e){return ev(e,e=>({description:e.description,type:e.type,args:tI(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function tI(e){return em(e,e=>e.name,e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function t_(e){return e8(e.type)&&void 0===e.defaultValue}class tS{constructor(e){var t;this.name=eq(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=eD(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=tw.bind(void 0,e),this._interfaces=tT.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||T(!1,`${this.name} must provide "resolveType" as a function, but got: ${er(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:tO(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class tA{constructor(e){var t;this.name=eq(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=eD(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._types=tx.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||T(!1,`${this.name} must provide "resolveType" as a function, but got: ${er(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return"function"==typeof this._types&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function tx(e){let t=tv(e.types);return Array.isArray(t)||T(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}class tR{constructor(e){var t;this.name=eq(e.name),this.description=e.description,this.extensions=eD(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._values="function"==typeof e.values?e.values:tC(this.name,e.values),this._valueLookup=null,this._nameLookup=null}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return"function"==typeof this._values&&(this._values=tC(this.name,this._values())),this._values}getValue(e){return null===this._nameLookup&&(this._nameLookup=ey(this.getValues(),e=>e.name)),this._nameLookup[e]}serialize(e){null===this._valueLookup&&(this._valueLookup=new Map(this.getValues().map(e=>[e.value,e])));let t=this._valueLookup.get(e);if(void 0===t)throw new x(`Enum "${this.name}" cannot represent value: ${er(e)}`);return t.name}parseValue(e){if("string"!=typeof e){let t=er(e);throw new x(`Enum "${this.name}" cannot represent non-string value: ${t}.`+tk(this,t))}let t=this.getValue(e);if(null==t)throw new x(`Value "${e}" does not exist in "${this.name}" enum.`+tk(this,e));return t.value}parseLiteral(e,t){if(e.kind!==o.ENUM){let t=eC(e);throw new x(`Enum "${this.name}" cannot represent non-enum value: ${t}.`+tk(this,t),{nodes:e})}let n=this.getValue(e.value);if(null==n){let t=eC(e);throw new x(`Value "${t}" does not exist in "${this.name}" enum.`+tk(this,t),{nodes:e})}return n.value}toConfig(){let e=em(this.getValues(),e=>e.name,e=>({description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}));return{name:this.name,description:this.description,values:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function tk(e,t){return ed("the enum value",eT(t,e.getValues().map(e=>e.name)))}function tC(e,t){return tD(t)||T(!1,`${e} values must be an object with value names as keys.`),Object.entries(t).map(([t,n])=>(tD(n)||T(!1,`${e}.${t} must refer to an object with a "value" key representing an internal value but got: ${er(n)}.`),{name:eV(t),description:n.description,value:void 0!==n.value?n.value:t,deprecationReason:n.deprecationReason,extensions:eD(n.extensions),astNode:n.astNode}))}class tL{constructor(e){var t,n;this.name=eq(e.name),this.description=e.description,this.extensions=eD(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this.isOneOf=null!==(n=e.isOneOf)&&void 0!==n&&n,this._fields=tF.bind(void 0,e)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}toConfig(){let e=ev(this.getFields(),e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}));return{name:this.name,description:this.description,fields:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,isOneOf:this.isOneOf}}toString(){return this.name}toJSON(){return this.toString()}}function tF(e){let t=tg(e.fields);return tD(t)||T(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),ev(t,(t,n)=>("resolve"in t&&T(!1,`${e.name}.${n} field has a resolve property, but Input Types cannot define resolvers.`),{name:eq(n),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:eD(t.extensions),astNode:t.astNode}))}function tP(e){return e8(e.type)&&void 0===e.defaultValue}function tj(e,t){return e===t||!!(e8(e)&&e8(t)||e2(e)&&e2(t))&&tj(e.ofType,t.ofType)}function tM(e,t,n){return t===n||(e8(n)?!!e8(t)&&tM(e,t.ofType,n.ofType):e8(t)?tM(e,t.ofType,n):e2(n)?!!e2(t)&&tM(e,t.ofType,n.ofType):!e2(t)&&to(n)&&(ez(t)||eQ(t))&&e.isSubType(n,t))}function t$(e,t,n){return t===n||(to(t)?to(n)?e.getPossibleTypes(t).some(t=>e.isSubType(n,t)):e.isSubType(t,n):!!to(n)&&e.isSubType(n,t))}let tU=2147483647,tq=-2147483648,tV=new tb({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(e){let t=tz(e);if("boolean"==typeof t)return t?1:0;let n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),"number"!=typeof n||!Number.isInteger(n))throw new x(`Int cannot represent non-integer value: ${er(t)}`);if(n>tU||n<tq)throw new x("Int cannot represent non 32-bit signed integer value: "+er(t));return n},parseValue(e){if("number"!=typeof e||!Number.isInteger(e))throw new x(`Int cannot represent non-integer value: ${er(e)}`);if(e>tU||e<tq)throw new x(`Int cannot represent non 32-bit signed integer value: ${e}`);return e},parseLiteral(e){if(e.kind!==o.INT)throw new x(`Int cannot represent non-integer value: ${eC(e)}`,{nodes:e});let t=parseInt(e.value,10);if(t>tU||t<tq)throw new x(`Int cannot represent non 32-bit signed integer value: ${e.value}`,{nodes:e});return t}}),tB=new tb({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize(e){let t=tz(e);if("boolean"==typeof t)return t?1:0;let n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),"number"!=typeof n||!Number.isFinite(n))throw new x(`Float cannot represent non numeric value: ${er(t)}`);return n},parseValue(e){if("number"!=typeof e||!Number.isFinite(e))throw new x(`Float cannot represent non numeric value: ${er(e)}`);return e},parseLiteral(e){if(e.kind!==o.FLOAT&&e.kind!==o.INT)throw new x(`Float cannot represent non numeric value: ${eC(e)}`,e);return parseFloat(e.value)}}),tG=new tb({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize(e){let t=tz(e);if("string"==typeof t)return t;if("boolean"==typeof t)return t?"true":"false";if("number"==typeof t&&Number.isFinite(t))return t.toString();throw new x(`String cannot represent value: ${er(e)}`)},parseValue(e){if("string"!=typeof e)throw new x(`String cannot represent a non string value: ${er(e)}`);return e},parseLiteral(e){if(e.kind!==o.STRING)throw new x(`String cannot represent a non string value: ${eC(e)}`,{nodes:e});return e.value}}),tH=new tb({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){let t=tz(e);if("boolean"==typeof t)return t;if(Number.isFinite(t))return 0!==t;throw new x(`Boolean cannot represent a non boolean value: ${er(t)}`)},parseValue(e){if("boolean"!=typeof e)throw new x(`Boolean cannot represent a non boolean value: ${er(e)}`);return e},parseLiteral(e){if(e.kind!==o.BOOLEAN)throw new x(`Boolean cannot represent a non boolean value: ${eC(e)}`,{nodes:e});return e.value}}),tY=new tb({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize(e){let t=tz(e);if("string"==typeof t)return t;if(Number.isInteger(t))return String(t);throw new x(`ID cannot represent value: ${er(e)}`)},parseValue(e){if("string"==typeof e)return e;if("number"==typeof e&&Number.isInteger(e))return e.toString();throw new x(`ID cannot represent value: ${er(e)}`)},parseLiteral(e){if(e.kind!==o.STRING&&e.kind!==o.INT)throw new x("ID cannot represent a non-string and non-integer value: "+eC(e),{nodes:e});return e.value}}),tQ=Object.freeze([tG,tV,tB,tH,tY]);function tJ(e){return tQ.some(({name:t})=>e.name===t)}function tz(e){if(N(e)){if("function"==typeof e.valueOf){let t=e.valueOf();if(!N(t))return t}if("function"==typeof e.toJSON)return e.toJSON()}return e}function tW(e){return ei(e,tK)}function tX(e){if(!tW(e))throw Error(`Expected ${er(e)} to be a GraphQL directive.`);return e}class tK{constructor(e){var t,n;this.name=eq(e.name),this.description=e.description,this.locations=e.locations,this.isRepeatable=null!==(t=e.isRepeatable)&&void 0!==t&&t,this.extensions=eD(e.extensions),this.astNode=e.astNode,Array.isArray(e.locations)||T(!1,`@${e.name} locations must be an Array.`);let r=null!==(n=e.args)&&void 0!==n?n:{};N(r)&&!Array.isArray(r)||T(!1,`@${e.name} args must be an object with argument names as keys.`),this.args=tN(r)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:tI(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}let tZ=new tK({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[i.FIELD,i.FRAGMENT_SPREAD,i.INLINE_FRAGMENT],args:{if:{type:new tu(tH),description:"Included when true."}}}),t0=new tK({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[i.FIELD,i.FRAGMENT_SPREAD,i.INLINE_FRAGMENT],args:{if:{type:new tu(tH),description:"Skipped when true."}}}),t1="No longer supported",t3=new tK({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[i.FIELD_DEFINITION,i.ARGUMENT_DEFINITION,i.INPUT_FIELD_DEFINITION,i.ENUM_VALUE],args:{reason:{type:tG,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:t1}}}),t2=new tK({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[i.SCALAR],args:{url:{type:new tu(tG),description:"The URL that specifies the behavior of this scalar."}}}),t5=new tK({name:"oneOf",description:"Indicates exactly one field must be supplied and this field must not be `null`.",locations:[i.INPUT_OBJECT],args:{}}),t8=Object.freeze([tZ,t0,t3,t2,t5]);function t4(e){return t8.some(({name:t})=>t===e.name)}function t6(e){return"object"==typeof e&&"function"==typeof(null==e?void 0:e[Symbol.iterator])}function t7(e,t){if(e8(t)){let n=t7(e,t.ofType);return(null==n?void 0:n.kind)===o.NULL?null:n}if(null===e)return{kind:o.NULL};if(void 0===e)return null;if(e2(t)){let n=t.ofType;if(t6(e)){let t=[];for(let r of e){let e=t7(r,n);null!=e&&t.push(e)}return{kind:o.LIST,values:t}}return t7(e,n)}if(e1(t)){if(!N(e))return null;let n=[];for(let r of Object.values(t.getFields())){let t=t7(e[r.name],r.type);t&&n.push({kind:o.OBJECT_FIELD,name:{kind:o.NAME,value:r.name},value:t})}return{kind:o.OBJECT,fields:n}}if(tt(t)){let n=t.serialize(e);if(null==n)return null;if("boolean"==typeof n)return{kind:o.BOOLEAN,value:n};if("number"==typeof n&&Number.isFinite(n)){let e=String(n);return t9.test(e)?{kind:o.INT,value:e}:{kind:o.FLOAT,value:e}}if("string"==typeof n)return eZ(t)?{kind:o.ENUM,value:n}:t===tY&&t9.test(n)?{kind:o.INT,value:n}:{kind:o.STRING,value:n};throw TypeError(`Cannot convert value to AST: ${er(n)}.`)}D(!1,"Unexpected input type: "+er(t))}let t9=/^-?(?:0|[1-9][0-9]*)$/,ne=new tE({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:()=>({description:{type:tG,resolve:e=>e.description},types:{description:"A list of all types supported by this server.",type:new tu(new ts(new tu(nr))),resolve:e=>Object.values(e.getTypeMap())},queryType:{description:"The type that query operations will be rooted at.",type:new tu(nr),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:nr,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:nr,resolve:e=>e.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new tu(new ts(new tu(nt))),resolve:e=>e.getDirectives()}})}),nt=new tE({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:()=>({name:{type:new tu(tG),resolve:e=>e.name},description:{type:tG,resolve:e=>e.description},isRepeatable:{type:new tu(tH),resolve:e=>e.isRepeatable},locations:{type:new tu(new ts(new tu(nn))),resolve:e=>e.locations},args:{type:new tu(new ts(new tu(no))),args:{includeDeprecated:{type:tH,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter(e=>null==e.deprecationReason)}})}),nn=new tR({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:i.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:i.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:i.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:i.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:i.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:i.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:i.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:i.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:i.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:i.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:i.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:i.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:i.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:i.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:i.UNION,description:"Location adjacent to a union definition."},ENUM:{value:i.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:i.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:i.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:i.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),nr=new tE({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:()=>({kind:{type:new tu(ns),resolve:e=>eH(e)?s.SCALAR:eQ(e)?s.OBJECT:ez(e)?s.INTERFACE:eX(e)?s.UNION:eZ(e)?s.ENUM:e1(e)?s.INPUT_OBJECT:e2(e)?s.LIST:e8(e)?s.NON_NULL:void D(!1,`Unexpected type: "${er(e)}".`)},name:{type:tG,resolve:e=>"name"in e?e.name:void 0},description:{type:tG,resolve:e=>"description"in e?e.description:void 0},specifiedByURL:{type:tG,resolve:e=>"specifiedByURL"in e?e.specifiedByURL:void 0},fields:{type:new ts(new tu(ni)),args:{includeDeprecated:{type:tH,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(eQ(e)||ez(e)){let n=Object.values(e.getFields());return t?n:n.filter(e=>null==e.deprecationReason)}}},interfaces:{type:new ts(new tu(nr)),resolve(e){if(eQ(e)||ez(e))return e.getInterfaces()}},possibleTypes:{type:new ts(new tu(nr)),resolve(e,t,n,{schema:r}){if(to(e))return r.getPossibleTypes(e)}},enumValues:{type:new ts(new tu(na)),args:{includeDeprecated:{type:tH,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(eZ(e)){let n=e.getValues();return t?n:n.filter(e=>null==e.deprecationReason)}}},inputFields:{type:new ts(new tu(no)),args:{includeDeprecated:{type:tH,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(e1(e)){let n=Object.values(e.getFields());return t?n:n.filter(e=>null==e.deprecationReason)}}},ofType:{type:nr,resolve:e=>"ofType"in e?e.ofType:void 0},isOneOf:{type:tH,resolve:e=>{if(e1(e))return e.isOneOf}}})}),ni=new tE({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:()=>({name:{type:new tu(tG),resolve:e=>e.name},description:{type:tG,resolve:e=>e.description},args:{type:new tu(new ts(new tu(no))),args:{includeDeprecated:{type:tH,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter(e=>null==e.deprecationReason)},type:{type:new tu(nr),resolve:e=>e.type},isDeprecated:{type:new tu(tH),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:tG,resolve:e=>e.deprecationReason}})}),no=new tE({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:()=>({name:{type:new tu(tG),resolve:e=>e.name},description:{type:tG,resolve:e=>e.description},type:{type:new tu(nr),resolve:e=>e.type},defaultValue:{type:tG,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){let{type:t,defaultValue:n}=e,r=t7(n,t);return r?eC(r):null}},isDeprecated:{type:new tu(tH),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:tG,resolve:e=>e.deprecationReason}})}),na=new tE({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:()=>({name:{type:new tu(tG),resolve:e=>e.name},description:{type:tG,resolve:e=>e.description},isDeprecated:{type:new tu(tH),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:tG,resolve:e=>e.deprecationReason}})});(h=s||(s={})).SCALAR="SCALAR",h.OBJECT="OBJECT",h.INTERFACE="INTERFACE",h.UNION="UNION",h.ENUM="ENUM",h.INPUT_OBJECT="INPUT_OBJECT",h.LIST="LIST",h.NON_NULL="NON_NULL";let ns=new tR({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:s.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:s.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:s.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:s.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:s.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:s.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:s.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:s.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),nu={name:"__schema",type:new tu(ne),description:"Access the current type schema of this server.",args:[],resolve:(e,t,n,{schema:r})=>r,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},nl={name:"__type",type:nr,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new tu(tG),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:(e,{name:t},n,{schema:r})=>r.getType(t),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},nc={name:"__typename",type:new tu(tG),description:"The name of the current Object type at runtime.",args:[],resolve:(e,t,n,{parentType:r})=>r.name,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},np=Object.freeze([ne,nt,nn,nr,ni,no,na,ns]);function nf(e){return np.some(({name:t})=>e.name===t)}function nd(e){return ei(e,ny)}function nh(e){if(!nd(e))throw Error(`Expected ${er(e)} to be a GraphQL schema.`);return e}class ny{constructor(e){var t,n;this.__validationErrors=!0===e.assumeValid?[]:void 0,N(e)||T(!1,"Must provide configuration object."),!e.types||Array.isArray(e.types)||T(!1,`"types" must be Array if provided but got: ${er(e.types)}.`),!e.directives||Array.isArray(e.directives)||T(!1,`"directives" must be Array if provided but got: ${er(e.directives)}.`),this.description=e.description,this.extensions=eD(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=null!==(n=e.directives)&&void 0!==n?n:t8;let r=new Set(e.types);if(null!=e.types)for(let t of e.types)r.delete(t),nm(t,r);for(let e of(null!=this._queryType&&nm(this._queryType,r),null!=this._mutationType&&nm(this._mutationType,r),null!=this._subscriptionType&&nm(this._subscriptionType,r),this._directives))if(tW(e))for(let t of e.args)nm(t.type,r);for(let e of(nm(ne,r),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null),r)){if(null==e)continue;let t=e.name;if(t||T(!1,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[t])throw Error(`Schema must contain uniquely named types but contains multiple types named "${t}".`);if(this._typeMap[t]=e,ez(e)){for(let t of e.getInterfaces())if(ez(t)){let n=this._implementationsMap[t.name];void 0===n&&(n=this._implementationsMap[t.name]={objects:[],interfaces:[]}),n.interfaces.push(e)}}else if(eQ(e)){for(let t of e.getInterfaces())if(ez(t)){let n=this._implementationsMap[t.name];void 0===n&&(n=this._implementationsMap[t.name]={objects:[],interfaces:[]}),n.objects.push(e)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(e){switch(e){case r.QUERY:return this.getQueryType();case r.MUTATION:return this.getMutationType();case r.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(e){return this.getTypeMap()[e]}getPossibleTypes(e){return eX(e)?e.getTypes():this.getImplementations(e).objects}getImplementations(e){let t=this._implementationsMap[e.name];return null!=t?t:{objects:[],interfaces:[]}}isSubType(e,t){let n=this._subTypeMap[e.name];if(void 0===n){if(n=Object.create(null),eX(e))for(let t of e.getTypes())n[t.name]=!0;else{let t=this.getImplementations(e);for(let e of t.objects)n[e.name]=!0;for(let e of t.interfaces)n[e.name]=!0}this._subTypeMap[e.name]=n}return void 0!==n[t.name]}getDirectives(){return this._directives}getDirective(e){return this.getDirectives().find(t=>t.name===e)}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:void 0!==this.__validationErrors}}}function nm(e,t){let n=tm(e);if(!t.has(n)){if(t.add(n),eX(n))for(let e of n.getTypes())nm(e,t);else if(eQ(n)||ez(n)){for(let e of n.getInterfaces())nm(e,t);for(let e of Object.values(n.getFields()))for(let n of(nm(e.type,t),e.args))nm(n.type,t)}else if(e1(n))for(let e of Object.values(n.getFields()))nm(e.type,t)}return t}function nv(e){if(nh(e),e.__validationErrors)return e.__validationErrors;let t=new nb(e);(function(e){var t,n,i;let o=e.schema,a=o.getQueryType();a?eQ(a)||e.reportError(`Query root type must be Object type, it cannot be ${er(a)}.`,null!==(t=nE(o,r.QUERY))&&void 0!==t?t:a.astNode):e.reportError("Query root type must be provided.",o.astNode);let s=o.getMutationType();s&&!eQ(s)&&e.reportError(`Mutation root type must be Object type if provided, it cannot be ${er(s)}.`,null!==(n=nE(o,r.MUTATION))&&void 0!==n?n:s.astNode);let u=o.getSubscriptionType();u&&!eQ(u)&&e.reportError(`Subscription root type must be Object type if provided, it cannot be ${er(u)}.`,null!==(i=nE(o,r.SUBSCRIPTION))&&void 0!==i?i:u.astNode)})(t),function(e){for(let n of e.schema.getDirectives()){if(!tW(n)){e.reportError(`Expected directive but got: ${er(n)}.`,null==n?void 0:n.astNode);continue}for(let r of(nT(e,n),0===n.locations.length&&e.reportError(`Directive @${n.name} must include 1 or more locations.`,n.astNode),n.args))if(nT(e,r),e6(r.type)||e.reportError(`The type of @${n.name}(${r.name}:) must be Input Type but got: ${er(r.type)}.`,r.astNode),t_(r)&&null!=r.deprecationReason){var t;e.reportError(`Required argument @${n.name}(${r.name}:) cannot be deprecated.`,[nI(r.astNode),null===(t=r.astNode)||void 0===t?void 0:t.type])}}}(t),function(e){let t=function(e){let t=Object.create(null),n=[],r=Object.create(null);return function i(o){if(!t[o.name]){for(let a of(t[o.name]=!0,r[o.name]=n.length,Object.values(o.getFields())))if(e8(a.type)&&e1(a.type.ofType)){let t=a.type.ofType,o=r[t.name];if(n.push(a),void 0===o)i(t);else{let r=n.slice(o),i=r.map(e=>e.name).join(".");e.reportError(`Cannot reference Input Object "${t.name}" within itself through a series of non-null fields: "${i}".`,r.map(e=>e.astNode))}n.pop()}r[o.name]=void 0}}}(e);for(let n of Object.values(e.schema.getTypeMap())){if(!th(n)){e.reportError(`Expected GraphQL named type but got: ${er(n)}.`,n.astNode);continue}nf(n)||nT(e,n),eQ(n)?(nw(e,n),nN(e,n)):ez(n)?(nw(e,n),nN(e,n)):eX(n)?function(e,t){let n=t.getTypes();0===n.length&&e.reportError(`Union type ${t.name} must define one or more member types.`,[t.astNode,...t.extensionASTNodes]);let r=Object.create(null);for(let i of n){if(r[i.name]){e.reportError(`Union type ${t.name} can only include type ${i.name} once.`,nO(t,i.name));continue}r[i.name]=!0,eQ(i)||e.reportError(`Union type ${t.name} can only include Object types, it cannot include ${er(i)}.`,nO(t,String(i)))}}(e,n):eZ(n)?function(e,t){let n=t.getValues();for(let r of(0===n.length&&e.reportError(`Enum type ${t.name} must define one or more values.`,[t.astNode,...t.extensionASTNodes]),n))nT(e,r)}(e,n):e1(n)&&(function(e,t){let n=Object.values(t.getFields());for(let o of(0===n.length&&e.reportError(`Input Object type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]),n)){var r,i;nT(e,o),e6(o.type)||e.reportError(`The type of ${t.name}.${o.name} must be Input Type but got: ${er(o.type)}.`,null===(r=o.astNode)||void 0===r?void 0:r.type),tP(o)&&null!=o.deprecationReason&&e.reportError(`Required input field ${t.name}.${o.name} cannot be deprecated.`,[nI(o.astNode),null===(i=o.astNode)||void 0===i?void 0:i.type]),t.isOneOf&&function(e,t,n){if(e8(t.type)){var r;n.reportError(`OneOf input field ${e.name}.${t.name} must be nullable.`,null===(r=t.astNode)||void 0===r?void 0:r.type)}void 0!==t.defaultValue&&n.reportError(`OneOf input field ${e.name}.${t.name} cannot have a default value.`,t.astNode)}(t,o,e)}}(e,n),t(n))}}(t);let n=t.getErrors();return e.__validationErrors=n,n}function ng(e){let t=nv(e);if(0!==t.length)throw Error(t.map(e=>e.message).join("\n\n"))}class nb{constructor(e){this._errors=[],this.schema=e}reportError(e,t){let n=Array.isArray(t)?t.filter(Boolean):t;this._errors.push(new x(e,{nodes:n}))}getErrors(){return this._errors}}function nE(e,t){var n;return null===(n=[e.astNode,...e.extensionASTNodes].flatMap(e=>{var t;return null!==(t=null==e?void 0:e.operationTypes)&&void 0!==t?t:[]}).find(e=>e.operation===t))||void 0===n?void 0:n.type}function nT(e,t){t.name.startsWith("__")&&e.reportError(`Name "${t.name}" must not begin with "__", which is reserved by GraphQL introspection.`,t.astNode)}function nw(e,t){let n=Object.values(t.getFields());for(let a of(0===n.length&&e.reportError(`Type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]),n)){var r,i,o;for(let n of(nT(e,a),e9(a.type)||e.reportError(`The type of ${t.name}.${a.name} must be Output Type but got: ${er(a.type)}.`,null===(r=a.astNode)||void 0===r?void 0:r.type),a.args)){let r=n.name;nT(e,n),e6(n.type)||e.reportError(`The type of ${t.name}.${a.name}(${r}:) must be Input Type but got: ${er(n.type)}.`,null===(i=n.astNode)||void 0===i?void 0:i.type),t_(n)&&null!=n.deprecationReason&&e.reportError(`Required argument ${t.name}.${a.name}(${r}:) cannot be deprecated.`,[nI(n.astNode),null===(o=n.astNode)||void 0===o?void 0:o.type])}}}function nN(e,t){let n=Object.create(null);for(let r of t.getInterfaces()){if(!ez(r)){e.reportError(`Type ${er(t)} must only implement Interface types, it cannot implement ${er(r)}.`,nD(t,r));continue}if(t===r){e.reportError(`Type ${t.name} cannot implement itself because it would create a circular reference.`,nD(t,r));continue}if(n[r.name]){e.reportError(`Type ${t.name} can only implement ${r.name} once.`,nD(t,r));continue}n[r.name]=!0,function(e,t,n){let r=t.getInterfaces();for(let i of n.getInterfaces())r.includes(i)||e.reportError(i===t?`Type ${t.name} cannot implement ${n.name} because it would create a circular reference.`:`Type ${t.name} must implement ${i.name} because it is implemented by ${n.name}.`,[...nD(n,i),...nD(t,n)])}(e,t,r),function(e,t,n){let r=t.getFields();for(let u of Object.values(n.getFields())){var i,o,a,s;let l=u.name,c=r[l];if(!c){e.reportError(`Interface field ${n.name}.${l} expected but ${t.name} does not provide it.`,[u.astNode,t.astNode,...t.extensionASTNodes]);continue}for(let r of(tM(e.schema,c.type,u.type)||e.reportError(`Interface field ${n.name}.${l} expects type ${er(u.type)} but ${t.name}.${l} is type ${er(c.type)}.`,[null===(i=u.astNode)||void 0===i?void 0:i.type,null===(o=c.astNode)||void 0===o?void 0:o.type]),u.args)){let i=r.name,o=c.args.find(e=>e.name===i);if(!o){e.reportError(`Interface field argument ${n.name}.${l}(${i}:) expected but ${t.name}.${l} does not provide it.`,[r.astNode,c.astNode]);continue}tj(r.type,o.type)||e.reportError(`Interface field argument ${n.name}.${l}(${i}:) expects type ${er(r.type)} but ${t.name}.${l}(${i}:) is type ${er(o.type)}.`,[null===(a=r.astNode)||void 0===a?void 0:a.type,null===(s=o.astNode)||void 0===s?void 0:s.type])}for(let r of c.args){let i=r.name;!u.args.find(e=>e.name===i)&&t_(r)&&e.reportError(`Object field ${t.name}.${l} includes required argument ${i} that is missing from the Interface field ${n.name}.${l}.`,[r.astNode,u.astNode])}}}(e,t,r)}}function nD(e,t){let{astNode:n,extensionASTNodes:r}=e;return(null!=n?[n,...r]:r).flatMap(e=>{var t;return null!==(t=e.interfaces)&&void 0!==t?t:[]}).filter(e=>e.name.value===t.name)}function nO(e,t){let{astNode:n,extensionASTNodes:r}=e;return(null!=n?[n,...r]:r).flatMap(e=>{var t;return null!==(t=e.types)&&void 0!==t?t:[]}).filter(e=>e.name.value===t)}function nI(e){var t;return null==e?void 0:null===(t=e.directives)||void 0===t?void 0:t.find(e=>e.name.value===t3.name)}function n_(e,t){switch(t.kind){case o.LIST_TYPE:{let n=n_(e,t.type);return n&&new ts(n)}case o.NON_NULL_TYPE:{let n=n_(e,t.type);return n&&new tu(n)}case o.NAMED_TYPE:return e.getType(t.name.value)}}class nS{constructor(e,t,n){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=null!=n?n:nA,t&&(e6(t)&&this._inputTypeStack.push(t),tr(t)&&this._parentTypeStack.push(t),e9(t)&&this._typeStack.push(t))}get[Symbol.toStringTag](){return"TypeInfo"}getType(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]}getParentType(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]}getInputType(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]}getParentInputType(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]}getFieldDef(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]}getDefaultValue(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]}getDirective(){return this._directive}getArgument(){return this._argument}getEnumValue(){return this._enumValue}enter(e){let t=this._schema;switch(e.kind){case o.SELECTION_SET:{let e=tm(this.getType());this._parentTypeStack.push(tr(e)?e:void 0);break}case o.FIELD:{let n,r;let i=this.getParentType();i&&(n=this._getFieldDef(t,i,e))&&(r=n.type),this._fieldDefStack.push(n),this._typeStack.push(e9(r)?r:void 0);break}case o.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case o.OPERATION_DEFINITION:{let n=t.getRootType(e.operation);this._typeStack.push(eQ(n)?n:void 0);break}case o.INLINE_FRAGMENT:case o.FRAGMENT_DEFINITION:{let n=e.typeCondition,r=n?n_(t,n):tm(this.getType());this._typeStack.push(e9(r)?r:void 0);break}case o.VARIABLE_DEFINITION:{let n=n_(t,e.type);this._inputTypeStack.push(e6(n)?n:void 0);break}case o.ARGUMENT:{var n;let t,r;let i=null!==(n=this.getDirective())&&void 0!==n?n:this.getFieldDef();i&&(t=i.args.find(t=>t.name===e.name.value))&&(r=t.type),this._argument=t,this._defaultValueStack.push(t?t.defaultValue:void 0),this._inputTypeStack.push(e6(r)?r:void 0);break}case o.LIST:{let e=td(this.getInputType()),t=e2(e)?e.ofType:e;this._defaultValueStack.push(void 0),this._inputTypeStack.push(e6(t)?t:void 0);break}case o.OBJECT_FIELD:{let t,n;let r=tm(this.getInputType());e1(r)&&(n=r.getFields()[e.name.value])&&(t=n.type),this._defaultValueStack.push(n?n.defaultValue:void 0),this._inputTypeStack.push(e6(t)?t:void 0);break}case o.ENUM:{let t;let n=tm(this.getInputType());eZ(n)&&(t=n.getValue(e.value)),this._enumValue=t}}}leave(e){switch(e.kind){case o.SELECTION_SET:this._parentTypeStack.pop();break;case o.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case o.DIRECTIVE:this._directive=null;break;case o.OPERATION_DEFINITION:case o.INLINE_FRAGMENT:case o.FRAGMENT_DEFINITION:this._typeStack.pop();break;case o.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case o.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case o.LIST:case o.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case o.ENUM:this._enumValue=null}}}function nA(e,t,n){let r=n.name.value;return r===nu.name&&e.getQueryType()===t?nu:r===nl.name&&e.getQueryType()===t?nl:r===nc.name&&tr(t)?nc:eQ(t)||ez(t)?t.getFields()[r]:void 0}function nx(e,t){return{enter(...n){let r=n[0];e.enter(r);let i=eR(t,r.kind).enter;if(i){let o=i.apply(t,n);return void 0!==o&&(e.leave(r),$(o)&&e.enter(o)),o}},leave(...n){let r;let i=n[0],o=eR(t,i.kind).leave;return o&&(r=o.apply(t,n)),e.leave(i),r}}}function nR(e){return nk(e)||nP(e)||nM(e)}function nk(e){return e.kind===o.OPERATION_DEFINITION||e.kind===o.FRAGMENT_DEFINITION}function nC(e){return e.kind===o.FIELD||e.kind===o.FRAGMENT_SPREAD||e.kind===o.INLINE_FRAGMENT}function nL(e){return e.kind===o.VARIABLE||e.kind===o.INT||e.kind===o.FLOAT||e.kind===o.STRING||e.kind===o.BOOLEAN||e.kind===o.NULL||e.kind===o.ENUM||e.kind===o.LIST||e.kind===o.OBJECT}function nF(e){return e.kind===o.NAMED_TYPE||e.kind===o.LIST_TYPE||e.kind===o.NON_NULL_TYPE}function nP(e){return e.kind===o.SCHEMA_DEFINITION||nj(e)||e.kind===o.DIRECTIVE_DEFINITION}function nj(e){return e.kind===o.SCALAR_TYPE_DEFINITION||e.kind===o.OBJECT_TYPE_DEFINITION||e.kind===o.INTERFACE_TYPE_DEFINITION||e.kind===o.UNION_TYPE_DEFINITION||e.kind===o.ENUM_TYPE_DEFINITION||e.kind===o.INPUT_OBJECT_TYPE_DEFINITION}function nM(e){return e.kind===o.SCHEMA_EXTENSION||n$(e)}function n$(e){return e.kind===o.SCALAR_TYPE_EXTENSION||e.kind===o.OBJECT_TYPE_EXTENSION||e.kind===o.INTERFACE_TYPE_EXTENSION||e.kind===o.UNION_TYPE_EXTENSION||e.kind===o.ENUM_TYPE_EXTENSION||e.kind===o.INPUT_OBJECT_TYPE_EXTENSION}function nU(e){return{Document(t){for(let n of t.definitions)if(!nk(n)){let t=n.kind===o.SCHEMA_DEFINITION||n.kind===o.SCHEMA_EXTENSION?"schema":'"'+n.name.value+'"';e.reportError(new x(`The ${t} definition is not executable.`,{nodes:n}))}return!1}}}function nq(e){return{Field(t){let n=e.getParentType();if(n&&!e.getFieldDef()){let r=e.getSchema(),i=t.name.value,o=ed("to use an inline fragment on",function(e,t,n){if(!to(t))return[];let r=new Set,i=Object.create(null);for(let a of e.getPossibleTypes(t))if(a.getFields()[n])for(let e of(r.add(a),i[a.name]=1,a.getInterfaces())){var o;e.getFields()[n]&&(r.add(e),i[e.name]=(null!==(o=i[e.name])&&void 0!==o?o:0)+1)}return[...r].sort((t,n)=>{let r=i[n.name]-i[t.name];return 0!==r?r:ez(t)&&e.isSubType(t,n)?-1:ez(n)&&e.isSubType(n,t)?1:eg(t.name,n.name)}).map(e=>e.name)}(r,n,i));""===o&&(o=ed(eQ(n)||ez(n)?eT(i,Object.keys(n.getFields())):[])),e.reportError(new x(`Cannot query field "${i}" on type "${n.name}".`+o,{nodes:t}))}}}}function nV(e){return{InlineFragment(t){let n=t.typeCondition;if(n){let t=n_(e.getSchema(),n);if(t&&!tr(t)){let t=eC(n);e.reportError(new x(`Fragment cannot condition on non composite type "${t}".`,{nodes:n}))}}},FragmentDefinition(t){let n=n_(e.getSchema(),t.typeCondition);if(n&&!tr(n)){let n=eC(t.typeCondition);e.reportError(new x(`Fragment "${t.name.value}" cannot condition on non composite type "${n}".`,{nodes:t.typeCondition}))}}}}function nB(e){return{...nG(e),Argument(t){let n=e.getArgument(),r=e.getFieldDef(),i=e.getParentType();if(!n&&r&&i){let n=t.name.value,o=eT(n,r.args.map(e=>e.name));e.reportError(new x(`Unknown argument "${n}" on field "${i.name}.${r.name}".`+ed(o),{nodes:t}))}}}}function nG(e){let t=Object.create(null),n=e.getSchema();for(let e of n?n.getDirectives():t8)t[e.name]=e.args.map(e=>e.name);for(let n of e.getDocument().definitions)if(n.kind===o.DIRECTIVE_DEFINITION){var r;let e=null!==(r=n.arguments)&&void 0!==r?r:[];t[n.name.value]=e.map(e=>e.name.value)}return{Directive(n){let r=n.name.value,i=t[r];if(n.arguments&&i)for(let t of n.arguments){let n=t.name.value;if(!i.includes(n)){let o=eT(n,i);e.reportError(new x(`Unknown argument "${n}" on directive "@${r}".`+ed(o),{nodes:t}))}}return!1}}}function nH(e){let t=Object.create(null),n=e.getSchema();for(let e of n?n.getDirectives():t8)t[e.name]=e.locations;for(let n of e.getDocument().definitions)n.kind===o.DIRECTIVE_DEFINITION&&(t[n.name.value]=n.locations.map(e=>e.value));return{Directive(n,a,s,u,l){let c=n.name.value,p=t[c];if(!p){e.reportError(new x(`Unknown directive "@${c}".`,{nodes:n}));return}let f=function(e){let t=e[e.length-1];switch("kind"in t||D(!1),t.kind){case o.OPERATION_DEFINITION:return function(e){switch(e){case r.QUERY:return i.QUERY;case r.MUTATION:return i.MUTATION;case r.SUBSCRIPTION:return i.SUBSCRIPTION}}(t.operation);case o.FIELD:return i.FIELD;case o.FRAGMENT_SPREAD:return i.FRAGMENT_SPREAD;case o.INLINE_FRAGMENT:return i.INLINE_FRAGMENT;case o.FRAGMENT_DEFINITION:return i.FRAGMENT_DEFINITION;case o.VARIABLE_DEFINITION:return i.VARIABLE_DEFINITION;case o.SCHEMA_DEFINITION:case o.SCHEMA_EXTENSION:return i.SCHEMA;case o.SCALAR_TYPE_DEFINITION:case o.SCALAR_TYPE_EXTENSION:return i.SCALAR;case o.OBJECT_TYPE_DEFINITION:case o.OBJECT_TYPE_EXTENSION:return i.OBJECT;case o.FIELD_DEFINITION:return i.FIELD_DEFINITION;case o.INTERFACE_TYPE_DEFINITION:case o.INTERFACE_TYPE_EXTENSION:return i.INTERFACE;case o.UNION_TYPE_DEFINITION:case o.UNION_TYPE_EXTENSION:return i.UNION;case o.ENUM_TYPE_DEFINITION:case o.ENUM_TYPE_EXTENSION:return i.ENUM;case o.ENUM_VALUE_DEFINITION:return i.ENUM_VALUE;case o.INPUT_OBJECT_TYPE_DEFINITION:case o.INPUT_OBJECT_TYPE_EXTENSION:return i.INPUT_OBJECT;case o.INPUT_VALUE_DEFINITION:{let t=e[e.length-3];return"kind"in t||D(!1),t.kind===o.INPUT_OBJECT_TYPE_DEFINITION?i.INPUT_FIELD_DEFINITION:i.ARGUMENT_DEFINITION}default:D(!1,"Unexpected kind: "+er(t.kind))}}(l);f&&!p.includes(f)&&e.reportError(new x(`Directive "@${c}" may not be used on ${f}.`,{nodes:n}))}}}function nY(e){return{FragmentSpread(t){let n=t.name.value;e.getFragment(n)||e.reportError(new x(`Unknown fragment "${n}".`,{nodes:t.name}))}}}function nQ(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);for(let t of e.getDocument().definitions)nj(t)&&(r[t.name.value]=!0);let i=[...Object.keys(n),...Object.keys(r)];return{NamedType(t,o,a,s,u){let l=t.name.value;if(!n[l]&&!r[l]){var c,p;let n=null!==(c=u[2])&&void 0!==c?c:a,r=null!=n&&"kind"in(p=n)&&(nP(p)||nM(p));if(r&&nJ.includes(l))return;let o=eT(l,r?nJ.concat(i):i);e.reportError(new x(`Unknown type "${l}".`+ed(o),{nodes:t}))}}}}let nJ=[...tQ,...np].map(e=>e.name);function nz(e){let t=0;return{Document(e){t=e.definitions.filter(e=>e.kind===o.OPERATION_DEFINITION).length},OperationDefinition(n){!n.name&&t>1&&e.reportError(new x("This anonymous operation must be the only defined operation.",{nodes:n}))}}}function nW(e){var t,n,r;let i=e.getSchema(),o=null!==(t=null!==(n=null!==(r=null==i?void 0:i.astNode)&&void 0!==r?r:null==i?void 0:i.getQueryType())&&void 0!==n?n:null==i?void 0:i.getMutationType())&&void 0!==t?t:null==i?void 0:i.getSubscriptionType(),a=0;return{SchemaDefinition(t){if(o){e.reportError(new x("Cannot define a new schema within a schema extension.",{nodes:t}));return}a>0&&e.reportError(new x("Must provide only one schema definition.",{nodes:t})),++a}}}function nX(e){return{Field(t){if(("__schema"===t.name.value||"__type"===t.name.value)&&function t(n,r=Object.create(null),i=0){if(n.kind===o.FRAGMENT_SPREAD){let o=n.name.value;if(!0===r[o])return!1;let a=e.getFragment(o);if(!a)return!1;try{return r[o]=!0,t(a,r,i)}finally{r[o]=void 0}}if(n.kind===o.FIELD&&("fields"===n.name.value||"interfaces"===n.name.value||"possibleTypes"===n.name.value||"inputFields"===n.name.value)&&++i>=3)return!0;if("selectionSet"in n&&n.selectionSet){for(let e of n.selectionSet.selections)if(t(e,r,i))return!0}return!1}(t))return e.reportError(new x("Maximum introspection depth exceeded",{nodes:[t]})),!1}}}function nK(e){let t=Object.create(null),n=[],r=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition:i=>((function i(o){if(t[o.name.value])return;let a=o.name.value;t[a]=!0;let s=e.getFragmentSpreads(o.selectionSet);if(0!==s.length){for(let t of(r[a]=n.length,s)){let o=t.name.value,a=r[o];if(n.push(t),void 0===a){let t=e.getFragment(o);t&&i(t)}else{let t=n.slice(a),r=t.slice(0,-1).map(e=>'"'+e.name.value+'"').join(", ");e.reportError(new x(`Cannot spread fragment "${o}" within itself`+(""!==r?` via ${r}.`:"."),{nodes:t}))}n.pop()}r[a]=void 0}})(i),!1)}}function nZ(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){for(let{node:r}of e.getRecursiveVariableUsages(n)){let i=r.name.value;!0!==t[i]&&e.reportError(new x(n.name?`Variable "$${i}" is not defined by operation "${n.name.value}".`:`Variable "$${i}" is not defined.`,{nodes:[r,n]}))}}},VariableDefinition(e){t[e.variable.name.value]=!0}}}function n0(e){let t=[],n=[];return{OperationDefinition:e=>(t.push(e),!1),FragmentDefinition:e=>(n.push(e),!1),Document:{leave(){let r=Object.create(null);for(let n of t)for(let t of e.getRecursivelyReferencedFragments(n))r[t.name.value]=!0;for(let t of n){let n=t.name.value;!0!==r[n]&&e.reportError(new x(`Fragment "${n}" is never used.`,{nodes:t}))}}}}}function n1(e){let t=[];return{OperationDefinition:{enter(){t=[]},leave(n){let r=Object.create(null);for(let{node:t}of e.getRecursiveVariableUsages(n))r[t.name.value]=!0;for(let i of t){let t=i.variable.name.value;!0!==r[t]&&e.reportError(new x(n.name?`Variable "$${t}" is never used in operation "${n.name.value}".`:`Variable "$${t}" is never used.`,{nodes:i}))}}},VariableDefinition(e){t.push(e)}}}function n3(e){switch(e.kind){case o.OBJECT:return{...e,fields:e.fields.map(e=>({...e,value:n3(e.value)})).sort((e,t)=>eg(e.name.value,t.name.value))};case o.LIST:return{...e,values:e.values.map(n3)};case o.INT:case o.FLOAT:case o.STRING:case o.BOOLEAN:case o.NULL:case o.ENUM:case o.VARIABLE:return e}}function n2(e){let t=new re,n=new rt,r=new Map;return{SelectionSet(i){for(let[[o,a],s,u]of function(e,t,n,r,i,o){let a=[],[s,u]=n7(e,t,i,o);if(function(e,t,n,r,i,o){for(let[a,s]of Object.entries(o))if(s.length>1)for(let o=0;o<s.length;o++)for(let u=o+1;u<s.length;u++){let l=n6(e,n,r,i,!1,a,s[o],s[u]);l&&t.push(l)}}(e,a,t,n,r,s),0!==u.length)for(let i=0;i<u.length;i++){n5(e,a,t,n,r,!1,s,u[i]);for(let o=i+1;o<u.length;o++)n8(e,a,t,n,r,!1,u[i],u[o])}return a}(e,r,t,n,e.getParentType(),i)){let t=function e(t){return Array.isArray(t)?t.map(([t,n])=>`subfields "${t}" conflict because `+e(n)).join(" and "):t}(a);e.reportError(new x(`Fields "${o}" conflict because ${t}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:s.concat(u)}))}}}}function n5(e,t,n,r,i,o,a,s){if(r.has(a,s,o))return;r.add(a,s,o);let u=e.getFragment(s);if(!u)return;let[l,c]=n9(e,n,u);if(a!==l)for(let s of(n4(e,t,n,r,i,o,a,l),c))n5(e,t,n,r,i,o,a,s)}function n8(e,t,n,r,i,o,a,s){if(a===s||i.has(a,s,o))return;i.add(a,s,o);let u=e.getFragment(a),l=e.getFragment(s);if(!u||!l)return;let[c,p]=n9(e,n,u),[f,d]=n9(e,n,l);for(let s of(n4(e,t,n,r,i,o,c,f),d))n8(e,t,n,r,i,o,a,s);for(let a of p)n8(e,t,n,r,i,o,a,s)}function n4(e,t,n,r,i,o,a,s){for(let[u,l]of Object.entries(a)){let a=s[u];if(a)for(let s of l)for(let l of a){let a=n6(e,n,r,i,o,u,s,l);a&&t.push(a)}}}function n6(e,t,n,r,i,o,a,s){let[u,l,c]=a,[p,f,d]=s,h=i||u!==p&&eQ(u)&&eQ(p);if(!h){let e=l.name.value,t=f.name.value;if(e!==t)return[[o,`"${e}" and "${t}" are different fields`],[l],[f]];if(!function(e,t){let n=e.arguments,r=t.arguments;if(void 0===n||0===n.length)return void 0===r||0===r.length;if(void 0===r||0===r.length||n.length!==r.length)return!1;let i=new Map(r.map(({name:e,value:t})=>[e.value,t]));return n.every(e=>{let t=e.value,n=i.get(e.name.value);return void 0!==n&&eC(n3(t))===eC(n3(n))})}(l,f))return[[o,"they have differing arguments"],[l],[f]]}let y=null==c?void 0:c.type,m=null==d?void 0:d.type;if(y&&m&&function e(t,n){return e2(t)?!e2(n)||e(t.ofType,n.ofType):!!e2(n)||(e8(t)?!e8(n)||e(t.ofType,n.ofType):!!e8(n)||!!(tt(t)||tt(n))&&t!==n)}(y,m))return[[o,`they return conflicting types "${er(y)}" and "${er(m)}"`],[l],[f]];let v=l.selectionSet,g=f.selectionSet;if(v&&g)return function(e,t,n,r){if(e.length>0)return[[t,e.map(([e])=>e)],[n,...e.map(([,e])=>e).flat()],[r,...e.map(([,,e])=>e).flat()]]}(function(e,t,n,r,i,o,a,s,u){let l=[],[c,p]=n7(e,t,o,a),[f,d]=n7(e,t,s,u);for(let o of(n4(e,l,t,n,r,i,c,f),d))n5(e,l,t,n,r,i,c,o);for(let o of p)n5(e,l,t,n,r,i,f,o);for(let o of p)for(let a of d)n8(e,l,t,n,r,i,o,a);return l}(e,t,n,r,h,tm(y),v,tm(m),g),o,l,f)}function n7(e,t,n,r){let i=t.get(r);if(i)return i;let a=Object.create(null),s=Object.create(null);!function e(t,n,r,i,a){for(let s of r.selections)switch(s.kind){case o.FIELD:{let e;let t=s.name.value;(eQ(n)||ez(n))&&(e=n.getFields()[t]);let r=s.alias?s.alias.value:t;i[r]||(i[r]=[]),i[r].push([n,s,e]);break}case o.FRAGMENT_SPREAD:a[s.name.value]=!0;break;case o.INLINE_FRAGMENT:{let r=s.typeCondition,o=r?n_(t.getSchema(),r):n;e(t,o,s.selectionSet,i,a)}}}(e,n,r,a,s);let u=[a,Object.keys(s)];return t.set(r,u),u}function n9(e,t,n){let r=t.get(n.selectionSet);if(r)return r;let i=n_(e.getSchema(),n.typeCondition);return n7(e,t,i,n.selectionSet)}class re{constructor(){this._data=new Map}has(e,t,n){var r;let i=null===(r=this._data.get(e))||void 0===r?void 0:r.get(t);return void 0!==i&&(!!n||n===i)}add(e,t,n){let r=this._data.get(e);void 0===r?this._data.set(e,new Map([[t,n]])):r.set(t,n)}}class rt{constructor(){this._orderedPairSet=new re}has(e,t,n){return e<t?this._orderedPairSet.has(e,t,n):this._orderedPairSet.has(t,e,n)}add(e,t,n){e<t?this._orderedPairSet.add(e,t,n):this._orderedPairSet.add(t,e,n)}}function rn(e){return{InlineFragment(t){let n=e.getType(),r=e.getParentType();if(tr(n)&&tr(r)&&!t$(e.getSchema(),n,r)){let i=er(r),o=er(n);e.reportError(new x(`Fragment cannot be spread here as objects of type "${i}" can never be of type "${o}".`,{nodes:t}))}},FragmentSpread(t){let n=t.name.value,r=function(e,t){let n=e.getFragment(t);if(n){let t=n_(e.getSchema(),n.typeCondition);if(tr(t))return t}}(e,n),i=e.getParentType();if(r&&i&&!t$(e.getSchema(),r,i)){let o=er(i),a=er(r);e.reportError(new x(`Fragment "${n}" cannot be spread here as objects of type "${o}" can never be of type "${a}".`,{nodes:t}))}}}}function rr(e){let t=e.getSchema(),n=Object.create(null);for(let t of e.getDocument().definitions)nj(t)&&(n[t.name.value]=t);return{ScalarTypeExtension:r,ObjectTypeExtension:r,InterfaceTypeExtension:r,UnionTypeExtension:r,EnumTypeExtension:r,InputObjectTypeExtension:r};function r(r){let i;let a=r.name.value,s=n[a],u=null==t?void 0:t.getType(a);if(s?i=ri[s.kind]:u&&(i=eH(u)?o.SCALAR_TYPE_EXTENSION:eQ(u)?o.OBJECT_TYPE_EXTENSION:ez(u)?o.INTERFACE_TYPE_EXTENSION:eX(u)?o.UNION_TYPE_EXTENSION:eZ(u)?o.ENUM_TYPE_EXTENSION:e1(u)?o.INPUT_OBJECT_TYPE_EXTENSION:void D(!1,"Unexpected type: "+er(u))),i){if(i!==r.kind){let t=function(e){switch(e){case o.SCALAR_TYPE_EXTENSION:return"scalar";case o.OBJECT_TYPE_EXTENSION:return"object";case o.INTERFACE_TYPE_EXTENSION:return"interface";case o.UNION_TYPE_EXTENSION:return"union";case o.ENUM_TYPE_EXTENSION:return"enum";case o.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:D(!1,"Unexpected kind: "+er(e))}}(r.kind);e.reportError(new x(`Cannot extend non-${t} type "${a}".`,{nodes:s?[s,r]:r}))}}else{let i=eT(a,Object.keys({...n,...null==t?void 0:t.getTypeMap()}));e.reportError(new x(`Cannot extend type "${a}" because it is not defined.`+ed(i),{nodes:r.name}))}}}let ri={[o.SCALAR_TYPE_DEFINITION]:o.SCALAR_TYPE_EXTENSION,[o.OBJECT_TYPE_DEFINITION]:o.OBJECT_TYPE_EXTENSION,[o.INTERFACE_TYPE_DEFINITION]:o.INTERFACE_TYPE_EXTENSION,[o.UNION_TYPE_DEFINITION]:o.UNION_TYPE_EXTENSION,[o.ENUM_TYPE_DEFINITION]:o.ENUM_TYPE_EXTENSION,[o.INPUT_OBJECT_TYPE_DEFINITION]:o.INPUT_OBJECT_TYPE_EXTENSION};function ro(e){return{...ra(e),Field:{leave(t){var n;let r=e.getFieldDef();if(!r)return!1;let i=new Set(null===(n=t.arguments)||void 0===n?void 0:n.map(e=>e.name.value));for(let n of r.args)if(!i.has(n.name)&&t_(n)){let i=er(n.type);e.reportError(new x(`Field "${r.name}" argument "${n.name}" of type "${i}" is required, but it was not provided.`,{nodes:t}))}}}}}function ra(e){var t,n;let r=Object.create(null),i=e.getSchema();for(let e of null!==(t=null==i?void 0:i.getDirectives())&&void 0!==t?t:t8)r[e.name]=ey(e.args.filter(t_),e=>e.name);for(let t of e.getDocument().definitions)if(t.kind===o.DIRECTIVE_DEFINITION){let e=null!==(n=t.arguments)&&void 0!==n?n:[];r[t.name.value]=ey(e.filter(rs),e=>e.name.value)}return{Directive:{leave(t){let n=t.name.value,i=r[n];if(i){var o;let r=new Set((null!==(o=t.arguments)&&void 0!==o?o:[]).map(e=>e.name.value));for(let[o,a]of Object.entries(i))if(!r.has(o)){let r=eB(a.type)?er(a.type):eC(a.type);e.reportError(new x(`Directive "@${n}" argument "${o}" of type "${r}" is required, but it was not provided.`,{nodes:t}))}}}}}}function rs(e){return e.type.kind===o.NON_NULL_TYPE&&null==e.defaultValue}function ru(e){return{Field(t){let n=e.getType(),r=t.selectionSet;if(n){if(tt(tm(n))){if(r){let i=t.name.value,o=er(n);e.reportError(new x(`Field "${i}" must not have a selection since type "${o}" has no subfields.`,{nodes:r}))}}else if(r){if(0===r.selections.length){let r=t.name.value,i=er(n);e.reportError(new x(`Field "${r}" of type "${i}" must have at least one field selected.`,{nodes:t}))}}else{let r=t.name.value,i=er(n);e.reportError(new x(`Field "${r}" of type "${i}" must have a selection of subfields. Did you mean "${r} { ... }"?`,{nodes:t}))}}}}}function rl(e){return e.map(e=>"number"==typeof e?"["+e.toString()+"]":"."+e).join("")}function rc(e,t,n){return{prev:e,key:t,typename:n}}function rp(e){let t=[],n=e;for(;n;)t.push(n.key),n=n.prev;return t.reverse()}function rf(e,t,n=rd){return function e(t,n,r,i){if(e8(n))return null!=t?e(t,n.ofType,r,i):void r(rp(i),t,new x(`Expected non-nullable type "${er(n)}" not to be null.`));if(null==t)return null;if(e2(n)){let o=n.ofType;return t6(t)?Array.from(t,(t,n)=>e(t,o,r,rc(i,n,void 0))):[e(t,o,r,i)]}if(e1(n)){if(!N(t)){r(rp(i),t,new x(`Expected type "${n.name}" to be an object.`));return}let o={},a=n.getFields();for(let s of Object.values(a)){let a=t[s.name];if(void 0===a){if(void 0!==s.defaultValue)o[s.name]=s.defaultValue;else if(e8(s.type)){let e=er(s.type);r(rp(i),t,new x(`Field "${s.name}" of required type "${e}" was not provided.`))}continue}o[s.name]=e(a,s.type,r,rc(i,s.name,n.name))}for(let e of Object.keys(t))if(!a[e]){let o=eT(e,Object.keys(n.getFields()));r(rp(i),t,new x(`Field "${e}" is not defined by type "${n.name}".`+ed(o)))}if(n.isOneOf){let e=Object.keys(o);1!==e.length&&r(rp(i),t,new x(`Exactly one key must be specified for OneOf type "${n.name}".`));let a=e[0],s=o[a];null===s&&r(rp(i).concat(a),s,new x(`Field "${a}" must be non-null.`))}return o}if(tt(n)){let e;try{e=n.parseValue(t)}catch(e){e instanceof x?r(rp(i),t,e):r(rp(i),t,new x(`Expected type "${n.name}". `+e.message,{originalError:e}));return}return void 0===e&&r(rp(i),t,new x(`Expected type "${n.name}".`)),e}D(!1,"Unexpected input type: "+er(n))}(e,t,n,void 0)}function rd(e,t,n){let r="Invalid value "+er(t);throw e.length>0&&(r+=` at "value${rl(e)}"`),n.message=r+": "+n.message,n}function rh(e,t,n){if(e){if(e.kind===o.VARIABLE){let r=e.name.value;if(null==n||void 0===n[r])return;let i=n[r];if(null===i&&e8(t))return;return i}if(e8(t)){if(e.kind===o.NULL)return;return rh(e,t.ofType,n)}if(e.kind===o.NULL)return null;if(e2(t)){let r=t.ofType;if(e.kind===o.LIST){let t=[];for(let i of e.values)if(ry(i,n)){if(e8(r))return;t.push(null)}else{let e=rh(i,r,n);if(void 0===e)return;t.push(e)}return t}let i=rh(e,r,n);if(void 0===i)return;return[i]}if(e1(t)){if(e.kind!==o.OBJECT)return;let r=Object.create(null),i=ey(e.fields,e=>e.name.value);for(let e of Object.values(t.getFields())){let t=i[e.name];if(!t||ry(t.value,n)){if(void 0!==e.defaultValue)r[e.name]=e.defaultValue;else if(e8(e.type))return;continue}let o=rh(t.value,e.type,n);if(void 0===o)return;r[e.name]=o}if(t.isOneOf){let e=Object.keys(r);if(1!==e.length||null===r[e[0]])return}return r}if(tt(t)){let r;try{r=t.parseLiteral(e,n)}catch(e){return}if(void 0===r)return;return r}D(!1,"Unexpected input type: "+er(t))}}function ry(e,t){return e.kind===o.VARIABLE&&(null==t||void 0===t[e.name.value])}function rm(e,t,n,r){let i=[],o=null==r?void 0:r.maxErrors;try{let r=function(e,t,n,r){let i={};for(let o of t){let t=o.variable.name.value,a=n_(e,o.type);if(!e6(a)){let e=eC(o.type);r(new x(`Variable "$${t}" expected value of type "${e}" which cannot be used as an input type.`,{nodes:o.type}));continue}if(!rb(n,t)){if(o.defaultValue)i[t]=rh(o.defaultValue,a);else if(e8(a)){let e=er(a);r(new x(`Variable "$${t}" of required type "${e}" was not provided.`,{nodes:o}))}continue}let s=n[t];if(null===s&&e8(a)){let e=er(a);r(new x(`Variable "$${t}" of non-null type "${e}" must not be null.`,{nodes:o}));continue}i[t]=rf(s,a,(e,n,i)=>{let a=`Variable "$${t}" got invalid value `+er(n);e.length>0&&(a+=` at "${t}${rl(e)}"`),r(new x(a+"; "+i.message,{nodes:o,originalError:i}))})}return i}(e,t,n,e=>{if(null!=o&&i.length>=o)throw new x("Too many errors processing variables, error limit reached. Execution aborted.");i.push(e)});if(0===i.length)return{coerced:r}}catch(e){i.push(e)}return{errors:i}}function rv(e,t,n){var r;let i={},a=ey(null!==(r=t.arguments)&&void 0!==r?r:[],e=>e.name.value);for(let r of e.args){let e=r.name,s=r.type,u=a[e];if(!u){if(void 0!==r.defaultValue)i[e]=r.defaultValue;else if(e8(s))throw new x(`Argument "${e}" of required type "${er(s)}" was not provided.`,{nodes:t});continue}let l=u.value,c=l.kind===o.NULL;if(l.kind===o.VARIABLE){let t=l.name.value;if(null==n||!rb(n,t)){if(void 0!==r.defaultValue)i[e]=r.defaultValue;else if(e8(s))throw new x(`Argument "${e}" of required type "${er(s)}" was provided the variable "$${t}" which was not provided a runtime value.`,{nodes:l});continue}c=null==n[t]}if(c&&e8(s))throw new x(`Argument "${e}" of non-null type "${er(s)}" must not be null.`,{nodes:l});let p=rh(l,s,n);if(void 0===p)throw new x(`Argument "${e}" has invalid value ${eC(l)}.`,{nodes:l});i[e]=p}return i}function rg(e,t,n){var r;let i=null===(r=t.directives)||void 0===r?void 0:r.find(t=>t.name.value===e.name);if(i)return rv(e,i,n)}function rb(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function rE(e,t,n,r,i){let o=new Map;return rT(e,t,n,r,i,o,new Set),o}function rT(e,t,n,r,i,a,s){for(let u of i.selections)switch(u.kind){case o.FIELD:{if(!rw(n,u))continue;let e=u.alias?u.alias.value:u.name.value,t=a.get(e);void 0!==t?t.push(u):a.set(e,[u]);break}case o.INLINE_FRAGMENT:if(!rw(n,u)||!rN(e,u,r))continue;rT(e,t,n,r,u.selectionSet,a,s);break;case o.FRAGMENT_SPREAD:{let i=u.name.value;if(s.has(i)||!rw(n,u))continue;s.add(i);let o=t[i];if(!o||!rN(e,o,r))continue;rT(e,t,n,r,o.selectionSet,a,s)}}}function rw(e,t){let n=rg(t0,t,e);if((null==n?void 0:n.if)===!0)return!1;let r=rg(tZ,t,e);return(null==r?void 0:r.if)!==!1}function rN(e,t,n){let r=t.typeCondition;if(!r)return!0;let i=n_(e,r);return i===n||!!to(i)&&e.isSubType(i,n)}function rD(e){return{OperationDefinition(t){if("subscription"===t.operation){let n=e.getSchema(),r=n.getSubscriptionType();if(r){let i=t.name?t.name.value:null,a=Object.create(null),s=e.getDocument(),u=Object.create(null);for(let e of s.definitions)e.kind===o.FRAGMENT_DEFINITION&&(u[e.name.value]=e);let l=rE(n,u,a,r,t.selectionSet);if(l.size>1){let t=[...l.values()].slice(1).flat();e.reportError(new x(null!=i?`Subscription "${i}" must select only one top level field.`:"Anonymous Subscription must select only one top level field.",{nodes:t}))}for(let t of l.values())t[0].name.value.startsWith("__")&&e.reportError(new x(null!=i?`Subscription "${i}" must not select an introspection top level field.`:"Anonymous Subscription must not select an introspection top level field.",{nodes:t}))}}}}}function rO(e,t){let n=new Map;for(let r of e){let e=t(r),i=n.get(e);void 0===i?n.set(e,[r]):i.push(r)}return n}function rI(e){return{DirectiveDefinition(e){var t;let r=null!==(t=e.arguments)&&void 0!==t?t:[];return n(`@${e.name.value}`,r)},InterfaceTypeDefinition:t,InterfaceTypeExtension:t,ObjectTypeDefinition:t,ObjectTypeExtension:t};function t(e){var t,r;let i=e.name.value;for(let o of null!==(t=e.fields)&&void 0!==t?t:[]){let e=o.name.value;n(`${i}.${e}`,null!==(r=o.arguments)&&void 0!==r?r:[])}return!1}function n(t,n){for(let[r,i]of rO(n,e=>e.name.value))i.length>1&&e.reportError(new x(`Argument "${t}(${r}:)" can only be defined once.`,{nodes:i.map(e=>e.name)}));return!1}}function r_(e){return{Field:t,Directive:t};function t(t){var n;for(let[r,i]of rO(null!==(n=t.arguments)&&void 0!==n?n:[],e=>e.name.value))i.length>1&&e.reportError(new x(`There can be only one argument named "${r}".`,{nodes:i.map(e=>e.name)}))}}function rS(e){let t=Object.create(null),n=e.getSchema();return{DirectiveDefinition(r){let i=r.name.value;if(null!=n&&n.getDirective(i)){e.reportError(new x(`Directive "@${i}" already exists in the schema. It cannot be redefined.`,{nodes:r.name}));return}return t[i]?e.reportError(new x(`There can be only one directive named "@${i}".`,{nodes:[t[i],r.name]})):t[i]=r.name,!1}}}function rA(e){let t=Object.create(null),n=e.getSchema();for(let e of n?n.getDirectives():t8)t[e.name]=!e.isRepeatable;for(let n of e.getDocument().definitions)n.kind===o.DIRECTIVE_DEFINITION&&(t[n.name.value]=!n.repeatable);let r=Object.create(null),i=Object.create(null);return{enter(n){let a;if("directives"in n&&n.directives){if(n.kind===o.SCHEMA_DEFINITION||n.kind===o.SCHEMA_EXTENSION)a=r;else if(nj(n)||n$(n)){let e=n.name.value;void 0===(a=i[e])&&(i[e]=a=Object.create(null))}else a=Object.create(null);for(let r of n.directives){let n=r.name.value;t[n]&&(a[n]?e.reportError(new x(`The directive "@${n}" can only be used once at this location.`,{nodes:[a[n],r]})):a[n]=r)}}}}}function rx(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{EnumTypeDefinition:i,EnumTypeExtension:i};function i(t){var i;let o=t.name.value;r[o]||(r[o]=Object.create(null));let a=null!==(i=t.values)&&void 0!==i?i:[],s=r[o];for(let t of a){let r=t.name.value,i=n[o];eZ(i)&&i.getValue(r)?e.reportError(new x(`Enum value "${o}.${r}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name})):s[r]?e.reportError(new x(`Enum value "${o}.${r}" can only be defined once.`,{nodes:[s[r],t.name]})):s[r]=t.name}return!1}}function rR(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{InputObjectTypeDefinition:i,InputObjectTypeExtension:i,InterfaceTypeDefinition:i,InterfaceTypeExtension:i,ObjectTypeDefinition:i,ObjectTypeExtension:i};function i(t){var i,o;let a=t.name.value;r[a]||(r[a]=Object.create(null));let s=null!==(i=t.fields)&&void 0!==i?i:[],u=r[a];for(let t of s){let r=t.name.value;(eQ(o=n[a])||ez(o)||e1(o))&&null!=o.getFields()[r]?e.reportError(new x(`Field "${a}.${r}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name})):u[r]?e.reportError(new x(`Field "${a}.${r}" can only be defined once.`,{nodes:[u[r],t.name]})):u[r]=t.name}return!1}}function rk(e){let t=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(n){let r=n.name.value;return t[r]?e.reportError(new x(`There can be only one fragment named "${r}".`,{nodes:[t[r],n.name]})):t[r]=n.name,!1}}}function rC(e){let t=[],n=Object.create(null);return{ObjectValue:{enter(){t.push(n),n=Object.create(null)},leave(){let e=t.pop();e||D(!1),n=e}},ObjectField(t){let r=t.name.value;n[r]?e.reportError(new x(`There can be only one input field named "${r}".`,{nodes:[n[r],t.name]})):n[r]=t.name}}}function rL(e){let t=Object.create(null);return{OperationDefinition(n){let r=n.name;return r&&(t[r.value]?e.reportError(new x(`There can be only one operation named "${r.value}".`,{nodes:[t[r.value],r]})):t[r.value]=r),!1},FragmentDefinition:()=>!1}}function rF(e){let t=e.getSchema(),n=Object.create(null),r=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:i,SchemaExtension:i};function i(t){var i;for(let o of null!==(i=t.operationTypes)&&void 0!==i?i:[]){let t=o.operation,i=n[t];r[t]?e.reportError(new x(`Type for ${t} already defined in the schema. It cannot be redefined.`,{nodes:o})):i?e.reportError(new x(`There can be only one ${t} type in schema.`,{nodes:[i,o]})):n[t]=o}return!1}}function rP(e){let t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:r,ObjectTypeDefinition:r,InterfaceTypeDefinition:r,UnionTypeDefinition:r,EnumTypeDefinition:r,InputObjectTypeDefinition:r};function r(r){let i=r.name.value;if(null!=n&&n.getType(i)){e.reportError(new x(`Type "${i}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:r.name}));return}return t[i]?e.reportError(new x(`There can be only one type named "${i}".`,{nodes:[t[i],r.name]})):t[i]=r.name,!1}}function rj(e){return{OperationDefinition(t){var n;for(let[r,i]of rO(null!==(n=t.variableDefinitions)&&void 0!==n?n:[],e=>e.variable.name.value))i.length>1&&e.reportError(new x(`There can be only one variable named "$${r}".`,{nodes:i.map(e=>e.variable.name)}))}}}function rM(e){let t={};return{OperationDefinition:{enter(){t={}}},VariableDefinition(e){t[e.variable.name.value]=e},ListValue(t){if(!e2(td(e.getParentInputType())))return r$(e,t),!1},ObjectValue(n){let r=tm(e.getInputType());if(!e1(r))return r$(e,n),!1;let i=ey(n.fields,e=>e.name.value);for(let t of Object.values(r.getFields()))if(!i[t.name]&&tP(t)){let i=er(t.type);e.reportError(new x(`Field "${r.name}.${t.name}" of required type "${i}" was not provided.`,{nodes:n}))}r.isOneOf&&function(e,t,n,r,i){var a;let s=Object.keys(r);if(1!==s.length){e.reportError(new x(`OneOf Input Object "${n.name}" must specify exactly one key.`,{nodes:[t]}));return}let u=null===(a=r[s[0]])||void 0===a?void 0:a.value,l=!u||u.kind===o.NULL,c=(null==u?void 0:u.kind)===o.VARIABLE;if(l){e.reportError(new x(`Field "${n.name}.${s[0]}" must be non-null.`,{nodes:[t]}));return}if(c){let r=u.name.value;i[r].type.kind!==o.NON_NULL_TYPE&&e.reportError(new x(`Variable "${r}" must be non-nullable to be used for OneOf Input Object "${n.name}".`,{nodes:[t]}))}}(e,n,r,i,t)},ObjectField(t){let n=tm(e.getParentInputType());if(!e.getInputType()&&e1(n)){let r=eT(t.name.value,Object.keys(n.getFields()));e.reportError(new x(`Field "${t.name.value}" is not defined by type "${n.name}".`+ed(r),{nodes:t}))}},NullValue(t){let n=e.getInputType();e8(n)&&e.reportError(new x(`Expected value of type "${er(n)}", found ${eC(t)}.`,{nodes:t}))},EnumValue:t=>r$(e,t),IntValue:t=>r$(e,t),FloatValue:t=>r$(e,t),StringValue:t=>r$(e,t),BooleanValue:t=>r$(e,t)}}function r$(e,t){let n=e.getInputType();if(!n)return;let r=tm(n);if(!tt(r)){let r=er(n);e.reportError(new x(`Expected value of type "${r}", found ${eC(t)}.`,{nodes:t}));return}try{let i=r.parseLiteral(t,void 0);if(void 0===i){let r=er(n);e.reportError(new x(`Expected value of type "${r}", found ${eC(t)}.`,{nodes:t}))}}catch(i){let r=er(n);i instanceof x?e.reportError(i):e.reportError(new x(`Expected value of type "${r}", found ${eC(t)}; `+i.message,{nodes:t,originalError:i}))}}function rU(e){return{VariableDefinition(t){let n=n_(e.getSchema(),t.type);if(void 0!==n&&!e6(n)){let n=t.variable.name.value,r=eC(t.type);e.reportError(new x(`Variable "$${n}" cannot be non-input type "${r}".`,{nodes:t.type}))}}}}function rq(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){for(let{node:i,type:a,defaultValue:s}of e.getRecursiveVariableUsages(n)){let n=i.name.value,u=t[n];if(u&&a){var r;let t=e.getSchema(),l=n_(t,u.type);if(l&&(r=u.defaultValue,e8(a)&&!e8(l)?!((null!=r&&r.kind!==o.NULL||void 0!==s)&&tM(t,l,a.ofType)):!tM(t,l,a))){let t=er(l),r=er(a);e.reportError(new x(`Variable "$${n}" of type "${t}" used in position expecting type "${r}".`,{nodes:[u,i]}))}}}}},VariableDefinition(e){t[e.variable.name.value]=e}}}let rV=Object.freeze([nX]),rB=Object.freeze([nU,rL,nz,rD,nQ,nV,rU,ru,nq,rk,nY,n0,rn,nK,rj,nZ,n1,nH,rA,nB,r_,rM,ro,rq,n2,rC,...rV]),rG=Object.freeze([nW,rF,rP,rx,rR,rI,rS,nQ,nH,rA,rr,nG,r_,rC,ra]);class rH{constructor(e,t){this._ast=e,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}get[Symbol.toStringTag](){return"ASTValidationContext"}reportError(e){this._onError(e)}getDocument(){return this._ast}getFragment(e){let t;if(this._fragments)t=this._fragments;else{for(let e of(t=Object.create(null),this.getDocument().definitions))e.kind===o.FRAGMENT_DEFINITION&&(t[e.name.value]=e);this._fragments=t}return t[e]}getFragmentSpreads(e){let t=this._fragmentSpreads.get(e);if(!t){let n;t=[];let r=[e];for(;n=r.pop();)for(let e of n.selections)e.kind===o.FRAGMENT_SPREAD?t.push(e):e.selectionSet&&r.push(e.selectionSet);this._fragmentSpreads.set(e,t)}return t}getRecursivelyReferencedFragments(e){let t=this._recursivelyReferencedFragments.get(e);if(!t){let n;t=[];let r=Object.create(null),i=[e.selectionSet];for(;n=i.pop();)for(let e of this.getFragmentSpreads(n)){let n=e.name.value;if(!0!==r[n]){r[n]=!0;let e=this.getFragment(n);e&&(t.push(e),i.push(e.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t}}class rY extends rH{constructor(e,t,n){super(e,n),this._schema=t}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}class rQ extends rH{constructor(e,t,n,r){super(t,r),this._schema=e,this._typeInfo=n,this._variableUsages=new Map,this._recursiveVariableUsages=new Map}get[Symbol.toStringTag](){return"ValidationContext"}getSchema(){return this._schema}getVariableUsages(e){let t=this._variableUsages.get(e);if(!t){let n=[],r=new nS(this._schema);eA(e,nx(r,{VariableDefinition:()=>!1,Variable(e){n.push({node:e,type:r.getInputType(),defaultValue:r.getDefaultValue()})}})),t=n,this._variableUsages.set(e,t)}return t}getRecursiveVariableUsages(e){let t=this._recursiveVariableUsages.get(e);if(!t){for(let n of(t=this.getVariableUsages(e),this.getRecursivelyReferencedFragments(e)))t=t.concat(this.getVariableUsages(n));this._recursiveVariableUsages.set(e,t)}return t}getType(){return this._typeInfo.getType()}getParentType(){return this._typeInfo.getParentType()}getInputType(){return this._typeInfo.getInputType()}getParentInputType(){return this._typeInfo.getParentInputType()}getFieldDef(){return this._typeInfo.getFieldDef()}getDirective(){return this._typeInfo.getDirective()}getArgument(){return this._typeInfo.getArgument()}getEnumValue(){return this._typeInfo.getEnumValue()}}function rJ(e,t,n=rB,r,i=new nS(e)){var o;let a=null!==(o=null==r?void 0:r.maxErrors)&&void 0!==o?o:100;t||T(!1,"Must provide document."),ng(e);let s=Object.freeze({}),u=[],l=new rQ(e,t,i,e=>{if(u.length>=a)throw u.push(new x("Too many validation errors, error limit reached. Validation aborted.")),s;u.push(e)}),c=ex(n.map(e=>e(l)));try{eA(t,nx(i,c))}catch(e){if(e!==s)throw e}return u}function rz(e,t,n=rG){let r=[],i=new rY(e,t,e=>{r.push(e)});return eA(e,ex(n.map(e=>e(i)))),r}function rW(e){return Promise.all(Object.values(e)).then(t=>{let n=Object.create(null);for(let[r,i]of Object.keys(e).entries())n[i]=t[r];return n})}class rX extends Error{constructor(e){super("Unexpected error value: "+er(e)),this.name="NonErrorThrown",this.thrownValue=e}}function rK(e,t,n){var r;let i=e instanceof Error?e:new rX(e);return Array.isArray(i.path)?i:new x(i.message,{nodes:null!==(r=i.nodes)&&void 0!==r?r:t,source:i.source,positions:i.positions,path:n,originalError:i})}let rZ=(y=(e,t,n)=>(function(e,t,n,r,i){let o=new Map,a=new Set;for(let s of i)s.selectionSet&&rT(e,t,n,r,s.selectionSet,o,a);return o})(e.schema,e.fragments,e.variableValues,t,n),function(e,t,n){void 0===g&&(g=new WeakMap);let r=g.get(e);void 0===r&&(r=new WeakMap,g.set(e,r));let i=r.get(t);void 0===i&&(i=new WeakMap,r.set(t,i));let o=i.get(n);return void 0===o&&(o=y(e,t,n),i.set(n,o)),o});function r0(e){arguments.length<2||T(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let{schema:t,document:n,variableValues:i,rootValue:o}=e;r2(t,n,i);let a=r5(e);if(!("schema"in a))return{errors:a};try{let{operation:e}=a,t=function(e,t,n){let i=e.schema.getRootType(t.operation);if(null==i)throw new x(`Schema is not configured to execute ${t.operation} operation.`,{nodes:t});let o=rE(e.schema,e.fragments,e.variableValues,i,t.selectionSet),a=void 0;switch(t.operation){case r.QUERY:return r8(e,i,n,a,o);case r.MUTATION:return function(e,t,n){let r=n;for(let n of e)r=w(r)?r.then(e=>t(e,n)):t(r,n);return r}(o.entries(),(t,[r,o])=>{let s=rc(a,r,i.name),u=r4(e,i,n,o,s);return void 0===u?t:w(u)?u.then(e=>(t[r]=e,t)):(t[r]=u,t)},Object.create(null));case r.SUBSCRIPTION:return r8(e,i,n,a,o)}}(a,e,o);if(w(t))return t.then(e=>r3(e,a.errors),e=>(a.errors.push(e),r3(null,a.errors)));return r3(t,a.errors)}catch(e){return a.errors.push(e),r3(null,a.errors)}}function r1(e){let t=r0(e);if(w(t))throw Error("GraphQL execution failed to complete synchronously.");return t}function r3(e,t){return 0===t.length?{data:e}:{errors:t,data:e}}function r2(e,t,n){t||T(!1,"Must provide document."),ng(e),null==n||N(n)||T(!1,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}function r5(e){var t,n;let r;let{schema:i,document:a,rootValue:s,contextValue:u,variableValues:l,operationName:c,fieldResolver:p,typeResolver:f,subscribeFieldResolver:d}=e,h=Object.create(null);for(let e of a.definitions)switch(e.kind){case o.OPERATION_DEFINITION:if(null==c){if(void 0!==r)return[new x("Must provide operation name if query contains multiple operations.")];r=e}else(null===(t=e.name)||void 0===t?void 0:t.value)===c&&(r=e);break;case o.FRAGMENT_DEFINITION:h[e.name.value]=e}if(!r)return null!=c?[new x(`Unknown operation named "${c}".`)]:[new x("Must provide an operation.")];let y=rm(i,null!==(n=r.variableDefinitions)&&void 0!==n?n:[],null!=l?l:{},{maxErrors:50});return y.errors?y.errors:{schema:i,fragments:h,rootValue:s,contextValue:u,operation:r,variableValues:y.coerced,fieldResolver:null!=p?p:io,typeResolver:null!=f?f:ii,subscribeFieldResolver:null!=d?d:io,errors:[]}}function r8(e,t,n,r,i){let o=Object.create(null),a=!1;try{for(let[s,u]of i.entries()){let i=rc(r,s,t.name),l=r4(e,t,n,u,i);void 0!==l&&(o[s]=l,w(l)&&(a=!0))}}catch(e){if(a)return rW(o).finally(()=>{throw e});throw e}return a?rW(o):o}function r4(e,t,n,r,i){var o;let a=ia(e.schema,t,r[0]);if(!a)return;let s=a.type,u=null!==(o=a.resolve)&&void 0!==o?o:e.fieldResolver,l=r6(e,a,r,t,i);try{let t;let o=rv(a,r[0],e.variableValues),c=e.contextValue,p=u(n,o,c,l);if(t=w(p)?p.then(t=>r9(e,s,r,l,i,t)):r9(e,s,r,l,i,p),w(t))return t.then(void 0,t=>{let n=rK(t,r,rp(i));return r7(n,s,e)});return t}catch(t){return r7(rK(t,r,rp(i)),s,e)}}function r6(e,t,n,r,i){return{fieldName:t.name,fieldNodes:n,returnType:t.type,parentType:r,path:i,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function r7(e,t,n){if(e8(t))throw e;return n.errors.push(e),null}function r9(e,t,n,r,i,o){if(o instanceof Error)throw o;if(e8(t)){let a=r9(e,t.ofType,n,r,i,o);if(null===a)throw Error(`Cannot return null for non-nullable field ${r.parentType.name}.${r.fieldName}.`);return a}return null==o?null:e2(t)?function(e,t,n,r,i,o){if(!t6(o))throw new x(`Expected Iterable, but did not find one for field "${r.parentType.name}.${r.fieldName}".`);let a=t.ofType,s=!1,u=Array.from(o,(t,o)=>{let u=rc(i,o,void 0);try{let i;if(i=w(t)?t.then(t=>r9(e,a,n,r,u,t)):r9(e,a,n,r,u,t),w(i))return s=!0,i.then(void 0,t=>{let r=rK(t,n,rp(u));return r7(r,a,e)});return i}catch(t){return r7(rK(t,n,rp(u)),a,e)}});return s?Promise.all(u):u}(e,t,n,r,i,o):tt(t)?function(e,t){let n=e.serialize(t);if(null==n)throw Error(`Expected \`${er(e)}.serialize(${er(t)})\` to return non-nullable value, returned: ${er(n)}`);return n}(t,o):to(t)?function(e,t,n,r,i,o){var a;let s=(null!==(a=t.resolveType)&&void 0!==a?a:e.typeResolver)(o,e.contextValue,r,t);return w(s)?s.then(a=>it(e,ie(a,e,t,n,r,o),n,r,i,o)):it(e,ie(s,e,t,n,r,o),n,r,i,o)}(e,t,n,r,i,o):eQ(t)?it(e,t,n,r,i,o):void D(!1,"Cannot complete value of unexpected output type: "+er(t))}function ie(e,t,n,r,i,o){if(null==e)throw new x(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${i.parentType.name}.${i.fieldName}". Either the "${n.name}" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.`,r);if(eQ(e))throw new x("Support for returning GraphQLObjectType from resolveType was removed in graphql-js@16.0.0 please return type name instead.");if("string"!=typeof e)throw new x(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${i.parentType.name}.${i.fieldName}" with value ${er(o)}, received "${er(e)}".`);let a=t.schema.getType(e);if(null==a)throw new x(`Abstract type "${n.name}" was resolved to a type "${e}" that does not exist inside the schema.`,{nodes:r});if(!eQ(a))throw new x(`Abstract type "${n.name}" was resolved to a non-object type "${e}".`,{nodes:r});if(!t.schema.isSubType(n,a))throw new x(`Runtime Object type "${a.name}" is not a possible type for "${n.name}".`,{nodes:r});return a}function it(e,t,n,r,i,o){let a=rZ(e,t,n);if(t.isTypeOf){let s=t.isTypeOf(o,e.contextValue,r);if(w(s))return s.then(r=>{if(!r)throw ir(t,o,n);return r8(e,t,o,i,a)});if(!s)throw ir(t,o,n)}return r8(e,t,o,i,a)}function ir(e,t,n){return new x(`Expected value of type "${e.name}" but got: ${er(t)}.`,{nodes:n})}let ii=function(e,t,n,r){if(N(e)&&"string"==typeof e.__typename)return e.__typename;let i=n.schema.getPossibleTypes(r),o=[];for(let r=0;r<i.length;r++){let a=i[r];if(a.isTypeOf){let i=a.isTypeOf(e,t,n);if(w(i))o[r]=i;else if(i)return a.name}}if(o.length)return Promise.all(o).then(e=>{for(let t=0;t<e.length;t++)if(e[t])return i[t].name})},io=function(e,t,n,r){if(N(e)||"function"==typeof e){let i=e[r.fieldName];return"function"==typeof i?e[r.fieldName](t,n,r):i}};function ia(e,t,n){let r=n.name.value;return r===nu.name&&e.getQueryType()===t?nu:r===nl.name&&e.getQueryType()===t?nl:r===nc.name?nc:t.getFields()[r]}function is(e){return new Promise(t=>t(il(e)))}function iu(e){let t=il(e);if(w(t))throw Error("GraphQL execution failed to complete synchronously.");return t}function il(e){let t;arguments.length<2||T(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let{schema:n,source:r,rootValue:i,contextValue:o,variableValues:a,operationName:s,fieldResolver:u,typeResolver:l}=e,c=nv(n);if(c.length>0)return{errors:c};try{t=ea(r)}catch(e){return{errors:[e]}}let p=rJ(n,t);return p.length>0?{errors:p}:r0({schema:n,document:t,rootValue:i,contextValue:o,variableValues:a,operationName:s,fieldResolver:u,typeResolver:l})}function ic(e){return"function"==typeof(null==e?void 0:e[Symbol.asyncIterator])}async function ip(e){arguments.length<2||T(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let t=await id(e);return ic(t)?function(e,t){let n=e[Symbol.asyncIterator]();async function r(e){if(e.done)return e;try{return{value:await t(e.value),done:!1}}catch(e){if("function"==typeof n.return)try{await n.return()}catch(e){}throw e}}return{next:async()=>r(await n.next()),return:async()=>"function"==typeof n.return?r(await n.return()):{value:void 0,done:!0},async throw(e){if("function"==typeof n.throw)return r(await n.throw(e));throw e},[Symbol.asyncIterator](){return this}}}(t,t=>r0({...e,rootValue:t})):t}async function id(...e){let t=function(e){let t=e[0];return t&&"document"in t?t:{schema:t,document:e[1],rootValue:e[2],contextValue:e[3],variableValues:e[4],operationName:e[5],subscribeFieldResolver:e[6]}}(e),{schema:n,document:r,variableValues:i}=t;r2(n,r,i);let o=r5(t);if(!("schema"in o))return{errors:o};try{let e=await ih(o);if(!ic(e))throw Error(`Subscription field must return Async Iterable. Received: ${er(e)}.`);return e}catch(e){if(e instanceof x)return{errors:[e]};throw e}}async function ih(e){let{schema:t,fragments:n,operation:r,variableValues:i,rootValue:o}=e,a=t.getSubscriptionType();if(null==a)throw new x("Schema is not configured to execute subscription operation.",{nodes:r});let[s,u]=[...rE(t,n,i,a,r.selectionSet).entries()][0],l=ia(t,a,u[0]);if(!l){let e=u[0].name.value;throw new x(`The subscription field "${e}" is not defined.`,{nodes:u})}let c=rc(void 0,s,a.name),p=r6(e,l,u,a,c);try{var f;let t=rv(l,u[0],i),n=e.contextValue,r=null!==(f=l.subscribe)&&void 0!==f?f:e.subscribeFieldResolver,a=await r(o,t,n,p);if(a instanceof Error)throw a;return a}catch(e){throw rK(e,u,rp(c))}}function iy(e){return{Field(t){let n=e.getFieldDef(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){let i=e.getParentType();null!=i||D(!1),e.reportError(new x(`The field ${i.name}.${n.name} is deprecated. ${r}`,{nodes:t}))}},Argument(t){let n=e.getArgument(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){let i=e.getDirective();if(null!=i)e.reportError(new x(`Directive "@${i.name}" argument "${n.name}" is deprecated. ${r}`,{nodes:t}));else{let i=e.getParentType(),o=e.getFieldDef();null!=i&&null!=o||D(!1),e.reportError(new x(`Field "${i.name}.${o.name}" argument "${n.name}" is deprecated. ${r}`,{nodes:t}))}}},ObjectField(t){let n=tm(e.getParentInputType());if(e1(n)){let r=n.getFields()[t.name.value],i=null==r?void 0:r.deprecationReason;null!=i&&e.reportError(new x(`The input field ${n.name}.${r.name} is deprecated. ${i}`,{nodes:t}))}},EnumValue(t){let n=e.getEnumValue(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){let i=tm(e.getInputType());null!=i||D(!1),e.reportError(new x(`The enum value "${i.name}.${n.name}" is deprecated. ${r}`,{nodes:t}))}}}}function im(e){return{Field(t){let n=tm(e.getType());n&&nf(n)&&e.reportError(new x(`GraphQL introspection has been disabled, but the requested query contained the field "${t.name.value}".`,{nodes:t}))}}}function iv(e){let t={descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1,oneOf:!1,...e},n=t.descriptions?"description":"",r=t.specifiedByUrl?"specifiedByURL":"",i=t.directiveIsRepeatable?"isRepeatable":"",o=t.schemaDescription?n:"";function a(e){return t.inputValueDeprecation?e:""}let s=t.oneOf?"isOneOf":"";return`
|
|
57
|
+
query IntrospectionQuery {
|
|
58
|
+
__schema {
|
|
59
|
+
${o}
|
|
60
|
+
queryType { name kind }
|
|
61
|
+
mutationType { name kind }
|
|
62
|
+
subscriptionType { name kind }
|
|
63
|
+
types {
|
|
64
|
+
...FullType
|
|
65
|
+
}
|
|
66
|
+
directives {
|
|
67
|
+
name
|
|
68
|
+
${n}
|
|
69
|
+
${i}
|
|
70
|
+
locations
|
|
71
|
+
args${a("(includeDeprecated: true)")} {
|
|
72
|
+
...InputValue
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
fragment FullType on __Type {
|
|
79
|
+
kind
|
|
80
|
+
name
|
|
81
|
+
${n}
|
|
82
|
+
${r}
|
|
83
|
+
${s}
|
|
84
|
+
fields(includeDeprecated: true) {
|
|
85
|
+
name
|
|
86
|
+
${n}
|
|
87
|
+
args${a("(includeDeprecated: true)")} {
|
|
88
|
+
...InputValue
|
|
89
|
+
}
|
|
90
|
+
type {
|
|
91
|
+
...TypeRef
|
|
92
|
+
}
|
|
93
|
+
isDeprecated
|
|
94
|
+
deprecationReason
|
|
95
|
+
}
|
|
96
|
+
inputFields${a("(includeDeprecated: true)")} {
|
|
97
|
+
...InputValue
|
|
98
|
+
}
|
|
99
|
+
interfaces {
|
|
100
|
+
...TypeRef
|
|
101
|
+
}
|
|
102
|
+
enumValues(includeDeprecated: true) {
|
|
103
|
+
name
|
|
104
|
+
${n}
|
|
105
|
+
isDeprecated
|
|
106
|
+
deprecationReason
|
|
107
|
+
}
|
|
108
|
+
possibleTypes {
|
|
109
|
+
...TypeRef
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
fragment InputValue on __InputValue {
|
|
114
|
+
name
|
|
115
|
+
${n}
|
|
116
|
+
type { ...TypeRef }
|
|
117
|
+
defaultValue
|
|
118
|
+
${a("isDeprecated")}
|
|
119
|
+
${a("deprecationReason")}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
fragment TypeRef on __Type {
|
|
123
|
+
kind
|
|
124
|
+
name
|
|
125
|
+
ofType {
|
|
126
|
+
kind
|
|
127
|
+
name
|
|
128
|
+
ofType {
|
|
129
|
+
kind
|
|
130
|
+
name
|
|
131
|
+
ofType {
|
|
132
|
+
kind
|
|
133
|
+
name
|
|
134
|
+
ofType {
|
|
135
|
+
kind
|
|
136
|
+
name
|
|
137
|
+
ofType {
|
|
138
|
+
kind
|
|
139
|
+
name
|
|
140
|
+
ofType {
|
|
141
|
+
kind
|
|
142
|
+
name
|
|
143
|
+
ofType {
|
|
144
|
+
kind
|
|
145
|
+
name
|
|
146
|
+
ofType {
|
|
147
|
+
kind
|
|
148
|
+
name
|
|
149
|
+
ofType {
|
|
150
|
+
kind
|
|
151
|
+
name
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
`}function ig(e,t){let n=null;for(let i of e.definitions)if(i.kind===o.OPERATION_DEFINITION){var r;if(null==t){if(n)return null;n=i}else if((null===(r=i.name)||void 0===r?void 0:r.value)===t)return i}return n}function ib(e,t){if("query"===t.operation){let n=e.getQueryType();if(!n)throw new x("Schema does not define the required query root type.",{nodes:t});return n}if("mutation"===t.operation){let n=e.getMutationType();if(!n)throw new x("Schema is not configured for mutations.",{nodes:t});return n}if("subscription"===t.operation){let n=e.getSubscriptionType();if(!n)throw new x("Schema is not configured for subscriptions.",{nodes:t});return n}throw new x("Can only have query, mutation and subscription operations.",{nodes:t})}function iE(e,t){let n=r1({schema:e,document:ea(iv({specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0,oneOf:!0,...t}))});return!n.errors&&n.data||D(!1),n.data}function iT(e,t){N(e)&&N(e.__schema)||T(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${er(e)}.`);let n=e.__schema,r=em(n.types,e=>e.name,e=>(function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case s.SCALAR:return new tb({name:e.name,description:e.description,specifiedByURL:e.specifiedByURL});case s.OBJECT:return new tE({name:e.name,description:e.description,interfaces:()=>d(e),fields:()=>h(e)});case s.INTERFACE:return new tS({name:e.name,description:e.description,interfaces:()=>d(e),fields:()=>h(e)});case s.UNION:return function(e){if(!e.possibleTypes){let t=er(e);throw Error(`Introspection result missing possibleTypes: ${t}.`)}return new tA({name:e.name,description:e.description,types:()=>e.possibleTypes.map(p)})}(e);case s.ENUM:return function(e){if(!e.enumValues){let t=er(e);throw Error(`Introspection result missing enumValues: ${t}.`)}return new tR({name:e.name,description:e.description,values:em(e.enumValues,e=>e.name,e=>({description:e.description,deprecationReason:e.deprecationReason}))})}(e);case s.INPUT_OBJECT:return function(e){if(!e.inputFields){let t=er(e);throw Error(`Introspection result missing inputFields: ${t}.`)}return new tL({name:e.name,description:e.description,fields:()=>m(e.inputFields),isOneOf:e.isOneOf})}(e)}let t=er(e);throw Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${t}.`)})(e));for(let e of[...tQ,...np])r[e.name]&&(r[e.name]=e);let i=n.queryType?p(n.queryType):null,o=n.mutationType?p(n.mutationType):null,a=n.subscriptionType?p(n.subscriptionType):null,u=n.directives?n.directives.map(function(e){if(!e.args){let t=er(e);throw Error(`Introspection result missing directive args: ${t}.`)}if(!e.locations){let t=er(e);throw Error(`Introspection result missing directive locations: ${t}.`)}return new tK({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:m(e.args)})}):[];return new ny({description:n.description,query:i,mutation:o,subscription:a,types:Object.values(r),directives:u,assumeValid:null==t?void 0:t.assumeValid});function l(e){if(e.kind===s.LIST){let t=e.ofType;if(!t)throw Error("Decorated type deeper than introspection query.");return new ts(l(t))}if(e.kind===s.NON_NULL){let t=e.ofType;if(!t)throw Error("Decorated type deeper than introspection query.");return new tu(tf(l(t)))}return c(e)}function c(e){let t=e.name;if(!t)throw Error(`Unknown type reference: ${er(e)}.`);let n=r[t];if(!n)throw Error(`Invalid or incomplete schema, unknown type: ${t}. Ensure that a full introspection query is used in order to build a client schema.`);return n}function p(e){return eJ(c(e))}function f(e){return eW(c(e))}function d(e){if(null===e.interfaces&&e.kind===s.INTERFACE)return[];if(!e.interfaces){let t=er(e);throw Error(`Introspection result missing interfaces: ${t}.`)}return e.interfaces.map(f)}function h(e){if(!e.fields)throw Error(`Introspection result missing fields: ${er(e)}.`);return em(e.fields,e=>e.name,y)}function y(e){let t=l(e.type);if(!e9(t)){let e=er(t);throw Error(`Introspection must provide output type for fields, but received: ${e}.`)}if(!e.args){let t=er(e);throw Error(`Introspection result missing field args: ${t}.`)}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:m(e.args)}}function m(e){return em(e,e=>e.name,v)}function v(e){let t=l(e.type);if(!e6(t)){let e=er(t);throw Error(`Introspection must provide input type for arguments, but received: ${e}.`)}let n=null!=e.defaultValue?rh(es(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:n,deprecationReason:e.deprecationReason}}}function iw(e,t,n){nh(e),null!=t&&t.kind===o.DOCUMENT||T(!1,"Must provide valid Document AST."),(null==n?void 0:n.assumeValid)!==!0&&(null==n?void 0:n.assumeValidSDL)!==!0&&function(e,t){let n=rz(e,t);if(0!==n.length)throw Error(n.map(e=>e.message).join("\n\n"))}(t,e);let r=e.toConfig(),i=iN(r,t,n);return r===i?e:new ny(i)}function iN(e,t,n){var r,i,a,s,u;let l;let c=[],p=Object.create(null),f=[],d=[];for(let e of t.definitions)if(e.kind===o.SCHEMA_DEFINITION)l=e;else if(e.kind===o.SCHEMA_EXTENSION)d.push(e);else if(nj(e))c.push(e);else if(n$(e)){let t=e.name.value,n=p[t];p[t]=n?n.concat([e]):[e]}else e.kind===o.DIRECTIVE_DEFINITION&&f.push(e);if(0===Object.keys(p).length&&0===c.length&&0===f.length&&0===d.length&&null==l)return e;let h=Object.create(null);for(let t of e.types)h[t.name]=nf(t)||tJ(t)?t:eH(t)?function(e){var t,n;let r=e.toConfig(),i=null!==(t=p[r.name])&&void 0!==t?t:[],o=r.specifiedByURL;for(let e of i)o=null!==(n=iI(e))&&void 0!==n?n:o;return new tb({...r,specifiedByURL:o,extensionASTNodes:r.extensionASTNodes.concat(i)})}(t):eQ(t)?function(e){var t;let n=e.toConfig(),r=null!==(t=p[n.name])&&void 0!==t?t:[];return new tE({...n,interfaces:()=>[...e.getInterfaces().map(v),...S(r)],fields:()=>({...ev(n.fields,g),...N(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(t):ez(t)?function(e){var t;let n=e.toConfig(),r=null!==(t=p[n.name])&&void 0!==t?t:[];return new tS({...n,interfaces:()=>[...e.getInterfaces().map(v),...S(r)],fields:()=>({...ev(n.fields,g),...N(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(t):eX(t)?function(e){var t;let n=e.toConfig(),r=null!==(t=p[n.name])&&void 0!==t?t:[];return new tA({...n,types:()=>[...e.getTypes().map(v),...A(r)],extensionASTNodes:n.extensionASTNodes.concat(r)})}(t):eZ(t)?function(e){var t;let n=e.toConfig(),r=null!==(t=p[e.name])&&void 0!==t?t:[];return new tR({...n,values:{...n.values,..._(r)},extensionASTNodes:n.extensionASTNodes.concat(r)})}(t):e1(t)?function(e){var t;let n=e.toConfig(),r=null!==(t=p[n.name])&&void 0!==t?t:[];return new tL({...n,fields:()=>({...ev(n.fields,e=>({...e,type:m(e.type)})),...I(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(t):void D(!1,"Unexpected type: "+er(t));for(let e of c){let t=e.name.value;h[t]=null!==(u=iD[t])&&void 0!==u?u:function(e){var t,n,r,i,a,s,u;let l=e.name.value,c=null!==(t=p[l])&&void 0!==t?t:[];switch(e.kind){case o.OBJECT_TYPE_DEFINITION:{let t=[e,...c];return new tE({name:l,description:null===(n=e.description)||void 0===n?void 0:n.value,interfaces:()=>S(t),fields:()=>N(t),astNode:e,extensionASTNodes:c})}case o.INTERFACE_TYPE_DEFINITION:{let t=[e,...c];return new tS({name:l,description:null===(r=e.description)||void 0===r?void 0:r.value,interfaces:()=>S(t),fields:()=>N(t),astNode:e,extensionASTNodes:c})}case o.ENUM_TYPE_DEFINITION:{let t=[e,...c];return new tR({name:l,description:null===(i=e.description)||void 0===i?void 0:i.value,values:_(t),astNode:e,extensionASTNodes:c})}case o.UNION_TYPE_DEFINITION:{let t=[e,...c];return new tA({name:l,description:null===(a=e.description)||void 0===a?void 0:a.value,types:()=>A(t),astNode:e,extensionASTNodes:c})}case o.SCALAR_TYPE_DEFINITION:return new tb({name:l,description:null===(s=e.description)||void 0===s?void 0:s.value,specifiedByURL:iI(e),astNode:e,extensionASTNodes:c});case o.INPUT_OBJECT_TYPE_DEFINITION:{let t=[e,...c];return new tL({name:l,description:null===(u=e.description)||void 0===u?void 0:u.value,fields:()=>I(t),astNode:e,extensionASTNodes:c,isOneOf:!!rg(t5,e)})}}}(e)}let y={query:e.query&&v(e.query),mutation:e.mutation&&v(e.mutation),subscription:e.subscription&&v(e.subscription),...l&&E([l]),...E(d)};return{description:null===(r=l)||void 0===r?void 0:null===(i=r.description)||void 0===i?void 0:i.value,...y,types:Object.values(h),directives:[...e.directives.map(function(e){let t=e.toConfig();return new tK({...t,args:ev(t.args,b)})}),...f.map(function(e){var t;return new tK({name:e.name.value,description:null===(t=e.description)||void 0===t?void 0:t.value,locations:e.locations.map(({value:e})=>e),isRepeatable:e.repeatable,args:O(e.arguments),astNode:e})})],extensions:Object.create(null),astNode:null!==(a=l)&&void 0!==a?a:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(d),assumeValid:null!==(s=null==n?void 0:n.assumeValid)&&void 0!==s&&s};function m(e){return e2(e)?new ts(m(e.ofType)):e8(e)?new tu(m(e.ofType)):v(e)}function v(e){return h[e.name]}function g(e){return{...e,type:m(e.type),args:e.args&&ev(e.args,b)}}function b(e){return{...e,type:m(e.type)}}function E(e){let t={};for(let r of e){var n;for(let e of null!==(n=r.operationTypes)&&void 0!==n?n:[])t[e.operation]=T(e.type)}return t}function T(e){var t;let n=e.name.value,r=null!==(t=iD[n])&&void 0!==t?t:h[n];if(void 0===r)throw Error(`Unknown type: "${n}".`);return r}function w(e){return e.kind===o.LIST_TYPE?new ts(w(e.type)):e.kind===o.NON_NULL_TYPE?new tu(w(e.type)):T(e)}function N(e){let t=Object.create(null);for(let i of e){var n,r;for(let e of null!==(n=i.fields)&&void 0!==n?n:[])t[e.name.value]={type:w(e.type),description:null===(r=e.description)||void 0===r?void 0:r.value,args:O(e.arguments),deprecationReason:iO(e),astNode:e}}return t}function O(e){let t=Object.create(null);for(let r of null!=e?e:[]){var n;let e=w(r.type);t[r.name.value]={type:e,description:null===(n=r.description)||void 0===n?void 0:n.value,defaultValue:rh(r.defaultValue,e),deprecationReason:iO(r),astNode:r}}return t}function I(e){let t=Object.create(null);for(let i of e){var n,r;for(let e of null!==(n=i.fields)&&void 0!==n?n:[]){let n=w(e.type);t[e.name.value]={type:n,description:null===(r=e.description)||void 0===r?void 0:r.value,defaultValue:rh(e.defaultValue,n),deprecationReason:iO(e),astNode:e}}}return t}function _(e){let t=Object.create(null);for(let i of e){var n,r;for(let e of null!==(n=i.values)&&void 0!==n?n:[])t[e.name.value]={description:null===(r=e.description)||void 0===r?void 0:r.value,deprecationReason:iO(e),astNode:e}}return t}function S(e){return e.flatMap(e=>{var t,n;return null!==(t=null===(n=e.interfaces)||void 0===n?void 0:n.map(T))&&void 0!==t?t:[]})}function A(e){return e.flatMap(e=>{var t,n;return null!==(t=null===(n=e.types)||void 0===n?void 0:n.map(T))&&void 0!==t?t:[]})}}let iD=ey([...tQ,...np],e=>e.name);function iO(e){let t=rg(t3,e);return null==t?void 0:t.reason}function iI(e){let t=rg(t2,e);return null==t?void 0:t.url}function i_(e,t){null!=e&&e.kind===o.DOCUMENT||T(!1,"Must provide valid Document AST."),(null==t?void 0:t.assumeValid)!==!0&&(null==t?void 0:t.assumeValidSDL)!==!0&&function(e){let t=rz(e);if(0!==t.length)throw Error(t.map(e=>e.message).join("\n\n"))}(e);let n=iN({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},e,t);if(null==n.astNode)for(let e of n.types)switch(e.name){case"Query":n.query=e;break;case"Mutation":n.mutation=e;break;case"Subscription":n.subscription=e}let r=[...n.directives,...t8.filter(e=>n.directives.every(t=>t.name!==e.name))];return new ny({...n,directives:r})}function iS(e,t){return i_(ea(e,{noLocation:null==t?void 0:t.noLocation,allowLegacyFragmentVariables:null==t?void 0:t.allowLegacyFragmentVariables}),{assumeValidSDL:null==t?void 0:t.assumeValidSDL,assumeValid:null==t?void 0:t.assumeValid})}function iA(e){var t,n,r;let i=e.toConfig(),o=em(iR(i.types),e=>e.name,function(e){if(eH(e)||nf(e))return e;if(eQ(e)){let t=e.toConfig();return new tE({...t,interfaces:()=>c(t.interfaces),fields:()=>l(t.fields)})}if(ez(e)){let t=e.toConfig();return new tS({...t,interfaces:()=>c(t.interfaces),fields:()=>l(t.fields)})}if(eX(e)){let t=e.toConfig();return new tA({...t,types:()=>c(t.types)})}if(eZ(e)){let t=e.toConfig();return new tR({...t,values:ix(t.values,e=>e)})}if(e1(e)){let t=e.toConfig();return new tL({...t,fields:()=>ix(t.fields,e=>({...e,type:a(e.type)}))})}D(!1,"Unexpected type: "+er(e))});return new ny({...i,types:Object.values(o),directives:iR(i.directives).map(function(e){let t=e.toConfig();return new tK({...t,locations:ik(t.locations,e=>e),args:u(t.args)})}),query:(t=i.query)&&s(t),mutation:(n=i.mutation)&&s(n),subscription:(r=i.subscription)&&s(r)});function a(e){return e2(e)?new ts(a(e.ofType)):e8(e)?new tu(a(e.ofType)):s(e)}function s(e){return o[e.name]}function u(e){return ix(e,e=>({...e,type:a(e.type)}))}function l(e){return ix(e,e=>({...e,type:a(e.type),args:e.args&&u(e.args)}))}function c(e){return iR(e).map(s)}}function ix(e,t){let n=Object.create(null);for(let r of Object.keys(e).sort(eg))n[r]=t(e[r]);return n}function iR(e){return ik(e,e=>e.name)}function ik(e,t){return e.slice().sort((e,n)=>eg(t(e),t(n)))}function iC(e){return iP(e,e=>!t4(e),iF)}function iL(e){return iP(e,t4,nf)}function iF(e){return!tJ(e)&&!nf(e)}function iP(e,t,n){let r=e.getDirectives().filter(t),i=Object.values(e.getTypeMap()).filter(n);return[function(e){if(null==e.description&&function(e){let t=e.getQueryType();if(t&&"Query"!==t.name)return!1;let n=e.getMutationType();if(n&&"Mutation"!==n.name)return!1;let r=e.getSubscriptionType();return!r||"Subscription"===r.name}(e))return;let t=[],n=e.getQueryType();n&&t.push(` query: ${n.name}`);let r=e.getMutationType();r&&t.push(` mutation: ${r.name}`);let i=e.getSubscriptionType();return i&&t.push(` subscription: ${i.name}`),iG(e)+`schema {
|
|
163
|
+
${t.join("\n")}
|
|
164
|
+
}`}(e),...r.map(e=>iG(e)+"directive @"+e.name+iq(e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")),...i.map(e=>ij(e))].filter(Boolean).join("\n\n")}function ij(e){return eH(e)?iG(e)+`scalar ${e.name}`+function(e){if(null==e.specifiedByURL)return"";let t=eC({kind:o.STRING,value:e.specifiedByURL});return` @specifiedBy(url: ${t})`}(e):eQ(e)?iG(e)+`type ${e.name}`+iM(e)+i$(e):ez(e)?iG(e)+`interface ${e.name}`+iM(e)+i$(e):eX(e)?function(e){let t=e.getTypes(),n=t.length?" = "+t.join(" | "):"";return iG(e)+"union "+e.name+n}(e):eZ(e)?function(e){let t=e.getValues().map((e,t)=>iG(e," ",!t)+" "+e.name+iB(e.deprecationReason));return iG(e)+`enum ${e.name}`+iU(t)}(e):e1(e)?function(e){let t=Object.values(e.getFields()).map((e,t)=>iG(e," ",!t)+" "+iV(e));return iG(e)+`input ${e.name}`+(e.isOneOf?" @oneOf":"")+iU(t)}(e):void D(!1,"Unexpected type: "+er(e))}function iM(e){let t=e.getInterfaces();return t.length?" implements "+t.map(e=>e.name).join(" & "):""}function i$(e){return iU(Object.values(e.getFields()).map((e,t)=>iG(e," ",!t)+" "+e.name+iq(e.args," ")+": "+String(e.type)+iB(e.deprecationReason)))}function iU(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function iq(e,t=""){return 0===e.length?"":e.every(e=>!e.description)?"("+e.map(iV).join(", ")+")":"(\n"+e.map((e,n)=>iG(e," "+t,!n)+" "+t+iV(e)).join("\n")+"\n"+t+")"}function iV(e){let t=t7(e.defaultValue,e.type),n=e.name+": "+String(e.type);return t&&(n+=` = ${eC(t)}`),n+iB(e.deprecationReason)}function iB(e){if(null==e)return"";if(e!==t1){let t=eC({kind:o.STRING,value:e});return` @deprecated(reason: ${t})`}return" @deprecated"}function iG(e,t="",n=!0){let{description:r}=e;return null==r?"":(t&&!n?"\n"+t:t)+eC({kind:o.STRING,value:r,block:function(e){if(""===e)return!0;let t=!0,n=!1,r=!0,i=!1;for(let o=0;o<e.length;++o)switch(e.codePointAt(o)){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 11:case 12:case 14:case 15:case 13:return!1;case 10:if(t&&!i)return!1;i=!0,t=!0,n=!1;break;case 9:case 32:n||(n=t);break;default:r&&(r=n),t=!1}return!t&&(!r||!i)}(r)}).replace(/\n/g,"\n"+t)+"\n"}function iH(e){let t=[];for(let n of e)t.push(...n.definitions);return{kind:o.DOCUMENT,definitions:t}}function iY(e){let t=[],n=Object.create(null);for(let r of e.definitions)switch(r.kind){case o.OPERATION_DEFINITION:t.push(r);break;case o.FRAGMENT_DEFINITION:n[r.name.value]=iQ(r.selectionSet)}let r=Object.create(null);for(let i of t){let t=new Set;for(let e of iQ(i.selectionSet))!function e(t,n,r){if(!t.has(r)){t.add(r);let i=n[r];if(void 0!==i)for(let r of i)e(t,n,r)}}(t,n,e);r[i.name?i.name.value:""]={kind:o.DOCUMENT,definitions:e.definitions.filter(e=>e===i||e.kind===o.FRAGMENT_DEFINITION&&t.has(e.name.value))}}return r}function iQ(e){let t=[];return eA(e,{FragmentSpread(e){t.push(e.name.value)}}),t}function iJ(e){let t=ei(e,eo)?e:new eo(e),n=t.body,r=new Y(t),i="",o=!1;for(;r.advance().kind!==a.EOF;){let e=r.token,t=e.kind,s=!Q(e.kind);o&&(s||e.kind===a.SPREAD)&&(i+=" ");let u=n.slice(e.start,e.end);t===a.BLOCK_STRING?i+=H(e.value,{minimize:!0}):i+=u,o=s}return i}function iz(e){let t=iW(e);if(t)throw t;return e}function iW(e){if("string"==typeof e||T(!1,"Expected name to be a string."),e.startsWith("__"))return new x(`Name "${e}" must not begin with "__", which is reserved by GraphQL introspection.`);try{eq(e)}catch(e){return e}}function iX(e,t){return iZ(e,t).filter(e=>e.type in u)}function iK(e,t){return iZ(e,t).filter(e=>e.type in l)}function iZ(e,t){return[...function(e,t){let n=[],r=i8(Object.values(e.getTypeMap()),Object.values(t.getTypeMap()));for(let e of r.removed)n.push({type:u.TYPE_REMOVED,description:tJ(e)?`Standard scalar ${e.name} was removed because it is not referenced anymore.`:`${e.name} was removed.`});for(let[e,t]of r.persisted)eZ(e)&&eZ(t)?n.push(...function(e,t){let n=[],r=i8(e.getValues(),t.getValues());for(let t of r.added)n.push({type:l.VALUE_ADDED_TO_ENUM,description:`${t.name} was added to enum type ${e.name}.`});for(let t of r.removed)n.push({type:u.VALUE_REMOVED_FROM_ENUM,description:`${t.name} was removed from enum type ${e.name}.`});return n}(e,t)):eX(e)&&eX(t)?n.push(...function(e,t){let n=[],r=i8(e.getTypes(),t.getTypes());for(let t of r.added)n.push({type:l.TYPE_ADDED_TO_UNION,description:`${t.name} was added to union type ${e.name}.`});for(let t of r.removed)n.push({type:u.TYPE_REMOVED_FROM_UNION,description:`${t.name} was removed from union type ${e.name}.`});return n}(e,t)):e1(e)&&e1(t)?n.push(...function(e,t){let n=[],r=i8(Object.values(e.getFields()),Object.values(t.getFields()));for(let t of r.added)tP(t)?n.push({type:u.REQUIRED_INPUT_FIELD_ADDED,description:`A required field ${t.name} on input type ${e.name} was added.`}):n.push({type:l.OPTIONAL_INPUT_FIELD_ADDED,description:`An optional field ${t.name} on input type ${e.name} was added.`});for(let t of r.removed)n.push({type:u.FIELD_REMOVED,description:`${e.name}.${t.name} was removed.`});for(let[t,i]of r.persisted)i3(t.type,i.type)||n.push({type:u.FIELD_CHANGED_KIND,description:`${e.name}.${t.name} changed type from ${String(t.type)} to ${String(i.type)}.`});return n}(e,t)):eQ(e)&&eQ(t)?n.push(...i1(e,t),...i0(e,t)):ez(e)&&ez(t)?n.push(...i1(e,t),...i0(e,t)):e.constructor!==t.constructor&&n.push({type:u.TYPE_CHANGED_KIND,description:`${e.name} changed from ${i2(e)} to ${i2(t)}.`});return n}(e,t),...function(e,t){let n=[],r=i8(e.getDirectives(),t.getDirectives());for(let e of r.removed)n.push({type:u.DIRECTIVE_REMOVED,description:`${e.name} was removed.`});for(let[e,t]of r.persisted){let r=i8(e.args,t.args);for(let t of r.added)t_(t)&&n.push({type:u.REQUIRED_DIRECTIVE_ARG_ADDED,description:`A required arg ${t.name} on directive ${e.name} was added.`});for(let t of r.removed)n.push({type:u.DIRECTIVE_ARG_REMOVED,description:`${t.name} was removed from ${e.name}.`});for(let r of(e.isRepeatable&&!t.isRepeatable&&n.push({type:u.DIRECTIVE_REPEATABLE_REMOVED,description:`Repeatable flag was removed from ${e.name}.`}),e.locations))t.locations.includes(r)||n.push({type:u.DIRECTIVE_LOCATION_REMOVED,description:`${r} was removed from ${e.name}.`})}return n}(e,t)]}function i0(e,t){let n=[],r=i8(e.getInterfaces(),t.getInterfaces());for(let t of r.added)n.push({type:l.IMPLEMENTED_INTERFACE_ADDED,description:`${t.name} added to interfaces implemented by ${e.name}.`});for(let t of r.removed)n.push({type:u.IMPLEMENTED_INTERFACE_REMOVED,description:`${e.name} no longer implements interface ${t.name}.`});return n}function i1(e,t){let n=[],r=i8(Object.values(e.getFields()),Object.values(t.getFields()));for(let t of r.removed)n.push({type:u.FIELD_REMOVED,description:`${e.name}.${t.name} was removed.`});for(let[t,i]of r.persisted)n.push(...function(e,t,n){let r=[],i=i8(t.args,n.args);for(let n of i.removed)r.push({type:u.ARG_REMOVED,description:`${e.name}.${t.name} arg ${n.name} was removed.`});for(let[n,o]of i.persisted)if(i3(n.type,o.type)){if(void 0!==n.defaultValue){if(void 0===o.defaultValue)r.push({type:l.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${t.name} arg ${n.name} defaultValue was removed.`});else{let i=i5(n.defaultValue,n.type),a=i5(o.defaultValue,o.type);i!==a&&r.push({type:l.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${t.name} arg ${n.name} has changed defaultValue from ${i} to ${a}.`})}}}else r.push({type:u.ARG_CHANGED_KIND,description:`${e.name}.${t.name} arg ${n.name} has changed type from ${String(n.type)} to ${String(o.type)}.`});for(let n of i.added)t_(n)?r.push({type:u.REQUIRED_ARG_ADDED,description:`A required arg ${n.name} on ${e.name}.${t.name} was added.`}):r.push({type:l.OPTIONAL_ARG_ADDED,description:`An optional arg ${n.name} on ${e.name}.${t.name} was added.`});return r}(e,t,i)),!function e(t,n){return e2(t)?e2(n)&&e(t.ofType,n.ofType)||e8(n)&&e(t,n.ofType):e8(t)?e8(n)&&e(t.ofType,n.ofType):th(n)&&t.name===n.name||e8(n)&&e(t,n.ofType)}(t.type,i.type)&&n.push({type:u.FIELD_CHANGED_KIND,description:`${e.name}.${t.name} changed type from ${String(t.type)} to ${String(i.type)}.`});return n}function i3(e,t){return e2(e)?e2(t)&&i3(e.ofType,t.ofType):e8(e)?e8(t)&&i3(e.ofType,t.ofType)||!e8(t)&&i3(e.ofType,t):th(t)&&e.name===t.name}function i2(e){return eH(e)?"a Scalar type":eQ(e)?"an Object type":ez(e)?"an Interface type":eX(e)?"a Union type":eZ(e)?"an Enum type":e1(e)?"an Input type":void D(!1,"Unexpected type: "+er(e))}function i5(e,t){let n=t7(e,t);return null!=n||D(!1),eC(n3(n))}function i8(e,t){let n=[],r=[],i=[],o=ey(e,({name:e})=>e),a=ey(t,({name:e})=>e);for(let t of e){let e=a[t.name];void 0===e?r.push(t):i.push([t,e])}for(let e of t)void 0===o[e.name]&&n.push(e);return{added:n,persisted:i,removed:r}}(m=u||(u={})).TYPE_REMOVED="TYPE_REMOVED",m.TYPE_CHANGED_KIND="TYPE_CHANGED_KIND",m.TYPE_REMOVED_FROM_UNION="TYPE_REMOVED_FROM_UNION",m.VALUE_REMOVED_FROM_ENUM="VALUE_REMOVED_FROM_ENUM",m.REQUIRED_INPUT_FIELD_ADDED="REQUIRED_INPUT_FIELD_ADDED",m.IMPLEMENTED_INTERFACE_REMOVED="IMPLEMENTED_INTERFACE_REMOVED",m.FIELD_REMOVED="FIELD_REMOVED",m.FIELD_CHANGED_KIND="FIELD_CHANGED_KIND",m.REQUIRED_ARG_ADDED="REQUIRED_ARG_ADDED",m.ARG_REMOVED="ARG_REMOVED",m.ARG_CHANGED_KIND="ARG_CHANGED_KIND",m.DIRECTIVE_REMOVED="DIRECTIVE_REMOVED",m.DIRECTIVE_ARG_REMOVED="DIRECTIVE_ARG_REMOVED",m.REQUIRED_DIRECTIVE_ARG_ADDED="REQUIRED_DIRECTIVE_ARG_ADDED",m.DIRECTIVE_REPEATABLE_REMOVED="DIRECTIVE_REPEATABLE_REMOVED",m.DIRECTIVE_LOCATION_REMOVED="DIRECTIVE_LOCATION_REMOVED",(v=l||(l={})).VALUE_ADDED_TO_ENUM="VALUE_ADDED_TO_ENUM",v.TYPE_ADDED_TO_UNION="TYPE_ADDED_TO_UNION",v.OPTIONAL_INPUT_FIELD_ADDED="OPTIONAL_INPUT_FIELD_ADDED",v.OPTIONAL_ARG_ADDED="OPTIONAL_ARG_ADDED",v.IMPLEMENTED_INTERFACE_ADDED="IMPLEMENTED_INTERFACE_ADDED",v.ARG_DEFAULT_VALUE_CHANGE="ARG_DEFAULT_VALUE_CHANGE"}}]);
|