crfm-helm 0.5.6__py3-none-any.whl → 0.5.10__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.
Potentially problematic release.
This version of crfm-helm might be problematic. Click here for more details.
- {crfm_helm-0.5.6.dist-info → crfm_helm-0.5.10.dist-info}/METADATA +72 -130
- {crfm_helm-0.5.6.dist-info → crfm_helm-0.5.10.dist-info}/RECORD +372 -305
- helm/benchmark/adaptation/adapter_spec.py +10 -0
- helm/benchmark/adaptation/adapters/multimodal/multiple_choice_joint_multimodal_adapter.py +11 -3
- helm/benchmark/adaptation/adapters/multiple_choice_joint_adapter.py +11 -8
- helm/benchmark/annotation/aci_bench_annotator.py +11 -22
- helm/benchmark/annotation/air_bench_annotator.py +1 -1
- helm/benchmark/annotation/alrage_annotator.py +90 -0
- helm/benchmark/annotation/chw_care_plan_annotator.py +10 -21
- helm/benchmark/annotation/dischargeme_annotator.py +11 -22
- helm/benchmark/annotation/live_qa_annotator.py +1 -1
- helm/benchmark/annotation/med_dialog_annotator.py +11 -22
- helm/benchmark/annotation/medalign_annotator.py +11 -22
- helm/benchmark/annotation/medi_qa_annotator.py +11 -22
- helm/benchmark/annotation/medication_qa_annotator.py +11 -22
- helm/benchmark/annotation/mental_health_annotator.py +11 -22
- helm/benchmark/annotation/mimic_bhc_annotator.py +11 -22
- helm/benchmark/annotation/mimic_rrs_annotator.py +11 -22
- helm/benchmark/annotation/model_as_judge.py +23 -18
- helm/benchmark/annotation/mtsamples_procedures_annotator.py +11 -22
- helm/benchmark/annotation/mtsamples_replicate_annotator.py +11 -22
- helm/benchmark/annotation/starr_patient_instructions_annotator.py +11 -22
- helm/benchmark/metrics/air_bench_metrics.py +3157 -1
- helm/benchmark/metrics/alrage_metric.py +35 -0
- helm/benchmark/metrics/basic_metrics.py +267 -2
- helm/benchmark/metrics/bbq_metrics.py +12 -0
- helm/benchmark/metrics/classification_metrics.py +19 -1
- helm/benchmark/metrics/codeinsights_code_efficiency_metrics.py +186 -0
- helm/benchmark/metrics/codeinsights_code_evaluation_metrics.py +477 -0
- helm/benchmark/metrics/codeinsights_correct_code_metrics.py +366 -0
- helm/benchmark/metrics/codeinsights_edge_case_metrics.py +92 -0
- helm/benchmark/metrics/codeinsights_metric_specs.py +51 -0
- helm/benchmark/metrics/comet_metric.py +1 -1
- helm/benchmark/metrics/conv_fin_qa_calc_metrics.py +12 -1
- helm/benchmark/metrics/copyright_metrics.py +1 -1
- helm/benchmark/metrics/decodingtrust_stereotype_bias_metrics.py +1 -1
- helm/benchmark/metrics/dry_run_metrics.py +30 -1
- helm/benchmark/metrics/efficiency_metrics.py +74 -0
- helm/benchmark/metrics/ehr_sql_metrics.py +57 -1
- helm/benchmark/metrics/evaluate_reference_metrics.py +312 -1
- helm/benchmark/metrics/gpqa_chain_of_thought_metric.py +13 -1
- helm/benchmark/metrics/helpdesk_call_summarization_metrics.py +13 -1
- helm/benchmark/metrics/ifeval_metrics.py +13 -1
- helm/benchmark/metrics/image_generation/clip_score_metrics.py +13 -2
- helm/benchmark/metrics/image_generation/fractal_dimension/fractal_dimension_util.py +1 -1
- helm/benchmark/metrics/instruction_following_critique_metrics.py +41 -1
- helm/benchmark/metrics/kpi_edgar_metrics.py +21 -0
- helm/benchmark/metrics/language_modeling_metrics.py +13 -1
- helm/benchmark/metrics/live_qa_metrics.py +13 -1
- helm/benchmark/metrics/llm_jury_metrics.py +13 -1
- helm/benchmark/metrics/lmkt_metric_specs.py +12 -0
- helm/benchmark/metrics/lmkt_metrics.py +47 -0
- helm/benchmark/metrics/medcalc_bench_metrics.py +14 -1
- helm/benchmark/metrics/medec_metrics.py +25 -2
- helm/benchmark/metrics/melt_toxicity_metric.py +1 -1
- helm/benchmark/metrics/metric.py +25 -0
- helm/benchmark/metrics/mimiciv_billing_code_metrics.py +32 -1
- helm/benchmark/metrics/omni_math_metrics.py +13 -1
- helm/benchmark/metrics/safety_metrics.py +13 -1
- helm/benchmark/metrics/seahelm_metrics.py +14 -1
- helm/benchmark/metrics/summac/model_summac.py +3 -3
- helm/benchmark/metrics/summarization_metrics.py +129 -1
- helm/benchmark/metrics/toxicity_metrics.py +31 -1
- helm/benchmark/metrics/ultra_suite_asr_classification_metrics.py +52 -0
- helm/benchmark/metrics/wildbench_metrics.py +21 -1
- helm/benchmark/model_deployment_registry.py +11 -19
- helm/benchmark/presentation/create_plots.py +11 -2
- helm/benchmark/presentation/run_display.py +13 -3
- helm/benchmark/presentation/run_entry.py +2 -2
- helm/benchmark/presentation/schema.py +10 -22
- helm/benchmark/presentation/summarize.py +189 -14
- helm/benchmark/presentation/taxonomy_info.py +20 -0
- helm/benchmark/presentation/test_create_plots.py +4 -1
- helm/benchmark/run.py +15 -4
- helm/benchmark/run_expander.py +4 -0
- helm/benchmark/run_specs/arabic_run_specs.py +197 -0
- helm/benchmark/run_specs/bluex_run_specs.py +40 -0
- helm/benchmark/run_specs/classic_run_specs.py +2 -55
- helm/benchmark/run_specs/codeinsights_run_specs.py +192 -0
- helm/benchmark/run_specs/healthqa_br_run_specs.py +40 -0
- helm/benchmark/run_specs/heim_run_specs.py +3 -1
- helm/benchmark/run_specs/lmkt_run_specs.py +144 -0
- helm/benchmark/run_specs/long_context_run_specs.py +48 -1
- helm/benchmark/run_specs/medhelm/__init__.py +0 -0
- helm/benchmark/run_specs/medhelm/benchmark_config.py +219 -0
- helm/benchmark/run_specs/medhelm_run_specs.py +363 -53
- helm/benchmark/run_specs/multilingual_run_specs.py +50 -0
- helm/benchmark/run_specs/speech_disorder_audio_run_specs.py +11 -13
- helm/benchmark/runner.py +7 -0
- helm/benchmark/scenarios/aci_bench_scenario.py +23 -0
- helm/benchmark/scenarios/air_bench_scenario.py +21 -0
- helm/benchmark/scenarios/alghafa_scenario.py +126 -0
- helm/benchmark/scenarios/alrage_scenario.py +54 -0
- helm/benchmark/scenarios/anthropic_hh_rlhf_scenario.py +23 -1
- helm/benchmark/scenarios/anthropic_red_team_scenario.py +12 -1
- helm/benchmark/scenarios/arabic_exams_scenario.py +114 -0
- helm/benchmark/scenarios/arabic_mmlu_scenario.py +82 -0
- helm/benchmark/scenarios/aratrust_scenario.py +95 -0
- helm/benchmark/scenarios/audio_language/casual_conversations2_scenario.py +1 -1
- helm/benchmark/scenarios/audio_language/mustard_scenario.py +1 -1
- helm/benchmark/scenarios/audio_language/ultra_suite_asr_classification_scenario.py +74 -0
- helm/benchmark/scenarios/audio_language/ultra_suite_asr_transcription_scenario.py +70 -0
- helm/benchmark/scenarios/audio_language/ultra_suite_classification_scenario.py +22 -53
- helm/benchmark/scenarios/audio_language/ultra_suite_disorder_breakdown_scenario.py +21 -21
- helm/benchmark/scenarios/audio_language/ultra_suite_disorder_symptoms_scenario.py +21 -52
- helm/benchmark/scenarios/babi_qa_scenario.py +15 -0
- helm/benchmark/scenarios/banking77_scenario.py +21 -0
- helm/benchmark/scenarios/bbq_scenario.py +15 -0
- helm/benchmark/scenarios/best_chatgpt_prompts.yaml +473 -0
- helm/benchmark/scenarios/bird_sql_scenario.py +18 -0
- helm/benchmark/scenarios/bluex_scenario.py +70 -0
- helm/benchmark/scenarios/bold_scenario.py +15 -0
- helm/benchmark/scenarios/boolq_scenario.py +20 -0
- helm/benchmark/scenarios/chw_care_plan_scenario.py +23 -0
- helm/benchmark/scenarios/civil_comments_scenario.py +13 -0
- helm/benchmark/scenarios/clear_scenario.py +23 -0
- helm/benchmark/scenarios/cleva_scenario.py +480 -1
- helm/benchmark/scenarios/code_scenario.py +28 -0
- helm/benchmark/scenarios/codeinsights_code_efficiency_scenario.py +197 -0
- helm/benchmark/scenarios/codeinsights_correct_code_scenario.py +78 -0
- helm/benchmark/scenarios/codeinsights_edge_case_scenario.py +192 -0
- helm/benchmark/scenarios/codeinsights_student_coding_scenario.py +162 -0
- helm/benchmark/scenarios/codeinsights_student_mistake_scenario.py +188 -0
- helm/benchmark/scenarios/commonsense_scenario.py +32 -0
- helm/benchmark/scenarios/compositional_instructions.yaml +70 -0
- helm/benchmark/scenarios/conv_fin_qa_calc_scenario.py +21 -0
- helm/benchmark/scenarios/copyright_scenario.py +35 -1
- helm/benchmark/scenarios/cti_to_mitre_scenario.py +21 -0
- helm/benchmark/scenarios/czech_bank_qa_scenario.py +18 -0
- helm/benchmark/scenarios/decodingtrust_adv_demonstration_scenario.py +22 -1
- helm/benchmark/scenarios/decodingtrust_adv_robustness_scenario.py +23 -1
- helm/benchmark/scenarios/decodingtrust_fairness_scenario.py +22 -1
- helm/benchmark/scenarios/decodingtrust_machine_ethics_scenario.py +21 -1
- helm/benchmark/scenarios/decodingtrust_ood_robustness_scenario.py +13 -0
- helm/benchmark/scenarios/decodingtrust_privacy_scenario.py +13 -1
- helm/benchmark/scenarios/decodingtrust_stereotype_bias_scenario.py +13 -1
- helm/benchmark/scenarios/decodingtrust_toxicity_prompts_scenario.py +13 -1
- helm/benchmark/scenarios/dischargeme_scenario.py +24 -0
- helm/benchmark/scenarios/disinformation_scenario.py +22 -0
- helm/benchmark/scenarios/dyck_language_scenario.py +15 -0
- helm/benchmark/scenarios/ehrshot_scenario.py +22 -0
- helm/benchmark/scenarios/enem_challenge_scenario.py +19 -0
- helm/benchmark/scenarios/entity_data_imputation_scenario.py +14 -0
- helm/benchmark/scenarios/entity_matching_scenario.py +14 -0
- helm/benchmark/scenarios/exams_multilingual_scenario.py +115 -0
- helm/benchmark/scenarios/fin_qa_scenario.py +20 -0
- helm/benchmark/scenarios/financebench_scenario.py +21 -0
- helm/benchmark/scenarios/financial_phrasebank_scenario.py +21 -0
- helm/benchmark/scenarios/gold_commodity_news_scenario.py +21 -0
- helm/benchmark/scenarios/gpqa_scenario.py +18 -0
- helm/benchmark/scenarios/grammar_scenario.py +20 -1
- helm/benchmark/scenarios/gsm_scenario.py +21 -0
- helm/benchmark/scenarios/harm_bench_gcg_transfer_scenario.py +12 -1
- helm/benchmark/scenarios/harm_bench_scenario.py +12 -1
- helm/benchmark/scenarios/headqa_scenario.py +22 -0
- helm/benchmark/scenarios/healthqa_br_scenario.py +80 -0
- helm/benchmark/scenarios/helpdesk_call_summarization_scenario.py +13 -0
- helm/benchmark/scenarios/ice_scenario.py +21 -1
- helm/benchmark/scenarios/ifeval_scenario.py +18 -0
- helm/benchmark/scenarios/imdb_scenario.py +15 -0
- helm/benchmark/scenarios/infinite_bench_en_mc_scenario.py +111 -0
- helm/benchmark/scenarios/infinite_bench_en_qa_scenario.py +1 -1
- helm/benchmark/scenarios/infinite_bench_en_sum_scenario.py +19 -0
- helm/benchmark/scenarios/koala_scenario.py +21 -1
- helm/benchmark/scenarios/kpi_edgar_scenario.py +21 -0
- helm/benchmark/scenarios/legal_contract_summarization_scenario.py +20 -0
- helm/benchmark/scenarios/legal_summarization_scenario.py +50 -0
- helm/benchmark/scenarios/legal_support_scenario.py +13 -0
- helm/benchmark/scenarios/legalbench_scenario.py +19 -0
- helm/benchmark/scenarios/lex_glue_scenario.py +11 -0
- helm/benchmark/scenarios/lextreme_scenario.py +11 -0
- helm/benchmark/scenarios/lmkt_scenarios.py +288 -0
- helm/benchmark/scenarios/lsat_qa_scenario.py +14 -0
- helm/benchmark/scenarios/madinah_qa_scenario.py +73 -0
- helm/benchmark/scenarios/math_scenario.py +54 -20
- helm/benchmark/scenarios/mbzuai_human_translated_arabic_mmlu.py +68 -0
- helm/benchmark/scenarios/med_dialog_scenario.py +32 -1
- helm/benchmark/scenarios/med_mcqa_scenario.py +14 -0
- helm/benchmark/scenarios/med_qa_scenario.py +20 -0
- helm/benchmark/scenarios/medalign_scenario.py +23 -0
- helm/benchmark/scenarios/medalign_scenario_helper.py +19 -125
- helm/benchmark/scenarios/medbullets_scenario.py +22 -0
- helm/benchmark/scenarios/medcalc_bench_scenario.py +22 -0
- helm/benchmark/scenarios/medec_scenario.py +23 -0
- helm/benchmark/scenarios/medhallu_scenario.py +23 -0
- helm/benchmark/scenarios/medhelm/__init__.py +0 -0
- helm/benchmark/scenarios/medhelm/judges.yaml +14 -0
- helm/benchmark/scenarios/medhelm_configurable_scenario.py +101 -0
- helm/benchmark/scenarios/medi_qa_scenario.py +24 -1
- helm/benchmark/scenarios/medication_qa_scenario.py +31 -1
- helm/benchmark/scenarios/melt_scenarios.py +2 -2
- helm/benchmark/scenarios/mental_health_scenario.py +23 -0
- helm/benchmark/scenarios/mimic_bhc_scenario.py +25 -1
- helm/benchmark/scenarios/mimic_rrs_scenario.py +23 -0
- helm/benchmark/scenarios/mimiciv_billing_code_scenario.py +22 -0
- helm/benchmark/scenarios/mmlu_pro_scenario.py +18 -0
- helm/benchmark/scenarios/mmlu_scenario.py +21 -0
- helm/benchmark/scenarios/mmmlu_scenario.py +85 -0
- helm/benchmark/scenarios/msmarco_scenario.py +30 -0
- helm/benchmark/scenarios/mtsamples_procedures_scenario.py +22 -0
- helm/benchmark/scenarios/mtsamples_replicate_scenario.py +22 -0
- helm/benchmark/scenarios/n2c2_ct_matching_scenario.py +20 -0
- helm/benchmark/scenarios/narrativeqa_scenario.py +19 -0
- helm/benchmark/scenarios/natural_qa_scenario.py +32 -0
- helm/benchmark/scenarios/omni_math_scenario.py +18 -0
- helm/benchmark/scenarios/open_assistant_scenario.py +22 -0
- helm/benchmark/scenarios/openai_mrcr_scenario.py +15 -0
- helm/benchmark/scenarios/pubmed_qa_scenario.py +22 -0
- helm/benchmark/scenarios/quac_scenario.py +14 -0
- helm/benchmark/scenarios/race_based_med_scenario.py +23 -0
- helm/benchmark/scenarios/raft_scenario.py +15 -0
- helm/benchmark/scenarios/real_toxicity_prompts_scenario.py +14 -1
- helm/benchmark/scenarios/ruler_qa_scenarios.py +40 -0
- helm/benchmark/scenarios/scenario.py +31 -0
- helm/benchmark/scenarios/seahelm_scenario.py +350 -2
- helm/benchmark/scenarios/self_instruct_scenario.py +29 -1
- helm/benchmark/scenarios/shc_bmt_scenario.py +22 -0
- helm/benchmark/scenarios/shc_cdi_scenario.py +20 -0
- helm/benchmark/scenarios/shc_conf_scenario.py +23 -0
- helm/benchmark/scenarios/shc_ent_scenario.py +21 -0
- helm/benchmark/scenarios/shc_gip_scenario.py +20 -0
- helm/benchmark/scenarios/shc_privacy_scenario.py +22 -0
- helm/benchmark/scenarios/shc_proxy_scenario.py +23 -1
- helm/benchmark/scenarios/shc_ptbm_scenario.py +23 -0
- helm/benchmark/scenarios/shc_sequoia_scenario.py +21 -0
- helm/benchmark/scenarios/simple_safety_tests_scenario.py +12 -1
- helm/benchmark/scenarios/situation_prompts.yaml +49 -0
- helm/benchmark/scenarios/spider_scenario.py +18 -0
- helm/benchmark/scenarios/starr_patient_instructions_scenario.py +22 -0
- helm/benchmark/scenarios/summarization_scenario.py +37 -0
- helm/benchmark/scenarios/synthetic_efficiency_scenario.py +22 -1
- helm/benchmark/scenarios/synthetic_reasoning_natural_scenario.py +13 -0
- helm/benchmark/scenarios/test_alghafa_scenario.py +29 -0
- helm/benchmark/scenarios/test_alrage_scenario.py +23 -0
- helm/benchmark/scenarios/test_arabic_exams_scenario.py +21 -0
- helm/benchmark/scenarios/test_aratrust_scenario.py +21 -0
- helm/benchmark/scenarios/test_bluex_scenario.py +59 -0
- helm/benchmark/scenarios/test_exams_multilingual_scenario.py +29 -0
- helm/benchmark/scenarios/test_healtha_br_scenario.py +57 -0
- helm/benchmark/scenarios/thai_exam_scenario.py +95 -0
- helm/benchmark/scenarios/the_pile_scenario.py +13 -1
- helm/benchmark/scenarios/truthful_qa_scenario.py +14 -0
- helm/benchmark/scenarios/twitter_aae_scenario.py +20 -1
- helm/benchmark/scenarios/vicuna_scenario.py +21 -1
- helm/benchmark/scenarios/wikifact_scenario.py +20 -0
- helm/benchmark/scenarios/wildbench_scenario.py +18 -0
- helm/benchmark/scenarios/wmt_14_scenario.py +19 -0
- helm/benchmark/slurm_jobs.py +1 -2
- helm/benchmark/slurm_runner.py +8 -1
- helm/benchmark/static/schema_arabic.yaml +271 -0
- helm/benchmark/static/schema_classic.yaml +0 -17
- helm/benchmark/static/schema_long_context.yaml +17 -18
- helm/benchmark/static/schema_medhelm.yaml +36 -0
- helm/benchmark/static/schema_slp.yaml +219 -0
- helm/benchmark/static_build/assets/audio-table-Dn5NMMeJ.png +0 -0
- helm/benchmark/static_build/assets/index-oIeiQW2g.css +1 -0
- helm/benchmark/static_build/assets/index-qOFpOyHb.js +10 -0
- helm/benchmark/static_build/assets/react-BteFIppM.js +85 -0
- helm/benchmark/static_build/assets/recharts-DxuQtTOs.js +97 -0
- helm/benchmark/static_build/assets/tremor-DR4fE7ko.js +10 -0
- helm/benchmark/static_build/index.html +5 -6
- helm/benchmark/window_services/image_generation/clip_window_service.py +1 -3
- helm/clients/ai21_client.py +2 -0
- helm/clients/aleph_alpha_client.py +2 -0
- helm/clients/anthropic_client.py +7 -1
- helm/clients/audio_language/diva_llama_client.py +2 -0
- helm/clients/audio_language/llama_omni/arguments.py +61 -0
- helm/clients/audio_language/llama_omni/constants.py +9 -0
- helm/clients/audio_language/llama_omni/conversation.py +213 -0
- helm/clients/audio_language/llama_omni/model/__init__.py +0 -0
- helm/clients/audio_language/llama_omni/model/builder.py +88 -0
- helm/clients/audio_language/llama_omni/model/language_model/omni_speech2s_llama.py +190 -0
- helm/clients/audio_language/llama_omni/model/language_model/omni_speech_llama.py +118 -0
- helm/clients/audio_language/llama_omni/model/omni_speech_arch.py +249 -0
- helm/clients/audio_language/llama_omni/model/speech_encoder/builder.py +9 -0
- helm/clients/audio_language/llama_omni/model/speech_encoder/speech_encoder.py +27 -0
- helm/clients/audio_language/llama_omni/model/speech_generator/builder.py +9 -0
- helm/clients/audio_language/llama_omni/model/speech_generator/generation.py +622 -0
- helm/clients/audio_language/llama_omni/model/speech_generator/speech_generator.py +104 -0
- helm/clients/audio_language/llama_omni/model/speech_projector/builder.py +9 -0
- helm/clients/audio_language/llama_omni/model/speech_projector/speech_projector.py +27 -0
- helm/clients/audio_language/llama_omni/preprocess.py +295 -0
- helm/clients/audio_language/llama_omni/utils.py +202 -0
- helm/clients/audio_language/llama_omni_client.py +2 -1
- helm/clients/audio_language/qwen2_5_omni_client.py +21 -8
- helm/clients/audio_language/qwen2_audiolm_client.py +2 -1
- helm/clients/audio_language/qwen_audiolm_client.py +2 -1
- helm/clients/audio_language/qwen_omni/configuration_qwen2_5_omni.py +519 -0
- helm/clients/audio_language/qwen_omni/modeling_qwen2_5_omni.py +4308 -0
- helm/clients/audio_language/qwen_omni/processing_qwen2_5_omni.py +270 -0
- helm/clients/audio_language/qwen_omni/qwen2_5_omni_utils/__init__.py +0 -0
- helm/clients/audio_language/qwen_omni/qwen2_5_omni_utils/v2_5/__init__.py +8 -0
- helm/clients/audio_language/qwen_omni/qwen2_5_omni_utils/v2_5/audio_process.py +56 -0
- helm/clients/audio_language/qwen_omni/qwen2_5_omni_utils/v2_5/vision_process.py +380 -0
- helm/clients/bedrock_client.py +63 -6
- helm/clients/cohere_client.py +3 -0
- helm/clients/dspy_client.py +135 -0
- helm/clients/google_client.py +2 -0
- helm/clients/http_model_client.py +2 -0
- helm/clients/huggingface_client.py +4 -3
- helm/clients/ibm_client.py +3 -1
- helm/clients/image_generation/adobe_vision_client.py +2 -0
- helm/clients/image_generation/aleph_alpha_image_generation_client.py +2 -0
- helm/clients/image_generation/cogview2/sr_pipeline/dsr_model.py +1 -1
- helm/clients/image_generation/cogview2_client.py +2 -1
- helm/clients/image_generation/dalle2_client.py +2 -0
- helm/clients/image_generation/dalle_mini_client.py +2 -1
- helm/clients/image_generation/deep_floyd_client.py +2 -0
- helm/clients/image_generation/huggingface_diffusers_client.py +2 -1
- helm/clients/image_generation/lexica_client.py +2 -0
- helm/clients/image_generation/mindalle/models/stage1/layers.py +2 -2
- helm/clients/image_generation/mindalle_client.py +2 -1
- helm/clients/image_generation/together_image_generation_client.py +2 -0
- helm/clients/megatron_client.py +2 -0
- helm/clients/mistral_client.py +2 -0
- helm/clients/moderation_api_client.py +2 -0
- helm/clients/openai_client.py +38 -21
- helm/clients/openai_responses_client.py +34 -8
- helm/clients/openrouter_client.py +31 -0
- helm/clients/palmyra_client.py +2 -1
- helm/clients/reka_client.py +2 -1
- helm/clients/stanfordhealthcare_azure_openai_client.py +2 -2
- helm/clients/stanfordhealthcare_http_model_client.py +2 -0
- helm/clients/test_huggingface_client.py +3 -3
- helm/clients/test_openrouter_client.py +69 -0
- helm/clients/together_client.py +52 -13
- helm/clients/vertexai_client.py +23 -11
- helm/clients/vision_language/huggingface_vision2seq_client.py +2 -1
- helm/clients/vision_language/huggingface_vlm_client.py +2 -0
- helm/clients/vision_language/idefics_client.py +2 -1
- helm/clients/vision_language/open_flamingo_client.py +2 -1
- helm/clients/vision_language/paligemma_client.py +2 -1
- helm/clients/vision_language/palmyra_vision_client.py +2 -0
- helm/clients/vision_language/qwen2_vlm_client.py +2 -1
- helm/clients/vision_language/qwen_vlm_client.py +2 -1
- helm/clients/vllm_client.py +43 -7
- helm/clients/vllm_granite_thinking_client.py +56 -0
- helm/clients/writer_client.py +5 -2
- helm/common/critique_request.py +0 -1
- helm/common/hierarchical_logger.py +103 -34
- helm/common/object_spec.py +23 -8
- helm/common/optional_dependencies.py +1 -1
- helm/common/test_general.py +4 -0
- helm/common/test_logging.py +94 -0
- helm/config/model_deployments.yaml +1001 -187
- helm/config/model_metadata.yaml +602 -18
- helm/config/tokenizer_configs.yaml +202 -5
- helm/proxy/cli.py +1 -1
- helm/proxy/example_queries.py +8 -8
- helm/proxy/retry.py +5 -0
- helm/proxy/server.py +2 -1
- helm/proxy/static/index.css +4 -0
- helm/proxy/static/index.js +7 -1
- helm/tokenizers/auto_tokenizer.py +2 -2
- helm/tokenizers/grok_tokenizer.py +2 -0
- helm/benchmark/metrics/aci_bench_metrics.py +0 -14
- helm/benchmark/metrics/chw_care_plan_metrics.py +0 -14
- helm/benchmark/metrics/dischargeme_metrics.py +0 -14
- helm/benchmark/metrics/med_dialog_metrics.py +0 -14
- helm/benchmark/metrics/medalign_metrics.py +0 -14
- helm/benchmark/metrics/medi_qa_metrics.py +0 -14
- helm/benchmark/metrics/medication_qa_metrics.py +0 -14
- helm/benchmark/metrics/mental_health_metrics.py +0 -14
- helm/benchmark/metrics/mimic_bhc_metrics.py +0 -14
- helm/benchmark/metrics/mimic_rrs_metrics.py +0 -14
- helm/benchmark/metrics/mtsamples_procedures_metrics.py +0 -14
- helm/benchmark/metrics/mtsamples_replicate_metrics.py +0 -14
- helm/benchmark/metrics/numeracy_metrics.py +0 -72
- helm/benchmark/metrics/starr_patient_instructions_metrics.py +0 -14
- helm/benchmark/metrics/test_numeracy_metrics.py +0 -95
- helm/benchmark/scenarios/audio_language/ultra_suite_asr_classification.py +0 -103
- helm/benchmark/scenarios/numeracy_scenario.py +0 -794
- helm/benchmark/static_build/assets/index-94295e78.js +0 -10
- helm/benchmark/static_build/assets/index-b9779128.css +0 -1
- helm/benchmark/static_build/assets/react-f82877fd.js +0 -85
- helm/benchmark/static_build/assets/recharts-4037aff0.js +0 -97
- helm/benchmark/static_build/assets/tremor-38a10867.js +0 -10
- {crfm_helm-0.5.6.dist-info → crfm_helm-0.5.10.dist-info}/WHEEL +0 -0
- {crfm_helm-0.5.6.dist-info → crfm_helm-0.5.10.dist-info}/entry_points.txt +0 -0
- {crfm_helm-0.5.6.dist-info → crfm_helm-0.5.10.dist-info}/licenses/LICENSE +0 -0
- {crfm_helm-0.5.6.dist-info → crfm_helm-0.5.10.dist-info}/top_level.txt +0 -0
- /helm/benchmark/static_build/assets/{air-overview-d2e6c49f.png → air-overview-DpBbyagA.png} +0 -0
- /helm/benchmark/static_build/assets/{crfm-logo-74391ab8.png → crfm-logo-Du4T1uWZ.png} +0 -0
- /helm/benchmark/static_build/assets/{heim-logo-3e5e3aa4.png → heim-logo-BJtQlEbV.png} +0 -0
- /helm/benchmark/static_build/assets/{helm-logo-simple-2ed5400b.png → helm-logo-simple-DzOhNN41.png} +0 -0
- /helm/benchmark/static_build/assets/{helm-safety-2907a7b6.png → helm-safety-COfndXuS.png} +0 -0
- /helm/benchmark/static_build/assets/{helmhero-28e90f4d.png → helmhero-D9TvmJsp.png} +0 -0
- /helm/benchmark/static_build/assets/{medhelm-overview-eac29843.png → medhelm-overview-CND0EIsy.png} +0 -0
- /helm/benchmark/static_build/assets/{medhelm-v1-overview-3ddfcd65.png → medhelm-v1-overview-Cu2tphBB.png} +0 -0
- /helm/benchmark/static_build/assets/{overview-74aea3d8.png → overview-BwypNWnk.png} +0 -0
- /helm/benchmark/static_build/assets/{process-flow-bd2eba96.png → process-flow-DWDJC733.png} +0 -0
- /helm/benchmark/static_build/assets/{vhelm-aspects-1437d673.png → vhelm-aspects-NiDQofvP.png} +0 -0
- /helm/benchmark/static_build/assets/{vhelm-framework-a1ca3f3f.png → vhelm-framework-NxJE4fdA.png} +0 -0
- /helm/benchmark/static_build/assets/{vhelm-model-8afb7616.png → vhelm-model-ypCL5Yvq.png} +0 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
function gh(e,n){for(var t=0;t<n.length;t++){const r=n[t];if(typeof r!="string"&&!Array.isArray(r)){for(const l in r)if(l!=="default"&&!(l in e)){const i=Object.getOwnPropertyDescriptor(r,l);i&&Object.defineProperty(e,l,i.get?i:{enumerable:!0,get:()=>r[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Xk=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ct(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Gc={exports:{}},V={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var nl=Symbol.for("react.element"),yh=Symbol.for("react.portal"),vh=Symbol.for("react.fragment"),kh=Symbol.for("react.strict_mode"),xh=Symbol.for("react.profiler"),wh=Symbol.for("react.provider"),Sh=Symbol.for("react.context"),Eh=Symbol.for("react.forward_ref"),Ch=Symbol.for("react.suspense"),Ph=Symbol.for("react.memo"),Th=Symbol.for("react.lazy"),qa=Symbol.iterator;function Lh(e){return e===null||typeof e!="object"?null:(e=qa&&e[qa]||e["@@iterator"],typeof e=="function"?e:null)}var Zc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Jc=Object.assign,ef={};function ir(e,n,t){this.props=e,this.context=n,this.refs=ef,this.updater=t||Zc}ir.prototype.isReactComponent={};ir.prototype.setState=function(e,n){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")};ir.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function nf(){}nf.prototype=ir.prototype;function Do(e,n,t){this.props=e,this.context=n,this.refs=ef,this.updater=t||Zc}var Mo=Do.prototype=new nf;Mo.constructor=Do;Jc(Mo,ir.prototype);Mo.isPureReactComponent=!0;var ba=Array.isArray,tf=Object.prototype.hasOwnProperty,Bo={current:null},rf={key:!0,ref:!0,__self:!0,__source:!0};function lf(e,n,t){var r,l={},i=null,u=null;if(n!=null)for(r in n.ref!==void 0&&(u=n.ref),n.key!==void 0&&(i=""+n.key),n)tf.call(n,r)&&!rf.hasOwnProperty(r)&&(l[r]=n[r]);var o=arguments.length-2;if(o===1)l.children=t;else if(1<o){for(var a=Array(o),s=0;s<o;s++)a[s]=arguments[s+2];l.children=a}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)l[r]===void 0&&(l[r]=o[r]);return{$$typeof:nl,type:e,key:i,ref:u,props:l,_owner:Bo.current}}function zh(e,n){return{$$typeof:nl,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function jo(e){return typeof e=="object"&&e!==null&&e.$$typeof===nl}function _h(e){var n={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(t){return n[t]})}var Ga=/\/+/g;function Xi(e,n){return typeof e=="object"&&e!==null&&e.key!=null?_h(""+e.key):n.toString(36)}function _l(e,n,t,r,l){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var u=!1;if(e===null)u=!0;else switch(i){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case nl:case yh:u=!0}}if(u)return u=e,l=l(u),e=r===""?"."+Xi(u,0):r,ba(l)?(t="",e!=null&&(t=e.replace(Ga,"$&/")+"/"),_l(l,n,t,"",function(s){return s})):l!=null&&(jo(l)&&(l=zh(l,t+(!l.key||u&&u.key===l.key?"":(""+l.key).replace(Ga,"$&/")+"/")+e)),n.push(l)),1;if(u=0,r=r===""?".":r+":",ba(e))for(var o=0;o<e.length;o++){i=e[o];var a=r+Xi(i,o);u+=_l(i,n,t,a,l)}else if(a=Lh(e),typeof a=="function")for(e=a.call(e),o=0;!(i=e.next()).done;)i=i.value,a=r+Xi(i,o++),u+=_l(i,n,t,a,l);else if(i==="object")throw n=String(e),Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return u}function cl(e,n,t){if(e==null)return e;var r=[],l=0;return _l(e,r,"","",function(i){return n.call(t,i,l++)}),r}function Oh(e){if(e._status===-1){var n=e._result;n=n(),n.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var Ne={current:null},Ol={transition:null},Ih={ReactCurrentDispatcher:Ne,ReactCurrentBatchConfig:Ol,ReactCurrentOwner:Bo};V.Children={map:cl,forEach:function(e,n,t){cl(e,function(){n.apply(this,arguments)},t)},count:function(e){var n=0;return cl(e,function(){n++}),n},toArray:function(e){return cl(e,function(n){return n})||[]},only:function(e){if(!jo(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};V.Component=ir;V.Fragment=vh;V.Profiler=xh;V.PureComponent=Do;V.StrictMode=kh;V.Suspense=Ch;V.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ih;V.cloneElement=function(e,n,t){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Jc({},e.props),l=e.key,i=e.ref,u=e._owner;if(n!=null){if(n.ref!==void 0&&(i=n.ref,u=Bo.current),n.key!==void 0&&(l=""+n.key),e.type&&e.type.defaultProps)var o=e.type.defaultProps;for(a in n)tf.call(n,a)&&!rf.hasOwnProperty(a)&&(r[a]=n[a]===void 0&&o!==void 0?o[a]:n[a])}var a=arguments.length-2;if(a===1)r.children=t;else if(1<a){o=Array(a);for(var s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return{$$typeof:nl,type:e.type,key:l,ref:i,props:r,_owner:u}};V.createContext=function(e){return e={$$typeof:Sh,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:wh,_context:e},e.Consumer=e};V.createElement=lf;V.createFactory=function(e){var n=lf.bind(null,e);return n.type=e,n};V.createRef=function(){return{current:null}};V.forwardRef=function(e){return{$$typeof:Eh,render:e}};V.isValidElement=jo;V.lazy=function(e){return{$$typeof:Th,_payload:{_status:-1,_result:e},_init:Oh}};V.memo=function(e,n){return{$$typeof:Ph,type:e,compare:n===void 0?null:n}};V.startTransition=function(e){var n=Ol.transition;Ol.transition={};try{e()}finally{Ol.transition=n}};V.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};V.useCallback=function(e,n){return Ne.current.useCallback(e,n)};V.useContext=function(e){return Ne.current.useContext(e)};V.useDebugValue=function(){};V.useDeferredValue=function(e){return Ne.current.useDeferredValue(e)};V.useEffect=function(e,n){return Ne.current.useEffect(e,n)};V.useId=function(){return Ne.current.useId()};V.useImperativeHandle=function(e,n,t){return Ne.current.useImperativeHandle(e,n,t)};V.useInsertionEffect=function(e,n){return Ne.current.useInsertionEffect(e,n)};V.useLayoutEffect=function(e,n){return Ne.current.useLayoutEffect(e,n)};V.useMemo=function(e,n){return Ne.current.useMemo(e,n)};V.useReducer=function(e,n,t){return Ne.current.useReducer(e,n,t)};V.useRef=function(e){return Ne.current.useRef(e)};V.useState=function(e){return Ne.current.useState(e)};V.useSyncExternalStore=function(e,n,t){return Ne.current.useSyncExternalStore(e,n,t)};V.useTransition=function(){return Ne.current.useTransition()};V.version="18.2.0";Gc.exports=V;var N=Gc.exports;const gt=Ct(N),Fh=gh({__proto__:null,default:gt},[N]);var uf={exports:{}},Ye={},of={exports:{}},af={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* scheduler.production.min.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/(function(e){function n(I,B){var g=I.length;I.push(B);e:for(;0<g;){var Q=g-1>>>1,G=I[Q];if(0<l(G,B))I[Q]=B,I[g]=G,g=Q;else break e}}function t(I){return I.length===0?null:I[0]}function r(I){if(I.length===0)return null;var B=I[0],g=I.pop();if(g!==B){I[0]=g;e:for(var Q=0,G=I.length,k=G>>>1;Q<k;){var ke=2*(Q+1)-1,gn=I[ke],re=ke+1,on=I[re];if(0>l(gn,g))re<G&&0>l(on,gn)?(I[Q]=on,I[re]=g,Q=re):(I[Q]=gn,I[ke]=g,Q=ke);else if(re<G&&0>l(on,g))I[Q]=on,I[re]=g,Q=re;else break e}}return B}function l(I,B){var g=I.sortIndex-B.sortIndex;return g!==0?g:I.id-B.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var u=Date,o=u.now();e.unstable_now=function(){return u.now()-o}}var a=[],s=[],c=1,f=null,h=3,p=!1,w=!1,v=!1,C=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(I){for(var B=t(s);B!==null;){if(B.callback===null)r(s);else if(B.startTime<=I)r(s),B.sortIndex=B.expirationTime,n(a,B);else break;B=t(s)}}function S(I){if(v=!1,y(I),!w)if(t(a)!==null)w=!0,me(T);else{var B=t(s);B!==null&&pe(S,B.startTime-I)}}function T(I,B){w=!1,v&&(v=!1,d(_),_=-1),p=!0;var g=h;try{for(y(B),f=t(a);f!==null&&(!(f.expirationTime>B)||I&&!F());){var Q=f.callback;if(typeof Q=="function"){f.callback=null,h=f.priorityLevel;var G=Q(f.expirationTime<=B);B=e.unstable_now(),typeof G=="function"?f.callback=G:f===t(a)&&r(a),y(B)}else r(a);f=t(a)}if(f!==null)var k=!0;else{var ke=t(s);ke!==null&&pe(S,ke.startTime-B),k=!1}return k}finally{f=null,h=g,p=!1}}var x=!1,P=null,_=-1,M=5,D=-1;function F(){return!(e.unstable_now()-D<M)}function A(){if(P!==null){var I=e.unstable_now();D=I;var B=!0;try{B=P(!0,I)}finally{B?Y():(x=!1,P=null)}}else x=!1}var Y;if(typeof m=="function")Y=function(){m(A)};else if(typeof MessageChannel<"u"){var ue=new MessageChannel,W=ue.port2;ue.port1.onmessage=A,Y=function(){W.postMessage(null)}}else Y=function(){C(A,0)};function me(I){P=I,x||(x=!0,Y())}function pe(I,B){_=C(function(){I(e.unstable_now())},B)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(I){I.callback=null},e.unstable_continueExecution=function(){w||p||(w=!0,me(T))},e.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<I?Math.floor(1e3/I):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return t(a)},e.unstable_next=function(I){switch(h){case 1:case 2:case 3:var B=3;break;default:B=h}var g=h;h=B;try{return I()}finally{h=g}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(I,B){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var g=h;h=I;try{return B()}finally{h=g}},e.unstable_scheduleCallback=function(I,B,g){var Q=e.unstable_now();switch(typeof g=="object"&&g!==null?(g=g.delay,g=typeof g=="number"&&0<g?Q+g:Q):g=Q,I){case 1:var G=-1;break;case 2:G=250;break;case 5:G=1073741823;break;case 4:G=1e4;break;default:G=5e3}return G=g+G,I={id:c++,callback:B,priorityLevel:I,startTime:g,expirationTime:G,sortIndex:-1},g>Q?(I.sortIndex=g,n(s,I),t(a)===null&&I===t(s)&&(v?(d(_),_=-1):v=!0,pe(S,g-Q))):(I.sortIndex=G,n(a,I),w||p||(w=!0,me(T))),I},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(I){var B=h;return function(){var g=h;h=B;try{return I.apply(this,arguments)}finally{h=g}}}})(af);of.exports=af;var Nh=of.exports;/**
|
|
18
|
+
* @license React
|
|
19
|
+
* react-dom.production.min.js
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the MIT license found in the
|
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
|
25
|
+
*/var sf=N,Xe=Nh;function L(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var cf=new Set,Mr={};function Pt(e,n){Zt(e,n),Zt(e+"Capture",n)}function Zt(e,n){for(Mr[e]=n,e=0;e<n.length;e++)cf.add(n[e])}var Fn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ou=Object.prototype.hasOwnProperty,Rh=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Za={},Ja={};function Ah(e){return Ou.call(Ja,e)?!0:Ou.call(Za,e)?!1:Rh.test(e)?Ja[e]=!0:(Za[e]=!0,!1)}function Dh(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Mh(e,n,t,r){if(n===null||typeof n>"u"||Dh(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function Re(e,n,t,r,l,i,u){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=i,this.removeEmptyString=u}var Te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Te[e]=new Re(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];Te[n]=new Re(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Te[e]=new Re(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Te[e]=new Re(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Te[e]=new Re(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Te[e]=new Re(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Te[e]=new Re(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Te[e]=new Re(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Te[e]=new Re(e,5,!1,e.toLowerCase(),null,!1,!1)});var Uo=/[\-:]([a-z])/g;function $o(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(Uo,$o);Te[n]=new Re(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Uo,$o);Te[n]=new Re(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Uo,$o);Te[n]=new Re(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Te[e]=new Re(e,1,!1,e.toLowerCase(),null,!1,!1)});Te.xlinkHref=new Re("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Te[e]=new Re(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ho(e,n,t,r){var l=Te.hasOwnProperty(n)?Te[n]:null;(l!==null?l.type!==0:r||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(Mh(n,t,l,r)&&(t=null),r||l===null?Ah(n)&&(t===null?e.removeAttribute(n):e.setAttribute(n,""+t)):l.mustUseProperty?e[l.propertyName]=t===null?l.type===3?!1:"":t:(n=l.attributeName,r=l.attributeNamespace,t===null?e.removeAttribute(n):(l=l.type,t=l===3||l===4&&t===!0?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}var Dn=sf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,fl=Symbol.for("react.element"),Ft=Symbol.for("react.portal"),Nt=Symbol.for("react.fragment"),Vo=Symbol.for("react.strict_mode"),Iu=Symbol.for("react.profiler"),ff=Symbol.for("react.provider"),pf=Symbol.for("react.context"),Wo=Symbol.for("react.forward_ref"),Fu=Symbol.for("react.suspense"),Nu=Symbol.for("react.suspense_list"),Qo=Symbol.for("react.memo"),Hn=Symbol.for("react.lazy"),df=Symbol.for("react.offscreen"),es=Symbol.iterator;function dr(e){return e===null||typeof e!="object"?null:(e=es&&e[es]||e["@@iterator"],typeof e=="function"?e:null)}var ce=Object.assign,Yi;function Sr(e){if(Yi===void 0)try{throw Error()}catch(t){var n=t.stack.trim().match(/\n( *(at )?)/);Yi=n&&n[1]||""}return`
|
|
26
|
+
`+Yi+e}var qi=!1;function bi(e,n){if(!e||qi)return"";qi=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(s){var r=s}Reflect.construct(e,[],n)}else{try{n.call()}catch(s){r=s}e.call(n.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&typeof s.stack=="string"){for(var l=s.stack.split(`
|
|
27
|
+
`),i=r.stack.split(`
|
|
28
|
+
`),u=l.length-1,o=i.length-1;1<=u&&0<=o&&l[u]!==i[o];)o--;for(;1<=u&&0<=o;u--,o--)if(l[u]!==i[o]){if(u!==1||o!==1)do if(u--,o--,0>o||l[u]!==i[o]){var a=`
|
|
29
|
+
`+l[u].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=u&&0<=o);break}}}finally{qi=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?Sr(e):""}function Bh(e){switch(e.tag){case 5:return Sr(e.type);case 16:return Sr("Lazy");case 13:return Sr("Suspense");case 19:return Sr("SuspenseList");case 0:case 2:case 15:return e=bi(e.type,!1),e;case 11:return e=bi(e.type.render,!1),e;case 1:return e=bi(e.type,!0),e;default:return""}}function Ru(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Nt:return"Fragment";case Ft:return"Portal";case Iu:return"Profiler";case Vo:return"StrictMode";case Fu:return"Suspense";case Nu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case pf:return(e.displayName||"Context")+".Consumer";case ff:return(e._context.displayName||"Context")+".Provider";case Wo:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Qo:return n=e.displayName||null,n!==null?n:Ru(e.type)||"Memo";case Hn:n=e._payload,e=e._init;try{return Ru(e(n))}catch{}}return null}function jh(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ru(n);case 8:return n===Vo?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function lt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function hf(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Uh(e){var n=hf(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,i=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(u){r=""+u,i.call(this,u)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(u){r=""+u},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function pl(e){e._valueTracker||(e._valueTracker=Uh(e))}function mf(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=hf(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Vl(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Au(e,n){var t=n.checked;return ce({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function ns(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=lt(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function gf(e,n){n=n.checked,n!=null&&Ho(e,"checked",n,!1)}function Du(e,n){gf(e,n);var t=lt(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Mu(e,n.type,t):n.hasOwnProperty("defaultValue")&&Mu(e,n.type,lt(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function ts(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function Mu(e,n,t){(n!=="number"||Vl(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var Er=Array.isArray;function Wt(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l<t.length;l++)n["$"+t[l]]=!0;for(t=0;t<e.length;t++)l=n.hasOwnProperty("$"+e[t].value),e[t].selected!==l&&(e[t].selected=l),l&&r&&(e[t].defaultSelected=!0)}else{for(t=""+lt(t),n=null,l=0;l<e.length;l++){if(e[l].value===t){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}n!==null||e[l].disabled||(n=e[l])}n!==null&&(n.selected=!0)}}function Bu(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(L(91));return ce({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function rs(e,n){var t=n.value;if(t==null){if(t=n.children,n=n.defaultValue,t!=null){if(n!=null)throw Error(L(92));if(Er(t)){if(1<t.length)throw Error(L(93));t=t[0]}n=t}n==null&&(n=""),t=n}e._wrapperState={initialValue:lt(t)}}function yf(e,n){var t=lt(n.value),r=lt(n.defaultValue);t!=null&&(t=""+t,t!==e.value&&(e.value=t),n.defaultValue==null&&e.defaultValue!==t&&(e.defaultValue=t)),r!=null&&(e.defaultValue=""+r)}function ls(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}function vf(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ju(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?vf(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var dl,kf=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,t,r,l){MSApp.execUnsafeLocalFunction(function(){return e(n,t,r,l)})}:e}(function(e,n){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=n;else{for(dl=dl||document.createElement("div"),dl.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=dl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Br(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var Tr={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},$h=["Webkit","ms","Moz","O"];Object.keys(Tr).forEach(function(e){$h.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Tr[n]=Tr[e]})});function xf(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||Tr.hasOwnProperty(e)&&Tr[e]?(""+n).trim():n+"px"}function wf(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=xf(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Hh=ce({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Uu(e,n){if(n){if(Hh[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(L(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(L(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(L(61))}if(n.style!=null&&typeof n.style!="object")throw Error(L(62))}}function $u(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Hu=null;function Ko(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Vu=null,Qt=null,Kt=null;function is(e){if(e=ll(e)){if(typeof Vu!="function")throw Error(L(280));var n=e.stateNode;n&&(n=xi(n),Vu(e.stateNode,e.type,n))}}function Sf(e){Qt?Kt?Kt.push(e):Kt=[e]:Qt=e}function Ef(){if(Qt){var e=Qt,n=Kt;if(Kt=Qt=null,is(e),n)for(e=0;e<n.length;e++)is(n[e])}}function Cf(e,n){return e(n)}function Pf(){}var Gi=!1;function Tf(e,n,t){if(Gi)return e(n,t);Gi=!0;try{return Cf(e,n,t)}finally{Gi=!1,(Qt!==null||Kt!==null)&&(Pf(),Ef())}}function jr(e,n){var t=e.stateNode;if(t===null)return null;var r=xi(t);if(r===null)return null;t=r[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(t&&typeof t!="function")throw Error(L(231,n,typeof t));return t}var Wu=!1;if(Fn)try{var hr={};Object.defineProperty(hr,"passive",{get:function(){Wu=!0}}),window.addEventListener("test",hr,hr),window.removeEventListener("test",hr,hr)}catch{Wu=!1}function Vh(e,n,t,r,l,i,u,o,a){var s=Array.prototype.slice.call(arguments,3);try{n.apply(t,s)}catch(c){this.onError(c)}}var Lr=!1,Wl=null,Ql=!1,Qu=null,Wh={onError:function(e){Lr=!0,Wl=e}};function Qh(e,n,t,r,l,i,u,o,a){Lr=!1,Wl=null,Vh.apply(Wh,arguments)}function Kh(e,n,t,r,l,i,u,o,a){if(Qh.apply(this,arguments),Lr){if(Lr){var s=Wl;Lr=!1,Wl=null}else throw Error(L(198));Ql||(Ql=!0,Qu=s)}}function Tt(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,n.flags&4098&&(t=n.return),e=n.return;while(e)}return n.tag===3?t:null}function Lf(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function us(e){if(Tt(e)!==e)throw Error(L(188))}function Xh(e){var n=e.alternate;if(!n){if(n=Tt(e),n===null)throw Error(L(188));return n!==e?null:e}for(var t=e,r=n;;){var l=t.return;if(l===null)break;var i=l.alternate;if(i===null){if(r=l.return,r!==null){t=r;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===t)return us(l),e;if(i===r)return us(l),n;i=i.sibling}throw Error(L(188))}if(t.return!==r.return)t=l,r=i;else{for(var u=!1,o=l.child;o;){if(o===t){u=!0,t=l,r=i;break}if(o===r){u=!0,r=l,t=i;break}o=o.sibling}if(!u){for(o=i.child;o;){if(o===t){u=!0,t=i,r=l;break}if(o===r){u=!0,r=i,t=l;break}o=o.sibling}if(!u)throw Error(L(189))}}if(t.alternate!==r)throw Error(L(190))}if(t.tag!==3)throw Error(L(188));return t.stateNode.current===t?e:n}function zf(e){return e=Xh(e),e!==null?_f(e):null}function _f(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var n=_f(e);if(n!==null)return n;e=e.sibling}return null}var Of=Xe.unstable_scheduleCallback,os=Xe.unstable_cancelCallback,Yh=Xe.unstable_shouldYield,qh=Xe.unstable_requestPaint,he=Xe.unstable_now,bh=Xe.unstable_getCurrentPriorityLevel,Xo=Xe.unstable_ImmediatePriority,If=Xe.unstable_UserBlockingPriority,Kl=Xe.unstable_NormalPriority,Gh=Xe.unstable_LowPriority,Ff=Xe.unstable_IdlePriority,gi=null,Sn=null;function Zh(e){if(Sn&&typeof Sn.onCommitFiberRoot=="function")try{Sn.onCommitFiberRoot(gi,e,void 0,(e.current.flags&128)===128)}catch{}}var dn=Math.clz32?Math.clz32:nm,Jh=Math.log,em=Math.LN2;function nm(e){return e>>>=0,e===0?32:31-(Jh(e)/em|0)|0}var hl=64,ml=4194304;function Cr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Xl(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,u=t&268435455;if(u!==0){var o=u&~l;o!==0?r=Cr(o):(i&=u,i!==0&&(r=Cr(i)))}else u=t&~l,u!==0?r=Cr(u):i!==0&&(r=Cr(i));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,i=n&-n,l>=i||l===16&&(i&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0<n;)t=31-dn(n),l=1<<t,r|=e[t],n&=~l;return r}function tm(e,n){switch(e){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function rm(e,n){for(var t=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes;0<i;){var u=31-dn(i),o=1<<u,a=l[u];a===-1?(!(o&t)||o&r)&&(l[u]=tm(o,n)):a<=n&&(e.expiredLanes|=o),i&=~o}}function Ku(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Nf(){var e=hl;return hl<<=1,!(hl&4194240)&&(hl=64),e}function Zi(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function tl(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-dn(n),e[n]=t}function lm(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<t;){var l=31-dn(t),i=1<<l;n[l]=0,r[l]=-1,e[l]=-1,t&=~i}}function Yo(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var r=31-dn(t),l=1<<r;l&n|e[r]&n&&(e[r]|=n),t&=~l}}var q=0;function Rf(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Af,qo,Df,Mf,Bf,Xu=!1,gl=[],qn=null,bn=null,Gn=null,Ur=new Map,$r=new Map,Wn=[],im="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function as(e,n){switch(e){case"focusin":case"focusout":qn=null;break;case"dragenter":case"dragleave":bn=null;break;case"mouseover":case"mouseout":Gn=null;break;case"pointerover":case"pointerout":Ur.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":$r.delete(n.pointerId)}}function mr(e,n,t,r,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:n,domEventName:t,eventSystemFlags:r,nativeEvent:i,targetContainers:[l]},n!==null&&(n=ll(n),n!==null&&qo(n)),e):(e.eventSystemFlags|=r,n=e.targetContainers,l!==null&&n.indexOf(l)===-1&&n.push(l),e)}function um(e,n,t,r,l){switch(n){case"focusin":return qn=mr(qn,e,n,t,r,l),!0;case"dragenter":return bn=mr(bn,e,n,t,r,l),!0;case"mouseover":return Gn=mr(Gn,e,n,t,r,l),!0;case"pointerover":var i=l.pointerId;return Ur.set(i,mr(Ur.get(i)||null,e,n,t,r,l)),!0;case"gotpointercapture":return i=l.pointerId,$r.set(i,mr($r.get(i)||null,e,n,t,r,l)),!0}return!1}function jf(e){var n=dt(e.target);if(n!==null){var t=Tt(n);if(t!==null){if(n=t.tag,n===13){if(n=Lf(t),n!==null){e.blockedOn=n,Bf(e.priority,function(){Df(t)});return}}else if(n===3&&t.stateNode.current.memoizedState.isDehydrated){e.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Il(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var t=Yu(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(t===null){t=e.nativeEvent;var r=new t.constructor(t.type,t);Hu=r,t.target.dispatchEvent(r),Hu=null}else return n=ll(t),n!==null&&qo(n),e.blockedOn=t,!1;n.shift()}return!0}function ss(e,n,t){Il(e)&&t.delete(n)}function om(){Xu=!1,qn!==null&&Il(qn)&&(qn=null),bn!==null&&Il(bn)&&(bn=null),Gn!==null&&Il(Gn)&&(Gn=null),Ur.forEach(ss),$r.forEach(ss)}function gr(e,n){e.blockedOn===n&&(e.blockedOn=null,Xu||(Xu=!0,Xe.unstable_scheduleCallback(Xe.unstable_NormalPriority,om)))}function Hr(e){function n(l){return gr(l,e)}if(0<gl.length){gr(gl[0],e);for(var t=1;t<gl.length;t++){var r=gl[t];r.blockedOn===e&&(r.blockedOn=null)}}for(qn!==null&&gr(qn,e),bn!==null&&gr(bn,e),Gn!==null&&gr(Gn,e),Ur.forEach(n),$r.forEach(n),t=0;t<Wn.length;t++)r=Wn[t],r.blockedOn===e&&(r.blockedOn=null);for(;0<Wn.length&&(t=Wn[0],t.blockedOn===null);)jf(t),t.blockedOn===null&&Wn.shift()}var Xt=Dn.ReactCurrentBatchConfig,Yl=!0;function am(e,n,t,r){var l=q,i=Xt.transition;Xt.transition=null;try{q=1,bo(e,n,t,r)}finally{q=l,Xt.transition=i}}function sm(e,n,t,r){var l=q,i=Xt.transition;Xt.transition=null;try{q=4,bo(e,n,t,r)}finally{q=l,Xt.transition=i}}function bo(e,n,t,r){if(Yl){var l=Yu(e,n,t,r);if(l===null)au(e,n,r,ql,t),as(e,r);else if(um(l,e,n,t,r))r.stopPropagation();else if(as(e,r),n&4&&-1<im.indexOf(e)){for(;l!==null;){var i=ll(l);if(i!==null&&Af(i),i=Yu(e,n,t,r),i===null&&au(e,n,r,ql,t),i===l)break;l=i}l!==null&&r.stopPropagation()}else au(e,n,r,null,t)}}var ql=null;function Yu(e,n,t,r){if(ql=null,e=Ko(r),e=dt(e),e!==null)if(n=Tt(e),n===null)e=null;else if(t=n.tag,t===13){if(e=Lf(n),e!==null)return e;e=null}else if(t===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return ql=e,null}function Uf(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(bh()){case Xo:return 1;case If:return 4;case Kl:case Gh:return 16;case Ff:return 536870912;default:return 16}default:return 16}}var Kn=null,Go=null,Fl=null;function $f(){if(Fl)return Fl;var e,n=Go,t=n.length,r,l="value"in Kn?Kn.value:Kn.textContent,i=l.length;for(e=0;e<t&&n[e]===l[e];e++);var u=t-e;for(r=1;r<=u&&n[t-r]===l[i-r];r++);return Fl=l.slice(e,1<r?1-r:void 0)}function Nl(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function yl(){return!0}function cs(){return!1}function qe(e){function n(t,r,l,i,u){this._reactName=t,this._targetInst=l,this.type=r,this.nativeEvent=i,this.target=u,this.currentTarget=null;for(var o in e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?yl:cs,this.isPropagationStopped=cs,this}return ce(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=yl)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=yl)},persist:function(){},isPersistent:yl}),n}var ur={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Zo=qe(ur),rl=ce({},ur,{view:0,detail:0}),cm=qe(rl),Ji,eu,yr,yi=ce({},rl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Jo,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==yr&&(yr&&e.type==="mousemove"?(Ji=e.screenX-yr.screenX,eu=e.screenY-yr.screenY):eu=Ji=0,yr=e),Ji)},movementY:function(e){return"movementY"in e?e.movementY:eu}}),fs=qe(yi),fm=ce({},yi,{dataTransfer:0}),pm=qe(fm),dm=ce({},rl,{relatedTarget:0}),nu=qe(dm),hm=ce({},ur,{animationName:0,elapsedTime:0,pseudoElement:0}),mm=qe(hm),gm=ce({},ur,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ym=qe(gm),vm=ce({},ur,{data:0}),ps=qe(vm),km={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xm={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},wm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sm(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=wm[e])?!!n[e]:!1}function Jo(){return Sm}var Em=ce({},rl,{key:function(e){if(e.key){var n=km[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=Nl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?xm[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Jo,charCode:function(e){return e.type==="keypress"?Nl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Nl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Cm=qe(Em),Pm=ce({},yi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ds=qe(Pm),Tm=ce({},rl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Jo}),Lm=qe(Tm),zm=ce({},ur,{propertyName:0,elapsedTime:0,pseudoElement:0}),_m=qe(zm),Om=ce({},yi,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Im=qe(Om),Fm=[9,13,27,32],ea=Fn&&"CompositionEvent"in window,zr=null;Fn&&"documentMode"in document&&(zr=document.documentMode);var Nm=Fn&&"TextEvent"in window&&!zr,Hf=Fn&&(!ea||zr&&8<zr&&11>=zr),hs=" ",ms=!1;function Vf(e,n){switch(e){case"keyup":return Fm.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Rt=!1;function Rm(e,n){switch(e){case"compositionend":return Wf(n);case"keypress":return n.which!==32?null:(ms=!0,hs);case"textInput":return e=n.data,e===hs&&ms?null:e;default:return null}}function Am(e,n){if(Rt)return e==="compositionend"||!ea&&Vf(e,n)?(e=$f(),Fl=Go=Kn=null,Rt=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Hf&&n.locale!=="ko"?null:n.data;default:return null}}var Dm={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function gs(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!Dm[e.type]:n==="textarea"}function Qf(e,n,t,r){Sf(r),n=bl(n,"onChange"),0<n.length&&(t=new Zo("onChange","change",null,t,r),e.push({event:t,listeners:n}))}var _r=null,Vr=null;function Mm(e){tp(e,0)}function vi(e){var n=Mt(e);if(mf(n))return e}function Bm(e,n){if(e==="change")return n}var Kf=!1;if(Fn){var tu;if(Fn){var ru="oninput"in document;if(!ru){var ys=document.createElement("div");ys.setAttribute("oninput","return;"),ru=typeof ys.oninput=="function"}tu=ru}else tu=!1;Kf=tu&&(!document.documentMode||9<document.documentMode)}function vs(){_r&&(_r.detachEvent("onpropertychange",Xf),Vr=_r=null)}function Xf(e){if(e.propertyName==="value"&&vi(Vr)){var n=[];Qf(n,Vr,e,Ko(e)),Tf(Mm,n)}}function jm(e,n,t){e==="focusin"?(vs(),_r=n,Vr=t,_r.attachEvent("onpropertychange",Xf)):e==="focusout"&&vs()}function Um(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return vi(Vr)}function $m(e,n){if(e==="click")return vi(n)}function Hm(e,n){if(e==="input"||e==="change")return vi(n)}function Vm(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var mn=typeof Object.is=="function"?Object.is:Vm;function Wr(e,n){if(mn(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;for(r=0;r<t.length;r++){var l=t[r];if(!Ou.call(n,l)||!mn(e[l],n[l]))return!1}return!0}function ks(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function xs(e,n){var t=ks(e);e=0;for(var r;t;){if(t.nodeType===3){if(r=e+t.textContent.length,e<=n&&r>=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=ks(t)}}function Yf(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Yf(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function qf(){for(var e=window,n=Vl();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Vl(e.document)}return n}function na(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Wm(e){var n=qf(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Yf(t.ownerDocument.documentElement,t)){if(r!==null&&na(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=xs(t,i);var u=xs(t,r);l&&u&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(n),e.extend(u.node,u.offset)):(n.setEnd(u.node,u.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t<n.length;t++)e=n[t],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Qm=Fn&&"documentMode"in document&&11>=document.documentMode,At=null,qu=null,Or=null,bu=!1;function ws(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;bu||At==null||At!==Vl(r)||(r=At,"selectionStart"in r&&na(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Or&&Wr(Or,r)||(Or=r,r=bl(qu,"onSelect"),0<r.length&&(n=new Zo("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=At)))}function vl(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var Dt={animationend:vl("Animation","AnimationEnd"),animationiteration:vl("Animation","AnimationIteration"),animationstart:vl("Animation","AnimationStart"),transitionend:vl("Transition","TransitionEnd")},lu={},bf={};Fn&&(bf=document.createElement("div").style,"AnimationEvent"in window||(delete Dt.animationend.animation,delete Dt.animationiteration.animation,delete Dt.animationstart.animation),"TransitionEvent"in window||delete Dt.transitionend.transition);function ki(e){if(lu[e])return lu[e];if(!Dt[e])return e;var n=Dt[e],t;for(t in n)if(n.hasOwnProperty(t)&&t in bf)return lu[e]=n[t];return e}var Gf=ki("animationend"),Zf=ki("animationiteration"),Jf=ki("animationstart"),ep=ki("transitionend"),np=new Map,Ss="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ut(e,n){np.set(e,n),Pt(n,[e])}for(var iu=0;iu<Ss.length;iu++){var uu=Ss[iu],Km=uu.toLowerCase(),Xm=uu[0].toUpperCase()+uu.slice(1);ut(Km,"on"+Xm)}ut(Gf,"onAnimationEnd");ut(Zf,"onAnimationIteration");ut(Jf,"onAnimationStart");ut("dblclick","onDoubleClick");ut("focusin","onFocus");ut("focusout","onBlur");ut(ep,"onTransitionEnd");Zt("onMouseEnter",["mouseout","mouseover"]);Zt("onMouseLeave",["mouseout","mouseover"]);Zt("onPointerEnter",["pointerout","pointerover"]);Zt("onPointerLeave",["pointerout","pointerover"]);Pt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Pt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Pt("onBeforeInput",["compositionend","keypress","textInput","paste"]);Pt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Pt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Pt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Pr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ym=new Set("cancel close invalid load scroll toggle".split(" ").concat(Pr));function Es(e,n,t){var r=e.type||"unknown-event";e.currentTarget=t,Kh(r,n,void 0,e),e.currentTarget=null}function tp(e,n){n=(n&4)!==0;for(var t=0;t<e.length;t++){var r=e[t],l=r.event;r=r.listeners;e:{var i=void 0;if(n)for(var u=r.length-1;0<=u;u--){var o=r[u],a=o.instance,s=o.currentTarget;if(o=o.listener,a!==i&&l.isPropagationStopped())break e;Es(l,o,s),i=a}else for(u=0;u<r.length;u++){if(o=r[u],a=o.instance,s=o.currentTarget,o=o.listener,a!==i&&l.isPropagationStopped())break e;Es(l,o,s),i=a}}}if(Ql)throw e=Qu,Ql=!1,Qu=null,e}function le(e,n){var t=n[no];t===void 0&&(t=n[no]=new Set);var r=e+"__bubble";t.has(r)||(rp(n,e,2,!1),t.add(r))}function ou(e,n,t){var r=0;n&&(r|=4),rp(t,e,r,n)}var kl="_reactListening"+Math.random().toString(36).slice(2);function Qr(e){if(!e[kl]){e[kl]=!0,cf.forEach(function(t){t!=="selectionchange"&&(Ym.has(t)||ou(t,!1,e),ou(t,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[kl]||(n[kl]=!0,ou("selectionchange",!1,n))}}function rp(e,n,t,r){switch(Uf(n)){case 1:var l=am;break;case 4:l=sm;break;default:l=bo}t=l.bind(null,n,t,e),l=void 0,!Wu||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(n,t,{capture:!0,passive:l}):e.addEventListener(n,t,!0):l!==void 0?e.addEventListener(n,t,{passive:l}):e.addEventListener(n,t,!1)}function au(e,n,t,r,l){var i=r;if(!(n&1)&&!(n&2)&&r!==null)e:for(;;){if(r===null)return;var u=r.tag;if(u===3||u===4){var o=r.stateNode.containerInfo;if(o===l||o.nodeType===8&&o.parentNode===l)break;if(u===4)for(u=r.return;u!==null;){var a=u.tag;if((a===3||a===4)&&(a=u.stateNode.containerInfo,a===l||a.nodeType===8&&a.parentNode===l))return;u=u.return}for(;o!==null;){if(u=dt(o),u===null)return;if(a=u.tag,a===5||a===6){r=i=u;continue e}o=o.parentNode}}r=r.return}Tf(function(){var s=i,c=Ko(t),f=[];e:{var h=np.get(e);if(h!==void 0){var p=Zo,w=e;switch(e){case"keypress":if(Nl(t)===0)break e;case"keydown":case"keyup":p=Cm;break;case"focusin":w="focus",p=nu;break;case"focusout":w="blur",p=nu;break;case"beforeblur":case"afterblur":p=nu;break;case"click":if(t.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=fs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=pm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=Lm;break;case Gf:case Zf:case Jf:p=mm;break;case ep:p=_m;break;case"scroll":p=cm;break;case"wheel":p=Im;break;case"copy":case"cut":case"paste":p=ym;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=ds}var v=(n&4)!==0,C=!v&&e==="scroll",d=v?h!==null?h+"Capture":null:h;v=[];for(var m=s,y;m!==null;){y=m;var S=y.stateNode;if(y.tag===5&&S!==null&&(y=S,d!==null&&(S=jr(m,d),S!=null&&v.push(Kr(m,S,y)))),C)break;m=m.return}0<v.length&&(h=new p(h,w,null,t,c),f.push({event:h,listeners:v}))}}if(!(n&7)){e:{if(h=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",h&&t!==Hu&&(w=t.relatedTarget||t.fromElement)&&(dt(w)||w[Nn]))break e;if((p||h)&&(h=c.window===c?c:(h=c.ownerDocument)?h.defaultView||h.parentWindow:window,p?(w=t.relatedTarget||t.toElement,p=s,w=w?dt(w):null,w!==null&&(C=Tt(w),w!==C||w.tag!==5&&w.tag!==6)&&(w=null)):(p=null,w=s),p!==w)){if(v=fs,S="onMouseLeave",d="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(v=ds,S="onPointerLeave",d="onPointerEnter",m="pointer"),C=p==null?h:Mt(p),y=w==null?h:Mt(w),h=new v(S,m+"leave",p,t,c),h.target=C,h.relatedTarget=y,S=null,dt(c)===s&&(v=new v(d,m+"enter",w,t,c),v.target=y,v.relatedTarget=C,S=v),C=S,p&&w)n:{for(v=p,d=w,m=0,y=v;y;y=It(y))m++;for(y=0,S=d;S;S=It(S))y++;for(;0<m-y;)v=It(v),m--;for(;0<y-m;)d=It(d),y--;for(;m--;){if(v===d||d!==null&&v===d.alternate)break n;v=It(v),d=It(d)}v=null}else v=null;p!==null&&Cs(f,h,p,v,!1),w!==null&&C!==null&&Cs(f,C,w,v,!0)}}e:{if(h=s?Mt(s):window,p=h.nodeName&&h.nodeName.toLowerCase(),p==="select"||p==="input"&&h.type==="file")var T=Bm;else if(gs(h))if(Kf)T=Hm;else{T=Um;var x=jm}else(p=h.nodeName)&&p.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(T=$m);if(T&&(T=T(e,s))){Qf(f,T,t,c);break e}x&&x(e,h,s),e==="focusout"&&(x=h._wrapperState)&&x.controlled&&h.type==="number"&&Mu(h,"number",h.value)}switch(x=s?Mt(s):window,e){case"focusin":(gs(x)||x.contentEditable==="true")&&(At=x,qu=s,Or=null);break;case"focusout":Or=qu=At=null;break;case"mousedown":bu=!0;break;case"contextmenu":case"mouseup":case"dragend":bu=!1,ws(f,t,c);break;case"selectionchange":if(Qm)break;case"keydown":case"keyup":ws(f,t,c)}var P;if(ea)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else Rt?Vf(e,t)&&(_="onCompositionEnd"):e==="keydown"&&t.keyCode===229&&(_="onCompositionStart");_&&(Hf&&t.locale!=="ko"&&(Rt||_!=="onCompositionStart"?_==="onCompositionEnd"&&Rt&&(P=$f()):(Kn=c,Go="value"in Kn?Kn.value:Kn.textContent,Rt=!0)),x=bl(s,_),0<x.length&&(_=new ps(_,e,null,t,c),f.push({event:_,listeners:x}),P?_.data=P:(P=Wf(t),P!==null&&(_.data=P)))),(P=Nm?Rm(e,t):Am(e,t))&&(s=bl(s,"onBeforeInput"),0<s.length&&(c=new ps("onBeforeInput","beforeinput",null,t,c),f.push({event:c,listeners:s}),c.data=P))}tp(f,n)})}function Kr(e,n,t){return{instance:e,listener:n,currentTarget:t}}function bl(e,n){for(var t=n+"Capture",r=[];e!==null;){var l=e,i=l.stateNode;l.tag===5&&i!==null&&(l=i,i=jr(e,t),i!=null&&r.unshift(Kr(e,i,l)),i=jr(e,n),i!=null&&r.push(Kr(e,i,l))),e=e.return}return r}function It(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Cs(e,n,t,r,l){for(var i=n._reactName,u=[];t!==null&&t!==r;){var o=t,a=o.alternate,s=o.stateNode;if(a!==null&&a===r)break;o.tag===5&&s!==null&&(o=s,l?(a=jr(t,i),a!=null&&u.unshift(Kr(t,a,o))):l||(a=jr(t,i),a!=null&&u.push(Kr(t,a,o)))),t=t.return}u.length!==0&&e.push({event:n,listeners:u})}var qm=/\r\n?/g,bm=/\u0000|\uFFFD/g;function Ps(e){return(typeof e=="string"?e:""+e).replace(qm,`
|
|
30
|
+
`).replace(bm,"")}function xl(e,n,t){if(n=Ps(n),Ps(e)!==n&&t)throw Error(L(425))}function Gl(){}var Gu=null,Zu=null;function Ju(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var eo=typeof setTimeout=="function"?setTimeout:void 0,Gm=typeof clearTimeout=="function"?clearTimeout:void 0,Ts=typeof Promise=="function"?Promise:void 0,Zm=typeof queueMicrotask=="function"?queueMicrotask:typeof Ts<"u"?function(e){return Ts.resolve(null).then(e).catch(Jm)}:eo;function Jm(e){setTimeout(function(){throw e})}function su(e,n){var t=n,r=0;do{var l=t.nextSibling;if(e.removeChild(t),l&&l.nodeType===8)if(t=l.data,t==="/$"){if(r===0){e.removeChild(l),Hr(n);return}r--}else t!=="$"&&t!=="$?"&&t!=="$!"||r++;t=l}while(t);Hr(n)}function Zn(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return e}function Ls(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="$"||t==="$!"||t==="$?"){if(n===0)return e;n--}else t==="/$"&&n++}e=e.previousSibling}return null}var or=Math.random().toString(36).slice(2),xn="__reactFiber$"+or,Xr="__reactProps$"+or,Nn="__reactContainer$"+or,no="__reactEvents$"+or,eg="__reactListeners$"+or,ng="__reactHandles$"+or;function dt(e){var n=e[xn];if(n)return n;for(var t=e.parentNode;t;){if(n=t[Nn]||t[xn]){if(t=n.alternate,n.child!==null||t!==null&&t.child!==null)for(e=Ls(e);e!==null;){if(t=e[xn])return t;e=Ls(e)}return n}e=t,t=e.parentNode}return null}function ll(e){return e=e[xn]||e[Nn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Mt(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(L(33))}function xi(e){return e[Xr]||null}var to=[],Bt=-1;function ot(e){return{current:e}}function ie(e){0>Bt||(e.current=to[Bt],to[Bt]=null,Bt--)}function ne(e,n){Bt++,to[Bt]=e.current,e.current=n}var it={},Oe=ot(it),Be=ot(!1),kt=it;function Jt(e,n){var t=e.type.contextTypes;if(!t)return it;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in t)l[i]=n[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function je(e){return e=e.childContextTypes,e!=null}function Zl(){ie(Be),ie(Oe)}function zs(e,n,t){if(Oe.current!==it)throw Error(L(168));ne(Oe,n),ne(Be,t)}function lp(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(L(108,jh(e)||"Unknown",l));return ce({},t,r)}function Jl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||it,kt=Oe.current,ne(Oe,e),ne(Be,Be.current),!0}function _s(e,n,t){var r=e.stateNode;if(!r)throw Error(L(169));t?(e=lp(e,n,kt),r.__reactInternalMemoizedMergedChildContext=e,ie(Be),ie(Oe),ne(Oe,e)):ie(Be),ne(Be,t)}var zn=null,wi=!1,cu=!1;function ip(e){zn===null?zn=[e]:zn.push(e)}function tg(e){wi=!0,ip(e)}function at(){if(!cu&&zn!==null){cu=!0;var e=0,n=q;try{var t=zn;for(q=1;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}zn=null,wi=!1}catch(l){throw zn!==null&&(zn=zn.slice(e+1)),Of(Xo,at),l}finally{q=n,cu=!1}}return null}var jt=[],Ut=0,ei=null,ni=0,be=[],Ge=0,xt=null,_n=1,On="";function ct(e,n){jt[Ut++]=ni,jt[Ut++]=ei,ei=e,ni=n}function up(e,n,t){be[Ge++]=_n,be[Ge++]=On,be[Ge++]=xt,xt=e;var r=_n;e=On;var l=32-dn(r)-1;r&=~(1<<l),t+=1;var i=32-dn(n)+l;if(30<i){var u=l-l%5;i=(r&(1<<u)-1).toString(32),r>>=u,l-=u,_n=1<<32-dn(n)+l|t<<l|r,On=i+e}else _n=1<<i|t<<l|r,On=e}function ta(e){e.return!==null&&(ct(e,1),up(e,1,0))}function ra(e){for(;e===ei;)ei=jt[--Ut],jt[Ut]=null,ni=jt[--Ut],jt[Ut]=null;for(;e===xt;)xt=be[--Ge],be[Ge]=null,On=be[--Ge],be[Ge]=null,_n=be[--Ge],be[Ge]=null}var Ke=null,We=null,oe=!1,pn=null;function op(e,n){var t=Je(5,null,null,0);t.elementType="DELETED",t.stateNode=n,t.return=e,n=e.deletions,n===null?(e.deletions=[t],e.flags|=16):n.push(t)}function Os(e,n){switch(e.tag){case 5:var t=e.type;return n=n.nodeType!==1||t.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,Ke=e,We=Zn(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,Ke=e,We=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(t=xt!==null?{id:_n,overflow:On}:null,e.memoizedState={dehydrated:n,treeContext:t,retryLane:1073741824},t=Je(18,null,null,0),t.stateNode=n,t.return=e,e.child=t,Ke=e,We=null,!0):!1;default:return!1}}function ro(e){return(e.mode&1)!==0&&(e.flags&128)===0}function lo(e){if(oe){var n=We;if(n){var t=n;if(!Os(e,n)){if(ro(e))throw Error(L(418));n=Zn(t.nextSibling);var r=Ke;n&&Os(e,n)?op(r,t):(e.flags=e.flags&-4097|2,oe=!1,Ke=e)}}else{if(ro(e))throw Error(L(418));e.flags=e.flags&-4097|2,oe=!1,Ke=e}}}function Is(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ke=e}function wl(e){if(e!==Ke)return!1;if(!oe)return Is(e),oe=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!Ju(e.type,e.memoizedProps)),n&&(n=We)){if(ro(e))throw ap(),Error(L(418));for(;n;)op(e,n),n=Zn(n.nextSibling)}if(Is(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(L(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"){if(n===0){We=Zn(e.nextSibling);break e}n--}else t!=="$"&&t!=="$!"&&t!=="$?"||n++}e=e.nextSibling}We=null}}else We=Ke?Zn(e.stateNode.nextSibling):null;return!0}function ap(){for(var e=We;e;)e=Zn(e.nextSibling)}function er(){We=Ke=null,oe=!1}function la(e){pn===null?pn=[e]:pn.push(e)}var rg=Dn.ReactCurrentBatchConfig;function cn(e,n){if(e&&e.defaultProps){n=ce({},n),e=e.defaultProps;for(var t in e)n[t]===void 0&&(n[t]=e[t]);return n}return n}var ti=ot(null),ri=null,$t=null,ia=null;function ua(){ia=$t=ri=null}function oa(e){var n=ti.current;ie(ti),e._currentValue=n}function io(e,n,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,r!==null&&(r.childLanes|=n)):r!==null&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Yt(e,n){ri=e,ia=$t=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(Me=!0),e.firstContext=null)}function nn(e){var n=e._currentValue;if(ia!==e)if(e={context:e,memoizedValue:n,next:null},$t===null){if(ri===null)throw Error(L(308));$t=e,ri.dependencies={lanes:0,firstContext:e}}else $t=$t.next=e;return n}var ht=null;function aa(e){ht===null?ht=[e]:ht.push(e)}function sp(e,n,t,r){var l=n.interleaved;return l===null?(t.next=t,aa(n)):(t.next=l.next,l.next=t),n.interleaved=t,Rn(e,r)}function Rn(e,n){e.lanes|=n;var t=e.alternate;for(t!==null&&(t.lanes|=n),t=e,e=e.return;e!==null;)e.childLanes|=n,t=e.alternate,t!==null&&(t.childLanes|=n),t=e,e=e.return;return t.tag===3?t.stateNode:null}var Vn=!1;function sa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function cp(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function In(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function Jn(e,n,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,K&2){var l=r.pending;return l===null?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Rn(e,t)}return l=r.interleaved,l===null?(n.next=n,aa(r)):(n.next=l.next,l.next=n),r.interleaved=n,Rn(e,t)}function Rl(e,n,t){if(n=n.updateQueue,n!==null&&(n=n.shared,(t&4194240)!==0)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Yo(e,t)}}function Fs(e,n){var t=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var l=null,i=null;if(t=t.firstBaseUpdate,t!==null){do{var u={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};i===null?l=i=u:i=i.next=u,t=t.next}while(t!==null);i===null?l=i=n:i=i.next=n}else l=i=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function li(e,n,t,r){var l=e.updateQueue;Vn=!1;var i=l.firstBaseUpdate,u=l.lastBaseUpdate,o=l.shared.pending;if(o!==null){l.shared.pending=null;var a=o,s=a.next;a.next=null,u===null?i=s:u.next=s,u=a;var c=e.alternate;c!==null&&(c=c.updateQueue,o=c.lastBaseUpdate,o!==u&&(o===null?c.firstBaseUpdate=s:o.next=s,c.lastBaseUpdate=a))}if(i!==null){var f=l.baseState;u=0,c=s=a=null,o=i;do{var h=o.lane,p=o.eventTime;if((r&h)===h){c!==null&&(c=c.next={eventTime:p,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var w=e,v=o;switch(h=n,p=t,v.tag){case 1:if(w=v.payload,typeof w=="function"){f=w.call(p,f,h);break e}f=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=v.payload,h=typeof w=="function"?w.call(p,f,h):w,h==null)break e;f=ce({},f,h);break e;case 2:Vn=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,h=l.effects,h===null?l.effects=[o]:h.push(o))}else p={eventTime:p,lane:h,tag:o.tag,payload:o.payload,callback:o.callback,next:null},c===null?(s=c=p,a=f):c=c.next=p,u|=h;if(o=o.next,o===null){if(o=l.shared.pending,o===null)break;h=o,o=h.next,h.next=null,l.lastBaseUpdate=h,l.shared.pending=null}}while(!0);if(c===null&&(a=f),l.baseState=a,l.firstBaseUpdate=s,l.lastBaseUpdate=c,n=l.shared.interleaved,n!==null){l=n;do u|=l.lane,l=l.next;while(l!==n)}else i===null&&(l.shared.lanes=0);St|=u,e.lanes=u,e.memoizedState=f}}function Ns(e,n,t){if(e=n.effects,n.effects=null,e!==null)for(n=0;n<e.length;n++){var r=e[n],l=r.callback;if(l!==null){if(r.callback=null,r=t,typeof l!="function")throw Error(L(191,l));l.call(r)}}}var fp=new sf.Component().refs;function uo(e,n,t,r){n=e.memoizedState,t=t(r,n),t=t==null?n:ce({},n,t),e.memoizedState=t,e.lanes===0&&(e.updateQueue.baseState=t)}var Si={isMounted:function(e){return(e=e._reactInternals)?Tt(e)===e:!1},enqueueSetState:function(e,n,t){e=e._reactInternals;var r=Fe(),l=nt(e),i=In(r,l);i.payload=n,t!=null&&(i.callback=t),n=Jn(e,i,l),n!==null&&(hn(n,e,l,r),Rl(n,e,l))},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var r=Fe(),l=nt(e),i=In(r,l);i.tag=1,i.payload=n,t!=null&&(i.callback=t),n=Jn(e,i,l),n!==null&&(hn(n,e,l,r),Rl(n,e,l))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=Fe(),r=nt(e),l=In(t,r);l.tag=2,n!=null&&(l.callback=n),n=Jn(e,l,r),n!==null&&(hn(n,e,r,t),Rl(n,e,r))}};function Rs(e,n,t,r,l,i,u){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,u):n.prototype&&n.prototype.isPureReactComponent?!Wr(t,r)||!Wr(l,i):!0}function pp(e,n,t){var r=!1,l=it,i=n.contextType;return typeof i=="object"&&i!==null?i=nn(i):(l=je(n)?kt:Oe.current,r=n.contextTypes,i=(r=r!=null)?Jt(e,l):it),n=new n(t,i),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=Si,e.stateNode=n,n._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=i),n}function As(e,n,t,r){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(t,r),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(t,r),n.state!==e&&Si.enqueueReplaceState(n,n.state,null)}function oo(e,n,t,r){var l=e.stateNode;l.props=t,l.state=e.memoizedState,l.refs=fp,sa(e);var i=n.contextType;typeof i=="object"&&i!==null?l.context=nn(i):(i=je(n)?kt:Oe.current,l.context=Jt(e,i)),l.state=e.memoizedState,i=n.getDerivedStateFromProps,typeof i=="function"&&(uo(e,n,i,t),l.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(n=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),n!==l.state&&Si.enqueueReplaceState(l,l.state,null),li(e,t,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function vr(e,n,t){if(e=t.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(t._owner){if(t=t._owner,t){if(t.tag!==1)throw Error(L(309));var r=t.stateNode}if(!r)throw Error(L(147,e));var l=r,i=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===i?n.ref:(n=function(u){var o=l.refs;o===fp&&(o=l.refs={}),u===null?delete o[i]:o[i]=u},n._stringRef=i,n)}if(typeof e!="string")throw Error(L(284));if(!t._owner)throw Error(L(290,e))}return e}function Sl(e,n){throw e=Object.prototype.toString.call(n),Error(L(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function Ds(e){var n=e._init;return n(e._payload)}function dp(e){function n(d,m){if(e){var y=d.deletions;y===null?(d.deletions=[m],d.flags|=16):y.push(m)}}function t(d,m){if(!e)return null;for(;m!==null;)n(d,m),m=m.sibling;return null}function r(d,m){for(d=new Map;m!==null;)m.key!==null?d.set(m.key,m):d.set(m.index,m),m=m.sibling;return d}function l(d,m){return d=tt(d,m),d.index=0,d.sibling=null,d}function i(d,m,y){return d.index=y,e?(y=d.alternate,y!==null?(y=y.index,y<m?(d.flags|=2,m):y):(d.flags|=2,m)):(d.flags|=1048576,m)}function u(d){return e&&d.alternate===null&&(d.flags|=2),d}function o(d,m,y,S){return m===null||m.tag!==6?(m=yu(y,d.mode,S),m.return=d,m):(m=l(m,y),m.return=d,m)}function a(d,m,y,S){var T=y.type;return T===Nt?c(d,m,y.props.children,S,y.key):m!==null&&(m.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Hn&&Ds(T)===m.type)?(S=l(m,y.props),S.ref=vr(d,m,y),S.return=d,S):(S=Ul(y.type,y.key,y.props,null,d.mode,S),S.ref=vr(d,m,y),S.return=d,S)}function s(d,m,y,S){return m===null||m.tag!==4||m.stateNode.containerInfo!==y.containerInfo||m.stateNode.implementation!==y.implementation?(m=vu(y,d.mode,S),m.return=d,m):(m=l(m,y.children||[]),m.return=d,m)}function c(d,m,y,S,T){return m===null||m.tag!==7?(m=vt(y,d.mode,S,T),m.return=d,m):(m=l(m,y),m.return=d,m)}function f(d,m,y){if(typeof m=="string"&&m!==""||typeof m=="number")return m=yu(""+m,d.mode,y),m.return=d,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case fl:return y=Ul(m.type,m.key,m.props,null,d.mode,y),y.ref=vr(d,null,m),y.return=d,y;case Ft:return m=vu(m,d.mode,y),m.return=d,m;case Hn:var S=m._init;return f(d,S(m._payload),y)}if(Er(m)||dr(m))return m=vt(m,d.mode,y,null),m.return=d,m;Sl(d,m)}return null}function h(d,m,y,S){var T=m!==null?m.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return T!==null?null:o(d,m,""+y,S);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case fl:return y.key===T?a(d,m,y,S):null;case Ft:return y.key===T?s(d,m,y,S):null;case Hn:return T=y._init,h(d,m,T(y._payload),S)}if(Er(y)||dr(y))return T!==null?null:c(d,m,y,S,null);Sl(d,y)}return null}function p(d,m,y,S,T){if(typeof S=="string"&&S!==""||typeof S=="number")return d=d.get(y)||null,o(m,d,""+S,T);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case fl:return d=d.get(S.key===null?y:S.key)||null,a(m,d,S,T);case Ft:return d=d.get(S.key===null?y:S.key)||null,s(m,d,S,T);case Hn:var x=S._init;return p(d,m,y,x(S._payload),T)}if(Er(S)||dr(S))return d=d.get(y)||null,c(m,d,S,T,null);Sl(m,S)}return null}function w(d,m,y,S){for(var T=null,x=null,P=m,_=m=0,M=null;P!==null&&_<y.length;_++){P.index>_?(M=P,P=null):M=P.sibling;var D=h(d,P,y[_],S);if(D===null){P===null&&(P=M);break}e&&P&&D.alternate===null&&n(d,P),m=i(D,m,_),x===null?T=D:x.sibling=D,x=D,P=M}if(_===y.length)return t(d,P),oe&&ct(d,_),T;if(P===null){for(;_<y.length;_++)P=f(d,y[_],S),P!==null&&(m=i(P,m,_),x===null?T=P:x.sibling=P,x=P);return oe&&ct(d,_),T}for(P=r(d,P);_<y.length;_++)M=p(P,d,_,y[_],S),M!==null&&(e&&M.alternate!==null&&P.delete(M.key===null?_:M.key),m=i(M,m,_),x===null?T=M:x.sibling=M,x=M);return e&&P.forEach(function(F){return n(d,F)}),oe&&ct(d,_),T}function v(d,m,y,S){var T=dr(y);if(typeof T!="function")throw Error(L(150));if(y=T.call(y),y==null)throw Error(L(151));for(var x=T=null,P=m,_=m=0,M=null,D=y.next();P!==null&&!D.done;_++,D=y.next()){P.index>_?(M=P,P=null):M=P.sibling;var F=h(d,P,D.value,S);if(F===null){P===null&&(P=M);break}e&&P&&F.alternate===null&&n(d,P),m=i(F,m,_),x===null?T=F:x.sibling=F,x=F,P=M}if(D.done)return t(d,P),oe&&ct(d,_),T;if(P===null){for(;!D.done;_++,D=y.next())D=f(d,D.value,S),D!==null&&(m=i(D,m,_),x===null?T=D:x.sibling=D,x=D);return oe&&ct(d,_),T}for(P=r(d,P);!D.done;_++,D=y.next())D=p(P,d,_,D.value,S),D!==null&&(e&&D.alternate!==null&&P.delete(D.key===null?_:D.key),m=i(D,m,_),x===null?T=D:x.sibling=D,x=D);return e&&P.forEach(function(A){return n(d,A)}),oe&&ct(d,_),T}function C(d,m,y,S){if(typeof y=="object"&&y!==null&&y.type===Nt&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case fl:e:{for(var T=y.key,x=m;x!==null;){if(x.key===T){if(T=y.type,T===Nt){if(x.tag===7){t(d,x.sibling),m=l(x,y.props.children),m.return=d,d=m;break e}}else if(x.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===Hn&&Ds(T)===x.type){t(d,x.sibling),m=l(x,y.props),m.ref=vr(d,x,y),m.return=d,d=m;break e}t(d,x);break}else n(d,x);x=x.sibling}y.type===Nt?(m=vt(y.props.children,d.mode,S,y.key),m.return=d,d=m):(S=Ul(y.type,y.key,y.props,null,d.mode,S),S.ref=vr(d,m,y),S.return=d,d=S)}return u(d);case Ft:e:{for(x=y.key;m!==null;){if(m.key===x)if(m.tag===4&&m.stateNode.containerInfo===y.containerInfo&&m.stateNode.implementation===y.implementation){t(d,m.sibling),m=l(m,y.children||[]),m.return=d,d=m;break e}else{t(d,m);break}else n(d,m);m=m.sibling}m=vu(y,d.mode,S),m.return=d,d=m}return u(d);case Hn:return x=y._init,C(d,m,x(y._payload),S)}if(Er(y))return w(d,m,y,S);if(dr(y))return v(d,m,y,S);Sl(d,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,m!==null&&m.tag===6?(t(d,m.sibling),m=l(m,y),m.return=d,d=m):(t(d,m),m=yu(y,d.mode,S),m.return=d,d=m),u(d)):t(d,m)}return C}var nr=dp(!0),hp=dp(!1),il={},En=ot(il),Yr=ot(il),qr=ot(il);function mt(e){if(e===il)throw Error(L(174));return e}function ca(e,n){switch(ne(qr,n),ne(Yr,e),ne(En,il),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:ju(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=ju(n,e)}ie(En),ne(En,n)}function tr(){ie(En),ie(Yr),ie(qr)}function mp(e){mt(qr.current);var n=mt(En.current),t=ju(n,e.type);n!==t&&(ne(Yr,e),ne(En,t))}function fa(e){Yr.current===e&&(ie(En),ie(Yr))}var ae=ot(0);function ii(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var fu=[];function pa(){for(var e=0;e<fu.length;e++)fu[e]._workInProgressVersionPrimary=null;fu.length=0}var Al=Dn.ReactCurrentDispatcher,pu=Dn.ReactCurrentBatchConfig,wt=0,se=null,xe=null,Se=null,ui=!1,Ir=!1,br=0,lg=0;function Le(){throw Error(L(321))}function da(e,n){if(n===null)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!mn(e[t],n[t]))return!1;return!0}function ha(e,n,t,r,l,i){if(wt=i,se=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,Al.current=e===null||e.memoizedState===null?ag:sg,e=t(r,l),Ir){i=0;do{if(Ir=!1,br=0,25<=i)throw Error(L(301));i+=1,Se=xe=null,n.updateQueue=null,Al.current=cg,e=t(r,l)}while(Ir)}if(Al.current=oi,n=xe!==null&&xe.next!==null,wt=0,Se=xe=se=null,ui=!1,n)throw Error(L(300));return e}function ma(){var e=br!==0;return br=0,e}function vn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Se===null?se.memoizedState=Se=e:Se=Se.next=e,Se}function tn(){if(xe===null){var e=se.alternate;e=e!==null?e.memoizedState:null}else e=xe.next;var n=Se===null?se.memoizedState:Se.next;if(n!==null)Se=n,xe=e;else{if(e===null)throw Error(L(310));xe=e,e={memoizedState:xe.memoizedState,baseState:xe.baseState,baseQueue:xe.baseQueue,queue:xe.queue,next:null},Se===null?se.memoizedState=Se=e:Se=Se.next=e}return Se}function Gr(e,n){return typeof n=="function"?n(e):n}function du(e){var n=tn(),t=n.queue;if(t===null)throw Error(L(311));t.lastRenderedReducer=e;var r=xe,l=r.baseQueue,i=t.pending;if(i!==null){if(l!==null){var u=l.next;l.next=i.next,i.next=u}r.baseQueue=l=i,t.pending=null}if(l!==null){i=l.next,r=r.baseState;var o=u=null,a=null,s=i;do{var c=s.lane;if((wt&c)===c)a!==null&&(a=a.next={lane:0,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null}),r=s.hasEagerState?s.eagerState:e(r,s.action);else{var f={lane:c,action:s.action,hasEagerState:s.hasEagerState,eagerState:s.eagerState,next:null};a===null?(o=a=f,u=r):a=a.next=f,se.lanes|=c,St|=c}s=s.next}while(s!==null&&s!==i);a===null?u=r:a.next=o,mn(r,n.memoizedState)||(Me=!0),n.memoizedState=r,n.baseState=u,n.baseQueue=a,t.lastRenderedState=r}if(e=t.interleaved,e!==null){l=e;do i=l.lane,se.lanes|=i,St|=i,l=l.next;while(l!==e)}else l===null&&(t.lanes=0);return[n.memoizedState,t.dispatch]}function hu(e){var n=tn(),t=n.queue;if(t===null)throw Error(L(311));t.lastRenderedReducer=e;var r=t.dispatch,l=t.pending,i=n.memoizedState;if(l!==null){t.pending=null;var u=l=l.next;do i=e(i,u.action),u=u.next;while(u!==l);mn(i,n.memoizedState)||(Me=!0),n.memoizedState=i,n.baseQueue===null&&(n.baseState=i),t.lastRenderedState=i}return[i,r]}function gp(){}function yp(e,n){var t=se,r=tn(),l=n(),i=!mn(r.memoizedState,l);if(i&&(r.memoizedState=l,Me=!0),r=r.queue,ga(xp.bind(null,t,r,e),[e]),r.getSnapshot!==n||i||Se!==null&&Se.memoizedState.tag&1){if(t.flags|=2048,Zr(9,kp.bind(null,t,r,l,n),void 0,null),Ee===null)throw Error(L(349));wt&30||vp(t,n,l)}return l}function vp(e,n,t){e.flags|=16384,e={getSnapshot:n,value:t},n=se.updateQueue,n===null?(n={lastEffect:null,stores:null},se.updateQueue=n,n.stores=[e]):(t=n.stores,t===null?n.stores=[e]:t.push(e))}function kp(e,n,t,r){n.value=t,n.getSnapshot=r,wp(n)&&Sp(e)}function xp(e,n,t){return t(function(){wp(n)&&Sp(e)})}function wp(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!mn(e,t)}catch{return!0}}function Sp(e){var n=Rn(e,1);n!==null&&hn(n,e,1,-1)}function Ms(e){var n=vn();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Gr,lastRenderedState:e},n.queue=e,e=e.dispatch=og.bind(null,se,e),[n.memoizedState,e]}function Zr(e,n,t,r){return e={tag:e,create:n,destroy:t,deps:r,next:null},n=se.updateQueue,n===null?(n={lastEffect:null,stores:null},se.updateQueue=n,n.lastEffect=e.next=e):(t=n.lastEffect,t===null?n.lastEffect=e.next=e:(r=t.next,t.next=e,e.next=r,n.lastEffect=e)),e}function Ep(){return tn().memoizedState}function Dl(e,n,t,r){var l=vn();se.flags|=e,l.memoizedState=Zr(1|n,t,void 0,r===void 0?null:r)}function Ei(e,n,t,r){var l=tn();r=r===void 0?null:r;var i=void 0;if(xe!==null){var u=xe.memoizedState;if(i=u.destroy,r!==null&&da(r,u.deps)){l.memoizedState=Zr(n,t,i,r);return}}se.flags|=e,l.memoizedState=Zr(1|n,t,i,r)}function Bs(e,n){return Dl(8390656,8,e,n)}function ga(e,n){return Ei(2048,8,e,n)}function Cp(e,n){return Ei(4,2,e,n)}function Pp(e,n){return Ei(4,4,e,n)}function Tp(e,n){if(typeof n=="function")return e=e(),n(e),function(){n(null)};if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function Lp(e,n,t){return t=t!=null?t.concat([e]):null,Ei(4,4,Tp.bind(null,n,e),t)}function ya(){}function zp(e,n){var t=tn();n=n===void 0?null:n;var r=t.memoizedState;return r!==null&&n!==null&&da(n,r[1])?r[0]:(t.memoizedState=[e,n],e)}function _p(e,n){var t=tn();n=n===void 0?null:n;var r=t.memoizedState;return r!==null&&n!==null&&da(n,r[1])?r[0]:(e=e(),t.memoizedState=[e,n],e)}function Op(e,n,t){return wt&21?(mn(t,n)||(t=Nf(),se.lanes|=t,St|=t,e.baseState=!0),n):(e.baseState&&(e.baseState=!1,Me=!0),e.memoizedState=t)}function ig(e,n){var t=q;q=t!==0&&4>t?t:4,e(!0);var r=pu.transition;pu.transition={};try{e(!1),n()}finally{q=t,pu.transition=r}}function Ip(){return tn().memoizedState}function ug(e,n,t){var r=nt(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Fp(e))Np(n,t);else if(t=sp(e,n,t,r),t!==null){var l=Fe();hn(t,e,r,l),Rp(t,n,r)}}function og(e,n,t){var r=nt(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Fp(e))Np(n,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=n.lastRenderedReducer,i!==null))try{var u=n.lastRenderedState,o=i(u,t);if(l.hasEagerState=!0,l.eagerState=o,mn(o,u)){var a=n.interleaved;a===null?(l.next=l,aa(n)):(l.next=a.next,a.next=l),n.interleaved=l;return}}catch{}finally{}t=sp(e,n,l,r),t!==null&&(l=Fe(),hn(t,e,r,l),Rp(t,n,r))}}function Fp(e){var n=e.alternate;return e===se||n!==null&&n===se}function Np(e,n){Ir=ui=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Rp(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Yo(e,t)}}var oi={readContext:nn,useCallback:Le,useContext:Le,useEffect:Le,useImperativeHandle:Le,useInsertionEffect:Le,useLayoutEffect:Le,useMemo:Le,useReducer:Le,useRef:Le,useState:Le,useDebugValue:Le,useDeferredValue:Le,useTransition:Le,useMutableSource:Le,useSyncExternalStore:Le,useId:Le,unstable_isNewReconciler:!1},ag={readContext:nn,useCallback:function(e,n){return vn().memoizedState=[e,n===void 0?null:n],e},useContext:nn,useEffect:Bs,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,Dl(4194308,4,Tp.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Dl(4194308,4,e,n)},useInsertionEffect:function(e,n){return Dl(4,2,e,n)},useMemo:function(e,n){var t=vn();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=vn();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=ug.bind(null,se,e),[r.memoizedState,e]},useRef:function(e){var n=vn();return e={current:e},n.memoizedState=e},useState:Ms,useDebugValue:ya,useDeferredValue:function(e){return vn().memoizedState=e},useTransition:function(){var e=Ms(!1),n=e[0];return e=ig.bind(null,e[1]),vn().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=se,l=vn();if(oe){if(t===void 0)throw Error(L(407));t=t()}else{if(t=n(),Ee===null)throw Error(L(349));wt&30||vp(r,n,t)}l.memoizedState=t;var i={value:t,getSnapshot:n};return l.queue=i,Bs(xp.bind(null,r,i,e),[e]),r.flags|=2048,Zr(9,kp.bind(null,r,i,t,n),void 0,null),t},useId:function(){var e=vn(),n=Ee.identifierPrefix;if(oe){var t=On,r=_n;t=(r&~(1<<32-dn(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=br++,0<t&&(n+="H"+t.toString(32)),n+=":"}else t=lg++,n=":"+n+"r"+t.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},sg={readContext:nn,useCallback:zp,useContext:nn,useEffect:ga,useImperativeHandle:Lp,useInsertionEffect:Cp,useLayoutEffect:Pp,useMemo:_p,useReducer:du,useRef:Ep,useState:function(){return du(Gr)},useDebugValue:ya,useDeferredValue:function(e){var n=tn();return Op(n,xe.memoizedState,e)},useTransition:function(){var e=du(Gr)[0],n=tn().memoizedState;return[e,n]},useMutableSource:gp,useSyncExternalStore:yp,useId:Ip,unstable_isNewReconciler:!1},cg={readContext:nn,useCallback:zp,useContext:nn,useEffect:ga,useImperativeHandle:Lp,useInsertionEffect:Cp,useLayoutEffect:Pp,useMemo:_p,useReducer:hu,useRef:Ep,useState:function(){return hu(Gr)},useDebugValue:ya,useDeferredValue:function(e){var n=tn();return xe===null?n.memoizedState=e:Op(n,xe.memoizedState,e)},useTransition:function(){var e=hu(Gr)[0],n=tn().memoizedState;return[e,n]},useMutableSource:gp,useSyncExternalStore:yp,useId:Ip,unstable_isNewReconciler:!1};function rr(e,n){try{var t="",r=n;do t+=Bh(r),r=r.return;while(r);var l=t}catch(i){l=`
|
|
31
|
+
Error generating stack: `+i.message+`
|
|
32
|
+
`+i.stack}return{value:e,source:n,stack:l,digest:null}}function mu(e,n,t){return{value:e,source:null,stack:t??null,digest:n??null}}function ao(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var fg=typeof WeakMap=="function"?WeakMap:Map;function Ap(e,n,t){t=In(-1,t),t.tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){si||(si=!0,ko=r),ao(e,n)},t}function Dp(e,n,t){t=In(-1,t),t.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=n.value;t.payload=function(){return r(l)},t.callback=function(){ao(e,n)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(t.callback=function(){ao(e,n),typeof r!="function"&&(et===null?et=new Set([this]):et.add(this));var u=n.stack;this.componentDidCatch(n.value,{componentStack:u!==null?u:""})}),t}function js(e,n,t){var r=e.pingCache;if(r===null){r=e.pingCache=new fg;var l=new Set;r.set(n,l)}else l=r.get(n),l===void 0&&(l=new Set,r.set(n,l));l.has(t)||(l.add(t),e=Pg.bind(null,e,n,t),n.then(e,e))}function Us(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function $s(e,n,t,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(n=In(-1,1),n.tag=2,Jn(t,n,1))),t.lanes|=1),e)}var pg=Dn.ReactCurrentOwner,Me=!1;function Ie(e,n,t,r){n.child=e===null?hp(n,null,t,r):nr(n,e.child,t,r)}function Hs(e,n,t,r,l){t=t.render;var i=n.ref;return Yt(n,l),r=ha(e,n,t,r,i,l),t=ma(),e!==null&&!Me?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,An(e,n,l)):(oe&&t&&ta(n),n.flags|=1,Ie(e,n,r,l),n.child)}function Vs(e,n,t,r,l){if(e===null){var i=t.type;return typeof i=="function"&&!Pa(i)&&i.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(n.tag=15,n.type=i,Mp(e,n,i,r,l)):(e=Ul(t.type,null,r,n,n.mode,l),e.ref=n.ref,e.return=n,n.child=e)}if(i=e.child,!(e.lanes&l)){var u=i.memoizedProps;if(t=t.compare,t=t!==null?t:Wr,t(u,r)&&e.ref===n.ref)return An(e,n,l)}return n.flags|=1,e=tt(i,r),e.ref=n.ref,e.return=n,n.child=e}function Mp(e,n,t,r,l){if(e!==null){var i=e.memoizedProps;if(Wr(i,r)&&e.ref===n.ref)if(Me=!1,n.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(Me=!0);else return n.lanes=e.lanes,An(e,n,l)}return so(e,n,t,r,l)}function Bp(e,n,t){var r=n.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},ne(Vt,Ve),Ve|=t;else{if(!(t&1073741824))return e=i!==null?i.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,ne(Vt,Ve),Ve|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:t,ne(Vt,Ve),Ve|=r}else i!==null?(r=i.baseLanes|t,n.memoizedState=null):r=t,ne(Vt,Ve),Ve|=r;return Ie(e,n,l,t),n.child}function jp(e,n){var t=n.ref;(e===null&&t!==null||e!==null&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function so(e,n,t,r,l){var i=je(t)?kt:Oe.current;return i=Jt(n,i),Yt(n,l),t=ha(e,n,t,r,i,l),r=ma(),e!==null&&!Me?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,An(e,n,l)):(oe&&r&&ta(n),n.flags|=1,Ie(e,n,t,l),n.child)}function Ws(e,n,t,r,l){if(je(t)){var i=!0;Jl(n)}else i=!1;if(Yt(n,l),n.stateNode===null)Ml(e,n),pp(n,t,r),oo(n,t,r,l),r=!0;else if(e===null){var u=n.stateNode,o=n.memoizedProps;u.props=o;var a=u.context,s=t.contextType;typeof s=="object"&&s!==null?s=nn(s):(s=je(t)?kt:Oe.current,s=Jt(n,s));var c=t.getDerivedStateFromProps,f=typeof c=="function"||typeof u.getSnapshotBeforeUpdate=="function";f||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(o!==r||a!==s)&&As(n,u,r,s),Vn=!1;var h=n.memoizedState;u.state=h,li(n,r,u,l),a=n.memoizedState,o!==r||h!==a||Be.current||Vn?(typeof c=="function"&&(uo(n,t,c,r),a=n.memoizedState),(o=Vn||Rs(n,t,o,r,h,a,s))?(f||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(n.flags|=4194308)):(typeof u.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=a),u.props=r,u.state=a,u.context=s,r=o):(typeof u.componentDidMount=="function"&&(n.flags|=4194308),r=!1)}else{u=n.stateNode,cp(e,n),o=n.memoizedProps,s=n.type===n.elementType?o:cn(n.type,o),u.props=s,f=n.pendingProps,h=u.context,a=t.contextType,typeof a=="object"&&a!==null?a=nn(a):(a=je(t)?kt:Oe.current,a=Jt(n,a));var p=t.getDerivedStateFromProps;(c=typeof p=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(o!==f||h!==a)&&As(n,u,r,a),Vn=!1,h=n.memoizedState,u.state=h,li(n,r,u,l);var w=n.memoizedState;o!==f||h!==w||Be.current||Vn?(typeof p=="function"&&(uo(n,t,p,r),w=n.memoizedState),(s=Vn||Rs(n,t,s,r,h,w,a)||!1)?(c||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(r,w,a),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(r,w,a)),typeof u.componentDidUpdate=="function"&&(n.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof u.componentDidUpdate!="function"||o===e.memoizedProps&&h===e.memoizedState||(n.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&h===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=w),u.props=r,u.state=w,u.context=a,r=s):(typeof u.componentDidUpdate!="function"||o===e.memoizedProps&&h===e.memoizedState||(n.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&h===e.memoizedState||(n.flags|=1024),r=!1)}return co(e,n,t,r,i,l)}function co(e,n,t,r,l,i){jp(e,n);var u=(n.flags&128)!==0;if(!r&&!u)return l&&_s(n,t,!1),An(e,n,i);r=n.stateNode,pg.current=n;var o=u&&typeof t.getDerivedStateFromError!="function"?null:r.render();return n.flags|=1,e!==null&&u?(n.child=nr(n,e.child,null,i),n.child=nr(n,null,o,i)):Ie(e,n,o,i),n.memoizedState=r.state,l&&_s(n,t,!0),n.child}function Up(e){var n=e.stateNode;n.pendingContext?zs(e,n.pendingContext,n.pendingContext!==n.context):n.context&&zs(e,n.context,!1),ca(e,n.containerInfo)}function Qs(e,n,t,r,l){return er(),la(l),n.flags|=256,Ie(e,n,t,r),n.child}var fo={dehydrated:null,treeContext:null,retryLane:0};function po(e){return{baseLanes:e,cachePool:null,transitions:null}}function $p(e,n,t){var r=n.pendingProps,l=ae.current,i=!1,u=(n.flags&128)!==0,o;if((o=u)||(o=e!==null&&e.memoizedState===null?!1:(l&2)!==0),o?(i=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),ne(ae,l&1),e===null)return lo(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(n.mode&1?e.data==="$!"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(u=r.children,e=r.fallback,i?(r=n.mode,i=n.child,u={mode:"hidden",children:u},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=u):i=Ti(u,r,0,null),e=vt(e,r,t,null),i.return=n,e.return=n,i.sibling=e,n.child=i,n.child.memoizedState=po(t),n.memoizedState=fo,e):va(n,u));if(l=e.memoizedState,l!==null&&(o=l.dehydrated,o!==null))return dg(e,n,u,r,o,l,t);if(i){i=r.fallback,u=n.mode,l=e.child,o=l.sibling;var a={mode:"hidden",children:r.children};return!(u&1)&&n.child!==l?(r=n.child,r.childLanes=0,r.pendingProps=a,n.deletions=null):(r=tt(l,a),r.subtreeFlags=l.subtreeFlags&14680064),o!==null?i=tt(o,i):(i=vt(i,u,t,null),i.flags|=2),i.return=n,r.return=n,r.sibling=i,n.child=r,r=i,i=n.child,u=e.child.memoizedState,u=u===null?po(t):{baseLanes:u.baseLanes|t,cachePool:null,transitions:u.transitions},i.memoizedState=u,i.childLanes=e.childLanes&~t,n.memoizedState=fo,r}return i=e.child,e=i.sibling,r=tt(i,{mode:"visible",children:r.children}),!(n.mode&1)&&(r.lanes=t),r.return=n,r.sibling=null,e!==null&&(t=n.deletions,t===null?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=r,n.memoizedState=null,r}function va(e,n){return n=Ti({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function El(e,n,t,r){return r!==null&&la(r),nr(n,e.child,null,t),e=va(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function dg(e,n,t,r,l,i,u){if(t)return n.flags&256?(n.flags&=-257,r=mu(Error(L(422))),El(e,n,u,r)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(i=r.fallback,l=n.mode,r=Ti({mode:"visible",children:r.children},l,0,null),i=vt(i,l,u,null),i.flags|=2,r.return=n,i.return=n,r.sibling=i,n.child=r,n.mode&1&&nr(n,e.child,null,u),n.child.memoizedState=po(u),n.memoizedState=fo,i);if(!(n.mode&1))return El(e,n,u,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var o=r.dgst;return r=o,i=Error(L(419)),r=mu(i,r,void 0),El(e,n,u,r)}if(o=(u&e.childLanes)!==0,Me||o){if(r=Ee,r!==null){switch(u&-u){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|u)?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,Rn(e,l),hn(r,e,l,-1))}return Ca(),r=mu(Error(L(421))),El(e,n,u,r)}return l.data==="$?"?(n.flags|=128,n.child=e.child,n=Tg.bind(null,e),l._reactRetry=n,null):(e=i.treeContext,We=Zn(l.nextSibling),Ke=n,oe=!0,pn=null,e!==null&&(be[Ge++]=_n,be[Ge++]=On,be[Ge++]=xt,_n=e.id,On=e.overflow,xt=n),n=va(n,r.children),n.flags|=4096,n)}function Ks(e,n,t){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n),io(e.return,n,t)}function gu(e,n,t,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l}:(i.isBackwards=n,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=t,i.tailMode=l)}function Hp(e,n,t){var r=n.pendingProps,l=r.revealOrder,i=r.tail;if(Ie(e,n,r.children,t),r=ae.current,r&2)r=r&1|2,n.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Ks(e,t,n);else if(e.tag===19)Ks(e,t,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ne(ae,r),!(n.mode&1))n.memoizedState=null;else switch(l){case"forwards":for(t=n.child,l=null;t!==null;)e=t.alternate,e!==null&&ii(e)===null&&(l=t),t=t.sibling;t=l,t===null?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),gu(n,!1,l,t,i);break;case"backwards":for(t=null,l=n.child,n.child=null;l!==null;){if(e=l.alternate,e!==null&&ii(e)===null){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}gu(n,!0,t,null,i);break;case"together":gu(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Ml(e,n){!(n.mode&1)&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function An(e,n,t){if(e!==null&&(n.dependencies=e.dependencies),St|=n.lanes,!(t&n.childLanes))return null;if(e!==null&&n.child!==e.child)throw Error(L(153));if(n.child!==null){for(e=n.child,t=tt(e,e.pendingProps),n.child=t,t.return=n;e.sibling!==null;)e=e.sibling,t=t.sibling=tt(e,e.pendingProps),t.return=n;t.sibling=null}return n.child}function hg(e,n,t){switch(n.tag){case 3:Up(n),er();break;case 5:mp(n);break;case 1:je(n.type)&&Jl(n);break;case 4:ca(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,l=n.memoizedProps.value;ne(ti,r._currentValue),r._currentValue=l;break;case 13:if(r=n.memoizedState,r!==null)return r.dehydrated!==null?(ne(ae,ae.current&1),n.flags|=128,null):t&n.child.childLanes?$p(e,n,t):(ne(ae,ae.current&1),e=An(e,n,t),e!==null?e.sibling:null);ne(ae,ae.current&1);break;case 19:if(r=(t&n.childLanes)!==0,e.flags&128){if(r)return Hp(e,n,t);n.flags|=128}if(l=n.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),ne(ae,ae.current),r)break;return null;case 22:case 23:return n.lanes=0,Bp(e,n,t)}return An(e,n,t)}var Vp,ho,Wp,Qp;Vp=function(e,n){for(var t=n.child;t!==null;){if(t.tag===5||t.tag===6)e.appendChild(t.stateNode);else if(t.tag!==4&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break;for(;t.sibling===null;){if(t.return===null||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}};ho=function(){};Wp=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,mt(En.current);var i=null;switch(t){case"input":l=Au(e,l),r=Au(e,r),i=[];break;case"select":l=ce({},l,{value:void 0}),r=ce({},r,{value:void 0}),i=[];break;case"textarea":l=Bu(e,l),r=Bu(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Gl)}Uu(t,r);var u;t=null;for(s in l)if(!r.hasOwnProperty(s)&&l.hasOwnProperty(s)&&l[s]!=null)if(s==="style"){var o=l[s];for(u in o)o.hasOwnProperty(u)&&(t||(t={}),t[u]="")}else s!=="dangerouslySetInnerHTML"&&s!=="children"&&s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Mr.hasOwnProperty(s)?i||(i=[]):(i=i||[]).push(s,null));for(s in r){var a=r[s];if(o=l!=null?l[s]:void 0,r.hasOwnProperty(s)&&a!==o&&(a!=null||o!=null))if(s==="style")if(o){for(u in o)!o.hasOwnProperty(u)||a&&a.hasOwnProperty(u)||(t||(t={}),t[u]="");for(u in a)a.hasOwnProperty(u)&&o[u]!==a[u]&&(t||(t={}),t[u]=a[u])}else t||(i||(i=[]),i.push(s,t)),t=a;else s==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,o=o?o.__html:void 0,a!=null&&o!==a&&(i=i||[]).push(s,a)):s==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(s,""+a):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(Mr.hasOwnProperty(s)?(a!=null&&s==="onScroll"&&le("scroll",e),i||o===a||(i=[])):(i=i||[]).push(s,a))}t&&(i=i||[]).push("style",t);var s=i;(n.updateQueue=s)&&(n.flags|=4)}};Qp=function(e,n,t,r){t!==r&&(n.flags|=4)};function kr(e,n){if(!oe)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;n!==null;)n.alternate!==null&&(t=n),n=n.sibling;t===null?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ze(e){var n=e.alternate!==null&&e.alternate.child===e.child,t=0,r=0;if(n)for(var l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}function mg(e,n,t){var r=n.pendingProps;switch(ra(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ze(n),null;case 1:return je(n.type)&&Zl(),ze(n),null;case 3:return r=n.stateNode,tr(),ie(Be),ie(Oe),pa(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(wl(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,pn!==null&&(So(pn),pn=null))),ho(e,n),ze(n),null;case 5:fa(n);var l=mt(qr.current);if(t=n.type,e!==null&&n.stateNode!=null)Wp(e,n,t,r,l),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(n.stateNode===null)throw Error(L(166));return ze(n),null}if(e=mt(En.current),wl(n)){r=n.stateNode,t=n.type;var i=n.memoizedProps;switch(r[xn]=n,r[Xr]=i,e=(n.mode&1)!==0,t){case"dialog":le("cancel",r),le("close",r);break;case"iframe":case"object":case"embed":le("load",r);break;case"video":case"audio":for(l=0;l<Pr.length;l++)le(Pr[l],r);break;case"source":le("error",r);break;case"img":case"image":case"link":le("error",r),le("load",r);break;case"details":le("toggle",r);break;case"input":ns(r,i),le("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},le("invalid",r);break;case"textarea":rs(r,i),le("invalid",r)}Uu(t,i),l=null;for(var u in i)if(i.hasOwnProperty(u)){var o=i[u];u==="children"?typeof o=="string"?r.textContent!==o&&(i.suppressHydrationWarning!==!0&&xl(r.textContent,o,e),l=["children",o]):typeof o=="number"&&r.textContent!==""+o&&(i.suppressHydrationWarning!==!0&&xl(r.textContent,o,e),l=["children",""+o]):Mr.hasOwnProperty(u)&&o!=null&&u==="onScroll"&&le("scroll",r)}switch(t){case"input":pl(r),ts(r,i,!0);break;case"textarea":pl(r),ls(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Gl)}r=l,n.updateQueue=r,r!==null&&(n.flags|=4)}else{u=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=vf(t)),e==="http://www.w3.org/1999/xhtml"?t==="script"?(e=u.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=u.createElement(t,{is:r.is}):(e=u.createElement(t),t==="select"&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,t),e[xn]=n,e[Xr]=r,Vp(e,n,!1,!1),n.stateNode=e;e:{switch(u=$u(t,r),t){case"dialog":le("cancel",e),le("close",e),l=r;break;case"iframe":case"object":case"embed":le("load",e),l=r;break;case"video":case"audio":for(l=0;l<Pr.length;l++)le(Pr[l],e);l=r;break;case"source":le("error",e),l=r;break;case"img":case"image":case"link":le("error",e),le("load",e),l=r;break;case"details":le("toggle",e),l=r;break;case"input":ns(e,r),l=Au(e,r),le("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=ce({},r,{value:void 0}),le("invalid",e);break;case"textarea":rs(e,r),l=Bu(e,r),le("invalid",e);break;default:l=r}Uu(t,l),o=l;for(i in o)if(o.hasOwnProperty(i)){var a=o[i];i==="style"?wf(e,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&kf(e,a)):i==="children"?typeof a=="string"?(t!=="textarea"||a!=="")&&Br(e,a):typeof a=="number"&&Br(e,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Mr.hasOwnProperty(i)?a!=null&&i==="onScroll"&&le("scroll",e):a!=null&&Ho(e,i,a,u))}switch(t){case"input":pl(e),ts(e,r,!1);break;case"textarea":pl(e),ls(e);break;case"option":r.value!=null&&e.setAttribute("value",""+lt(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Wt(e,!!r.multiple,i,!1):r.defaultValue!=null&&Wt(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Gl)}switch(t){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return ze(n),null;case 6:if(e&&n.stateNode!=null)Qp(e,n,e.memoizedProps,r);else{if(typeof r!="string"&&n.stateNode===null)throw Error(L(166));if(t=mt(qr.current),mt(En.current),wl(n)){if(r=n.stateNode,t=n.memoizedProps,r[xn]=n,(i=r.nodeValue!==t)&&(e=Ke,e!==null))switch(e.tag){case 3:xl(r.nodeValue,t,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&xl(r.nodeValue,t,(e.mode&1)!==0)}i&&(n.flags|=4)}else r=(t.nodeType===9?t:t.ownerDocument).createTextNode(r),r[xn]=n,n.stateNode=r}return ze(n),null;case 13:if(ie(ae),r=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(oe&&We!==null&&n.mode&1&&!(n.flags&128))ap(),er(),n.flags|=98560,i=!1;else if(i=wl(n),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(L(318));if(i=n.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(L(317));i[xn]=n}else er(),!(n.flags&128)&&(n.memoizedState=null),n.flags|=4;ze(n),i=!1}else pn!==null&&(So(pn),pn=null),i=!0;if(!i)return n.flags&65536?n:null}return n.flags&128?(n.lanes=t,n):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(n.child.flags|=8192,n.mode&1&&(e===null||ae.current&1?we===0&&(we=3):Ca())),n.updateQueue!==null&&(n.flags|=4),ze(n),null);case 4:return tr(),ho(e,n),e===null&&Qr(n.stateNode.containerInfo),ze(n),null;case 10:return oa(n.type._context),ze(n),null;case 17:return je(n.type)&&Zl(),ze(n),null;case 19:if(ie(ae),i=n.memoizedState,i===null)return ze(n),null;if(r=(n.flags&128)!==0,u=i.rendering,u===null)if(r)kr(i,!1);else{if(we!==0||e!==null&&e.flags&128)for(e=n.child;e!==null;){if(u=ii(e),u!==null){for(n.flags|=128,kr(i,!1),r=u.updateQueue,r!==null&&(n.updateQueue=r,n.flags|=4),n.subtreeFlags=0,r=t,t=n.child;t!==null;)i=t,e=r,i.flags&=14680066,u=i.alternate,u===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=u.childLanes,i.lanes=u.lanes,i.child=u.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=u.memoizedProps,i.memoizedState=u.memoizedState,i.updateQueue=u.updateQueue,i.type=u.type,e=u.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return ne(ae,ae.current&1|2),n.child}e=e.sibling}i.tail!==null&&he()>lr&&(n.flags|=128,r=!0,kr(i,!1),n.lanes=4194304)}else{if(!r)if(e=ii(u),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),kr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!u.alternate&&!oe)return ze(n),null}else 2*he()-i.renderingStartTime>lr&&t!==1073741824&&(n.flags|=128,r=!0,kr(i,!1),n.lanes=4194304);i.isBackwards?(u.sibling=n.child,n.child=u):(t=i.last,t!==null?t.sibling=u:n.child=u,i.last=u)}return i.tail!==null?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.renderingStartTime=he(),n.sibling=null,t=ae.current,ne(ae,r?t&1|2:t&1),n):(ze(n),null);case 22:case 23:return Ea(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?Ve&1073741824&&(ze(n),n.subtreeFlags&6&&(n.flags|=8192)):ze(n),null;case 24:return null;case 25:return null}throw Error(L(156,n.tag))}function gg(e,n){switch(ra(n),n.tag){case 1:return je(n.type)&&Zl(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return tr(),ie(Be),ie(Oe),pa(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return fa(n),null;case 13:if(ie(ae),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(L(340));er()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return ie(ae),null;case 4:return tr(),null;case 10:return oa(n.type._context),null;case 22:case 23:return Ea(),null;case 24:return null;default:return null}}var Cl=!1,_e=!1,yg=typeof WeakSet=="function"?WeakSet:Set,R=null;function Ht(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){fe(e,n,r)}else t.current=null}function mo(e,n,t){try{t()}catch(r){fe(e,n,r)}}var Xs=!1;function vg(e,n){if(Gu=Yl,e=qf(),na(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break e}var u=0,o=-1,a=-1,s=0,c=0,f=e,h=null;n:for(;;){for(var p;f!==t||l!==0&&f.nodeType!==3||(o=u+l),f!==i||r!==0&&f.nodeType!==3||(a=u+r),f.nodeType===3&&(u+=f.nodeValue.length),(p=f.firstChild)!==null;)h=f,f=p;for(;;){if(f===e)break n;if(h===t&&++s===l&&(o=u),h===i&&++c===r&&(a=u),(p=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=p}t=o===-1||a===-1?null:{start:o,end:a}}else t=null}t=t||{start:0,end:0}}else t=null;for(Zu={focusedElem:e,selectionRange:t},Yl=!1,R=n;R!==null;)if(n=R,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,R=e;else for(;R!==null;){n=R;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var v=w.memoizedProps,C=w.memoizedState,d=n.stateNode,m=d.getSnapshotBeforeUpdate(n.elementType===n.type?v:cn(n.type,v),C);d.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var y=n.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(L(163))}}catch(S){fe(n,n.return,S)}if(e=n.sibling,e!==null){e.return=n.return,R=e;break}R=n.return}return w=Xs,Xs=!1,w}function Fr(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&mo(n,t,i)}l=l.next}while(l!==r)}}function Ci(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function go(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function Kp(e){var n=e.alternate;n!==null&&(e.alternate=null,Kp(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[xn],delete n[Xr],delete n[no],delete n[eg],delete n[ng])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Xp(e){return e.tag===5||e.tag===3||e.tag===4}function Ys(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Xp(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function yo(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Gl));else if(r!==4&&(e=e.child,e!==null))for(yo(e,n,t),e=e.sibling;e!==null;)yo(e,n,t),e=e.sibling}function vo(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(vo(e,n,t),e=e.sibling;e!==null;)vo(e,n,t),e=e.sibling}var Ce=null,fn=!1;function Un(e,n,t){for(t=t.child;t!==null;)Yp(e,n,t),t=t.sibling}function Yp(e,n,t){if(Sn&&typeof Sn.onCommitFiberUnmount=="function")try{Sn.onCommitFiberUnmount(gi,t)}catch{}switch(t.tag){case 5:_e||Ht(t,n);case 6:var r=Ce,l=fn;Ce=null,Un(e,n,t),Ce=r,fn=l,Ce!==null&&(fn?(e=Ce,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):Ce.removeChild(t.stateNode));break;case 18:Ce!==null&&(fn?(e=Ce,t=t.stateNode,e.nodeType===8?su(e.parentNode,t):e.nodeType===1&&su(e,t),Hr(e)):su(Ce,t.stateNode));break;case 4:r=Ce,l=fn,Ce=t.stateNode.containerInfo,fn=!0,Un(e,n,t),Ce=r,fn=l;break;case 0:case 11:case 14:case 15:if(!_e&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,u=i.destroy;i=i.tag,u!==void 0&&(i&2||i&4)&&mo(t,n,u),l=l.next}while(l!==r)}Un(e,n,t);break;case 1:if(!_e&&(Ht(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(o){fe(t,n,o)}Un(e,n,t);break;case 21:Un(e,n,t);break;case 22:t.mode&1?(_e=(r=_e)||t.memoizedState!==null,Un(e,n,t),_e=r):Un(e,n,t);break;default:Un(e,n,t)}}function qs(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new yg),n.forEach(function(r){var l=Lg.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function sn(e,n){var t=n.deletions;if(t!==null)for(var r=0;r<t.length;r++){var l=t[r];try{var i=e,u=n,o=u;e:for(;o!==null;){switch(o.tag){case 5:Ce=o.stateNode,fn=!1;break e;case 3:Ce=o.stateNode.containerInfo,fn=!0;break e;case 4:Ce=o.stateNode.containerInfo,fn=!0;break e}o=o.return}if(Ce===null)throw Error(L(160));Yp(i,u,l),Ce=null,fn=!1;var a=l.alternate;a!==null&&(a.return=null),l.return=null}catch(s){fe(l,n,s)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)qp(n,e),n=n.sibling}function qp(e,n){var t=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(sn(n,e),yn(e),r&4){try{Fr(3,e,e.return),Ci(3,e)}catch(v){fe(e,e.return,v)}try{Fr(5,e,e.return)}catch(v){fe(e,e.return,v)}}break;case 1:sn(n,e),yn(e),r&512&&t!==null&&Ht(t,t.return);break;case 5:if(sn(n,e),yn(e),r&512&&t!==null&&Ht(t,t.return),e.flags&32){var l=e.stateNode;try{Br(l,"")}catch(v){fe(e,e.return,v)}}if(r&4&&(l=e.stateNode,l!=null)){var i=e.memoizedProps,u=t!==null?t.memoizedProps:i,o=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{o==="input"&&i.type==="radio"&&i.name!=null&&gf(l,i),$u(o,u);var s=$u(o,i);for(u=0;u<a.length;u+=2){var c=a[u],f=a[u+1];c==="style"?wf(l,f):c==="dangerouslySetInnerHTML"?kf(l,f):c==="children"?Br(l,f):Ho(l,c,f,s)}switch(o){case"input":Du(l,i);break;case"textarea":yf(l,i);break;case"select":var h=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!i.multiple;var p=i.value;p!=null?Wt(l,!!i.multiple,p,!1):h!==!!i.multiple&&(i.defaultValue!=null?Wt(l,!!i.multiple,i.defaultValue,!0):Wt(l,!!i.multiple,i.multiple?[]:"",!1))}l[Xr]=i}catch(v){fe(e,e.return,v)}}break;case 6:if(sn(n,e),yn(e),r&4){if(e.stateNode===null)throw Error(L(162));l=e.stateNode,i=e.memoizedProps;try{l.nodeValue=i}catch(v){fe(e,e.return,v)}}break;case 3:if(sn(n,e),yn(e),r&4&&t!==null&&t.memoizedState.isDehydrated)try{Hr(n.containerInfo)}catch(v){fe(e,e.return,v)}break;case 4:sn(n,e),yn(e);break;case 13:sn(n,e),yn(e),l=e.child,l.flags&8192&&(i=l.memoizedState!==null,l.stateNode.isHidden=i,!i||l.alternate!==null&&l.alternate.memoizedState!==null||(wa=he())),r&4&&qs(e);break;case 22:if(c=t!==null&&t.memoizedState!==null,e.mode&1?(_e=(s=_e)||c,sn(n,e),_e=s):sn(n,e),yn(e),r&8192){if(s=e.memoizedState!==null,(e.stateNode.isHidden=s)&&!c&&e.mode&1)for(R=e,c=e.child;c!==null;){for(f=R=c;R!==null;){switch(h=R,p=h.child,h.tag){case 0:case 11:case 14:case 15:Fr(4,h,h.return);break;case 1:Ht(h,h.return);var w=h.stateNode;if(typeof w.componentWillUnmount=="function"){r=h,t=h.return;try{n=r,w.props=n.memoizedProps,w.state=n.memoizedState,w.componentWillUnmount()}catch(v){fe(r,t,v)}}break;case 5:Ht(h,h.return);break;case 22:if(h.memoizedState!==null){Gs(f);continue}}p!==null?(p.return=h,R=p):Gs(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{l=f.stateNode,s?(i=l.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(o=f.stateNode,a=f.memoizedProps.style,u=a!=null&&a.hasOwnProperty("display")?a.display:null,o.style.display=xf("display",u))}catch(v){fe(e,e.return,v)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=s?"":f.memoizedProps}catch(v){fe(e,e.return,v)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:sn(n,e),yn(e),r&4&&qs(e);break;case 21:break;default:sn(n,e),yn(e)}}function yn(e){var n=e.flags;if(n&2){try{e:{for(var t=e.return;t!==null;){if(Xp(t)){var r=t;break e}t=t.return}throw Error(L(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(Br(l,""),r.flags&=-33);var i=Ys(e);vo(e,i,l);break;case 3:case 4:var u=r.stateNode.containerInfo,o=Ys(e);yo(e,o,u);break;default:throw Error(L(161))}}catch(a){fe(e,e.return,a)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function kg(e,n,t){R=e,bp(e)}function bp(e,n,t){for(var r=(e.mode&1)!==0;R!==null;){var l=R,i=l.child;if(l.tag===22&&r){var u=l.memoizedState!==null||Cl;if(!u){var o=l.alternate,a=o!==null&&o.memoizedState!==null||_e;o=Cl;var s=_e;if(Cl=u,(_e=a)&&!s)for(R=l;R!==null;)u=R,a=u.child,u.tag===22&&u.memoizedState!==null?Zs(l):a!==null?(a.return=u,R=a):Zs(l);for(;i!==null;)R=i,bp(i),i=i.sibling;R=l,Cl=o,_e=s}bs(e)}else l.subtreeFlags&8772&&i!==null?(i.return=l,R=i):bs(e)}}function bs(e){for(;R!==null;){var n=R;if(n.flags&8772){var t=n.alternate;try{if(n.flags&8772)switch(n.tag){case 0:case 11:case 15:_e||Ci(5,n);break;case 1:var r=n.stateNode;if(n.flags&4&&!_e)if(t===null)r.componentDidMount();else{var l=n.elementType===n.type?t.memoizedProps:cn(n.type,t.memoizedProps);r.componentDidUpdate(l,t.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=n.updateQueue;i!==null&&Ns(n,i,r);break;case 3:var u=n.updateQueue;if(u!==null){if(t=null,n.child!==null)switch(n.child.tag){case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}Ns(n,u,t)}break;case 5:var o=n.stateNode;if(t===null&&n.flags&4){t=o;var a=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&t.focus();break;case"img":a.src&&(t.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var s=n.alternate;if(s!==null){var c=s.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&Hr(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(L(163))}_e||n.flags&512&&go(n)}catch(h){fe(n,n.return,h)}}if(n===e){R=null;break}if(t=n.sibling,t!==null){t.return=n.return,R=t;break}R=n.return}}function Gs(e){for(;R!==null;){var n=R;if(n===e){R=null;break}var t=n.sibling;if(t!==null){t.return=n.return,R=t;break}R=n.return}}function Zs(e){for(;R!==null;){var n=R;try{switch(n.tag){case 0:case 11:case 15:var t=n.return;try{Ci(4,n)}catch(a){fe(n,t,a)}break;case 1:var r=n.stateNode;if(typeof r.componentDidMount=="function"){var l=n.return;try{r.componentDidMount()}catch(a){fe(n,l,a)}}var i=n.return;try{go(n)}catch(a){fe(n,i,a)}break;case 5:var u=n.return;try{go(n)}catch(a){fe(n,u,a)}}}catch(a){fe(n,n.return,a)}if(n===e){R=null;break}var o=n.sibling;if(o!==null){o.return=n.return,R=o;break}R=n.return}}var xg=Math.ceil,ai=Dn.ReactCurrentDispatcher,ka=Dn.ReactCurrentOwner,en=Dn.ReactCurrentBatchConfig,K=0,Ee=null,ye=null,Pe=0,Ve=0,Vt=ot(0),we=0,Jr=null,St=0,Pi=0,xa=0,Nr=null,De=null,wa=0,lr=1/0,Ln=null,si=!1,ko=null,et=null,Pl=!1,Xn=null,ci=0,Rr=0,xo=null,Bl=-1,jl=0;function Fe(){return K&6?he():Bl!==-1?Bl:Bl=he()}function nt(e){return e.mode&1?K&2&&Pe!==0?Pe&-Pe:rg.transition!==null?(jl===0&&(jl=Nf()),jl):(e=q,e!==0||(e=window.event,e=e===void 0?16:Uf(e.type)),e):1}function hn(e,n,t,r){if(50<Rr)throw Rr=0,xo=null,Error(L(185));tl(e,t,r),(!(K&2)||e!==Ee)&&(e===Ee&&(!(K&2)&&(Pi|=t),we===4&&Qn(e,Pe)),Ue(e,r),t===1&&K===0&&!(n.mode&1)&&(lr=he()+500,wi&&at()))}function Ue(e,n){var t=e.callbackNode;rm(e,n);var r=Xl(e,e===Ee?Pe:0);if(r===0)t!==null&&os(t),e.callbackNode=null,e.callbackPriority=0;else if(n=r&-r,e.callbackPriority!==n){if(t!=null&&os(t),n===1)e.tag===0?tg(Js.bind(null,e)):ip(Js.bind(null,e)),Zm(function(){!(K&6)&&at()}),t=null;else{switch(Rf(r)){case 1:t=Xo;break;case 4:t=If;break;case 16:t=Kl;break;case 536870912:t=Ff;break;default:t=Kl}t=ld(t,Gp.bind(null,e))}e.callbackPriority=n,e.callbackNode=t}}function Gp(e,n){if(Bl=-1,jl=0,K&6)throw Error(L(327));var t=e.callbackNode;if(qt()&&e.callbackNode!==t)return null;var r=Xl(e,e===Ee?Pe:0);if(r===0)return null;if(r&30||r&e.expiredLanes||n)n=fi(e,r);else{n=r;var l=K;K|=2;var i=Jp();(Ee!==e||Pe!==n)&&(Ln=null,lr=he()+500,yt(e,n));do try{Eg();break}catch(o){Zp(e,o)}while(!0);ua(),ai.current=i,K=l,ye!==null?n=0:(Ee=null,Pe=0,n=we)}if(n!==0){if(n===2&&(l=Ku(e),l!==0&&(r=l,n=wo(e,l))),n===1)throw t=Jr,yt(e,0),Qn(e,r),Ue(e,he()),t;if(n===6)Qn(e,r);else{if(l=e.current.alternate,!(r&30)&&!wg(l)&&(n=fi(e,r),n===2&&(i=Ku(e),i!==0&&(r=i,n=wo(e,i))),n===1))throw t=Jr,yt(e,0),Qn(e,r),Ue(e,he()),t;switch(e.finishedWork=l,e.finishedLanes=r,n){case 0:case 1:throw Error(L(345));case 2:ft(e,De,Ln);break;case 3:if(Qn(e,r),(r&130023424)===r&&(n=wa+500-he(),10<n)){if(Xl(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){Fe(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=eo(ft.bind(null,e,De,Ln),n);break}ft(e,De,Ln);break;case 4:if(Qn(e,r),(r&4194240)===r)break;for(n=e.eventTimes,l=-1;0<r;){var u=31-dn(r);i=1<<u,u=n[u],u>l&&(l=u),r&=~i}if(r=l,r=he()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*xg(r/1960))-r,10<r){e.timeoutHandle=eo(ft.bind(null,e,De,Ln),r);break}ft(e,De,Ln);break;case 5:ft(e,De,Ln);break;default:throw Error(L(329))}}}return Ue(e,he()),e.callbackNode===t?Gp.bind(null,e):null}function wo(e,n){var t=Nr;return e.current.memoizedState.isDehydrated&&(yt(e,n).flags|=256),e=fi(e,n),e!==2&&(n=De,De=t,n!==null&&So(n)),e}function So(e){De===null?De=e:De.push.apply(De,e)}function wg(e){for(var n=e;;){if(n.flags&16384){var t=n.updateQueue;if(t!==null&&(t=t.stores,t!==null))for(var r=0;r<t.length;r++){var l=t[r],i=l.getSnapshot;l=l.value;try{if(!mn(i(),l))return!1}catch{return!1}}}if(t=n.child,n.subtreeFlags&16384&&t!==null)t.return=n,n=t;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function Qn(e,n){for(n&=~xa,n&=~Pi,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-dn(n),r=1<<t;e[t]=-1,n&=~r}}function Js(e){if(K&6)throw Error(L(327));qt();var n=Xl(e,0);if(!(n&1))return Ue(e,he()),null;var t=fi(e,n);if(e.tag!==0&&t===2){var r=Ku(e);r!==0&&(n=r,t=wo(e,r))}if(t===1)throw t=Jr,yt(e,0),Qn(e,n),Ue(e,he()),t;if(t===6)throw Error(L(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,ft(e,De,Ln),Ue(e,he()),null}function Sa(e,n){var t=K;K|=1;try{return e(n)}finally{K=t,K===0&&(lr=he()+500,wi&&at())}}function Et(e){Xn!==null&&Xn.tag===0&&!(K&6)&&qt();var n=K;K|=1;var t=en.transition,r=q;try{if(en.transition=null,q=1,e)return e()}finally{q=r,en.transition=t,K=n,!(K&6)&&at()}}function Ea(){Ve=Vt.current,ie(Vt)}function yt(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(t!==-1&&(e.timeoutHandle=-1,Gm(t)),ye!==null)for(t=ye.return;t!==null;){var r=t;switch(ra(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Zl();break;case 3:tr(),ie(Be),ie(Oe),pa();break;case 5:fa(r);break;case 4:tr();break;case 13:ie(ae);break;case 19:ie(ae);break;case 10:oa(r.type._context);break;case 22:case 23:Ea()}t=t.return}if(Ee=e,ye=e=tt(e.current,null),Pe=Ve=n,we=0,Jr=null,xa=Pi=St=0,De=Nr=null,ht!==null){for(n=0;n<ht.length;n++)if(t=ht[n],r=t.interleaved,r!==null){t.interleaved=null;var l=r.next,i=t.pending;if(i!==null){var u=i.next;i.next=l,r.next=u}t.pending=r}ht=null}return e}function Zp(e,n){do{var t=ye;try{if(ua(),Al.current=oi,ui){for(var r=se.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}ui=!1}if(wt=0,Se=xe=se=null,Ir=!1,br=0,ka.current=null,t===null||t.return===null){we=1,Jr=n,ye=null;break}e:{var i=e,u=t.return,o=t,a=n;if(n=Pe,o.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var s=a,c=o,f=c.tag;if(!(c.mode&1)&&(f===0||f===11||f===15)){var h=c.alternate;h?(c.updateQueue=h.updateQueue,c.memoizedState=h.memoizedState,c.lanes=h.lanes):(c.updateQueue=null,c.memoizedState=null)}var p=Us(u);if(p!==null){p.flags&=-257,$s(p,u,o,i,n),p.mode&1&&js(i,s,n),n=p,a=s;var w=n.updateQueue;if(w===null){var v=new Set;v.add(a),n.updateQueue=v}else w.add(a);break e}else{if(!(n&1)){js(i,s,n),Ca();break e}a=Error(L(426))}}else if(oe&&o.mode&1){var C=Us(u);if(C!==null){!(C.flags&65536)&&(C.flags|=256),$s(C,u,o,i,n),la(rr(a,o));break e}}i=a=rr(a,o),we!==4&&(we=2),Nr===null?Nr=[i]:Nr.push(i),i=u;do{switch(i.tag){case 3:i.flags|=65536,n&=-n,i.lanes|=n;var d=Ap(i,a,n);Fs(i,d);break e;case 1:o=a;var m=i.type,y=i.stateNode;if(!(i.flags&128)&&(typeof m.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(et===null||!et.has(y)))){i.flags|=65536,n&=-n,i.lanes|=n;var S=Dp(i,o,n);Fs(i,S);break e}}i=i.return}while(i!==null)}nd(t)}catch(T){n=T,ye===t&&t!==null&&(ye=t=t.return);continue}break}while(!0)}function Jp(){var e=ai.current;return ai.current=oi,e===null?oi:e}function Ca(){(we===0||we===3||we===2)&&(we=4),Ee===null||!(St&268435455)&&!(Pi&268435455)||Qn(Ee,Pe)}function fi(e,n){var t=K;K|=2;var r=Jp();(Ee!==e||Pe!==n)&&(Ln=null,yt(e,n));do try{Sg();break}catch(l){Zp(e,l)}while(!0);if(ua(),K=t,ai.current=r,ye!==null)throw Error(L(261));return Ee=null,Pe=0,we}function Sg(){for(;ye!==null;)ed(ye)}function Eg(){for(;ye!==null&&!Yh();)ed(ye)}function ed(e){var n=rd(e.alternate,e,Ve);e.memoizedProps=e.pendingProps,n===null?nd(e):ye=n,ka.current=null}function nd(e){var n=e;do{var t=n.alternate;if(e=n.return,n.flags&32768){if(t=gg(t,n),t!==null){t.flags&=32767,ye=t;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{we=6,ye=null;return}}else if(t=mg(t,n,Ve),t!==null){ye=t;return}if(n=n.sibling,n!==null){ye=n;return}ye=n=e}while(n!==null);we===0&&(we=5)}function ft(e,n,t){var r=q,l=en.transition;try{en.transition=null,q=1,Cg(e,n,t,r)}finally{en.transition=l,q=r}return null}function Cg(e,n,t,r){do qt();while(Xn!==null);if(K&6)throw Error(L(327));t=e.finishedWork;var l=e.finishedLanes;if(t===null)return null;if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(L(177));e.callbackNode=null,e.callbackPriority=0;var i=t.lanes|t.childLanes;if(lm(e,i),e===Ee&&(ye=Ee=null,Pe=0),!(t.subtreeFlags&2064)&&!(t.flags&2064)||Pl||(Pl=!0,ld(Kl,function(){return qt(),null})),i=(t.flags&15990)!==0,t.subtreeFlags&15990||i){i=en.transition,en.transition=null;var u=q;q=1;var o=K;K|=4,ka.current=null,vg(e,t),qp(t,e),Wm(Zu),Yl=!!Gu,Zu=Gu=null,e.current=t,kg(t),qh(),K=o,q=u,en.transition=i}else e.current=t;if(Pl&&(Pl=!1,Xn=e,ci=l),i=e.pendingLanes,i===0&&(et=null),Zh(t.stateNode),Ue(e,he()),n!==null)for(r=e.onRecoverableError,t=0;t<n.length;t++)l=n[t],r(l.value,{componentStack:l.stack,digest:l.digest});if(si)throw si=!1,e=ko,ko=null,e;return ci&1&&e.tag!==0&&qt(),i=e.pendingLanes,i&1?e===xo?Rr++:(Rr=0,xo=e):Rr=0,at(),null}function qt(){if(Xn!==null){var e=Rf(ci),n=en.transition,t=q;try{if(en.transition=null,q=16>e?16:e,Xn===null)var r=!1;else{if(e=Xn,Xn=null,ci=0,K&6)throw Error(L(331));var l=K;for(K|=4,R=e.current;R!==null;){var i=R,u=i.child;if(R.flags&16){var o=i.deletions;if(o!==null){for(var a=0;a<o.length;a++){var s=o[a];for(R=s;R!==null;){var c=R;switch(c.tag){case 0:case 11:case 15:Fr(8,c,i)}var f=c.child;if(f!==null)f.return=c,R=f;else for(;R!==null;){c=R;var h=c.sibling,p=c.return;if(Kp(c),c===s){R=null;break}if(h!==null){h.return=p,R=h;break}R=p}}}var w=i.alternate;if(w!==null){var v=w.child;if(v!==null){w.child=null;do{var C=v.sibling;v.sibling=null,v=C}while(v!==null)}}R=i}}if(i.subtreeFlags&2064&&u!==null)u.return=i,R=u;else e:for(;R!==null;){if(i=R,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Fr(9,i,i.return)}var d=i.sibling;if(d!==null){d.return=i.return,R=d;break e}R=i.return}}var m=e.current;for(R=m;R!==null;){u=R;var y=u.child;if(u.subtreeFlags&2064&&y!==null)y.return=u,R=y;else e:for(u=m;R!==null;){if(o=R,o.flags&2048)try{switch(o.tag){case 0:case 11:case 15:Ci(9,o)}}catch(T){fe(o,o.return,T)}if(o===u){R=null;break e}var S=o.sibling;if(S!==null){S.return=o.return,R=S;break e}R=o.return}}if(K=l,at(),Sn&&typeof Sn.onPostCommitFiberRoot=="function")try{Sn.onPostCommitFiberRoot(gi,e)}catch{}r=!0}return r}finally{q=t,en.transition=n}}return!1}function ec(e,n,t){n=rr(t,n),n=Ap(e,n,1),e=Jn(e,n,1),n=Fe(),e!==null&&(tl(e,1,n),Ue(e,n))}function fe(e,n,t){if(e.tag===3)ec(e,e,t);else for(;n!==null;){if(n.tag===3){ec(n,e,t);break}else if(n.tag===1){var r=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(et===null||!et.has(r))){e=rr(t,e),e=Dp(n,e,1),n=Jn(n,e,1),e=Fe(),n!==null&&(tl(n,1,e),Ue(n,e));break}}n=n.return}}function Pg(e,n,t){var r=e.pingCache;r!==null&&r.delete(n),n=Fe(),e.pingedLanes|=e.suspendedLanes&t,Ee===e&&(Pe&t)===t&&(we===4||we===3&&(Pe&130023424)===Pe&&500>he()-wa?yt(e,0):xa|=t),Ue(e,n)}function td(e,n){n===0&&(e.mode&1?(n=ml,ml<<=1,!(ml&130023424)&&(ml=4194304)):n=1);var t=Fe();e=Rn(e,n),e!==null&&(tl(e,n,t),Ue(e,t))}function Tg(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),td(e,t)}function Lg(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(L(314))}r!==null&&r.delete(n),td(e,t)}var rd;rd=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||Be.current)Me=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return Me=!1,hg(e,n,t);Me=!!(e.flags&131072)}else Me=!1,oe&&n.flags&1048576&&up(n,ni,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;Ml(e,n),e=n.pendingProps;var l=Jt(n,Oe.current);Yt(n,t),l=ha(null,n,r,e,l,t);var i=ma();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,je(r)?(i=!0,Jl(n)):i=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,sa(n),l.updater=Si,n.stateNode=l,l._reactInternals=n,oo(n,r,e,t),n=co(null,n,r,!0,i,t)):(n.tag=0,oe&&i&&ta(n),Ie(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(Ml(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=_g(r),e=cn(r,e),l){case 0:n=so(null,n,r,e,t);break e;case 1:n=Ws(null,n,r,e,t);break e;case 11:n=Hs(null,n,r,e,t);break e;case 14:n=Vs(null,n,r,cn(r.type,e),t);break e}throw Error(L(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:cn(r,l),so(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:cn(r,l),Ws(e,n,r,l,t);case 3:e:{if(Up(n),e===null)throw Error(L(387));r=n.pendingProps,i=n.memoizedState,l=i.element,cp(e,n),li(n,r,null,t);var u=n.memoizedState;if(r=u.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},n.updateQueue.baseState=i,n.memoizedState=i,n.flags&256){l=rr(Error(L(423)),n),n=Qs(e,n,r,t,l);break e}else if(r!==l){l=rr(Error(L(424)),n),n=Qs(e,n,r,t,l);break e}else for(We=Zn(n.stateNode.containerInfo.firstChild),Ke=n,oe=!0,pn=null,t=hp(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(er(),r===l){n=An(e,n,t);break e}Ie(e,n,r,t)}n=n.child}return n;case 5:return mp(n),e===null&&lo(n),r=n.type,l=n.pendingProps,i=e!==null?e.memoizedProps:null,u=l.children,Ju(r,l)?u=null:i!==null&&Ju(r,i)&&(n.flags|=32),jp(e,n),Ie(e,n,u,t),n.child;case 6:return e===null&&lo(n),null;case 13:return $p(e,n,t);case 4:return ca(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=nr(n,null,r,t):Ie(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:cn(r,l),Hs(e,n,r,l,t);case 7:return Ie(e,n,n.pendingProps,t),n.child;case 8:return Ie(e,n,n.pendingProps.children,t),n.child;case 12:return Ie(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,i=n.memoizedProps,u=l.value,ne(ti,r._currentValue),r._currentValue=u,i!==null)if(mn(i.value,u)){if(i.children===l.children&&!Be.current){n=An(e,n,t);break e}}else for(i=n.child,i!==null&&(i.return=n);i!==null;){var o=i.dependencies;if(o!==null){u=i.child;for(var a=o.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=In(-1,t&-t),a.tag=2;var s=i.updateQueue;if(s!==null){s=s.shared;var c=s.pending;c===null?a.next=a:(a.next=c.next,c.next=a),s.pending=a}}i.lanes|=t,a=i.alternate,a!==null&&(a.lanes|=t),io(i.return,t,n),o.lanes|=t;break}a=a.next}}else if(i.tag===10)u=i.type===n.type?null:i.child;else if(i.tag===18){if(u=i.return,u===null)throw Error(L(341));u.lanes|=t,o=u.alternate,o!==null&&(o.lanes|=t),io(u,t,n),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===n){u=null;break}if(i=u.sibling,i!==null){i.return=u.return,u=i;break}u=u.return}i=u}Ie(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Yt(n,t),l=nn(l),r=r(l),n.flags|=1,Ie(e,n,r,t),n.child;case 14:return r=n.type,l=cn(r,n.pendingProps),l=cn(r.type,l),Vs(e,n,r,l,t);case 15:return Mp(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:cn(r,l),Ml(e,n),n.tag=1,je(r)?(e=!0,Jl(n)):e=!1,Yt(n,t),pp(n,r,l),oo(n,r,l,t),co(null,n,r,!0,e,t);case 19:return Hp(e,n,t);case 22:return Bp(e,n,t)}throw Error(L(156,n.tag))};function ld(e,n){return Of(e,n)}function zg(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Je(e,n,t,r){return new zg(e,n,t,r)}function Pa(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _g(e){if(typeof e=="function")return Pa(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Wo)return 11;if(e===Qo)return 14}return 2}function tt(e,n){var t=e.alternate;return t===null?(t=Je(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Ul(e,n,t,r,l,i){var u=2;if(r=e,typeof e=="function")Pa(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Nt:return vt(t.children,l,i,n);case Vo:u=8,l|=8;break;case Iu:return e=Je(12,t,n,l|2),e.elementType=Iu,e.lanes=i,e;case Fu:return e=Je(13,t,n,l),e.elementType=Fu,e.lanes=i,e;case Nu:return e=Je(19,t,n,l),e.elementType=Nu,e.lanes=i,e;case df:return Ti(t,l,i,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ff:u=10;break e;case pf:u=9;break e;case Wo:u=11;break e;case Qo:u=14;break e;case Hn:u=16,r=null;break e}throw Error(L(130,e==null?e:typeof e,""))}return n=Je(u,t,n,l),n.elementType=e,n.type=r,n.lanes=i,n}function vt(e,n,t,r){return e=Je(7,e,r,n),e.lanes=t,e}function Ti(e,n,t,r){return e=Je(22,e,r,n),e.elementType=df,e.lanes=t,e.stateNode={isHidden:!1},e}function yu(e,n,t){return e=Je(6,e,null,n),e.lanes=t,e}function vu(e,n,t){return n=Je(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Og(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Zi(0),this.expirationTimes=Zi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Zi(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Ta(e,n,t,r,l,i,u,o,a){return e=new Og(e,n,t,o,a),n===1?(n=1,i===!0&&(n|=8)):n=0,i=Je(3,null,null,n),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},sa(i),e}function Ig(e,n,t){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ft,key:r==null?null:""+r,children:e,containerInfo:n,implementation:t}}function id(e){if(!e)return it;e=e._reactInternals;e:{if(Tt(e)!==e||e.tag!==1)throw Error(L(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(je(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(L(171))}if(e.tag===1){var t=e.type;if(je(t))return lp(e,t,n)}return n}function ud(e,n,t,r,l,i,u,o,a){return e=Ta(t,r,!0,e,l,i,u,o,a),e.context=id(null),t=e.current,r=Fe(),l=nt(t),i=In(r,l),i.callback=n??null,Jn(t,i,l),e.current.lanes=l,tl(e,l,r),Ue(e,r),e}function Li(e,n,t,r){var l=n.current,i=Fe(),u=nt(l);return t=id(t),n.context===null?n.context=t:n.pendingContext=t,n=In(i,u),n.payload={element:e},r=r===void 0?null:r,r!==null&&(n.callback=r),e=Jn(l,n,u),e!==null&&(hn(e,l,u,i),Rl(e,l,u)),u}function pi(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function nc(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var t=e.retryLane;e.retryLane=t!==0&&t<n?t:n}}function La(e,n){nc(e,n),(e=e.alternate)&&nc(e,n)}function Fg(){return null}var od=typeof reportError=="function"?reportError:function(e){console.error(e)};function za(e){this._internalRoot=e}zi.prototype.render=za.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(L(409));Li(e,n,null,null)};zi.prototype.unmount=za.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Et(function(){Li(null,e,null,null)}),n[Nn]=null}};function zi(e){this._internalRoot=e}zi.prototype.unstable_scheduleHydration=function(e){if(e){var n=Mf();e={blockedOn:null,target:e,priority:n};for(var t=0;t<Wn.length&&n!==0&&n<Wn[t].priority;t++);Wn.splice(t,0,e),t===0&&jf(e)}};function _a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function _i(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function tc(){}function Ng(e,n,t,r,l){if(l){if(typeof r=="function"){var i=r;r=function(){var s=pi(u);i.call(s)}}var u=ud(n,r,e,0,null,!1,!1,"",tc);return e._reactRootContainer=u,e[Nn]=u.current,Qr(e.nodeType===8?e.parentNode:e),Et(),u}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var o=r;r=function(){var s=pi(a);o.call(s)}}var a=Ta(e,0,!1,null,null,!1,!1,"",tc);return e._reactRootContainer=a,e[Nn]=a.current,Qr(e.nodeType===8?e.parentNode:e),Et(function(){Li(n,a,t,r)}),a}function Oi(e,n,t,r,l){var i=t._reactRootContainer;if(i){var u=i;if(typeof l=="function"){var o=l;l=function(){var a=pi(u);o.call(a)}}Li(n,u,e,l)}else u=Ng(t,n,e,l,r);return pi(u)}Af=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var t=Cr(n.pendingLanes);t!==0&&(Yo(n,t|1),Ue(n,he()),!(K&6)&&(lr=he()+500,at()))}break;case 13:Et(function(){var r=Rn(e,1);if(r!==null){var l=Fe();hn(r,e,1,l)}}),La(e,1)}};qo=function(e){if(e.tag===13){var n=Rn(e,134217728);if(n!==null){var t=Fe();hn(n,e,134217728,t)}La(e,134217728)}};Df=function(e){if(e.tag===13){var n=nt(e),t=Rn(e,n);if(t!==null){var r=Fe();hn(t,e,n,r)}La(e,n)}};Mf=function(){return q};Bf=function(e,n){var t=q;try{return q=e,n()}finally{q=t}};Vu=function(e,n,t){switch(n){case"input":if(Du(e,t),n=t.name,t.type==="radio"&&n!=null){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<t.length;n++){var r=t[n];if(r!==e&&r.form===e.form){var l=xi(r);if(!l)throw Error(L(90));mf(r),Du(r,l)}}}break;case"textarea":yf(e,t);break;case"select":n=t.value,n!=null&&Wt(e,!!t.multiple,n,!1)}};Cf=Sa;Pf=Et;var Rg={usingClientEntryPoint:!1,Events:[ll,Mt,xi,Sf,Ef,Sa]},xr={findFiberByHostInstance:dt,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},Ag={bundleType:xr.bundleType,version:xr.version,rendererPackageName:xr.rendererPackageName,rendererConfig:xr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Dn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=zf(e),e===null?null:e.stateNode},findFiberByHostInstance:xr.findFiberByHostInstance||Fg,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Tl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Tl.isDisabled&&Tl.supportsFiber)try{gi=Tl.inject(Ag),Sn=Tl}catch{}}Ye.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Rg;Ye.createPortal=function(e,n){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!_a(n))throw Error(L(200));return Ig(e,n,null,t)};Ye.createRoot=function(e,n){if(!_a(e))throw Error(L(299));var t=!1,r="",l=od;return n!=null&&(n.unstable_strictMode===!0&&(t=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),n=Ta(e,1,!1,null,null,t,!1,r,l),e[Nn]=n.current,Qr(e.nodeType===8?e.parentNode:e),new za(n)};Ye.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(L(188)):(e=Object.keys(e).join(","),Error(L(268,e)));return e=zf(n),e=e===null?null:e.stateNode,e};Ye.flushSync=function(e){return Et(e)};Ye.hydrate=function(e,n,t){if(!_i(n))throw Error(L(200));return Oi(null,e,n,!0,t)};Ye.hydrateRoot=function(e,n,t){if(!_a(e))throw Error(L(405));var r=t!=null&&t.hydratedSources||null,l=!1,i="",u=od;if(t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(u=t.onRecoverableError)),n=ud(n,null,e,1,t??null,l,!1,i,u),e[Nn]=n.current,Qr(e),r)for(e=0;e<r.length;e++)t=r[e],l=t._getVersion,l=l(t._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[t,l]:n.mutableSourceEagerHydrationData.push(t,l);return new zi(n)};Ye.render=function(e,n,t){if(!_i(n))throw Error(L(200));return Oi(null,e,n,!1,t)};Ye.unmountComponentAtNode=function(e){if(!_i(e))throw Error(L(40));return e._reactRootContainer?(Et(function(){Oi(null,null,e,!1,function(){e._reactRootContainer=null,e[Nn]=null})}),!0):!1};Ye.unstable_batchedUpdates=Sa;Ye.unstable_renderSubtreeIntoContainer=function(e,n,t,r){if(!_i(t))throw Error(L(200));if(e==null||e._reactInternals===void 0)throw Error(L(38));return Oi(e,n,t,!1,r)};Ye.version="18.2.0-next-9e3b772b8-20220608";function ad(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ad)}catch(e){console.error(e)}}ad(),uf.exports=Ye;var Dg=uf.exports;const Yk=Ct(Dg);/**
|
|
33
|
+
* @remix-run/router v1.9.0
|
|
34
|
+
*
|
|
35
|
+
* Copyright (c) Remix Software Inc.
|
|
36
|
+
*
|
|
37
|
+
* This source code is licensed under the MIT license found in the
|
|
38
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
39
|
+
*
|
|
40
|
+
* @license MIT
|
|
41
|
+
*/function el(){return el=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},el.apply(this,arguments)}var Yn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Yn||(Yn={}));const rc="popstate";function Mg(e){e===void 0&&(e={});function n(l,i){let{pathname:u="/",search:o="",hash:a=""}=Lt(l.location.hash.substr(1));return!u.startsWith("/")&&!u.startsWith(".")&&(u="/"+u),Eo("",{pathname:u,search:o,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function t(l,i){let u=l.document.querySelector("base"),o="";if(u&&u.getAttribute("href")){let a=l.location.href,s=a.indexOf("#");o=s===-1?a:a.slice(0,s)}return o+"#"+(typeof i=="string"?i:di(i))}function r(l,i){Ii(l.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(i)+")")}return jg(n,t,r,e)}function ve(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}function Ii(e,n){if(!e){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function Bg(){return Math.random().toString(36).substr(2,8)}function lc(e,n){return{usr:e.state,key:e.key,idx:n}}function Eo(e,n,t,r){return t===void 0&&(t=null),el({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof n=="string"?Lt(n):n,{state:t,key:n&&n.key||r||Bg()})}function di(e){let{pathname:n="/",search:t="",hash:r=""}=e;return t&&t!=="?"&&(n+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(n+=r.charAt(0)==="#"?r:"#"+r),n}function Lt(e){let n={};if(e){let t=e.indexOf("#");t>=0&&(n.hash=e.substr(t),e=e.substr(0,t));let r=e.indexOf("?");r>=0&&(n.search=e.substr(r),e=e.substr(0,r)),e&&(n.pathname=e)}return n}function jg(e,n,t,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,u=l.history,o=Yn.Pop,a=null,s=c();s==null&&(s=0,u.replaceState(el({},u.state,{idx:s}),""));function c(){return(u.state||{idx:null}).idx}function f(){o=Yn.Pop;let C=c(),d=C==null?null:C-s;s=C,a&&a({action:o,location:v.location,delta:d})}function h(C,d){o=Yn.Push;let m=Eo(v.location,C,d);t&&t(m,C),s=c()+1;let y=lc(m,s),S=v.createHref(m);try{u.pushState(y,"",S)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;l.location.assign(S)}i&&a&&a({action:o,location:v.location,delta:1})}function p(C,d){o=Yn.Replace;let m=Eo(v.location,C,d);t&&t(m,C),s=c();let y=lc(m,s),S=v.createHref(m);u.replaceState(y,"",S),i&&a&&a({action:o,location:v.location,delta:0})}function w(C){let d=l.location.origin!=="null"?l.location.origin:l.location.href,m=typeof C=="string"?C:di(C);return ve(d,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,d)}let v={get action(){return o},get location(){return e(l,u)},listen(C){if(a)throw new Error("A history only accepts one active listener");return l.addEventListener(rc,f),a=C,()=>{l.removeEventListener(rc,f),a=null}},createHref(C){return n(l,C)},createURL:w,encodeLocation(C){let d=w(C);return{pathname:d.pathname,search:d.search,hash:d.hash}},push:h,replace:p,go(C){return u.go(C)}};return v}var ic;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ic||(ic={}));function Ug(e,n,t){t===void 0&&(t="/");let r=typeof n=="string"?Lt(n):n,l=Oa(r.pathname||"/",t);if(l==null)return null;let i=sd(e);$g(i);let u=null;for(let o=0;u==null&&o<i.length;++o)u=bg(i[o],Jg(l));return u}function sd(e,n,t,r){n===void 0&&(n=[]),t===void 0&&(t=[]),r===void 0&&(r="");let l=(i,u,o)=>{let a={relativePath:o===void 0?i.path||"":o,caseSensitive:i.caseSensitive===!0,childrenIndex:u,route:i};a.relativePath.startsWith("/")&&(ve(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let s=rt([r,a.relativePath]),c=t.concat(a);i.children&&i.children.length>0&&(ve(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),sd(i.children,n,c,s)),!(i.path==null&&!i.index)&&n.push({path:s,score:Yg(s,i.index),routesMeta:c})};return e.forEach((i,u)=>{var o;if(i.path===""||!((o=i.path)!=null&&o.includes("?")))l(i,u);else for(let a of cd(i.path))l(i,u,a)}),n}function cd(e){let n=e.split("/");if(n.length===0)return[];let[t,...r]=n,l=t.endsWith("?"),i=t.replace(/\?$/,"");if(r.length===0)return l?[i,""]:[i];let u=cd(r.join("/")),o=[];return o.push(...u.map(a=>a===""?i:[i,a].join("/"))),l&&o.push(...u),o.map(a=>e.startsWith("/")&&a===""?"/":a)}function $g(e){e.sort((n,t)=>n.score!==t.score?t.score-n.score:qg(n.routesMeta.map(r=>r.childrenIndex),t.routesMeta.map(r=>r.childrenIndex)))}const Hg=/^:\w+$/,Vg=3,Wg=2,Qg=1,Kg=10,Xg=-2,uc=e=>e==="*";function Yg(e,n){let t=e.split("/"),r=t.length;return t.some(uc)&&(r+=Xg),n&&(r+=Wg),t.filter(l=>!uc(l)).reduce((l,i)=>l+(Hg.test(i)?Vg:i===""?Qg:Kg),r)}function qg(e,n){return e.length===n.length&&e.slice(0,-1).every((r,l)=>r===n[l])?e[e.length-1]-n[n.length-1]:0}function bg(e,n){let{routesMeta:t}=e,r={},l="/",i=[];for(let u=0;u<t.length;++u){let o=t[u],a=u===t.length-1,s=l==="/"?n:n.slice(l.length)||"/",c=Gg({path:o.relativePath,caseSensitive:o.caseSensitive,end:a},s);if(!c)return null;Object.assign(r,c.params);let f=o.route;i.push({params:r,pathname:rt([l,c.pathname]),pathnameBase:ry(rt([l,c.pathnameBase])),route:f}),c.pathnameBase!=="/"&&(l=rt([l,c.pathnameBase]))}return i}function Gg(e,n){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[t,r]=Zg(e.path,e.caseSensitive,e.end),l=n.match(t);if(!l)return null;let i=l[0],u=i.replace(/(.)\/+$/,"$1"),o=l.slice(1);return{params:r.reduce((s,c,f)=>{if(c==="*"){let h=o[f]||"";u=i.slice(0,i.length-h.length).replace(/(.)\/+$/,"$1")}return s[c]=ey(o[f]||"",c),s},{}),pathname:i,pathnameBase:u,pattern:e}}function Zg(e,n,t){n===void 0&&(n=!1),t===void 0&&(t=!0),Ii(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(u,o)=>(r.push(o),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):t?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,n?void 0:"i"),r]}function Jg(e){try{return decodeURI(e)}catch(n){return Ii(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+n+").")),e}}function ey(e,n){try{return decodeURIComponent(e)}catch(t){return Ii(!1,'The value for the URL param "'+n+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+t+").")),e}}function Oa(e,n){if(n==="/")return e;if(!e.toLowerCase().startsWith(n.toLowerCase()))return null;let t=n.endsWith("/")?n.length-1:n.length,r=e.charAt(t);return r&&r!=="/"?null:e.slice(t)||"/"}function ny(e,n){n===void 0&&(n="/");let{pathname:t,search:r="",hash:l=""}=typeof e=="string"?Lt(e):e;return{pathname:t?t.startsWith("/")?t:ty(t,n):n,search:ly(r),hash:iy(l)}}function ty(e,n){let t=n.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?t.length>1&&t.pop():l!=="."&&t.push(l)}),t.length>1?t.join("/"):"/"}function ku(e,n,t,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+n+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+t+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function fd(e){return e.filter((n,t)=>t===0||n.route.path&&n.route.path.length>0)}function pd(e,n,t,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=Lt(e):(l=el({},e),ve(!l.pathname||!l.pathname.includes("?"),ku("?","pathname","search",l)),ve(!l.pathname||!l.pathname.includes("#"),ku("#","pathname","hash",l)),ve(!l.search||!l.search.includes("#"),ku("#","search","hash",l)));let i=e===""||l.pathname==="",u=i?"/":l.pathname,o;if(r||u==null)o=t;else{let f=n.length-1;if(u.startsWith("..")){let h=u.split("/");for(;h[0]==="..";)h.shift(),f-=1;l.pathname=h.join("/")}o=f>=0?n[f]:"/"}let a=ny(l,o),s=u&&u!=="/"&&u.endsWith("/"),c=(i||u===".")&&t.endsWith("/");return!a.pathname.endsWith("/")&&(s||c)&&(a.pathname+="/"),a}const rt=e=>e.join("/").replace(/\/\/+/g,"/"),ry=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),ly=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,iy=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function uy(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const dd=["post","put","patch","delete"];new Set(dd);const oy=["get",...dd];new Set(oy);/**
|
|
42
|
+
* React Router v6.16.0
|
|
43
|
+
*
|
|
44
|
+
* Copyright (c) Remix Software Inc.
|
|
45
|
+
*
|
|
46
|
+
* This source code is licensed under the MIT license found in the
|
|
47
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
48
|
+
*
|
|
49
|
+
* @license MIT
|
|
50
|
+
*/function hi(){return hi=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},hi.apply(this,arguments)}const Ia=N.createContext(null),ay=N.createContext(null),ar=N.createContext(null),Fi=N.createContext(null),Mn=N.createContext({outlet:null,matches:[],isDataRoute:!1}),hd=N.createContext(null);function sy(e,n){let{relative:t}=n===void 0?{}:n;ul()||ve(!1);let{basename:r,navigator:l}=N.useContext(ar),{hash:i,pathname:u,search:o}=yd(e,{relative:t}),a=u;return r!=="/"&&(a=u==="/"?r:rt([r,u])),l.createHref({pathname:a,search:o,hash:i})}function ul(){return N.useContext(Fi)!=null}function ol(){return ul()||ve(!1),N.useContext(Fi).location}function md(e){N.useContext(ar).static||N.useLayoutEffect(e)}function gd(){let{isDataRoute:e}=N.useContext(Mn);return e?Cy():cy()}function cy(){ul()||ve(!1);let e=N.useContext(Ia),{basename:n,navigator:t}=N.useContext(ar),{matches:r}=N.useContext(Mn),{pathname:l}=ol(),i=JSON.stringify(fd(r).map(a=>a.pathnameBase)),u=N.useRef(!1);return md(()=>{u.current=!0}),N.useCallback(function(a,s){if(s===void 0&&(s={}),!u.current)return;if(typeof a=="number"){t.go(a);return}let c=pd(a,JSON.parse(i),l,s.relative==="path");e==null&&n!=="/"&&(c.pathname=c.pathname==="/"?n:rt([n,c.pathname])),(s.replace?t.replace:t.push)(c,s.state,s)},[n,t,i,l,e])}const fy=N.createContext(null);function py(e){let n=N.useContext(Mn).outlet;return n&&N.createElement(fy.Provider,{value:e},n)}function qk(){let{matches:e}=N.useContext(Mn),n=e[e.length-1];return n?n.params:{}}function yd(e,n){let{relative:t}=n===void 0?{}:n,{matches:r}=N.useContext(Mn),{pathname:l}=ol(),i=JSON.stringify(fd(r).map(u=>u.pathnameBase));return N.useMemo(()=>pd(e,JSON.parse(i),l,t==="path"),[e,i,l,t])}function dy(e,n){return hy(e,n)}function hy(e,n,t){ul()||ve(!1);let{navigator:r}=N.useContext(ar),{matches:l}=N.useContext(Mn),i=l[l.length-1],u=i?i.params:{};i&&i.pathname;let o=i?i.pathnameBase:"/";i&&i.route;let a=ol(),s;if(n){var c;let v=typeof n=="string"?Lt(n):n;o==="/"||(c=v.pathname)!=null&&c.startsWith(o)||ve(!1),s=v}else s=a;let f=s.pathname||"/",h=o==="/"?f:f.slice(o.length)||"/",p=Ug(e,{pathname:h}),w=ky(p&&p.map(v=>Object.assign({},v,{params:Object.assign({},u,v.params),pathname:rt([o,r.encodeLocation?r.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?o:rt([o,r.encodeLocation?r.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),l,t);return n&&w?N.createElement(Fi.Provider,{value:{location:hi({pathname:"/",search:"",hash:"",state:null,key:"default"},s),navigationType:Yn.Pop}},w):w}function my(){let e=Ey(),n=uy(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),t=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return N.createElement(N.Fragment,null,N.createElement("h2",null,"Unexpected Application Error!"),N.createElement("h3",{style:{fontStyle:"italic"}},n),t?N.createElement("pre",{style:l},t):null,null)}const gy=N.createElement(my,null);class yy extends N.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,t){return t.location!==n.location||t.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error||t.error,location:t.location,revalidation:n.revalidation||t.revalidation}}componentDidCatch(n,t){console.error("React Router caught the following error during render",n,t)}render(){return this.state.error?N.createElement(Mn.Provider,{value:this.props.routeContext},N.createElement(hd.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function vy(e){let{routeContext:n,match:t,children:r}=e,l=N.useContext(Ia);return l&&l.static&&l.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=t.route.id),N.createElement(Mn.Provider,{value:n},r)}function ky(e,n,t){var r;if(n===void 0&&(n=[]),t===void 0&&(t=null),e==null){var l;if((l=t)!=null&&l.errors)e=t.matches;else return null}let i=e,u=(r=t)==null?void 0:r.errors;if(u!=null){let o=i.findIndex(a=>a.route.id&&(u==null?void 0:u[a.route.id]));o>=0||ve(!1),i=i.slice(0,Math.min(i.length,o+1))}return i.reduceRight((o,a,s)=>{let c=a.route.id?u==null?void 0:u[a.route.id]:null,f=null;t&&(f=a.route.errorElement||gy);let h=n.concat(i.slice(0,s+1)),p=()=>{let w;return c?w=f:a.route.Component?w=N.createElement(a.route.Component,null):a.route.element?w=a.route.element:w=o,N.createElement(vy,{match:a,routeContext:{outlet:o,matches:h,isDataRoute:t!=null},children:w})};return t&&(a.route.ErrorBoundary||a.route.errorElement||s===0)?N.createElement(yy,{location:t.location,revalidation:t.revalidation,component:f,error:c,children:p(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):p()},null)}var vd=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(vd||{}),kd=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(kd||{});function xy(e){let n=N.useContext(Ia);return n||ve(!1),n}function wy(e){let n=N.useContext(ay);return n||ve(!1),n}function Sy(e){let n=N.useContext(Mn);return n||ve(!1),n}function xd(e){let n=Sy(),t=n.matches[n.matches.length-1];return t.route.id||ve(!1),t.route.id}function Ey(){var e;let n=N.useContext(hd),t=wy(),r=xd();return n||((e=t.errors)==null?void 0:e[r])}function Cy(){let{router:e}=xy(vd.UseNavigateStable),n=xd(kd.UseNavigateStable),t=N.useRef(!1);return md(()=>{t.current=!0}),N.useCallback(function(l,i){i===void 0&&(i={}),t.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,hi({fromRouteId:n},i)))},[e,n])}function bk(e){return py(e.context)}function Py(e){ve(!1)}function Ty(e){let{basename:n="/",children:t=null,location:r,navigationType:l=Yn.Pop,navigator:i,static:u=!1}=e;ul()&&ve(!1);let o=n.replace(/^\/*/,"/"),a=N.useMemo(()=>({basename:o,navigator:i,static:u}),[o,i,u]);typeof r=="string"&&(r=Lt(r));let{pathname:s="/",search:c="",hash:f="",state:h=null,key:p="default"}=r,w=N.useMemo(()=>{let v=Oa(s,o);return v==null?null:{location:{pathname:v,search:c,hash:f,state:h,key:p},navigationType:l}},[o,s,c,f,h,p,l]);return w==null?null:N.createElement(ar.Provider,{value:a},N.createElement(Fi.Provider,{children:t,value:w}))}function Gk(e){let{children:n,location:t}=e;return dy(Co(n),t)}new Promise(()=>{});function Co(e,n){n===void 0&&(n=[]);let t=[];return N.Children.forEach(e,(r,l)=>{if(!N.isValidElement(r))return;let i=[...n,l];if(r.type===N.Fragment){t.push.apply(t,Co(r.props.children,i));return}r.type!==Py&&ve(!1),!r.props.index||!r.props.children||ve(!1);let u={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(u.children=Co(r.props.children,i)),t.push(u)}),t}/**
|
|
51
|
+
* React Router DOM v6.16.0
|
|
52
|
+
*
|
|
53
|
+
* Copyright (c) Remix Software Inc.
|
|
54
|
+
*
|
|
55
|
+
* This source code is licensed under the MIT license found in the
|
|
56
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
57
|
+
*
|
|
58
|
+
* @license MIT
|
|
59
|
+
*/function Po(){return Po=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Po.apply(this,arguments)}function Ly(e,n){if(e==null)return{};var t={},r=Object.keys(e),l,i;for(i=0;i<r.length;i++)l=r[i],!(n.indexOf(l)>=0)&&(t[l]=e[l]);return t}function zy(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function _y(e,n){return e.button===0&&(!n||n==="_self")&&!zy(e)}function To(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((n,t)=>{let r=e[t];return n.concat(Array.isArray(r)?r.map(l=>[t,l]):[[t,r]])},[]))}function Oy(e,n){let t=To(e);return n&&n.forEach((r,l)=>{t.has(l)||n.getAll(l).forEach(i=>{t.append(l,i)})}),t}const Iy=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],Fy="startTransition",oc=Fh[Fy];function Zk(e){let{basename:n,children:t,future:r,window:l}=e,i=N.useRef();i.current==null&&(i.current=Mg({window:l,v5Compat:!0}));let u=i.current,[o,a]=N.useState({action:u.action,location:u.location}),{v7_startTransition:s}=r||{},c=N.useCallback(f=>{s&&oc?oc(()=>a(f)):a(f)},[a,s]);return N.useLayoutEffect(()=>u.listen(c),[u,c]),N.createElement(Ty,{basename:n,children:t,location:o.location,navigationType:o.action,navigator:u})}const Ny=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Ry=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Jk=N.forwardRef(function(n,t){let{onClick:r,relative:l,reloadDocument:i,replace:u,state:o,target:a,to:s,preventScrollReset:c}=n,f=Ly(n,Iy),{basename:h}=N.useContext(ar),p,w=!1;if(typeof s=="string"&&Ry.test(s)&&(p=s,Ny))try{let m=new URL(window.location.href),y=s.startsWith("//")?new URL(m.protocol+s):new URL(s),S=Oa(y.pathname,h);y.origin===m.origin&&S!=null?s=S+y.search+y.hash:w=!0}catch{}let v=sy(s,{relative:l}),C=Ay(s,{replace:u,state:o,target:a,preventScrollReset:c,relative:l});function d(m){r&&r(m),m.defaultPrevented||C(m)}return N.createElement("a",Po({},f,{href:p||v,onClick:w||i?r:d,ref:t,target:a}))});var ac;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher"})(ac||(ac={}));var sc;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(sc||(sc={}));function Ay(e,n){let{target:t,replace:r,state:l,preventScrollReset:i,relative:u}=n===void 0?{}:n,o=gd(),a=ol(),s=yd(e,{relative:u});return N.useCallback(c=>{if(_y(c,t)){c.preventDefault();let f=r!==void 0?r:di(a)===di(s);o(e,{replace:f,state:l,preventScrollReset:i,relative:u})}},[a,o,s,r,l,t,e,i,u])}function ex(e){let n=N.useRef(To(e)),t=N.useRef(!1),r=ol(),l=N.useMemo(()=>Oy(r.search,t.current?null:n.current),[r.search]),i=gd(),u=N.useCallback((o,a)=>{const s=To(typeof o=="function"?o(l):o);t.current=!0,i("?"+s,a)},[i,l]);return[l,u]}var wd={exports:{}},Dy="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",My=Dy,By=My;function Sd(){}function Ed(){}Ed.resetWarningCache=Sd;var jy=function(){function e(r,l,i,u,o,a){if(a!==By){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}e.isRequired=e;function n(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:Ed,resetWarningCache:Sd};return t.PropTypes=t,t};wd.exports=jy();var Uy=wd.exports;const $=Ct(Uy),cc=["http","https","mailto","tel"];function $y(e){const n=(e||"").trim(),t=n.charAt(0);if(t==="#"||t==="/")return n;const r=n.indexOf(":");if(r===-1)return n;let l=-1;for(;++l<cc.length;){const i=cc[l];if(r===i.length&&n.slice(0,i.length).toLowerCase()===i)return n}return l=n.indexOf("?"),l!==-1&&r>l||(l=n.indexOf("#"),l!==-1&&r>l)?n:"javascript:void(0)"}/*!
|
|
60
|
+
* Determine if an object is a Buffer
|
|
61
|
+
*
|
|
62
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
63
|
+
* @license MIT
|
|
64
|
+
*/var Hy=function(n){return n!=null&&n.constructor!=null&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)};const Cd=Ct(Hy);function Ar(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?fc(e.position):"start"in e||"end"in e?fc(e):"line"in e||"column"in e?Lo(e):""}function Lo(e){return pc(e&&e.line)+":"+pc(e&&e.column)}function fc(e){return Lo(e&&e.start)+"-"+Lo(e&&e.end)}function pc(e){return e&&typeof e=="number"?e:1}class rn extends Error{constructor(n,t,r){const l=[null,null];let i={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof t=="string"&&(r=t,t=void 0),typeof r=="string"){const u=r.indexOf(":");u===-1?l[1]=r:(l[0]=r.slice(0,u),l[1]=r.slice(u+1))}t&&("type"in t||"position"in t?t.position&&(i=t.position):"start"in t||"end"in t?i=t:("line"in t||"column"in t)&&(i.start=t)),this.name=Ar(t)||"1:1",this.message=typeof n=="object"?n.message:n,this.stack="",typeof n=="object"&&n.stack&&(this.stack=n.stack),this.reason=this.message,this.fatal,this.line=i.start.line,this.column=i.start.column,this.position=i,this.source=l[0],this.ruleId=l[1],this.file,this.actual,this.expected,this.url,this.note}}rn.prototype.file="";rn.prototype.name="";rn.prototype.reason="";rn.prototype.message="";rn.prototype.stack="";rn.prototype.fatal=null;rn.prototype.column=null;rn.prototype.line=null;rn.prototype.source=null;rn.prototype.ruleId=null;rn.prototype.position=null;const kn={basename:Vy,dirname:Wy,extname:Qy,join:Ky,sep:"/"};function Vy(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');al(e);let t=0,r=-1,l=e.length,i;if(n===void 0||n.length===0||n.length>e.length){for(;l--;)if(e.charCodeAt(l)===47){if(i){t=l+1;break}}else r<0&&(i=!0,r=l+1);return r<0?"":e.slice(t,r)}if(n===e)return"";let u=-1,o=n.length-1;for(;l--;)if(e.charCodeAt(l)===47){if(i){t=l+1;break}}else u<0&&(i=!0,u=l+1),o>-1&&(e.charCodeAt(l)===n.charCodeAt(o--)?o<0&&(r=l):(o=-1,r=u));return t===r?r=u:r<0&&(r=e.length),e.slice(t,r)}function Wy(e){if(al(e),e.length===0)return".";let n=-1,t=e.length,r;for(;--t;)if(e.charCodeAt(t)===47){if(r){n=t;break}}else r||(r=!0);return n<0?e.charCodeAt(0)===47?"/":".":n===1&&e.charCodeAt(0)===47?"//":e.slice(0,n)}function Qy(e){al(e);let n=e.length,t=-1,r=0,l=-1,i=0,u;for(;n--;){const o=e.charCodeAt(n);if(o===47){if(u){r=n+1;break}continue}t<0&&(u=!0,t=n+1),o===46?l<0?l=n:i!==1&&(i=1):l>-1&&(i=-1)}return l<0||t<0||i===0||i===1&&l===t-1&&l===r+1?"":e.slice(l,t)}function Ky(...e){let n=-1,t;for(;++n<e.length;)al(e[n]),e[n]&&(t=t===void 0?e[n]:t+"/"+e[n]);return t===void 0?".":Xy(t)}function Xy(e){al(e);const n=e.charCodeAt(0)===47;let t=Yy(e,!n);return t.length===0&&!n&&(t="."),t.length>0&&e.charCodeAt(e.length-1)===47&&(t+="/"),n?"/"+t:t}function Yy(e,n){let t="",r=0,l=-1,i=0,u=-1,o,a;for(;++u<=e.length;){if(u<e.length)o=e.charCodeAt(u);else{if(o===47)break;o=47}if(o===47){if(!(l===u-1||i===1))if(l!==u-1&&i===2){if(t.length<2||r!==2||t.charCodeAt(t.length-1)!==46||t.charCodeAt(t.length-2)!==46){if(t.length>2){if(a=t.lastIndexOf("/"),a!==t.length-1){a<0?(t="",r=0):(t=t.slice(0,a),r=t.length-1-t.lastIndexOf("/")),l=u,i=0;continue}}else if(t.length>0){t="",r=0,l=u,i=0;continue}}n&&(t=t.length>0?t+"/..":"..",r=2)}else t.length>0?t+="/"+e.slice(l+1,u):t=e.slice(l+1,u),r=u-l-1;l=u,i=0}else o===46&&i>-1?i++:i=-1}return t}function al(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const qy={cwd:by};function by(){return"/"}function zo(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function Gy(e){if(typeof e=="string")e=new URL(e);else if(!zo(e)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if(e.protocol!=="file:"){const n=new TypeError("The URL must be of scheme file");throw n.code="ERR_INVALID_URL_SCHEME",n}return Zy(e)}function Zy(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const n=e.pathname;let t=-1;for(;++t<n.length;)if(n.charCodeAt(t)===37&&n.charCodeAt(t+1)===50){const r=n.charCodeAt(t+2);if(r===70||r===102){const l=new TypeError("File URL path must not include encoded / characters");throw l.code="ERR_INVALID_FILE_URL_PATH",l}}return decodeURIComponent(n)}const xu=["history","path","basename","stem","extname","dirname"];class Pd{constructor(n){let t;n?typeof n=="string"||Jy(n)?t={value:n}:zo(n)?t={path:n}:t=n:t={},this.data={},this.messages=[],this.history=[],this.cwd=qy.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++r<xu.length;){const i=xu[r];i in t&&t[i]!==void 0&&t[i]!==null&&(this[i]=i==="history"?[...t[i]]:t[i])}let l;for(l in t)xu.includes(l)||(this[l]=t[l])}get path(){return this.history[this.history.length-1]}set path(n){zo(n)&&(n=Gy(n)),Su(n,"path"),this.path!==n&&this.history.push(n)}get dirname(){return typeof this.path=="string"?kn.dirname(this.path):void 0}set dirname(n){dc(this.basename,"dirname"),this.path=kn.join(n||"",this.basename)}get basename(){return typeof this.path=="string"?kn.basename(this.path):void 0}set basename(n){Su(n,"basename"),wu(n,"basename"),this.path=kn.join(this.dirname||"",n)}get extname(){return typeof this.path=="string"?kn.extname(this.path):void 0}set extname(n){if(wu(n,"extname"),dc(this.dirname,"extname"),n){if(n.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(n.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=kn.join(this.dirname,this.stem+(n||""))}get stem(){return typeof this.path=="string"?kn.basename(this.path,this.extname):void 0}set stem(n){Su(n,"stem"),wu(n,"stem"),this.path=kn.join(this.dirname||"",n+(this.extname||""))}toString(n){return(this.value||"").toString(n||void 0)}message(n,t,r){const l=new rn(n,t,r);return this.path&&(l.name=this.path+":"+l.name,l.file=this.path),l.fatal=!1,this.messages.push(l),l}info(n,t,r){const l=this.message(n,t,r);return l.fatal=null,l}fail(n,t,r){const l=this.message(n,t,r);throw l.fatal=!0,l}}function wu(e,n){if(e&&e.includes(kn.sep))throw new Error("`"+n+"` cannot be a path: did not expect `"+kn.sep+"`")}function Su(e,n){if(!e)throw new Error("`"+n+"` cannot be empty")}function dc(e,n){if(!e)throw new Error("Setting `"+n+"` requires `path` to be set too")}function Jy(e){return Cd(e)}function hc(e){if(e)throw e}var $l=Object.prototype.hasOwnProperty,Td=Object.prototype.toString,mc=Object.defineProperty,gc=Object.getOwnPropertyDescriptor,yc=function(n){return typeof Array.isArray=="function"?Array.isArray(n):Td.call(n)==="[object Array]"},vc=function(n){if(!n||Td.call(n)!=="[object Object]")return!1;var t=$l.call(n,"constructor"),r=n.constructor&&n.constructor.prototype&&$l.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!t&&!r)return!1;var l;for(l in n);return typeof l>"u"||$l.call(n,l)},kc=function(n,t){mc&&t.name==="__proto__"?mc(n,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):n[t.name]=t.newValue},xc=function(n,t){if(t==="__proto__")if($l.call(n,t)){if(gc)return gc(n,t).value}else return;return n[t]},ev=function e(){var n,t,r,l,i,u,o=arguments[0],a=1,s=arguments.length,c=!1;for(typeof o=="boolean"&&(c=o,o=arguments[1]||{},a=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});a<s;++a)if(n=arguments[a],n!=null)for(t in n)r=xc(o,t),l=xc(n,t),o!==l&&(c&&l&&(vc(l)||(i=yc(l)))?(i?(i=!1,u=r&&yc(r)?r:[]):u=r&&vc(r)?r:{},kc(o,{name:t,newValue:e(c,u,l)})):typeof l<"u"&&kc(o,{name:t,newValue:l}));return o};const wc=Ct(ev);function _o(e){if(typeof e!="object"||e===null)return!1;const n=Object.getPrototypeOf(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function nv(){const e=[],n={run:t,use:r};return n;function t(...l){let i=-1;const u=l.pop();if(typeof u!="function")throw new TypeError("Expected function as last argument, not "+u);o(null,...l);function o(a,...s){const c=e[++i];let f=-1;if(a){u(a);return}for(;++f<l.length;)(s[f]===null||s[f]===void 0)&&(s[f]=l[f]);l=s,c?tv(c,o)(...s):u(null,...s)}}function r(l){if(typeof l!="function")throw new TypeError("Expected `middelware` to be a function, not "+l);return e.push(l),n}}function tv(e,n){let t;return r;function r(...u){const o=e.length>u.length;let a;o&&u.push(l);try{a=e.apply(this,u)}catch(s){const c=s;if(o&&t)throw c;return l(c)}o||(a instanceof Promise?a.then(i,l):a instanceof Error?l(a):i(a))}function l(u,...o){t||(t=!0,n(u,...o))}function i(u){l(null,u)}}const rv=zd().freeze(),Ld={}.hasOwnProperty;function zd(){const e=nv(),n=[];let t={},r,l=-1;return i.data=u,i.Parser=void 0,i.Compiler=void 0,i.freeze=o,i.attachers=n,i.use=a,i.parse=s,i.stringify=c,i.run=f,i.runSync=h,i.process=p,i.processSync=w,i;function i(){const v=zd();let C=-1;for(;++C<n.length;)v.use(...n[C]);return v.data(wc(!0,{},t)),v}function u(v,C){return typeof v=="string"?arguments.length===2?(Pu("data",r),t[v]=C,i):Ld.call(t,v)&&t[v]||null:v?(Pu("data",r),t=v,i):t}function o(){if(r)return i;for(;++l<n.length;){const[v,...C]=n[l];if(C[0]===!1)continue;C[0]===!0&&(C[0]=void 0);const d=v.call(i,...C);typeof d=="function"&&e.use(d)}return r=!0,l=Number.POSITIVE_INFINITY,i}function a(v,...C){let d;if(Pu("use",r),v!=null)if(typeof v=="function")T(v,...C);else if(typeof v=="object")Array.isArray(v)?S(v):y(v);else throw new TypeError("Expected usable value, not `"+v+"`");return d&&(t.settings=Object.assign(t.settings||{},d)),i;function m(x){if(typeof x=="function")T(x);else if(typeof x=="object")if(Array.isArray(x)){const[P,..._]=x;T(P,..._)}else y(x);else throw new TypeError("Expected usable value, not `"+x+"`")}function y(x){S(x.plugins),x.settings&&(d=Object.assign(d||{},x.settings))}function S(x){let P=-1;if(x!=null)if(Array.isArray(x))for(;++P<x.length;){const _=x[P];m(_)}else throw new TypeError("Expected a list of plugins, not `"+x+"`")}function T(x,P){let _=-1,M;for(;++_<n.length;)if(n[_][0]===x){M=n[_];break}M?(_o(M[1])&&_o(P)&&(P=wc(!0,M[1],P)),M[1]=P):n.push([...arguments])}}function s(v){i.freeze();const C=wr(v),d=i.Parser;return Eu("parse",d),Sc(d,"parse")?new d(String(C),C).parse():d(String(C),C)}function c(v,C){i.freeze();const d=wr(C),m=i.Compiler;return Cu("stringify",m),Ec(v),Sc(m,"compile")?new m(v,d).compile():m(v,d)}function f(v,C,d){if(Ec(v),i.freeze(),!d&&typeof C=="function"&&(d=C,C=void 0),!d)return new Promise(m);m(null,d);function m(y,S){e.run(v,wr(C),T);function T(x,P,_){P=P||v,x?S(x):y?y(P):d(null,P,_)}}}function h(v,C){let d,m;return i.run(v,C,y),Cc("runSync","run",m),d;function y(S,T){hc(S),d=T,m=!0}}function p(v,C){if(i.freeze(),Eu("process",i.Parser),Cu("process",i.Compiler),!C)return new Promise(d);d(null,C);function d(m,y){const S=wr(v);i.run(i.parse(S),S,(x,P,_)=>{if(x||!P||!_)T(x);else{const M=i.stringify(P,_);M==null||(uv(M)?_.value=M:_.result=M),T(x,_)}});function T(x,P){x||!P?y(x):m?m(P):C(null,P)}}}function w(v){let C;i.freeze(),Eu("processSync",i.Parser),Cu("processSync",i.Compiler);const d=wr(v);return i.process(d,m),Cc("processSync","process",C),d;function m(y){C=!0,hc(y)}}}function Sc(e,n){return typeof e=="function"&&e.prototype&&(lv(e.prototype)||n in e.prototype)}function lv(e){let n;for(n in e)if(Ld.call(e,n))return!0;return!1}function Eu(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function Cu(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function Pu(e,n){if(n)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Ec(e){if(!_o(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Cc(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function wr(e){return iv(e)?e:new Pd(e)}function iv(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function uv(e){return typeof e=="string"||Cd(e)}const ov={};function av(e,n){const t=ov,r=typeof t.includeImageAlt=="boolean"?t.includeImageAlt:!0,l=typeof t.includeHtml=="boolean"?t.includeHtml:!0;return _d(e,r,l)}function _d(e,n,t){if(sv(e)){if("value"in e)return e.type==="html"&&!t?"":e.value;if(n&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Pc(e.children,n,t)}return Array.isArray(e)?Pc(e,n,t):""}function Pc(e,n,t){const r=[];let l=-1;for(;++l<e.length;)r[l]=_d(e[l],n,t);return r.join("")}function sv(e){return!!(e&&typeof e=="object")}function Cn(e,n,t,r){const l=e.length;let i=0,u;if(n<0?n=-n>l?0:l+n:n=n>l?l:n,t=t>0?t:0,r.length<1e4)u=Array.from(r),u.unshift(n,t),e.splice(...u);else for(t&&e.splice(n,t);i<r.length;)u=r.slice(i,i+1e4),u.unshift(n,0),e.splice(...u),i+=1e4,n+=1e4}function Ze(e,n){return e.length>0?(Cn(e,e.length,0,n),e):n}const Tc={}.hasOwnProperty;function cv(e){const n={};let t=-1;for(;++t<e.length;)fv(n,e[t]);return n}function fv(e,n){let t;for(t in n){const l=(Tc.call(e,t)?e[t]:void 0)||(e[t]={}),i=n[t];let u;if(i)for(u in i){Tc.call(l,u)||(l[u]=[]);const o=i[u];pv(l[u],Array.isArray(o)?o:o?[o]:[])}}}function pv(e,n){let t=-1;const r=[];for(;++t<n.length;)(n[t].add==="after"?e:r).push(n[t]);Cn(e,0,0,r)}const dv=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,wn=st(/[A-Za-z]/),Qe=st(/[\dA-Za-z]/),hv=st(/[#-'*+\--9=?A-Z^-~]/);function Oo(e){return e!==null&&(e<32||e===127)}const Io=st(/\d/),mv=st(/[\dA-Fa-f]/),gv=st(/[!-/:-@[-`{-~]/);function U(e){return e!==null&&e<-2}function $e(e){return e!==null&&(e<0||e===32)}function X(e){return e===-2||e===-1||e===32}const yv=st(dv),vv=st(/\s/);function st(e){return n;function n(t){return t!==null&&e.test(String.fromCharCode(t))}}function te(e,n,t,r){const l=r?r-1:Number.POSITIVE_INFINITY;let i=0;return u;function u(a){return X(a)?(e.enter(t),o(a)):n(a)}function o(a){return X(a)&&i++<l?(e.consume(a),o):(e.exit(t),n(a))}}const kv={tokenize:xv};function xv(e){const n=e.attempt(this.parser.constructs.contentInitial,r,l);let t;return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),te(e,n,"linePrefix")}function l(o){return e.enter("paragraph"),i(o)}function i(o){const a=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=a),t=a,u(o)}function u(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return U(o)?(e.consume(o),e.exit("chunkText"),i):(e.consume(o),u)}}const wv={tokenize:Sv},Lc={tokenize:Ev};function Sv(e){const n=this,t=[];let r=0,l,i,u;return o;function o(y){if(r<t.length){const S=t[r];return n.containerState=S[1],e.attempt(S[0].continuation,a,s)(y)}return s(y)}function a(y){if(r++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,l&&m();const S=n.events.length;let T=S,x;for(;T--;)if(n.events[T][0]==="exit"&&n.events[T][1].type==="chunkFlow"){x=n.events[T][1].end;break}d(r);let P=S;for(;P<n.events.length;)n.events[P][1].end=Object.assign({},x),P++;return Cn(n.events,T+1,0,n.events.slice(S)),n.events.length=P,s(y)}return o(y)}function s(y){if(r===t.length){if(!l)return h(y);if(l.currentConstruct&&l.currentConstruct.concrete)return w(y);n.interrupt=!!(l.currentConstruct&&!l._gfmTableDynamicInterruptHack)}return n.containerState={},e.check(Lc,c,f)(y)}function c(y){return l&&m(),d(r),h(y)}function f(y){return n.parser.lazy[n.now().line]=r!==t.length,u=n.now().offset,w(y)}function h(y){return n.containerState={},e.attempt(Lc,p,w)(y)}function p(y){return r++,t.push([n.currentConstruct,n.containerState]),h(y)}function w(y){if(y===null){l&&m(),d(0),e.consume(y);return}return l=l||n.parser.flow(n.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:l}),v(y)}function v(y){if(y===null){C(e.exit("chunkFlow"),!0),d(0),e.consume(y);return}return U(y)?(e.consume(y),C(e.exit("chunkFlow")),r=0,n.interrupt=void 0,o):(e.consume(y),v)}function C(y,S){const T=n.sliceStream(y);if(S&&T.push(null),y.previous=i,i&&(i.next=y),i=y,l.defineSkip(y.start),l.write(T),n.parser.lazy[y.start.line]){let x=l.events.length;for(;x--;)if(l.events[x][1].start.offset<u&&(!l.events[x][1].end||l.events[x][1].end.offset>u))return;const P=n.events.length;let _=P,M,D;for(;_--;)if(n.events[_][0]==="exit"&&n.events[_][1].type==="chunkFlow"){if(M){D=n.events[_][1].end;break}M=!0}for(d(r),x=P;x<n.events.length;)n.events[x][1].end=Object.assign({},D),x++;Cn(n.events,_+1,0,n.events.slice(P)),n.events.length=x}}function d(y){let S=t.length;for(;S-- >y;){const T=t[S];n.containerState=T[1],T[0].exit.call(n,e)}t.length=y}function m(){l.write([null]),i=void 0,l=void 0,n.containerState._closeFlow=void 0}}function Ev(e,n,t){return te(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function zc(e){if(e===null||$e(e)||vv(e))return 1;if(yv(e))return 2}function Fa(e,n,t){const r=[];let l=-1;for(;++l<e.length;){const i=e[l].resolveAll;i&&!r.includes(i)&&(n=i(n,t),r.push(i))}return n}const Fo={name:"attention",tokenize:Pv,resolveAll:Cv};function Cv(e,n){let t=-1,r,l,i,u,o,a,s,c;for(;++t<e.length;)if(e[t][0]==="enter"&&e[t][1].type==="attentionSequence"&&e[t][1]._close){for(r=t;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&n.sliceSerialize(e[r][1]).charCodeAt(0)===n.sliceSerialize(e[t][1]).charCodeAt(0)){if((e[r][1]._close||e[t][1]._open)&&(e[t][1].end.offset-e[t][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[t][1].end.offset-e[t][1].start.offset)%3))continue;a=e[r][1].end.offset-e[r][1].start.offset>1&&e[t][1].end.offset-e[t][1].start.offset>1?2:1;const f=Object.assign({},e[r][1].end),h=Object.assign({},e[t][1].start);_c(f,-a),_c(h,a),u={type:a>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},o={type:a>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[t][1].start),end:h},i={type:a>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[t][1].start)},l={type:a>1?"strong":"emphasis",start:Object.assign({},u.start),end:Object.assign({},o.end)},e[r][1].end=Object.assign({},u.start),e[t][1].start=Object.assign({},o.end),s=[],e[r][1].end.offset-e[r][1].start.offset&&(s=Ze(s,[["enter",e[r][1],n],["exit",e[r][1],n]])),s=Ze(s,[["enter",l,n],["enter",u,n],["exit",u,n],["enter",i,n]]),s=Ze(s,Fa(n.parser.constructs.insideSpan.null,e.slice(r+1,t),n)),s=Ze(s,[["exit",i,n],["enter",o,n],["exit",o,n],["exit",l,n]]),e[t][1].end.offset-e[t][1].start.offset?(c=2,s=Ze(s,[["enter",e[t][1],n],["exit",e[t][1],n]])):c=0,Cn(e,r-1,t-r+3,s),t=r+s.length-c-2;break}}for(t=-1;++t<e.length;)e[t][1].type==="attentionSequence"&&(e[t][1].type="data");return e}function Pv(e,n){const t=this.parser.constructs.attentionMarkers.null,r=this.previous,l=zc(r);let i;return u;function u(a){return i=a,e.enter("attentionSequence"),o(a)}function o(a){if(a===i)return e.consume(a),o;const s=e.exit("attentionSequence"),c=zc(a),f=!c||c===2&&l||t.includes(a),h=!l||l===2&&c||t.includes(r);return s._open=!!(i===42?f:f&&(l||!h)),s._close=!!(i===42?h:h&&(c||!f)),n(a)}}function _c(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}const Tv={name:"autolink",tokenize:Lv};function Lv(e,n,t){let r=0;return l;function l(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(p){return wn(p)?(e.consume(p),u):s(p)}function u(p){return p===43||p===45||p===46||Qe(p)?(r=1,o(p)):s(p)}function o(p){return p===58?(e.consume(p),r=0,a):(p===43||p===45||p===46||Qe(p))&&r++<32?(e.consume(p),o):(r=0,s(p))}function a(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),n):p===null||p===32||p===60||Oo(p)?t(p):(e.consume(p),a)}function s(p){return p===64?(e.consume(p),c):hv(p)?(e.consume(p),s):t(p)}function c(p){return Qe(p)?f(p):t(p)}function f(p){return p===46?(e.consume(p),r=0,c):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),n):h(p)}function h(p){if((p===45||Qe(p))&&r++<63){const w=p===45?h:f;return e.consume(p),w}return t(p)}}const Ni={tokenize:zv,partial:!0};function zv(e,n,t){return r;function r(i){return X(i)?te(e,l,"linePrefix")(i):l(i)}function l(i){return i===null||U(i)?n(i):t(i)}}const Od={name:"blockQuote",tokenize:_v,continuation:{tokenize:Ov},exit:Iv};function _v(e,n,t){const r=this;return l;function l(u){if(u===62){const o=r.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),i}return t(u)}function i(u){return X(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(u))}}function Ov(e,n,t){const r=this;return l;function l(u){return X(u)?te(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):i(u)}function i(u){return e.attempt(Od,n,t)(u)}}function Iv(e){e.exit("blockQuote")}const Id={name:"characterEscape",tokenize:Fv};function Fv(e,n,t){return r;function r(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),l}function l(i){return gv(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):t(i)}}const Oc=document.createElement("i");function Na(e){const n="&"+e+";";Oc.innerHTML=n;const t=Oc.textContent;return t.charCodeAt(t.length-1)===59&&e!=="semi"||t===n?!1:t}const Fd={name:"characterReference",tokenize:Nv};function Nv(e,n,t){const r=this;let l=0,i,u;return o;function o(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),a}function a(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),i=31,u=Qe,c(f))}function s(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,u=mv,c):(e.enter("characterReferenceValue"),i=7,u=Io,c(f))}function c(f){if(f===59&&l){const h=e.exit("characterReferenceValue");return u===Qe&&!Na(r.sliceSerialize(h))?t(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),n)}return u(f)&&l++<i?(e.consume(f),c):t(f)}}const Ic={tokenize:Av,partial:!0},Fc={name:"codeFenced",tokenize:Rv,concrete:!0};function Rv(e,n,t){const r=this,l={tokenize:T,partial:!0};let i=0,u=0,o;return a;function a(x){return s(x)}function s(x){const P=r.events[r.events.length-1];return i=P&&P[1].type==="linePrefix"?P[2].sliceSerialize(P[1],!0).length:0,o=x,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(x)}function c(x){return x===o?(u++,e.consume(x),c):u<3?t(x):(e.exit("codeFencedFenceSequence"),X(x)?te(e,f,"whitespace")(x):f(x))}function f(x){return x===null||U(x)?(e.exit("codeFencedFence"),r.interrupt?n(x):e.check(Ic,v,S)(x)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(x))}function h(x){return x===null||U(x)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(x)):X(x)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),te(e,p,"whitespace")(x)):x===96&&x===o?t(x):(e.consume(x),h)}function p(x){return x===null||U(x)?f(x):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),w(x))}function w(x){return x===null||U(x)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(x)):x===96&&x===o?t(x):(e.consume(x),w)}function v(x){return e.attempt(l,S,C)(x)}function C(x){return e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),d}function d(x){return i>0&&X(x)?te(e,m,"linePrefix",i+1)(x):m(x)}function m(x){return x===null||U(x)?e.check(Ic,v,S)(x):(e.enter("codeFlowValue"),y(x))}function y(x){return x===null||U(x)?(e.exit("codeFlowValue"),m(x)):(e.consume(x),y)}function S(x){return e.exit("codeFenced"),n(x)}function T(x,P,_){let M=0;return D;function D(W){return x.enter("lineEnding"),x.consume(W),x.exit("lineEnding"),F}function F(W){return x.enter("codeFencedFence"),X(W)?te(x,A,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(W):A(W)}function A(W){return W===o?(x.enter("codeFencedFenceSequence"),Y(W)):_(W)}function Y(W){return W===o?(M++,x.consume(W),Y):M>=u?(x.exit("codeFencedFenceSequence"),X(W)?te(x,ue,"whitespace")(W):ue(W)):_(W)}function ue(W){return W===null||U(W)?(x.exit("codeFencedFence"),P(W)):_(W)}}}function Av(e,n,t){const r=this;return l;function l(u){return u===null?t(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),i)}function i(u){return r.parser.lazy[r.now().line]?t(u):n(u)}}const Tu={name:"codeIndented",tokenize:Mv},Dv={tokenize:Bv,partial:!0};function Mv(e,n,t){const r=this;return l;function l(s){return e.enter("codeIndented"),te(e,i,"linePrefix",5)(s)}function i(s){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?u(s):t(s)}function u(s){return s===null?a(s):U(s)?e.attempt(Dv,u,a)(s):(e.enter("codeFlowValue"),o(s))}function o(s){return s===null||U(s)?(e.exit("codeFlowValue"),u(s)):(e.consume(s),o)}function a(s){return e.exit("codeIndented"),n(s)}}function Bv(e,n,t){const r=this;return l;function l(u){return r.parser.lazy[r.now().line]?t(u):U(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),l):te(e,i,"linePrefix",5)(u)}function i(u){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?n(u):U(u)?l(u):t(u)}}const jv={name:"codeText",tokenize:Hv,resolve:Uv,previous:$v};function Uv(e){let n=e.length-4,t=3,r,l;if((e[t][1].type==="lineEnding"||e[t][1].type==="space")&&(e[n][1].type==="lineEnding"||e[n][1].type==="space")){for(r=t;++r<n;)if(e[r][1].type==="codeTextData"){e[t][1].type="codeTextPadding",e[n][1].type="codeTextPadding",t+=2,n-=2;break}}for(r=t-1,n++;++r<=n;)l===void 0?r!==n&&e[r][1].type!=="lineEnding"&&(l=r):(r===n||e[r][1].type==="lineEnding")&&(e[l][1].type="codeTextData",r!==l+2&&(e[l][1].end=e[r-1][1].end,e.splice(l+2,r-l-2),n-=r-l-2,r=l+2),l=void 0);return e}function $v(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Hv(e,n,t){let r=0,l,i;return u;function u(f){return e.enter("codeText"),e.enter("codeTextSequence"),o(f)}function o(f){return f===96?(e.consume(f),r++,o):(e.exit("codeTextSequence"),a(f))}function a(f){return f===null?t(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),a):f===96?(i=e.enter("codeTextSequence"),l=0,c(f)):U(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),a):(e.enter("codeTextData"),s(f))}function s(f){return f===null||f===32||f===96||U(f)?(e.exit("codeTextData"),a(f)):(e.consume(f),s)}function c(f){return f===96?(e.consume(f),l++,c):l===r?(e.exit("codeTextSequence"),e.exit("codeText"),n(f)):(i.type="codeTextData",s(f))}}function Nd(e){const n={};let t=-1,r,l,i,u,o,a,s;for(;++t<e.length;){for(;t in n;)t=n[t];if(r=e[t],t&&r[1].type==="chunkFlow"&&e[t-1][1].type==="listItemPrefix"&&(a=r[1]._tokenizer.events,i=0,i<a.length&&a[i][1].type==="lineEndingBlank"&&(i+=2),i<a.length&&a[i][1].type==="content"))for(;++i<a.length&&a[i][1].type!=="content";)a[i][1].type==="chunkText"&&(a[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(n,Vv(e,t)),t=n[t],s=!0);else if(r[1]._container){for(i=t,l=void 0;i--&&(u=e[i],u[1].type==="lineEnding"||u[1].type==="lineEndingBlank");)u[0]==="enter"&&(l&&(e[l][1].type="lineEndingBlank"),u[1].type="lineEnding",l=i);l&&(r[1].end=Object.assign({},e[l][1].start),o=e.slice(l,t),o.unshift(r),Cn(e,l,t-l+1,o))}}return!s}function Vv(e,n){const t=e[n][1],r=e[n][2];let l=n-1;const i=[],u=t._tokenizer||r.parser[t.contentType](t.start),o=u.events,a=[],s={};let c,f,h=-1,p=t,w=0,v=0;const C=[v];for(;p;){for(;e[++l][1]!==p;);i.push(l),p._tokenizer||(c=r.sliceStream(p),p.next||c.push(null),f&&u.defineSkip(p.start),p._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(c),p._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),f=p,p=p.next}for(p=t;++h<o.length;)o[h][0]==="exit"&&o[h-1][0]==="enter"&&o[h][1].type===o[h-1][1].type&&o[h][1].start.line!==o[h][1].end.line&&(v=h+1,C.push(v),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(u.events=[],p?(p._tokenizer=void 0,p.previous=void 0):C.pop(),h=C.length;h--;){const d=o.slice(C[h],C[h+1]),m=i.pop();a.unshift([m,m+d.length-1]),Cn(e,m,2,d)}for(h=-1;++h<a.length;)s[w+a[h][0]]=w+a[h][1],w+=a[h][1]-a[h][0]-1;return s}const Wv={tokenize:Xv,resolve:Kv},Qv={tokenize:Yv,partial:!0};function Kv(e){return Nd(e),e}function Xv(e,n){let t;return r;function r(o){return e.enter("content"),t=e.enter("chunkContent",{contentType:"content"}),l(o)}function l(o){return o===null?i(o):U(o)?e.check(Qv,u,i)(o):(e.consume(o),l)}function i(o){return e.exit("chunkContent"),e.exit("content"),n(o)}function u(o){return e.consume(o),e.exit("chunkContent"),t.next=e.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,l}}function Yv(e,n,t){const r=this;return l;function l(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),te(e,i,"linePrefix")}function i(u){if(u===null||U(u))return t(u);const o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?n(u):e.interrupt(r.parser.constructs.flow,t,n)(u)}}function Rd(e,n,t,r,l,i,u,o,a){const s=a||Number.POSITIVE_INFINITY;let c=0;return f;function f(d){return d===60?(e.enter(r),e.enter(l),e.enter(i),e.consume(d),e.exit(i),h):d===null||d===32||d===41||Oo(d)?t(d):(e.enter(r),e.enter(u),e.enter(o),e.enter("chunkString",{contentType:"string"}),v(d))}function h(d){return d===62?(e.enter(i),e.consume(d),e.exit(i),e.exit(l),e.exit(r),n):(e.enter(o),e.enter("chunkString",{contentType:"string"}),p(d))}function p(d){return d===62?(e.exit("chunkString"),e.exit(o),h(d)):d===null||d===60||U(d)?t(d):(e.consume(d),d===92?w:p)}function w(d){return d===60||d===62||d===92?(e.consume(d),p):p(d)}function v(d){return!c&&(d===null||d===41||$e(d))?(e.exit("chunkString"),e.exit(o),e.exit(u),e.exit(r),n(d)):c<s&&d===40?(e.consume(d),c++,v):d===41?(e.consume(d),c--,v):d===null||d===32||d===40||Oo(d)?t(d):(e.consume(d),d===92?C:v)}function C(d){return d===40||d===41||d===92?(e.consume(d),v):v(d)}}function Ad(e,n,t,r,l,i){const u=this;let o=0,a;return s;function s(p){return e.enter(r),e.enter(l),e.consume(p),e.exit(l),e.enter(i),c}function c(p){return o>999||p===null||p===91||p===93&&!a||p===94&&!o&&"_hiddenFootnoteSupport"in u.parser.constructs?t(p):p===93?(e.exit(i),e.enter(l),e.consume(p),e.exit(l),e.exit(r),n):U(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||U(p)||o++>999?(e.exit("chunkString"),c(p)):(e.consume(p),a||(a=!X(p)),p===92?h:f)}function h(p){return p===91||p===92||p===93?(e.consume(p),o++,f):f(p)}}function Dd(e,n,t,r,l,i){let u;return o;function o(h){return h===34||h===39||h===40?(e.enter(r),e.enter(l),e.consume(h),e.exit(l),u=h===40?41:h,a):t(h)}function a(h){return h===u?(e.enter(l),e.consume(h),e.exit(l),e.exit(r),n):(e.enter(i),s(h))}function s(h){return h===u?(e.exit(i),a(u)):h===null?t(h):U(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),te(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(h))}function c(h){return h===u||h===null||U(h)?(e.exit("chunkString"),s(h)):(e.consume(h),h===92?f:c)}function f(h){return h===u||h===92?(e.consume(h),c):c(h)}}function Dr(e,n){let t;return r;function r(l){return U(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),t=!0,r):X(l)?te(e,r,t?"linePrefix":"lineSuffix")(l):n(l)}}function bt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const qv={name:"definition",tokenize:Gv},bv={tokenize:Zv,partial:!0};function Gv(e,n,t){const r=this;let l;return i;function i(p){return e.enter("definition"),u(p)}function u(p){return Ad.call(r,e,o,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function o(p){return l=bt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),a):t(p)}function a(p){return $e(p)?Dr(e,s)(p):s(p)}function s(p){return Rd(e,c,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function c(p){return e.attempt(bv,f,f)(p)}function f(p){return X(p)?te(e,h,"whitespace")(p):h(p)}function h(p){return p===null||U(p)?(e.exit("definition"),r.parser.defined.push(l),n(p)):t(p)}}function Zv(e,n,t){return r;function r(o){return $e(o)?Dr(e,l)(o):t(o)}function l(o){return Dd(e,i,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function i(o){return X(o)?te(e,u,"whitespace")(o):u(o)}function u(o){return o===null||U(o)?n(o):t(o)}}const Jv={name:"hardBreakEscape",tokenize:e1};function e1(e,n,t){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),l}function l(i){return U(i)?(e.exit("hardBreakEscape"),n(i)):t(i)}}const n1={name:"headingAtx",tokenize:r1,resolve:t1};function t1(e,n){let t=e.length-2,r=3,l,i;return e[r][1].type==="whitespace"&&(r+=2),t-2>r&&e[t][1].type==="whitespace"&&(t-=2),e[t][1].type==="atxHeadingSequence"&&(r===t-1||t-4>r&&e[t-2][1].type==="whitespace")&&(t-=r+1===t?2:4),t>r&&(l={type:"atxHeadingText",start:e[r][1].start,end:e[t][1].end},i={type:"chunkText",start:e[r][1].start,end:e[t][1].end,contentType:"text"},Cn(e,r,t-r+1,[["enter",l,n],["enter",i,n],["exit",i,n],["exit",l,n]])),e}function r1(e,n,t){let r=0;return l;function l(c){return e.enter("atxHeading"),i(c)}function i(c){return e.enter("atxHeadingSequence"),u(c)}function u(c){return c===35&&r++<6?(e.consume(c),u):c===null||$e(c)?(e.exit("atxHeadingSequence"),o(c)):t(c)}function o(c){return c===35?(e.enter("atxHeadingSequence"),a(c)):c===null||U(c)?(e.exit("atxHeading"),n(c)):X(c)?te(e,o,"whitespace")(c):(e.enter("atxHeadingText"),s(c))}function a(c){return c===35?(e.consume(c),a):(e.exit("atxHeadingSequence"),o(c))}function s(c){return c===null||c===35||$e(c)?(e.exit("atxHeadingText"),o(c)):(e.consume(c),s)}}const l1=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Nc=["pre","script","style","textarea"],i1={name:"htmlFlow",tokenize:s1,resolveTo:a1,concrete:!0},u1={tokenize:f1,partial:!0},o1={tokenize:c1,partial:!0};function a1(e){let n=e.length;for(;n--&&!(e[n][0]==="enter"&&e[n][1].type==="htmlFlow"););return n>1&&e[n-2][1].type==="linePrefix"&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e}function s1(e,n,t){const r=this;let l,i,u,o,a;return s;function s(k){return c(k)}function c(k){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(k),f}function f(k){return k===33?(e.consume(k),h):k===47?(e.consume(k),i=!0,v):k===63?(e.consume(k),l=3,r.interrupt?n:g):wn(k)?(e.consume(k),u=String.fromCharCode(k),C):t(k)}function h(k){return k===45?(e.consume(k),l=2,p):k===91?(e.consume(k),l=5,o=0,w):wn(k)?(e.consume(k),l=4,r.interrupt?n:g):t(k)}function p(k){return k===45?(e.consume(k),r.interrupt?n:g):t(k)}function w(k){const ke="CDATA[";return k===ke.charCodeAt(o++)?(e.consume(k),o===ke.length?r.interrupt?n:A:w):t(k)}function v(k){return wn(k)?(e.consume(k),u=String.fromCharCode(k),C):t(k)}function C(k){if(k===null||k===47||k===62||$e(k)){const ke=k===47,gn=u.toLowerCase();return!ke&&!i&&Nc.includes(gn)?(l=1,r.interrupt?n(k):A(k)):l1.includes(u.toLowerCase())?(l=6,ke?(e.consume(k),d):r.interrupt?n(k):A(k)):(l=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(k):i?m(k):y(k))}return k===45||Qe(k)?(e.consume(k),u+=String.fromCharCode(k),C):t(k)}function d(k){return k===62?(e.consume(k),r.interrupt?n:A):t(k)}function m(k){return X(k)?(e.consume(k),m):D(k)}function y(k){return k===47?(e.consume(k),D):k===58||k===95||wn(k)?(e.consume(k),S):X(k)?(e.consume(k),y):D(k)}function S(k){return k===45||k===46||k===58||k===95||Qe(k)?(e.consume(k),S):T(k)}function T(k){return k===61?(e.consume(k),x):X(k)?(e.consume(k),T):y(k)}function x(k){return k===null||k===60||k===61||k===62||k===96?t(k):k===34||k===39?(e.consume(k),a=k,P):X(k)?(e.consume(k),x):_(k)}function P(k){return k===a?(e.consume(k),a=null,M):k===null||U(k)?t(k):(e.consume(k),P)}function _(k){return k===null||k===34||k===39||k===47||k===60||k===61||k===62||k===96||$e(k)?T(k):(e.consume(k),_)}function M(k){return k===47||k===62||X(k)?y(k):t(k)}function D(k){return k===62?(e.consume(k),F):t(k)}function F(k){return k===null||U(k)?A(k):X(k)?(e.consume(k),F):t(k)}function A(k){return k===45&&l===2?(e.consume(k),me):k===60&&l===1?(e.consume(k),pe):k===62&&l===4?(e.consume(k),Q):k===63&&l===3?(e.consume(k),g):k===93&&l===5?(e.consume(k),B):U(k)&&(l===6||l===7)?(e.exit("htmlFlowData"),e.check(u1,G,Y)(k)):k===null||U(k)?(e.exit("htmlFlowData"),Y(k)):(e.consume(k),A)}function Y(k){return e.check(o1,ue,G)(k)}function ue(k){return e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),W}function W(k){return k===null||U(k)?Y(k):(e.enter("htmlFlowData"),A(k))}function me(k){return k===45?(e.consume(k),g):A(k)}function pe(k){return k===47?(e.consume(k),u="",I):A(k)}function I(k){if(k===62){const ke=u.toLowerCase();return Nc.includes(ke)?(e.consume(k),Q):A(k)}return wn(k)&&u.length<8?(e.consume(k),u+=String.fromCharCode(k),I):A(k)}function B(k){return k===93?(e.consume(k),g):A(k)}function g(k){return k===62?(e.consume(k),Q):k===45&&l===2?(e.consume(k),g):A(k)}function Q(k){return k===null||U(k)?(e.exit("htmlFlowData"),G(k)):(e.consume(k),Q)}function G(k){return e.exit("htmlFlow"),n(k)}}function c1(e,n,t){const r=this;return l;function l(u){return U(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),i):t(u)}function i(u){return r.parser.lazy[r.now().line]?t(u):n(u)}}function f1(e,n,t){return r;function r(l){return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),e.attempt(Ni,n,t)}}const p1={name:"htmlText",tokenize:d1};function d1(e,n,t){const r=this;let l,i,u;return o;function o(g){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(g),a}function a(g){return g===33?(e.consume(g),s):g===47?(e.consume(g),T):g===63?(e.consume(g),y):wn(g)?(e.consume(g),_):t(g)}function s(g){return g===45?(e.consume(g),c):g===91?(e.consume(g),i=0,w):wn(g)?(e.consume(g),m):t(g)}function c(g){return g===45?(e.consume(g),p):t(g)}function f(g){return g===null?t(g):g===45?(e.consume(g),h):U(g)?(u=f,pe(g)):(e.consume(g),f)}function h(g){return g===45?(e.consume(g),p):f(g)}function p(g){return g===62?me(g):g===45?h(g):f(g)}function w(g){const Q="CDATA[";return g===Q.charCodeAt(i++)?(e.consume(g),i===Q.length?v:w):t(g)}function v(g){return g===null?t(g):g===93?(e.consume(g),C):U(g)?(u=v,pe(g)):(e.consume(g),v)}function C(g){return g===93?(e.consume(g),d):v(g)}function d(g){return g===62?me(g):g===93?(e.consume(g),d):v(g)}function m(g){return g===null||g===62?me(g):U(g)?(u=m,pe(g)):(e.consume(g),m)}function y(g){return g===null?t(g):g===63?(e.consume(g),S):U(g)?(u=y,pe(g)):(e.consume(g),y)}function S(g){return g===62?me(g):y(g)}function T(g){return wn(g)?(e.consume(g),x):t(g)}function x(g){return g===45||Qe(g)?(e.consume(g),x):P(g)}function P(g){return U(g)?(u=P,pe(g)):X(g)?(e.consume(g),P):me(g)}function _(g){return g===45||Qe(g)?(e.consume(g),_):g===47||g===62||$e(g)?M(g):t(g)}function M(g){return g===47?(e.consume(g),me):g===58||g===95||wn(g)?(e.consume(g),D):U(g)?(u=M,pe(g)):X(g)?(e.consume(g),M):me(g)}function D(g){return g===45||g===46||g===58||g===95||Qe(g)?(e.consume(g),D):F(g)}function F(g){return g===61?(e.consume(g),A):U(g)?(u=F,pe(g)):X(g)?(e.consume(g),F):M(g)}function A(g){return g===null||g===60||g===61||g===62||g===96?t(g):g===34||g===39?(e.consume(g),l=g,Y):U(g)?(u=A,pe(g)):X(g)?(e.consume(g),A):(e.consume(g),ue)}function Y(g){return g===l?(e.consume(g),l=void 0,W):g===null?t(g):U(g)?(u=Y,pe(g)):(e.consume(g),Y)}function ue(g){return g===null||g===34||g===39||g===60||g===61||g===96?t(g):g===47||g===62||$e(g)?M(g):(e.consume(g),ue)}function W(g){return g===47||g===62||$e(g)?M(g):t(g)}function me(g){return g===62?(e.consume(g),e.exit("htmlTextData"),e.exit("htmlText"),n):t(g)}function pe(g){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),I}function I(g){return X(g)?te(e,B,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(g):B(g)}function B(g){return e.enter("htmlTextData"),u(g)}}const Ra={name:"labelEnd",tokenize:k1,resolveTo:v1,resolveAll:y1},h1={tokenize:x1},m1={tokenize:w1},g1={tokenize:S1};function y1(e){let n=-1;for(;++n<e.length;){const t=e[n][1];(t.type==="labelImage"||t.type==="labelLink"||t.type==="labelEnd")&&(e.splice(n+1,t.type==="labelImage"?4:2),t.type="data",n++)}return e}function v1(e,n){let t=e.length,r=0,l,i,u,o;for(;t--;)if(l=e[t][1],i){if(l.type==="link"||l.type==="labelLink"&&l._inactive)break;e[t][0]==="enter"&&l.type==="labelLink"&&(l._inactive=!0)}else if(u){if(e[t][0]==="enter"&&(l.type==="labelImage"||l.type==="labelLink")&&!l._balanced&&(i=t,l.type!=="labelLink")){r=2;break}}else l.type==="labelEnd"&&(u=t);const a={type:e[i][1].type==="labelLink"?"link":"image",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"label",start:Object.assign({},e[i][1].start),end:Object.assign({},e[u][1].end)},c={type:"labelText",start:Object.assign({},e[i+r+2][1].end),end:Object.assign({},e[u-2][1].start)};return o=[["enter",a,n],["enter",s,n]],o=Ze(o,e.slice(i+1,i+r+3)),o=Ze(o,[["enter",c,n]]),o=Ze(o,Fa(n.parser.constructs.insideSpan.null,e.slice(i+r+4,u-3),n)),o=Ze(o,[["exit",c,n],e[u-2],e[u-1],["exit",s,n]]),o=Ze(o,e.slice(u+1)),o=Ze(o,[["exit",a,n]]),Cn(e,i,e.length,o),e}function k1(e,n,t){const r=this;let l=r.events.length,i,u;for(;l--;)if((r.events[l][1].type==="labelImage"||r.events[l][1].type==="labelLink")&&!r.events[l][1]._balanced){i=r.events[l][1];break}return o;function o(h){return i?i._inactive?f(h):(u=r.parser.defined.includes(bt(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),a):t(h)}function a(h){return h===40?e.attempt(h1,c,u?c:f)(h):h===91?e.attempt(m1,c,u?s:f)(h):u?c(h):f(h)}function s(h){return e.attempt(g1,c,f)(h)}function c(h){return n(h)}function f(h){return i._balanced=!0,t(h)}}function x1(e,n,t){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),l}function l(f){return $e(f)?Dr(e,i)(f):i(f)}function i(f){return f===41?c(f):Rd(e,u,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function u(f){return $e(f)?Dr(e,a)(f):c(f)}function o(f){return t(f)}function a(f){return f===34||f===39||f===40?Dd(e,s,t,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function s(f){return $e(f)?Dr(e,c)(f):c(f)}function c(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),n):t(f)}}function w1(e,n,t){const r=this;return l;function l(o){return Ad.call(r,e,i,u,"reference","referenceMarker","referenceString")(o)}function i(o){return r.parser.defined.includes(bt(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?n(o):t(o)}function u(o){return t(o)}}function S1(e,n,t){return r;function r(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),l}function l(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),n):t(i)}}const E1={name:"labelStartImage",tokenize:C1,resolveAll:Ra.resolveAll};function C1(e,n,t){const r=this;return l;function l(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),i}function i(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),u):t(o)}function u(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(o):n(o)}}const P1={name:"labelStartLink",tokenize:T1,resolveAll:Ra.resolveAll};function T1(e,n,t){const r=this;return l;function l(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),i}function i(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?t(u):n(u)}}const Lu={name:"lineEnding",tokenize:L1};function L1(e,n){return t;function t(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),te(e,n,"linePrefix")}}const Hl={name:"thematicBreak",tokenize:z1};function z1(e,n,t){let r=0,l;return i;function i(s){return e.enter("thematicBreak"),u(s)}function u(s){return l=s,o(s)}function o(s){return s===l?(e.enter("thematicBreakSequence"),a(s)):r>=3&&(s===null||U(s))?(e.exit("thematicBreak"),n(s)):t(s)}function a(s){return s===l?(e.consume(s),r++,a):(e.exit("thematicBreakSequence"),X(s)?te(e,o,"whitespace")(s):o(s))}}const Ae={name:"list",tokenize:I1,continuation:{tokenize:F1},exit:R1},_1={tokenize:A1,partial:!0},O1={tokenize:N1,partial:!0};function I1(e,n,t){const r=this,l=r.events[r.events.length-1];let i=l&&l[1].type==="linePrefix"?l[2].sliceSerialize(l[1],!0).length:0,u=0;return o;function o(p){const w=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(w==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:Io(p)){if(r.containerState.type||(r.containerState.type=w,e.enter(w,{_container:!0})),w==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(Hl,t,s)(p):s(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(p)}return t(p)}function a(p){return Io(p)&&++u<10?(e.consume(p),a):(!r.interrupt||u<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),s(p)):t(p)}function s(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(Ni,r.interrupt?t:c,e.attempt(_1,h,f))}function c(p){return r.containerState.initialBlankLine=!0,i++,h(p)}function f(p){return X(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),h):t(p)}function h(p){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(p)}}function F1(e,n,t){const r=this;return r.containerState._closeFlow=void 0,e.check(Ni,l,i);function l(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,te(e,n,"listItemIndent",r.containerState.size+1)(o)}function i(o){return r.containerState.furtherBlankLines||!X(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,u(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(O1,n,u)(o))}function u(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,te(e,e.attempt(Ae,n,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function N1(e,n,t){const r=this;return te(e,l,"listItemIndent",r.containerState.size+1);function l(i){const u=r.events[r.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===r.containerState.size?n(i):t(i)}}function R1(e){e.exit(this.containerState.type)}function A1(e,n,t){const r=this;return te(e,l,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function l(i){const u=r.events[r.events.length-1];return!X(i)&&u&&u[1].type==="listItemPrefixWhitespace"?n(i):t(i)}}const Rc={name:"setextUnderline",tokenize:M1,resolveTo:D1};function D1(e,n){let t=e.length,r,l,i;for(;t--;)if(e[t][0]==="enter"){if(e[t][1].type==="content"){r=t;break}e[t][1].type==="paragraph"&&(l=t)}else e[t][1].type==="content"&&e.splice(t,1),!i&&e[t][1].type==="definition"&&(i=t);const u={type:"setextHeading",start:Object.assign({},e[l][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[l][1].type="setextHeadingText",i?(e.splice(l,0,["enter",u,n]),e.splice(i+1,0,["exit",e[r][1],n]),e[r][1].end=Object.assign({},e[i][1].end)):e[r][1]=u,e.push(["exit",u,n]),e}function M1(e,n,t){const r=this;let l;return i;function i(s){let c=r.events.length,f;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){f=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),l=s,u(s)):t(s)}function u(s){return e.enter("setextHeadingLineSequence"),o(s)}function o(s){return s===l?(e.consume(s),o):(e.exit("setextHeadingLineSequence"),X(s)?te(e,a,"lineSuffix")(s):a(s))}function a(s){return s===null||U(s)?(e.exit("setextHeadingLine"),n(s)):t(s)}}const B1={tokenize:j1};function j1(e){const n=this,t=e.attempt(Ni,r,e.attempt(this.parser.constructs.flowInitial,l,te(e,e.attempt(this.parser.constructs.flow,l,e.attempt(Wv,l)),"linePrefix")));return t;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}function l(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n.currentConstruct=void 0,t}}const U1={resolveAll:Bd()},$1=Md("string"),H1=Md("text");function Md(e){return{tokenize:n,resolveAll:Bd(e==="text"?V1:void 0)};function n(t){const r=this,l=this.parser.constructs[e],i=t.attempt(l,u,o);return u;function u(c){return s(c)?i(c):o(c)}function o(c){if(c===null){t.consume(c);return}return t.enter("data"),t.consume(c),a}function a(c){return s(c)?(t.exit("data"),i(c)):(t.consume(c),a)}function s(c){if(c===null)return!0;const f=l[c];let h=-1;if(f)for(;++h<f.length;){const p=f[h];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function Bd(e){return n;function n(t,r){let l=-1,i;for(;++l<=t.length;)i===void 0?t[l]&&t[l][1].type==="data"&&(i=l,l++):(!t[l]||t[l][1].type!=="data")&&(l!==i+2&&(t[i][1].end=t[l-1][1].end,t.splice(i+2,l-i-2),l=i+2),i=void 0);return e?e(t,r):t}}function V1(e,n){let t=0;for(;++t<=e.length;)if((t===e.length||e[t][1].type==="lineEnding")&&e[t-1][1].type==="data"){const r=e[t-1][1],l=n.sliceStream(r);let i=l.length,u=-1,o=0,a;for(;i--;){const s=l[i];if(typeof s=="string"){for(u=s.length;s.charCodeAt(u-1)===32;)o++,u--;if(u)break;u=-1}else if(s===-2)a=!0,o++;else if(s!==-1){i++;break}}if(o){const s={type:t===e.length||a||o<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-o,offset:r.end.offset-o,_index:r.start._index+i,_bufferIndex:i?u:r.start._bufferIndex+u},end:Object.assign({},r.end)};r.end=Object.assign({},s.start),r.start.offset===r.end.offset?Object.assign(r,s):(e.splice(t,0,["enter",s,n],["exit",s,n]),t+=2)}t++}return e}function W1(e,n,t){let r=Object.assign(t?Object.assign({},t):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const l={},i=[];let u=[],o=[];const a={consume:m,enter:y,exit:S,attempt:P(T),check:P(x),interrupt:P(x,{interrupt:!0})},s={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:p,sliceSerialize:h,now:w,defineSkip:v,write:f};let c=n.tokenize.call(s,a);return n.resolveAll&&i.push(n),s;function f(F){return u=Ze(u,F),C(),u[u.length-1]!==null?[]:(_(n,0),s.events=Fa(i,s.events,s),s.events)}function h(F,A){return K1(p(F),A)}function p(F){return Q1(u,F)}function w(){const{line:F,column:A,offset:Y,_index:ue,_bufferIndex:W}=r;return{line:F,column:A,offset:Y,_index:ue,_bufferIndex:W}}function v(F){l[F.line]=F.column,D()}function C(){let F;for(;r._index<u.length;){const A=u[r._index];if(typeof A=="string")for(F=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===F&&r._bufferIndex<A.length;)d(A.charCodeAt(r._bufferIndex));else d(A)}}function d(F){c=c(F)}function m(F){U(F)?(r.line++,r.column=1,r.offset+=F===-3?2:1,D()):F!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===u[r._index].length&&(r._bufferIndex=-1,r._index++)),s.previous=F}function y(F,A){const Y=A||{};return Y.type=F,Y.start=w(),s.events.push(["enter",Y,s]),o.push(Y),Y}function S(F){const A=o.pop();return A.end=w(),s.events.push(["exit",A,s]),A}function T(F,A){_(F,A.from)}function x(F,A){A.restore()}function P(F,A){return Y;function Y(ue,W,me){let pe,I,B,g;return Array.isArray(ue)?G(ue):"tokenize"in ue?G([ue]):Q(ue);function Q(re){return on;function on(Bn){const _t=Bn!==null&&re[Bn],Ot=Bn!==null&&re.null,Qi=[...Array.isArray(_t)?_t:_t?[_t]:[],...Array.isArray(Ot)?Ot:Ot?[Ot]:[]];return G(Qi)(Bn)}}function G(re){return pe=re,I=0,re.length===0?me:k(re[I])}function k(re){return on;function on(Bn){return g=M(),B=re,re.partial||(s.currentConstruct=re),re.name&&s.parser.constructs.disable.null.includes(re.name)?gn():re.tokenize.call(A?Object.assign(Object.create(s),A):s,a,ke,gn)(Bn)}}function ke(re){return F(B,g),W}function gn(re){return g.restore(),++I<pe.length?k(pe[I]):me}}}function _(F,A){F.resolveAll&&!i.includes(F)&&i.push(F),F.resolve&&Cn(s.events,A,s.events.length-A,F.resolve(s.events.slice(A),s)),F.resolveTo&&(s.events=F.resolveTo(s.events,s))}function M(){const F=w(),A=s.previous,Y=s.currentConstruct,ue=s.events.length,W=Array.from(o);return{restore:me,from:ue};function me(){r=F,s.previous=A,s.currentConstruct=Y,s.events.length=ue,o=W,D()}}function D(){r.line in l&&r.column<2&&(r.column=l[r.line],r.offset+=l[r.line]-1)}}function Q1(e,n){const t=n.start._index,r=n.start._bufferIndex,l=n.end._index,i=n.end._bufferIndex;let u;if(t===l)u=[e[t].slice(r,i)];else{if(u=e.slice(t,l),r>-1){const o=u[0];typeof o=="string"?u[0]=o.slice(r):u.shift()}i>0&&u.push(e[l].slice(0,i))}return u}function K1(e,n){let t=-1;const r=[];let l;for(;++t<e.length;){const i=e[t];let u;if(typeof i=="string")u=i;else switch(i){case-5:{u="\r";break}case-4:{u=`
|
|
65
|
+
`;break}case-3:{u=`\r
|
|
66
|
+
`;break}case-2:{u=n?" ":" ";break}case-1:{if(!n&&l)continue;u=" ";break}default:u=String.fromCharCode(i)}l=i===-2,r.push(u)}return r.join("")}const X1={42:Ae,43:Ae,45:Ae,48:Ae,49:Ae,50:Ae,51:Ae,52:Ae,53:Ae,54:Ae,55:Ae,56:Ae,57:Ae,62:Od},Y1={91:qv},q1={[-2]:Tu,[-1]:Tu,32:Tu},b1={35:n1,42:Hl,45:[Rc,Hl],60:i1,61:Rc,95:Hl,96:Fc,126:Fc},G1={38:Fd,92:Id},Z1={[-5]:Lu,[-4]:Lu,[-3]:Lu,33:E1,38:Fd,42:Fo,60:[Tv,p1],91:P1,92:[Jv,Id],93:Ra,95:Fo,96:jv},J1={null:[Fo,U1]},e0={null:[42,95]},n0={null:[]},t0=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:e0,contentInitial:Y1,disable:n0,document:X1,flow:b1,flowInitial:q1,insideSpan:J1,string:G1,text:Z1},Symbol.toStringTag,{value:"Module"}));function r0(e){const t=cv([t0,...(e||{}).extensions||[]]),r={defined:[],lazy:{},constructs:t,content:l(kv),document:l(wv),flow:l(B1),string:l($1),text:l(H1)};return r;function l(i){return u;function u(o){return W1(r,i,o)}}}const Ac=/[\0\t\n\r]/g;function l0(){let e=1,n="",t=!0,r;return l;function l(i,u,o){const a=[];let s,c,f,h,p;for(i=n+i.toString(u),f=0,n="",t&&(i.charCodeAt(0)===65279&&f++,t=void 0);f<i.length;){if(Ac.lastIndex=f,s=Ac.exec(i),h=s&&s.index!==void 0?s.index:i.length,p=i.charCodeAt(h),!s){n=i.slice(f);break}if(p===10&&f===h&&r)a.push(-3),r=void 0;else switch(r&&(a.push(-5),r=void 0),f<h&&(a.push(i.slice(f,h)),e+=h-f),p){case 0:{a.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,a.push(-2);e++<c;)a.push(-1);break}case 10:{a.push(-4),e=1;break}default:r=!0,e=1}f=h+1}return o&&(r&&a.push(-5),n&&a.push(n),a.push(null)),a}}function i0(e){for(;!Nd(e););return e}function jd(e,n){const t=Number.parseInt(e,n);return t<9||t===11||t>13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)===65535||(t&65535)===65534||t>1114111?"�":String.fromCharCode(t)}const u0=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function o0(e){return e.replace(u0,a0)}function a0(e,n,t){if(n)return n;if(t.charCodeAt(0)===35){const l=t.charCodeAt(1),i=l===120||l===88;return jd(t.slice(i?2:1),i?16:10)}return Na(t)||e}const Ud={}.hasOwnProperty,s0=function(e,n,t){return typeof n!="string"&&(t=n,n=void 0),c0(t)(i0(r0(t).document().write(l0()(e,n,!0))))};function c0(e){const n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(Xa),autolinkProtocol:F,autolinkEmail:F,atxHeading:o(Wa),blockQuote:o(Qi),characterEscape:F,characterReference:F,codeFenced:o(Va),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:o(Va,a),codeText:o(oh,a),codeTextData:F,data:F,codeFlowValue:F,definition:o(ah),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:o(sh),hardBreakEscape:o(Qa),hardBreakTrailing:o(Qa),htmlFlow:o(Ka,a),htmlFlowData:F,htmlText:o(Ka,a),htmlTextData:F,image:o(ch),label:a,link:o(Xa),listItem:o(fh),listItemValue:w,listOrdered:o(Ya,p),listUnordered:o(Ya),paragraph:o(ph),reference:gn,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:o(Wa),strong:o(dh),thematicBreak:o(mh)},exit:{atxHeading:c(),atxHeadingSequence:P,autolink:c(),autolinkEmail:Ot,autolinkProtocol:_t,blockQuote:c(),characterEscapeValue:A,characterReferenceMarkerHexadecimal:on,characterReferenceMarkerNumeric:on,characterReferenceValue:Bn,codeFenced:c(m),codeFencedFence:d,codeFencedFenceInfo:v,codeFencedFenceMeta:C,codeFlowValue:A,codeIndented:c(y),codeText:c(pe),codeTextData:A,data:A,definition:c(),definitionDestinationString:x,definitionLabelString:S,definitionTitleString:T,emphasis:c(),hardBreakEscape:c(ue),hardBreakTrailing:c(ue),htmlFlow:c(W),htmlFlowData:A,htmlText:c(me),htmlTextData:A,image:c(B),label:Q,labelText:g,lineEnding:Y,link:c(I),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:re,resourceDestinationString:G,resourceTitleString:k,resource:ke,setextHeading:c(D),setextHeadingLineSequence:M,setextHeadingText:_,strong:c(),thematicBreak:c()}};$d(n,(e||{}).mdastExtensions||[]);const t={};return r;function r(E){let O={type:"root",children:[]};const j={stack:[O],tokenStack:[],config:n,enter:s,exit:f,buffer:a,resume:h,setData:i,getData:u},Z=[];let J=-1;for(;++J<E.length;)if(E[J][1].type==="listOrdered"||E[J][1].type==="listUnordered")if(E[J][0]==="enter")Z.push(J);else{const an=Z.pop();J=l(E,an,J)}for(J=-1;++J<E.length;){const an=n[E[J][0]];Ud.call(an,E[J][1].type)&&an[E[J][1].type].call(Object.assign({sliceSerialize:E[J][2].sliceSerialize},j),E[J][1])}if(j.tokenStack.length>0){const an=j.tokenStack[j.tokenStack.length-1];(an[1]||Dc).call(j,void 0,an[0])}for(O.position={start:$n(E.length>0?E[0][1].start:{line:1,column:1,offset:0}),end:$n(E.length>0?E[E.length-2][1].end:{line:1,column:1,offset:0})},J=-1;++J<n.transforms.length;)O=n.transforms[J](O)||O;return O}function l(E,O,j){let Z=O-1,J=-1,an=!1,jn,Pn,fr,pr;for(;++Z<=j;){const de=E[Z];if(de[1].type==="listUnordered"||de[1].type==="listOrdered"||de[1].type==="blockQuote"?(de[0]==="enter"?J++:J--,pr=void 0):de[1].type==="lineEndingBlank"?de[0]==="enter"&&(jn&&!pr&&!J&&!fr&&(fr=Z),pr=void 0):de[1].type==="linePrefix"||de[1].type==="listItemValue"||de[1].type==="listItemMarker"||de[1].type==="listItemPrefix"||de[1].type==="listItemPrefixWhitespace"||(pr=void 0),!J&&de[0]==="enter"&&de[1].type==="listItemPrefix"||J===-1&&de[0]==="exit"&&(de[1].type==="listUnordered"||de[1].type==="listOrdered")){if(jn){let Ki=Z;for(Pn=void 0;Ki--;){const Tn=E[Ki];if(Tn[1].type==="lineEnding"||Tn[1].type==="lineEndingBlank"){if(Tn[0]==="exit")continue;Pn&&(E[Pn][1].type="lineEndingBlank",an=!0),Tn[1].type="lineEnding",Pn=Ki}else if(!(Tn[1].type==="linePrefix"||Tn[1].type==="blockQuotePrefix"||Tn[1].type==="blockQuotePrefixWhitespace"||Tn[1].type==="blockQuoteMarker"||Tn[1].type==="listItemIndent"))break}fr&&(!Pn||fr<Pn)&&(jn._spread=!0),jn.end=Object.assign({},Pn?E[Pn][1].start:de[1].end),E.splice(Pn||Z,0,["exit",jn,de[2]]),Z++,j++}de[1].type==="listItemPrefix"&&(jn={type:"listItem",_spread:!1,start:Object.assign({},de[1].start),end:void 0},E.splice(Z,0,["enter",jn,de[2]]),Z++,j++,fr=void 0,pr=!0)}}return E[O][1]._spread=an,j}function i(E,O){t[E]=O}function u(E){return t[E]}function o(E,O){return j;function j(Z){s.call(this,E(Z),Z),O&&O.call(this,Z)}}function a(){this.stack.push({type:"fragment",children:[]})}function s(E,O,j){return this.stack[this.stack.length-1].children.push(E),this.stack.push(E),this.tokenStack.push([O,j]),E.position={start:$n(O.start)},E}function c(E){return O;function O(j){E&&E.call(this,j),f.call(this,j)}}function f(E,O){const j=this.stack.pop(),Z=this.tokenStack.pop();if(Z)Z[0].type!==E.type&&(O?O.call(this,E,Z[0]):(Z[1]||Dc).call(this,E,Z[0]));else throw new Error("Cannot close `"+E.type+"` ("+Ar({start:E.start,end:E.end})+"): it’s not open");return j.position.end=$n(E.end),j}function h(){return av(this.stack.pop())}function p(){i("expectingFirstListItemValue",!0)}function w(E){if(u("expectingFirstListItemValue")){const O=this.stack[this.stack.length-2];O.start=Number.parseInt(this.sliceSerialize(E),10),i("expectingFirstListItemValue")}}function v(){const E=this.resume(),O=this.stack[this.stack.length-1];O.lang=E}function C(){const E=this.resume(),O=this.stack[this.stack.length-1];O.meta=E}function d(){u("flowCodeInside")||(this.buffer(),i("flowCodeInside",!0))}function m(){const E=this.resume(),O=this.stack[this.stack.length-1];O.value=E.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),i("flowCodeInside")}function y(){const E=this.resume(),O=this.stack[this.stack.length-1];O.value=E.replace(/(\r?\n|\r)$/g,"")}function S(E){const O=this.resume(),j=this.stack[this.stack.length-1];j.label=O,j.identifier=bt(this.sliceSerialize(E)).toLowerCase()}function T(){const E=this.resume(),O=this.stack[this.stack.length-1];O.title=E}function x(){const E=this.resume(),O=this.stack[this.stack.length-1];O.url=E}function P(E){const O=this.stack[this.stack.length-1];if(!O.depth){const j=this.sliceSerialize(E).length;O.depth=j}}function _(){i("setextHeadingSlurpLineEnding",!0)}function M(E){const O=this.stack[this.stack.length-1];O.depth=this.sliceSerialize(E).charCodeAt(0)===61?1:2}function D(){i("setextHeadingSlurpLineEnding")}function F(E){const O=this.stack[this.stack.length-1];let j=O.children[O.children.length-1];(!j||j.type!=="text")&&(j=hh(),j.position={start:$n(E.start)},O.children.push(j)),this.stack.push(j)}function A(E){const O=this.stack.pop();O.value+=this.sliceSerialize(E),O.position.end=$n(E.end)}function Y(E){const O=this.stack[this.stack.length-1];if(u("atHardBreak")){const j=O.children[O.children.length-1];j.position.end=$n(E.end),i("atHardBreak");return}!u("setextHeadingSlurpLineEnding")&&n.canContainEols.includes(O.type)&&(F.call(this,E),A.call(this,E))}function ue(){i("atHardBreak",!0)}function W(){const E=this.resume(),O=this.stack[this.stack.length-1];O.value=E}function me(){const E=this.resume(),O=this.stack[this.stack.length-1];O.value=E}function pe(){const E=this.resume(),O=this.stack[this.stack.length-1];O.value=E}function I(){const E=this.stack[this.stack.length-1];if(u("inReference")){const O=u("referenceType")||"shortcut";E.type+="Reference",E.referenceType=O,delete E.url,delete E.title}else delete E.identifier,delete E.label;i("referenceType")}function B(){const E=this.stack[this.stack.length-1];if(u("inReference")){const O=u("referenceType")||"shortcut";E.type+="Reference",E.referenceType=O,delete E.url,delete E.title}else delete E.identifier,delete E.label;i("referenceType")}function g(E){const O=this.sliceSerialize(E),j=this.stack[this.stack.length-2];j.label=o0(O),j.identifier=bt(O).toLowerCase()}function Q(){const E=this.stack[this.stack.length-1],O=this.resume(),j=this.stack[this.stack.length-1];if(i("inReference",!0),j.type==="link"){const Z=E.children;j.children=Z}else j.alt=O}function G(){const E=this.resume(),O=this.stack[this.stack.length-1];O.url=E}function k(){const E=this.resume(),O=this.stack[this.stack.length-1];O.title=E}function ke(){i("inReference")}function gn(){i("referenceType","collapsed")}function re(E){const O=this.resume(),j=this.stack[this.stack.length-1];j.label=O,j.identifier=bt(this.sliceSerialize(E)).toLowerCase(),i("referenceType","full")}function on(E){i("characterReferenceType",E.type)}function Bn(E){const O=this.sliceSerialize(E),j=u("characterReferenceType");let Z;j?(Z=jd(O,j==="characterReferenceMarkerNumeric"?10:16),i("characterReferenceType")):Z=Na(O);const J=this.stack.pop();J.value+=Z,J.position.end=$n(E.end)}function _t(E){A.call(this,E);const O=this.stack[this.stack.length-1];O.url=this.sliceSerialize(E)}function Ot(E){A.call(this,E);const O=this.stack[this.stack.length-1];O.url="mailto:"+this.sliceSerialize(E)}function Qi(){return{type:"blockquote",children:[]}}function Va(){return{type:"code",lang:null,meta:null,value:""}}function oh(){return{type:"inlineCode",value:""}}function ah(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function sh(){return{type:"emphasis",children:[]}}function Wa(){return{type:"heading",depth:void 0,children:[]}}function Qa(){return{type:"break"}}function Ka(){return{type:"html",value:""}}function ch(){return{type:"image",title:null,url:"",alt:null}}function Xa(){return{type:"link",title:null,url:"",children:[]}}function Ya(E){return{type:"list",ordered:E.type==="listOrdered",start:null,spread:E._spread,children:[]}}function fh(E){return{type:"listItem",spread:E._spread,checked:null,children:[]}}function ph(){return{type:"paragraph",children:[]}}function dh(){return{type:"strong",children:[]}}function hh(){return{type:"text",value:""}}function mh(){return{type:"thematicBreak"}}}function $n(e){return{line:e.line,column:e.column,offset:e.offset}}function $d(e,n){let t=-1;for(;++t<n.length;){const r=n[t];Array.isArray(r)?$d(e,r):f0(e,r)}}function f0(e,n){let t;for(t in n)if(Ud.call(n,t)){if(t==="canContainEols"){const r=n[t];r&&e[t].push(...r)}else if(t==="transforms"){const r=n[t];r&&e[t].push(...r)}else if(t==="enter"||t==="exit"){const r=n[t];r&&Object.assign(e[t],r)}}}function Dc(e,n){throw e?new Error("Cannot close `"+e.type+"` ("+Ar({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+Ar({start:n.start,end:n.end})+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+Ar({start:n.start,end:n.end})+") is still open")}function p0(e){Object.assign(this,{Parser:t=>{const r=this.data("settings");return s0(t,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function d0(e,n){const t={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(n),!0)};return e.patch(n,t),e.applyData(n,t)}function h0(e,n){const t={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,t),[e.applyData(n,t),{type:"text",value:`
|
|
67
|
+
`}]}function m0(e,n){const t=n.value?n.value+`
|
|
68
|
+
`:"",r=n.lang?n.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,l={};r&&(l.className=["language-"+r]);let i={type:"element",tagName:"code",properties:l,children:[{type:"text",value:t}]};return n.meta&&(i.data={meta:n.meta}),e.patch(n,i),i=e.applyData(n,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(n,i),i}function g0(e,n){const t={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function y0(e,n){const t={type:"element",tagName:"em",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function sr(e){const n=[];let t=-1,r=0,l=0;for(;++t<e.length;){const i=e.charCodeAt(t);let u="";if(i===37&&Qe(e.charCodeAt(t+1))&&Qe(e.charCodeAt(t+2)))l=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(u=String.fromCharCode(i));else if(i>55295&&i<57344){const o=e.charCodeAt(t+1);i<56320&&o>56319&&o<57344?(u=String.fromCharCode(i,o),l=1):u="�"}else u=String.fromCharCode(i);u&&(n.push(e.slice(r,t),encodeURIComponent(u)),r=t+l+1,u=""),l&&(t+=l,l=0)}return n.join("")+e.slice(r)}function Hd(e,n){const t=String(n.identifier).toUpperCase(),r=sr(t.toLowerCase()),l=e.footnoteOrder.indexOf(t);let i;l===-1?(e.footnoteOrder.push(t),e.footnoteCounts[t]=1,i=e.footnoteOrder.length):(e.footnoteCounts[t]++,i=l+1);const u=e.footnoteCounts[t],o={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(u>1?"-"+u:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(n,o);const a={type:"element",tagName:"sup",properties:{},children:[o]};return e.patch(n,a),e.applyData(n,a)}function v0(e,n){const t=e.footnoteById;let r=1;for(;r in t;)r++;const l=String(r);return t[l]={type:"footnoteDefinition",identifier:l,children:[{type:"paragraph",children:n.children}],position:n.position},Hd(e,{type:"footnoteReference",identifier:l,position:n.position})}function k0(e,n){const t={type:"element",tagName:"h"+n.depth,properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function x0(e,n){if(e.dangerous){const t={type:"raw",value:n.value};return e.patch(n,t),e.applyData(n,t)}return null}function Vd(e,n){const t=n.referenceType;let r="]";if(t==="collapsed"?r+="[]":t==="full"&&(r+="["+(n.label||n.identifier)+"]"),n.type==="imageReference")return{type:"text",value:"!["+n.alt+r};const l=e.all(n),i=l[0];i&&i.type==="text"?i.value="["+i.value:l.unshift({type:"text",value:"["});const u=l[l.length-1];return u&&u.type==="text"?u.value+=r:l.push({type:"text",value:r}),l}function w0(e,n){const t=e.definition(n.identifier);if(!t)return Vd(e,n);const r={src:sr(t.url||""),alt:n.alt};t.title!==null&&t.title!==void 0&&(r.title=t.title);const l={type:"element",tagName:"img",properties:r,children:[]};return e.patch(n,l),e.applyData(n,l)}function S0(e,n){const t={src:sr(n.url)};n.alt!==null&&n.alt!==void 0&&(t.alt=n.alt),n.title!==null&&n.title!==void 0&&(t.title=n.title);const r={type:"element",tagName:"img",properties:t,children:[]};return e.patch(n,r),e.applyData(n,r)}function E0(e,n){const t={type:"text",value:n.value.replace(/\r?\n|\r/g," ")};e.patch(n,t);const r={type:"element",tagName:"code",properties:{},children:[t]};return e.patch(n,r),e.applyData(n,r)}function C0(e,n){const t=e.definition(n.identifier);if(!t)return Vd(e,n);const r={href:sr(t.url||"")};t.title!==null&&t.title!==void 0&&(r.title=t.title);const l={type:"element",tagName:"a",properties:r,children:e.all(n)};return e.patch(n,l),e.applyData(n,l)}function P0(e,n){const t={href:sr(n.url)};n.title!==null&&n.title!==void 0&&(t.title=n.title);const r={type:"element",tagName:"a",properties:t,children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}function T0(e,n,t){const r=e.all(n),l=t?L0(t):Wd(n),i={},u=[];if(typeof n.checked=="boolean"){const c=r[0];let f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:n.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let o=-1;for(;++o<r.length;){const c=r[o];(l||o!==0||c.type!=="element"||c.tagName!=="p")&&u.push({type:"text",value:`
|
|
69
|
+
`}),c.type==="element"&&c.tagName==="p"&&!l?u.push(...c.children):u.push(c)}const a=r[r.length-1];a&&(l||a.type!=="element"||a.tagName!=="p")&&u.push({type:"text",value:`
|
|
70
|
+
`});const s={type:"element",tagName:"li",properties:i,children:u};return e.patch(n,s),e.applyData(n,s)}function L0(e){let n=!1;if(e.type==="list"){n=e.spread||!1;const t=e.children;let r=-1;for(;!n&&++r<t.length;)n=Wd(t[r])}return n}function Wd(e){const n=e.spread;return n??e.children.length>1}function z0(e,n){const t={},r=e.all(n);let l=-1;for(typeof n.start=="number"&&n.start!==1&&(t.start=n.start);++l<r.length;){const u=r[l];if(u.type==="element"&&u.tagName==="li"&&u.properties&&Array.isArray(u.properties.className)&&u.properties.className.includes("task-list-item")){t.className=["contains-task-list"];break}}const i={type:"element",tagName:n.ordered?"ol":"ul",properties:t,children:e.wrap(r,!0)};return e.patch(n,i),e.applyData(n,i)}function _0(e,n){const t={type:"element",tagName:"p",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function O0(e,n){const t={type:"root",children:e.wrap(e.all(n))};return e.patch(n,t),e.applyData(n,t)}function I0(e,n){const t={type:"element",tagName:"strong",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}const Aa=Qd("start"),Da=Qd("end");function F0(e){return{start:Aa(e),end:Da(e)}}function Qd(e){return n;function n(t){const r=t&&t.position&&t.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}function N0(e,n){const t=e.all(n),r=t.shift(),l=[];if(r){const u={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(n.children[0],u),l.push(u)}if(t.length>0){const u={type:"element",tagName:"tbody",properties:{},children:e.wrap(t,!0)},o=Aa(n.children[1]),a=Da(n.children[n.children.length-1]);o.line&&a.line&&(u.position={start:o,end:a}),l.push(u)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(l,!0)};return e.patch(n,i),e.applyData(n,i)}function R0(e,n,t){const r=t?t.children:void 0,i=(r?r.indexOf(n):1)===0?"th":"td",u=t&&t.type==="table"?t.align:void 0,o=u?u.length:n.children.length;let a=-1;const s=[];for(;++a<o;){const f=n.children[a],h={},p=u?u[a]:void 0;p&&(h.align=p);let w={type:"element",tagName:i,properties:h,children:[]};f&&(w.children=e.all(f),e.patch(f,w),w=e.applyData(n,w)),s.push(w)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(n,c),e.applyData(n,c)}function A0(e,n){const t={type:"element",tagName:"td",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}const Mc=9,Bc=32;function D0(e){const n=String(e),t=/\r?\n|\r/g;let r=t.exec(n),l=0;const i=[];for(;r;)i.push(jc(n.slice(l,r.index),l>0,!0),r[0]),l=r.index+r[0].length,r=t.exec(n);return i.push(jc(n.slice(l),l>0,!1)),i.join("")}function jc(e,n,t){let r=0,l=e.length;if(n){let i=e.codePointAt(r);for(;i===Mc||i===Bc;)r++,i=e.codePointAt(r)}if(t){let i=e.codePointAt(l-1);for(;i===Mc||i===Bc;)l--,i=e.codePointAt(l-1)}return l>r?e.slice(r,l):""}function M0(e,n){const t={type:"text",value:D0(String(n.value))};return e.patch(n,t),e.applyData(n,t)}function B0(e,n){const t={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,t),e.applyData(n,t)}const j0={blockquote:d0,break:h0,code:m0,delete:g0,emphasis:y0,footnoteReference:Hd,footnote:v0,heading:k0,html:x0,imageReference:w0,image:S0,inlineCode:E0,linkReference:C0,link:P0,listItem:T0,list:z0,paragraph:_0,root:O0,strong:I0,table:N0,tableCell:A0,tableRow:R0,text:M0,thematicBreak:B0,toml:Ll,yaml:Ll,definition:Ll,footnoteDefinition:Ll};function Ll(){return null}const Kd=function(e){if(e==null)return V0;if(typeof e=="string")return H0(e);if(typeof e=="object")return Array.isArray(e)?U0(e):$0(e);if(typeof e=="function")return Ri(e);throw new Error("Expected function, string, or object as test")};function U0(e){const n=[];let t=-1;for(;++t<e.length;)n[t]=Kd(e[t]);return Ri(r);function r(...l){let i=-1;for(;++i<n.length;)if(n[i].call(this,...l))return!0;return!1}}function $0(e){return Ri(n);function n(t){let r;for(r in e)if(t[r]!==e[r])return!1;return!0}}function H0(e){return Ri(n);function n(t){return t&&t.type===e}}function Ri(e){return n;function n(t,...r){return!!(t&&typeof t=="object"&&"type"in t&&e.call(this,t,...r))}}function V0(){return!0}const W0=!0,Uc=!1,Q0="skip",K0=function(e,n,t,r){typeof n=="function"&&typeof t!="function"&&(r=t,t=n,n=null);const l=Kd(n),i=r?-1:1;u(e,void 0,[])();function u(o,a,s){const c=o&&typeof o=="object"?o:{};if(typeof c.type=="string"){const h=typeof c.tagName=="string"?c.tagName:typeof c.name=="string"?c.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(o.type+(h?"<"+h+">":""))+")"})}return f;function f(){let h=[],p,w,v;if((!n||l(o,a,s[s.length-1]||null))&&(h=X0(t(o,s)),h[0]===Uc))return h;if(o.children&&h[0]!==Q0)for(w=(r?o.children.length:-1)+i,v=s.concat(o);w>-1&&w<o.children.length;){if(p=u(o.children[w],w,v)(),p[0]===Uc)return p;w=typeof p[1]=="number"?p[1]:w+i}return h}}};function X0(e){return Array.isArray(e)?e:typeof e=="number"?[W0,e]:[e]}const Ma=function(e,n,t,r){typeof n=="function"&&typeof t!="function"&&(r=t,t=n,n=null),K0(e,n,l,r);function l(i,u){const o=u[u.length-1];return t(i,o?o.children.indexOf(i):null,o)}};function Y0(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column}const $c={}.hasOwnProperty;function q0(e){const n=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return Ma(e,"definition",r=>{const l=Hc(r.identifier);l&&!$c.call(n,l)&&(n[l]=r)}),t;function t(r){const l=Hc(r);return l&&$c.call(n,l)?n[l]:null}}function Hc(e){return String(e||"").toUpperCase()}const mi={}.hasOwnProperty;function b0(e,n){const t=n||{},r=t.allowDangerousHtml||!1,l={};return u.dangerous=r,u.clobberPrefix=t.clobberPrefix===void 0||t.clobberPrefix===null?"user-content-":t.clobberPrefix,u.footnoteLabel=t.footnoteLabel||"Footnotes",u.footnoteLabelTagName=t.footnoteLabelTagName||"h2",u.footnoteLabelProperties=t.footnoteLabelProperties||{className:["sr-only"]},u.footnoteBackLabel=t.footnoteBackLabel||"Back to content",u.unknownHandler=t.unknownHandler,u.passThrough=t.passThrough,u.handlers={...j0,...t.handlers},u.definition=q0(e),u.footnoteById=l,u.footnoteOrder=[],u.footnoteCounts={},u.patch=G0,u.applyData=Z0,u.one=o,u.all=a,u.wrap=ek,u.augment=i,Ma(e,"footnoteDefinition",s=>{const c=String(s.identifier).toUpperCase();mi.call(l,c)||(l[c]=s)}),u;function i(s,c){if(s&&"data"in s&&s.data){const f=s.data;f.hName&&(c.type!=="element"&&(c={type:"element",tagName:"",properties:{},children:[]}),c.tagName=f.hName),c.type==="element"&&f.hProperties&&(c.properties={...c.properties,...f.hProperties}),"children"in c&&c.children&&f.hChildren&&(c.children=f.hChildren)}if(s){const f="type"in s?s:{position:s};Y0(f)||(c.position={start:Aa(f),end:Da(f)})}return c}function u(s,c,f,h){return Array.isArray(f)&&(h=f,f={}),i(s,{type:"element",tagName:c,properties:f||{},children:h||[]})}function o(s,c){return Xd(u,s,c)}function a(s){return Ba(u,s)}}function G0(e,n){e.position&&(n.position=F0(e))}function Z0(e,n){let t=n;if(e&&e.data){const r=e.data.hName,l=e.data.hChildren,i=e.data.hProperties;typeof r=="string"&&(t.type==="element"?t.tagName=r:t={type:"element",tagName:r,properties:{},children:[]}),t.type==="element"&&i&&(t.properties={...t.properties,...i}),"children"in t&&t.children&&l!==null&&l!==void 0&&(t.children=l)}return t}function Xd(e,n,t){const r=n&&n.type;if(!r)throw new Error("Expected node, got `"+n+"`");return mi.call(e.handlers,r)?e.handlers[r](e,n,t):e.passThrough&&e.passThrough.includes(r)?"children"in n?{...n,children:Ba(e,n)}:n:e.unknownHandler?e.unknownHandler(e,n,t):J0(e,n)}function Ba(e,n){const t=[];if("children"in n){const r=n.children;let l=-1;for(;++l<r.length;){const i=Xd(e,r[l],n);if(i){if(l&&r[l-1].type==="break"&&(!Array.isArray(i)&&i.type==="text"&&(i.value=i.value.replace(/^\s+/,"")),!Array.isArray(i)&&i.type==="element")){const u=i.children[0];u&&u.type==="text"&&(u.value=u.value.replace(/^\s+/,""))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t}function J0(e,n){const t=n.data||{},r="value"in n&&!(mi.call(t,"hProperties")||mi.call(t,"hChildren"))?{type:"text",value:n.value}:{type:"element",tagName:"div",properties:{},children:Ba(e,n)};return e.patch(n,r),e.applyData(n,r)}function ek(e,n){const t=[];let r=-1;for(n&&t.push({type:"text",value:`
|
|
71
|
+
`});++r<e.length;)r&&t.push({type:"text",value:`
|
|
72
|
+
`}),t.push(e[r]);return n&&e.length>0&&t.push({type:"text",value:`
|
|
73
|
+
`}),t}function nk(e){const n=[];let t=-1;for(;++t<e.footnoteOrder.length;){const r=e.footnoteById[e.footnoteOrder[t]];if(!r)continue;const l=e.all(r),i=String(r.identifier).toUpperCase(),u=sr(i.toLowerCase());let o=0;const a=[];for(;++o<=e.footnoteCounts[i];){const f={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+u+(o>1?"-"+o:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};o>1&&f.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(o)}]}),a.length>0&&a.push({type:"text",value:" "}),a.push(f)}const s=l[l.length-1];if(s&&s.type==="element"&&s.tagName==="p"){const f=s.children[s.children.length-1];f&&f.type==="text"?f.value+=" ":s.children.push({type:"text",value:" "}),s.children.push(...a)}else l.push(...a);const c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+u},children:e.wrap(l,!0)};e.patch(r,c),n.push(c)}if(n.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:`
|
|
74
|
+
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(n,!0)},{type:"text",value:`
|
|
75
|
+
`}]}}function Yd(e,n){const t=b0(e,n),r=t.one(e,null),l=nk(t);return l&&r.children.push({type:"text",value:`
|
|
76
|
+
`},l),Array.isArray(r)?{type:"root",children:r}:r}const tk=function(e,n){return e&&"run"in e?rk(e,n):lk(e||n)};function rk(e,n){return(t,r,l)=>{e.run(Yd(t,n),r,i=>{l(i)})}}function lk(e){return n=>Yd(n,e)}class sl{constructor(n,t,r){this.property=n,this.normal=t,r&&(this.space=r)}}sl.prototype.property={};sl.prototype.normal={};sl.prototype.space=null;function qd(e,n){const t={},r={};let l=-1;for(;++l<e.length;)Object.assign(t,e[l].property),Object.assign(r,e[l].normal);return new sl(t,r,n)}function No(e){return e.toLowerCase()}class ln{constructor(n,t){this.property=n,this.attribute=t}}ln.prototype.space=null;ln.prototype.boolean=!1;ln.prototype.booleanish=!1;ln.prototype.overloadedBoolean=!1;ln.prototype.number=!1;ln.prototype.commaSeparated=!1;ln.prototype.spaceSeparated=!1;ln.prototype.commaOrSpaceSeparated=!1;ln.prototype.mustUseProperty=!1;ln.prototype.defined=!1;let ik=0;const H=zt(),ge=zt(),bd=zt(),z=zt(),ee=zt(),Gt=zt(),He=zt();function zt(){return 2**++ik}const Ro=Object.freeze(Object.defineProperty({__proto__:null,boolean:H,booleanish:ge,commaOrSpaceSeparated:He,commaSeparated:Gt,number:z,overloadedBoolean:bd,spaceSeparated:ee},Symbol.toStringTag,{value:"Module"})),zu=Object.keys(Ro);class ja extends ln{constructor(n,t,r,l){let i=-1;if(super(n,t),Vc(this,"space",l),typeof r=="number")for(;++i<zu.length;){const u=zu[i];Vc(this,zu[i],(r&Ro[u])===Ro[u])}}}ja.prototype.defined=!0;function Vc(e,n,t){t&&(e[n]=t)}const uk={}.hasOwnProperty;function cr(e){const n={},t={};let r;for(r in e.properties)if(uk.call(e.properties,r)){const l=e.properties[r],i=new ja(r,e.transform(e.attributes||{},r),l,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),n[r]=i,t[No(r)]=r,t[No(i.attribute)]=r}return new sl(n,t,e.space)}const Gd=cr({space:"xlink",transform(e,n){return"xlink:"+n.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Zd=cr({space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Jd(e,n){return n in e?e[n]:n}function eh(e,n){return Jd(e,n.toLowerCase())}const nh=cr({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:eh,properties:{xmlns:null,xmlnsXLink:null}}),th=cr({transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:ge,ariaAutoComplete:null,ariaBusy:ge,ariaChecked:ge,ariaColCount:z,ariaColIndex:z,ariaColSpan:z,ariaControls:ee,ariaCurrent:null,ariaDescribedBy:ee,ariaDetails:null,ariaDisabled:ge,ariaDropEffect:ee,ariaErrorMessage:null,ariaExpanded:ge,ariaFlowTo:ee,ariaGrabbed:ge,ariaHasPopup:null,ariaHidden:ge,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ee,ariaLevel:z,ariaLive:null,ariaModal:ge,ariaMultiLine:ge,ariaMultiSelectable:ge,ariaOrientation:null,ariaOwns:ee,ariaPlaceholder:null,ariaPosInSet:z,ariaPressed:ge,ariaReadOnly:ge,ariaRelevant:null,ariaRequired:ge,ariaRoleDescription:ee,ariaRowCount:z,ariaRowIndex:z,ariaRowSpan:z,ariaSelected:ge,ariaSetSize:z,ariaSort:null,ariaValueMax:z,ariaValueMin:z,ariaValueNow:z,ariaValueText:null,role:null}}),ok=cr({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:eh,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Gt,acceptCharset:ee,accessKey:ee,action:null,allow:null,allowFullScreen:H,allowPaymentRequest:H,allowUserMedia:H,alt:null,as:null,async:H,autoCapitalize:null,autoComplete:ee,autoFocus:H,autoPlay:H,blocking:ee,capture:H,charSet:null,checked:H,cite:null,className:ee,cols:z,colSpan:null,content:null,contentEditable:ge,controls:H,controlsList:ee,coords:z|Gt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:H,defer:H,dir:null,dirName:null,disabled:H,download:bd,draggable:ge,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:H,formTarget:null,headers:ee,height:z,hidden:H,high:z,href:null,hrefLang:null,htmlFor:ee,httpEquiv:ee,id:null,imageSizes:null,imageSrcSet:null,inert:H,inputMode:null,integrity:null,is:null,isMap:H,itemId:null,itemProp:ee,itemRef:ee,itemScope:H,itemType:ee,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:H,low:z,manifest:null,max:null,maxLength:z,media:null,method:null,min:null,minLength:z,multiple:H,muted:H,name:null,nonce:null,noModule:H,noValidate:H,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:H,optimum:z,pattern:null,ping:ee,placeholder:null,playsInline:H,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:H,referrerPolicy:null,rel:ee,required:H,reversed:H,rows:z,rowSpan:z,sandbox:ee,scope:null,scoped:H,seamless:H,selected:H,shape:null,size:z,sizes:null,slot:null,span:z,spellCheck:ge,src:null,srcDoc:null,srcLang:null,srcSet:null,start:z,step:null,style:null,tabIndex:z,target:null,title:null,translate:null,type:null,typeMustMatch:H,useMap:null,value:ge,width:z,wrap:null,align:null,aLink:null,archive:ee,axis:null,background:null,bgColor:null,border:z,borderColor:null,bottomMargin:z,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:H,declare:H,event:null,face:null,frame:null,frameBorder:null,hSpace:z,leftMargin:z,link:null,longDesc:null,lowSrc:null,marginHeight:z,marginWidth:z,noResize:H,noHref:H,noShade:H,noWrap:H,object:null,profile:null,prompt:null,rev:null,rightMargin:z,rules:null,scheme:null,scrolling:ge,standby:null,summary:null,text:null,topMargin:z,valueType:null,version:null,vAlign:null,vLink:null,vSpace:z,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:H,disableRemotePlayback:H,prefix:null,property:null,results:z,security:null,unselectable:null}}),ak=cr({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Jd,properties:{about:He,accentHeight:z,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:z,amplitude:z,arabicForm:null,ascent:z,attributeName:null,attributeType:null,azimuth:z,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:z,by:null,calcMode:null,capHeight:z,className:ee,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:z,diffuseConstant:z,direction:null,display:null,dur:null,divisor:z,dominantBaseline:null,download:H,dx:null,dy:null,edgeMode:null,editable:null,elevation:z,enableBackground:null,end:null,event:null,exponent:z,externalResourcesRequired:null,fill:null,fillOpacity:z,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Gt,g2:Gt,glyphName:Gt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:z,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:z,horizOriginX:z,horizOriginY:z,id:null,ideographic:z,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:z,k:z,k1:z,k2:z,k3:z,k4:z,kernelMatrix:He,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:z,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:z,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:z,overlineThickness:z,paintOrder:null,panose1:null,path:null,pathLength:z,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ee,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:z,pointsAtY:z,pointsAtZ:z,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:He,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:He,rev:He,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:He,requiredFeatures:He,requiredFonts:He,requiredFormats:He,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:z,specularExponent:z,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:z,strikethroughThickness:z,string:null,stroke:null,strokeDashArray:He,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:z,strokeOpacity:z,strokeWidth:null,style:null,surfaceScale:z,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:He,tabIndex:z,tableValues:null,target:null,targetX:z,targetY:z,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:He,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:z,underlineThickness:z,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:z,values:null,vAlphabetic:z,vMathematical:z,vectorEffect:null,vHanging:z,vIdeographic:z,version:null,vertAdvY:z,vertOriginX:z,vertOriginY:z,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:z,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),sk=/^data[-\w.:]+$/i,Wc=/-[a-z]/g,ck=/[A-Z]/g;function fk(e,n){const t=No(n);let r=n,l=ln;if(t in e.normal)return e.property[e.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&sk.test(n)){if(n.charAt(4)==="-"){const i=n.slice(5).replace(Wc,dk);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=n.slice(4);if(!Wc.test(i)){let u=i.replace(ck,pk);u.charAt(0)!=="-"&&(u="-"+u),n="data"+u}}l=ja}return new l(r,n)}function pk(e){return"-"+e.toLowerCase()}function dk(e){return e.charAt(1).toUpperCase()}const Qc={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},hk=qd([Zd,Gd,nh,th,ok],"html"),mk=qd([Zd,Gd,nh,th,ak],"svg");function gk(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return n=>{Ma(n,"element",(t,r,l)=>{const i=l;let u;if(e.allowedElements?u=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(u=e.disallowedElements.includes(t.tagName)),!u&&e.allowElement&&typeof r=="number"&&(u=!e.allowElement(t,r,i)),u&&typeof r=="number")return e.unwrapDisallowed&&t.children?i.children.splice(r,1,...t.children):i.children.splice(r,1),r})}}var rh={exports:{}},b={};/**
|
|
77
|
+
* @license React
|
|
78
|
+
* react-is.production.min.js
|
|
79
|
+
*
|
|
80
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
81
|
+
*
|
|
82
|
+
* This source code is licensed under the MIT license found in the
|
|
83
|
+
* LICENSE file in the root directory of this source tree.
|
|
84
|
+
*/var Ua=Symbol.for("react.element"),$a=Symbol.for("react.portal"),Ai=Symbol.for("react.fragment"),Di=Symbol.for("react.strict_mode"),Mi=Symbol.for("react.profiler"),Bi=Symbol.for("react.provider"),ji=Symbol.for("react.context"),yk=Symbol.for("react.server_context"),Ui=Symbol.for("react.forward_ref"),$i=Symbol.for("react.suspense"),Hi=Symbol.for("react.suspense_list"),Vi=Symbol.for("react.memo"),Wi=Symbol.for("react.lazy"),vk=Symbol.for("react.offscreen"),lh;lh=Symbol.for("react.module.reference");function un(e){if(typeof e=="object"&&e!==null){var n=e.$$typeof;switch(n){case Ua:switch(e=e.type,e){case Ai:case Mi:case Di:case $i:case Hi:return e;default:switch(e=e&&e.$$typeof,e){case yk:case ji:case Ui:case Wi:case Vi:case Bi:return e;default:return n}}case $a:return n}}}b.ContextConsumer=ji;b.ContextProvider=Bi;b.Element=Ua;b.ForwardRef=Ui;b.Fragment=Ai;b.Lazy=Wi;b.Memo=Vi;b.Portal=$a;b.Profiler=Mi;b.StrictMode=Di;b.Suspense=$i;b.SuspenseList=Hi;b.isAsyncMode=function(){return!1};b.isConcurrentMode=function(){return!1};b.isContextConsumer=function(e){return un(e)===ji};b.isContextProvider=function(e){return un(e)===Bi};b.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ua};b.isForwardRef=function(e){return un(e)===Ui};b.isFragment=function(e){return un(e)===Ai};b.isLazy=function(e){return un(e)===Wi};b.isMemo=function(e){return un(e)===Vi};b.isPortal=function(e){return un(e)===$a};b.isProfiler=function(e){return un(e)===Mi};b.isStrictMode=function(e){return un(e)===Di};b.isSuspense=function(e){return un(e)===$i};b.isSuspenseList=function(e){return un(e)===Hi};b.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ai||e===Mi||e===Di||e===$i||e===Hi||e===vk||typeof e=="object"&&e!==null&&(e.$$typeof===Wi||e.$$typeof===Vi||e.$$typeof===Bi||e.$$typeof===ji||e.$$typeof===Ui||e.$$typeof===lh||e.getModuleId!==void 0)};b.typeOf=un;rh.exports=b;var kk=rh.exports;const xk=Ct(kk);function wk(e){const n=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof n=="string"&&n.replace(/[ \t\n\f\r]/g,"")===""}function Sk(e){return e.join(" ").trim()}function Ek(e,n){const t={};return(e[e.length-1]===""?[...e,""]:e).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}var Ha={exports:{}},Kc=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Ck=/\n/g,Pk=/^\s*/,Tk=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Lk=/^:\s*/,zk=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,_k=/^[;\s]*/,Ok=/^\s+|\s+$/g,Ik=`
|
|
85
|
+
`,Xc="/",Yc="*",pt="",Fk="comment",Nk="declaration",Rk=function(e,n){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];n=n||{};var t=1,r=1;function l(w){var v=w.match(Ck);v&&(t+=v.length);var C=w.lastIndexOf(Ik);r=~C?w.length-C:r+w.length}function i(){var w={line:t,column:r};return function(v){return v.position=new u(w),s(),v}}function u(w){this.start=w,this.end={line:t,column:r},this.source=n.source}u.prototype.content=e;function o(w){var v=new Error(n.source+":"+t+":"+r+": "+w);if(v.reason=w,v.filename=n.source,v.line=t,v.column=r,v.source=e,!n.silent)throw v}function a(w){var v=w.exec(e);if(v){var C=v[0];return l(C),e=e.slice(C.length),v}}function s(){a(Pk)}function c(w){var v;for(w=w||[];v=f();)v!==!1&&w.push(v);return w}function f(){var w=i();if(!(Xc!=e.charAt(0)||Yc!=e.charAt(1))){for(var v=2;pt!=e.charAt(v)&&(Yc!=e.charAt(v)||Xc!=e.charAt(v+1));)++v;if(v+=2,pt===e.charAt(v-1))return o("End of comment missing");var C=e.slice(2,v-2);return r+=2,l(C),e=e.slice(v),r+=2,w({type:Fk,comment:C})}}function h(){var w=i(),v=a(Tk);if(v){if(f(),!a(Lk))return o("property missing ':'");var C=a(zk),d=w({type:Nk,property:qc(v[0].replace(Kc,pt)),value:C?qc(C[0].replace(Kc,pt)):pt});return a(_k),d}}function p(){var w=[];c(w);for(var v;v=h();)v!==!1&&(w.push(v),c(w));return w}return s(),p()};function qc(e){return e?e.replace(Ok,pt):pt}var Ak=Rk;function ih(e,n){var t=null;if(!e||typeof e!="string")return t;for(var r,l=Ak(e),i=typeof n=="function",u,o,a=0,s=l.length;a<s;a++)r=l[a],u=r.property,o=r.value,i?n(u,o,r):o&&(t||(t={}),t[u]=o);return t}Ha.exports=ih;Ha.exports.default=ih;var Dk=Ha.exports;const Mk=Ct(Dk),Ao={}.hasOwnProperty,Bk=new Set(["table","thead","tbody","tfoot","tr"]);function uh(e,n){const t=[];let r=-1,l;for(;++r<n.children.length;)l=n.children[r],l.type==="element"?t.push(jk(e,l,r,n)):l.type==="text"?(n.type!=="element"||!Bk.has(n.tagName)||!wk(l))&&t.push(l.value):l.type==="raw"&&!e.options.skipHtml&&t.push(l.value);return t}function jk(e,n,t,r){const l=e.options,i=l.transformLinkUri===void 0?$y:l.transformLinkUri,u=e.schema,o=n.tagName,a={};let s=u,c;if(u.space==="html"&&o==="svg"&&(s=mk,e.schema=s),n.properties)for(c in n.properties)Ao.call(n.properties,c)&&$k(a,c,n.properties[c],e);(o==="ol"||o==="ul")&&e.listDepth++;const f=uh(e,n);(o==="ol"||o==="ul")&&e.listDepth--,e.schema=u;const h=n.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},p=l.components&&Ao.call(l.components,o)?l.components[o]:o,w=typeof p=="string"||p===gt.Fragment;if(!xk.isValidElementType(p))throw new TypeError(`Component for name \`${o}\` not defined or is not renderable`);if(a.key=t,o==="a"&&l.linkTarget&&(a.target=typeof l.linkTarget=="function"?l.linkTarget(String(a.href||""),n.children,typeof a.title=="string"?a.title:null):l.linkTarget),o==="a"&&i&&(a.href=i(String(a.href||""),n.children,typeof a.title=="string"?a.title:null)),!w&&o==="code"&&r.type==="element"&&r.tagName!=="pre"&&(a.inline=!0),!w&&(o==="h1"||o==="h2"||o==="h3"||o==="h4"||o==="h5"||o==="h6")&&(a.level=Number.parseInt(o.charAt(1),10)),o==="img"&&l.transformImageUri&&(a.src=l.transformImageUri(String(a.src||""),String(a.alt||""),typeof a.title=="string"?a.title:null)),!w&&o==="li"&&r.type==="element"){const v=Uk(n);a.checked=v&&v.properties?!!v.properties.checked:null,a.index=_u(r,n),a.ordered=r.tagName==="ol"}return!w&&(o==="ol"||o==="ul")&&(a.ordered=o==="ol",a.depth=e.listDepth),(o==="td"||o==="th")&&(a.align&&(a.style||(a.style={}),a.style.textAlign=a.align,delete a.align),w||(a.isHeader=o==="th")),!w&&o==="tr"&&r.type==="element"&&(a.isHeader=r.tagName==="thead"),l.sourcePos&&(a["data-sourcepos"]=Wk(h)),!w&&l.rawSourcePos&&(a.sourcePosition=n.position),!w&&l.includeElementIndex&&(a.index=_u(r,n),a.siblingCount=_u(r)),w||(a.node=n),f.length>0?gt.createElement(p,a,f):gt.createElement(p,a)}function Uk(e){let n=-1;for(;++n<e.children.length;){const t=e.children[n];if(t.type==="element"&&t.tagName==="input")return t}return null}function _u(e,n){let t=-1,r=0;for(;++t<e.children.length&&e.children[t]!==n;)e.children[t].type==="element"&&r++;return r}function $k(e,n,t,r){const l=fk(r.schema,n);let i=t;i==null||i!==i||(Array.isArray(i)&&(i=l.commaSeparated?Ek(i):Sk(i)),l.property==="style"&&typeof i=="string"&&(i=Hk(i)),l.space&&l.property?e[Ao.call(Qc,l.property)?Qc[l.property]:l.property]=i:l.attribute&&(e[l.attribute]=i))}function Hk(e){const n={};try{Mk(e,t)}catch{}return n;function t(r,l){const i=r.slice(0,4)==="-ms-"?`ms-${r.slice(4)}`:r;n[i.replace(/-([a-z])/g,Vk)]=l}}function Vk(e,n){return n.toUpperCase()}function Wk(e){return[e.start.line,":",e.start.column,"-",e.end.line,":",e.end.column].map(String).join("")}const bc={}.hasOwnProperty,Qk="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",zl={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function Kk(e){for(const i in zl)if(bc.call(zl,i)&&bc.call(e,i)){const u=zl[i];console.warn(`[react-markdown] Warning: please ${u.to?`use \`${u.to}\` instead of`:"remove"} \`${i}\` (see <${Qk}#${u.id}> for more info)`),delete zl[i]}const n=rv().use(p0).use(e.remarkPlugins||[]).use(tk,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(gk,e),t=new Pd;typeof e.children=="string"?t.value=e.children:e.children!==void 0&&e.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=n.runSync(n.parse(t),t);if(r.type!=="root")throw new TypeError("Expected a `root` node");let l=gt.createElement(gt.Fragment,{},uh({options:e,schema:hk,listDepth:0},r));return e.className&&(l=gt.createElement("div",{className:e.className},l)),l}Kk.propTypes={children:$.string,className:$.string,allowElement:$.func,allowedElements:$.arrayOf($.string),disallowedElements:$.arrayOf($.string),unwrapDisallowed:$.bool,remarkPlugins:$.arrayOf($.oneOfType([$.object,$.func,$.arrayOf($.oneOfType([$.bool,$.string,$.object,$.func,$.arrayOf($.any)]))])),rehypePlugins:$.arrayOf($.oneOfType([$.object,$.func,$.arrayOf($.oneOfType([$.bool,$.string,$.object,$.func,$.arrayOf($.any)]))])),sourcePos:$.bool,rawSourcePos:$.bool,skipHtml:$.bool,includeElementIndex:$.bool,transformLinkUri:$.oneOfType([$.func,$.bool]),linkTarget:$.oneOfType([$.func,$.string]),transformImageUri:$.func,components:$.object};export{Zk as H,Jk as L,bk as O,$ as P,gt as R,Dg as a,Yk as b,Xk as c,Kk as d,Fh as e,qk as f,Ct as g,gd as h,Gk as i,Py as j,N as r,ex as u};
|