diff --git a/.env.template b/.env.template index 046c4be56..962a89766 100644 --- a/.env.template +++ b/.env.template @@ -35,8 +35,8 @@ LLM_MODEL=vicuna-13b-v1.5 MODEL_SERVER=http://127.0.0.1:8000 LIMIT_MODEL_CONCURRENCY=5 MAX_POSITION_EMBEDDINGS=4096 -QUANTIZE_QLORA=True -QUANTIZE_8bit=True +QUANTIZE_QLORA=False # True +QUANTIZE_8bit=False # True # QUANTIZE_4bit=False ## SMART_LLM_MODEL - Smart language model (Default: vicuna-13b) ## FAST_LLM_MODEL - Fast language model (Default: chatglm-6b) @@ -70,6 +70,8 @@ QUANTIZE_8bit=True #** EMBEDDING SETTINGS **# #*******************************************************************# EMBEDDING_MODEL=text2vec +# EMBEDDING_MODEL=text2vec-base + #EMBEDDING_MODEL=m3e-large #EMBEDDING_MODEL=bge-large-en #EMBEDDING_MODEL=bge-large-zh @@ -97,15 +99,16 @@ KNOWLEDGE_SEARCH_REWRITE=False #** DB-GPT METADATA DATABASE SETTINGS **# #*******************************************************************# ### SQLite database (Current default database) -LOCAL_DB_TYPE=sqlite +# LOCAL_DB_PATH=data/default_sqlite.db +# LOCAL_DB_TYPE=sqlite ### MYSQL database -# LOCAL_DB_TYPE=mysql -# LOCAL_DB_USER=root -# LOCAL_DB_PASSWORD={your_password} -# LOCAL_DB_HOST=127.0.0.1 -# LOCAL_DB_PORT=3306 -# LOCAL_DB_NAME=dbgpt +LOCAL_DB_TYPE=mysql +LOCAL_DB_USER=root +LOCAL_DB_PASSWORD=techronex +LOCAL_DB_HOST=127.0.0.1 +LOCAL_DB_PORT=3306 +LOCAL_DB_NAME=dbgpt ### This option determines the storage location of conversation records. The default is not configured to the old version of duckdb. It can be optionally db or file (if the value is db, the database configured by LOCAL_DB will be used) #CHAT_HISTORY_STORE_TYPE=db @@ -219,4 +222,9 @@ SUMMARY_CONFIG=FAST # FATAL, ERROR, WARNING, WARNING, INFO, DEBUG, NOTSET DBGPT_LOG_LEVEL=INFO # LOG dir, default: ./logs -#DBGPT_LOG_DIR= \ No newline at end of file +#DBGPT_LOG_DIR= + +#*******************************************************************# +#** API KEY **# +#*******************************************************************# +FAST_API_KEY=FAST_API_KEY \ No newline at end of file diff --git a/assets/schema/modified_knowledge_management.sql b/assets/schema/modified_knowledge_management.sql new file mode 100644 index 000000000..b2de8183b --- /dev/null +++ b/assets/schema/modified_knowledge_management.sql @@ -0,0 +1,53 @@ +-- Create only necesasary tables +CREATE DATABASE IF NOT EXISTS dbvicuna; +use dbvicuna; + +-- For alembic migration tool +CREATE TABLE `alembic_version` ( + version_num VARCHAR(32) NOT NULL, + CONSTRAINT alembic_version_pkc PRIMARY KEY (version_num) +); + +CREATE TABLE `knowledge_space` ( + `id` int NOT NULL AUTO_INCREMENT COMMENT 'auto increment id', + `name` varchar(100) NOT NULL COMMENT 'knowledge space name', + `vector_type` varchar(50) NOT NULL COMMENT 'vector type', + `desc` varchar(500) NOT NULL COMMENT 'description', + `owner` varchar(100) DEFAULT NULL COMMENT 'owner', + `context` TEXT DEFAULT NULL COMMENT 'context argument', + `gmt_created` TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT 'created time', + `gmt_modified` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'update time', + PRIMARY KEY (`id`), + KEY `idx_name` (`name`) COMMENT 'index:idx_name' +) ENGINE=InnoDB AUTO_INCREMENT=100001 DEFAULT CHARSET=utf8mb4 COMMENT='knowledge space table'; + +CREATE TABLE `knowledge_document` ( + `id` int NOT NULL AUTO_INCREMENT COMMENT 'auto increment id', + `doc_name` varchar(100) NOT NULL COMMENT 'document path name', + `doc_type` varchar(50) NOT NULL COMMENT 'doc type', + `space` varchar(50) NOT NULL COMMENT 'knowledge space', + `chunk_size` int NOT NULL COMMENT 'chunk size', + `last_sync` TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT 'last sync time', + `status` varchar(50) NOT NULL COMMENT 'status TODO,RUNNING,FAILED,FINISHED', + `content` LONGTEXT NOT NULL COMMENT 'knowledge embedding sync result', + `result` TEXT NULL COMMENT 'knowledge content', + `vector_ids` LONGTEXT NULL COMMENT 'vector_ids', + `summary` LONGTEXT NULL COMMENT 'knowledge summary', + `gmt_created` TIMESTAMP DEFAULT CURRENT_TIMESTAMP COMMENT 'created time', + `gmt_modified` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'update time', + PRIMARY KEY (`id`), + KEY `idx_doc_name` (`doc_name`) COMMENT 'index:idx_doc_name' +) ENGINE=InnoDB AUTO_INCREMENT=100001 DEFAULT CHARSET=utf8mb4 COMMENT='knowledge document table'; + +CREATE TABLE `document_chunk` ( + `id` int NOT NULL AUTO_INCREMENT COMMENT 'auto increment id', + `doc_name` varchar(100) NOT NULL COMMENT 'document path name', + `doc_type` varchar(50) NOT NULL COMMENT 'doc type', + `document_id` int NOT NULL COMMENT 'document parent id', + `content` longtext NOT NULL COMMENT 'chunk content', + `meta_info` varchar(200) NOT NULL COMMENT 'metadata info', + `gmt_created` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'created time', + `gmt_modified` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'update time', + PRIMARY KEY (`id`), + KEY `idx_document_id` (`document_id`) COMMENT 'index:document_id' +) ENGINE=InnoDB AUTO_INCREMENT=100001 DEFAULT CHARSET=utf8mb4 COMMENT='knowledge document chunk detail'; diff --git a/dbgpt/_private/config.py b/dbgpt/_private/config.py index 74a0e6308..b7c8a833e 100644 --- a/dbgpt/_private/config.py +++ b/dbgpt/_private/config.py @@ -47,6 +47,9 @@ def __init__(self) -> None: # This is a proxy server, just for test_py. we will remove this later. self.proxy_api_key = os.getenv("PROXY_API_KEY") self.bard_proxy_api_key = os.getenv("BARD_PROXY_API_KEY") + + # NOTE: api key used for api_v1 and pilot servers + self.fast_api_key = os.getenv("FAST_API_KEY") # In order to be compatible with the new and old model parameter design if self.bard_proxy_api_key: diff --git a/dbgpt/agent/agents/agent.py b/dbgpt/agent/agents/agent.py index 918aabe62..530b97a69 100644 --- a/dbgpt/agent/agents/agent.py +++ b/dbgpt/agent/agents/agent.py @@ -154,7 +154,6 @@ async def a_verify_reply( def reset(self) -> None: """(Abstract method) Reset the agent.""" - @dataclasses.dataclass class AgentResource: type: str diff --git a/dbgpt/agent/agents/expand/plugin_assistant_agent.py b/dbgpt/agent/agents/expand/plugin_assistant_agent.py index 0c723f05a..b055eead2 100644 --- a/dbgpt/agent/agents/expand/plugin_assistant_agent.py +++ b/dbgpt/agent/agents/expand/plugin_assistant_agent.py @@ -14,14 +14,6 @@ from ..agent import Agent, AgentContext from ..base_agent import ConversableAgent -try: - from termcolor import colored -except ImportError: - - def colored(x, *args, **kwargs): - return x - - logger = logging.getLogger(__name__) @@ -98,6 +90,7 @@ def __init__( ) async def a_system_fill_param(self): + # TODO no db_connect attribute params = { "tool_list": self.plugin_generator.generate_commands_string(), } diff --git a/dbgpt/app/base.py b/dbgpt/app/base.py index 830fa75ea..ae8869581 100644 --- a/dbgpt/app/base.py +++ b/dbgpt/app/base.py @@ -297,7 +297,8 @@ class WebServerParameters(BaseParameters): }, ) disable_alembic_upgrade: Optional[bool] = field( - default=False, + # NOTE: if False, it will generate all tables that was defined + default=True, metadata={ "help": "Whether to disable alembic to initialize and upgrade database metadata", }, diff --git a/dbgpt/app/chat_adapter.py b/dbgpt/app/chat_adapter.py index 0d537d479..d4f90e453 100644 --- a/dbgpt/app/chat_adapter.py +++ b/dbgpt/app/chat_adapter.py @@ -255,7 +255,9 @@ def match(self, model_path: str): return is_match def get_conv_template(self, model_path: str) -> Conversation: - return get_conv_template("llama-2") + # return get_conv_template("llama-2") + # NOTE: temporary workaround to make the GGUF file use different chat template + return get_conv_template("openchat_3.5") def get_generate_stream_func(self, model_path: str): from dbgpt.model.llm_out.llama_cpp_llm import generate_stream diff --git a/dbgpt/app/component_configs.py b/dbgpt/app/component_configs.py index d68c6de2f..0d2a7a028 100644 --- a/dbgpt/app/component_configs.py +++ b/dbgpt/app/component_configs.py @@ -20,9 +20,9 @@ def initialize_components( embedding_model_path: str, ): # Lazy import to avoid high time cost + from dbgpt.model.cluster.controller.controller import controller from dbgpt.app.initialization.embedding_component import _initialize_embedding_model from dbgpt.app.initialization.serve_initialization import register_serve_apps - from dbgpt.model.cluster.controller.controller import controller # Register global default executor factory first system_app.register( diff --git a/dbgpt/app/knowledge/api.py b/dbgpt/app/knowledge/api.py index ee8f1f767..510193495 100644 --- a/dbgpt/app/knowledge/api.py +++ b/dbgpt/app/knowledge/api.py @@ -4,7 +4,7 @@ import tempfile from typing import List -from fastapi import APIRouter, File, Form, UploadFile +from fastapi import APIRouter, Depends, File, UploadFile, Form from dbgpt._private.config import Config from dbgpt.app.knowledge.request.request import ( @@ -34,6 +34,7 @@ from dbgpt.storage.vector_store.base import VectorStoreConfig from dbgpt.storage.vector_store.connector import VectorStoreConnector from dbgpt.util.tracer import SpanType, root_tracer +from dbgpt.util.api_utils import _check_api_key logger = logging.getLogger(__name__) @@ -44,7 +45,7 @@ knowledge_space_service = KnowledgeService() -@router.post("/knowledge/space/add") +@router.post("/knowledge/space/add", dependencies=[Depends(_check_api_key)]) def space_add(request: KnowledgeSpaceRequest): print(f"/space/add params: {request}") try: @@ -54,7 +55,7 @@ def space_add(request: KnowledgeSpaceRequest): return Result.failed(code="E000X", msg=f"space add error {e}") -@router.post("/knowledge/space/list") +@router.post("/knowledge/space/list", dependencies=[Depends(_check_api_key)]) def space_list(request: KnowledgeSpaceRequest): print(f"/space/list params:") try: @@ -63,7 +64,7 @@ def space_list(request: KnowledgeSpaceRequest): return Result.failed(code="E000X", msg=f"space list error {e}") -@router.post("/knowledge/space/delete") +@router.post("/knowledge/space/delete", dependencies=[Depends(_check_api_key)]) def space_delete(request: KnowledgeSpaceRequest): print(f"/space/delete params:") try: @@ -72,7 +73,7 @@ def space_delete(request: KnowledgeSpaceRequest): return Result.failed(code="E000X", msg=f"space list error {e}") -@router.post("/knowledge/{space_name}/arguments") +@router.post("/knowledge/{space_name}/arguments", dependencies=[Depends(_check_api_key)]) def arguments(space_name: str): print(f"/knowledge/space/arguments params:") try: @@ -81,7 +82,7 @@ def arguments(space_name: str): return Result.failed(code="E000X", msg=f"space list error {e}") -@router.post("/knowledge/{space_name}/argument/save") +@router.post("/knowledge/{space_name}/argument/save", dependencies=[Depends(_check_api_key)]) def arguments_save(space_name: str, argument_request: SpaceArgumentRequest): print(f"/knowledge/space/argument/save params:") try: @@ -92,7 +93,7 @@ def arguments_save(space_name: str, argument_request: SpaceArgumentRequest): return Result.failed(code="E000X", msg=f"space list error {e}") -@router.post("/knowledge/{space_name}/document/add") +@router.post("/knowledge/{space_name}/document/add", dependencies=[Depends(_check_api_key)]) def document_add(space_name: str, request: KnowledgeDocumentRequest): print(f"/document/add params: {space_name}, {request}") try: @@ -106,7 +107,7 @@ def document_add(space_name: str, request: KnowledgeDocumentRequest): return Result.failed(code="E000X", msg=f"document add error {e}") -@router.get("/knowledge/document/chunkstrategies") +@router.get("/knowledge/document/chunkstrategies", dependencies=[Depends(_check_api_key)]) def chunk_strategies(): """Get chunk strategies""" print(f"/document/chunkstrategies:") @@ -139,7 +140,7 @@ def chunk_strategies(): return Result.failed(code="E000X", msg=f"chunk strategies error {e}") -@router.post("/knowledge/{space_name}/document/list") +@router.post("/knowledge/{space_name}/document/list", dependencies=[Depends(_check_api_key)]) def document_list(space_name: str, query_request: DocumentQueryRequest): print(f"/document/list params: {space_name}, {query_request}") try: @@ -150,7 +151,7 @@ def document_list(space_name: str, query_request: DocumentQueryRequest): return Result.failed(code="E000X", msg=f"document list error {e}") -@router.post("/knowledge/{space_name}/document/delete") +@router.post("/knowledge/{space_name}/document/delete", dependencies=[Depends(_check_api_key)]) def document_delete(space_name: str, query_request: DocumentQueryRequest): print(f"/document/list params: {space_name}, {query_request}") try: @@ -161,7 +162,7 @@ def document_delete(space_name: str, query_request: DocumentQueryRequest): return Result.failed(code="E000X", msg=f"document list error {e}") -@router.post("/knowledge/{space_name}/document/upload") +@router.post("/knowledge/{space_name}/document/upload", dependencies=[Depends(_check_api_key)]) async def document_upload( space_name: str, doc_name: str = Form(...), @@ -213,7 +214,7 @@ async def document_upload( return Result.failed(code="E000X", msg=f"document add error {e}") -@router.post("/knowledge/{space_name}/document/sync") +@router.post("/knowledge/{space_name}/document/sync", dependencies=[Depends(_check_api_key)]) def document_sync(space_name: str, request: DocumentSyncRequest): logger.info(f"Received params: {space_name}, {request}") try: @@ -225,7 +226,7 @@ def document_sync(space_name: str, request: DocumentSyncRequest): return Result.failed(code="E000X", msg=f"document sync error {e}") -@router.post("/knowledge/{space_name}/document/sync_batch") +@router.post("/knowledge/{space_name}/document/sync_batch", dependencies=[Depends(_check_api_key)]) def batch_document_sync(space_name: str, request: List[KnowledgeSyncRequest]): logger.info(f"Received params: {space_name}, {request}") try: @@ -237,7 +238,7 @@ def batch_document_sync(space_name: str, request: List[KnowledgeSyncRequest]): return Result.failed(code="E000X", msg=f"document sync error {e}") -@router.post("/knowledge/{space_name}/chunk/list") +@router.post("/knowledge/{space_name}/chunk/list", dependencies=[Depends(_check_api_key)]) def document_list(space_name: str, query_request: ChunkQueryRequest): print(f"/document/list params: {space_name}, {query_request}") try: @@ -246,7 +247,7 @@ def document_list(space_name: str, query_request: ChunkQueryRequest): return Result.failed(code="E000X", msg=f"document chunk list error {e}") -@router.post("/knowledge/{vector_name}/query") +@router.post("/knowledge/{vector_name}/query", dependencies=[Depends(_check_api_key)]) def similar_query(space_name: str, query_request: KnowledgeQueryRequest): print(f"Received params: {space_name}, {query_request}") embedding_factory = CFG.SYSTEM_APP.get_component( @@ -273,7 +274,7 @@ def similar_query(space_name: str, query_request: KnowledgeQueryRequest): return {"response": res} -@router.post("/knowledge/document/summary") +@router.post("/knowledge/document/summary", dependencies=[Depends(_check_api_key)]) async def document_summary(request: DocumentSummaryRequest): print(f"/document/summary params: {request}") try: @@ -305,7 +306,7 @@ async def document_summary(request: DocumentSummaryRequest): return Result.failed(code="E000X", msg=f"document summary error {e}") -@router.post("/knowledge/entity/extract") +@router.post("/knowledge/entity/extract", dependencies=[Depends(_check_api_key)]) async def entity_extract(request: EntityExtractRequest): logger.info(f"Received params: {request}") try: diff --git a/dbgpt/app/knowledge/service.py b/dbgpt/app/knowledge/service.py index a10869f66..a42e2d43b 100644 --- a/dbgpt/app/knowledge/service.py +++ b/dbgpt/app/knowledge/service.py @@ -574,6 +574,7 @@ def get_space_context(self, space_name): request.name = space_name spaces = self.get_knowledge_space(request) if len(spaces) != 1: + # TODO: Should not return internal server error here raise Exception( f"have not found {space_name} space or found more than one space called {space_name}" ) diff --git a/dbgpt/app/openapi/api_v1/api_v1.py b/dbgpt/app/openapi/api_v1/api_v1.py index ba95e650c..d259de78c 100644 --- a/dbgpt/app/openapi/api_v1/api_v1.py +++ b/dbgpt/app/openapi/api_v1/api_v1.py @@ -29,6 +29,7 @@ from dbgpt.model.cluster import BaseModelController, WorkerManager, WorkerManagerFactory from dbgpt.rag.summary.db_summary_client import DBSummaryClient from dbgpt.serve.agent.agents.controller import multi_agents +from dbgpt.util.api_utils import _check_api_key from dbgpt.util.executor_utils import ( DefaultExecutorFactory, ExecutorFactory, @@ -191,7 +192,7 @@ async def db_support_types(): return Result[DbTypeInfo].succ(db_type_infos) -@router.post("/v1/chat/dialogue/scenes", response_model=Result[List[ChatSceneVo]]) +@router.post("/v1/chat/dialogue/scenes", response_model=Result[List[ChatSceneVo]], dependencies=[Depends(_check_api_key)]) async def dialogue_scenes(): scene_vos: List[ChatSceneVo] = [] new_modes: List[ChatScene] = [ @@ -214,7 +215,7 @@ async def dialogue_scenes(): return Result.succ(scene_vos) -@router.post("/v1/chat/mode/params/list", response_model=Result[dict]) +@router.post("/v1/chat/mode/params/list", response_model=Result[dict], dependencies=[Depends(_check_api_key)]) async def params_list(chat_mode: str = ChatScene.ChatNormal.value()): if ChatScene.ChatWithDbQA.value() == chat_mode: return Result.succ(get_db_list()) @@ -232,7 +233,7 @@ async def params_list(chat_mode: str = ChatScene.ChatNormal.value()): return Result.succ(None) -@router.post("/v1/chat/mode/params/file/load") +@router.post("/v1/chat/mode/params/file/load", dependencies=[Depends(_check_api_key)]) async def params_load( conv_uid: str, chat_mode: str, @@ -307,7 +308,7 @@ async def get_chat_instance(dialogue: ConversationVo = Body()) -> BaseChat: return chat -@router.post("/v1/chat/prepare") +@router.post("/v1/chat/prepare", dependencies=[Depends(_check_api_key)]) async def chat_prepare(dialogue: ConversationVo = Body()): # dialogue.model_name = CFG.LLM_MODEL logger.info(f"chat_prepare:{dialogue}") @@ -319,11 +320,13 @@ async def chat_prepare(dialogue: ConversationVo = Body()): return Result.succ(resp) -@router.post("/v1/chat/completions") +@router.post("/v1/chat/completions", dependencies=[Depends(_check_api_key)]) async def chat_completions(dialogue: ConversationVo = Body()): print( f"chat_completions:{dialogue.chat_mode},{dialogue.select_param},{dialogue.model_name}" ) + # NOTE: allow to no model_name in request + dialogue.model_name = dialogue.model_name or CFG.LLM_MODEL headers = { "Content-Type": "text/event-stream", "Cache-Control": "no-cache", @@ -361,8 +364,7 @@ async def chat_completions(dialogue: ConversationVo = Body()): media_type="text/plain", ) - -@router.get("/v1/model/types") +@router.get("/v1/model/types", dependencies=[Depends(_check_api_key)]) async def model_types(controller: BaseModelController = Depends(get_model_controller)): logger.info(f"/controller/model/types") try: diff --git a/dbgpt/app/scene/chat_knowledge/__init__.py b/dbgpt/app/scene/chat_knowledge/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/dbgpt/app/scene/chat_knowledge/v1/chat.py b/dbgpt/app/scene/chat_knowledge/v1/chat.py index 6f60e46e0..1244e00a1 100644 --- a/dbgpt/app/scene/chat_knowledge/v1/chat.py +++ b/dbgpt/app/scene/chat_knowledge/v1/chat.py @@ -9,6 +9,9 @@ KnowledgeDocumentDao, KnowledgeDocumentEntity, ) + +# NOTE: the import is required for register the chat_knowledge scene +# from dbgpt.app.scene.chat_knowledge.v1.prompt import prompt from dbgpt.app.knowledge.service import KnowledgeService from dbgpt.app.scene import BaseChat, ChatScene from dbgpt.component import ComponentType @@ -107,18 +110,19 @@ async def stream_call(self): last_output = output yield output - if ( - CFG.KNOWLEDGE_CHAT_SHOW_RELATIONS - and last_output - and type(self.relations) == list - and len(self.relations) > 0 - and hasattr(last_output, "text") - ): - last_output.text = ( - last_output.text + "\n\nrelations:\n\n" + ",".join(self.relations) - ) - reference = f"\n\n{self.parse_source_view(self.chunks_with_score)}" - last_output = last_output + reference + # NOTE: remove reference info + if CFG.KNOWLEDGE_CHAT_SHOW_RELATIONS: + if ( + last_output + and type(self.relations) == list + and len(self.relations) > 0 + and hasattr(last_output, "text") + ): + last_output.text = ( + last_output.text + "\n\nrelations:\n\n" + ",".join(self.relations) + ) + reference = f"\n\n{self.parse_source_view(self.chunks_with_score)}" + last_output = last_output + reference yield last_output def stream_call_reinforce_fn(self, text): @@ -161,14 +165,16 @@ async def generate_input_values(self) -> Dict: self.chunks_with_score.append((chucks[0], chunk.score)) context = "\n".join([doc.content for doc in candidates_with_scores]) - self.relations = list( - set( - [ - os.path.basename(str(d.metadata.get("source", ""))) - for d in candidates_with_scores - ] + + if CFG.KNOWLEDGE_CHAT_SHOW_RELATIONS: + self.relations = list( + set( + [ + os.path.basename(str(d.metadata.get("source", ""))) + for d in candidates_with_scores + ] + ) ) - ) input_values = { "context": context, "question": self.current_user_input, diff --git a/dbgpt/app/scene/chat_knowledge/v1/prompt.py b/dbgpt/app/scene/chat_knowledge/v1/prompt.py index b32e8f5e4..4405a7a9b 100644 --- a/dbgpt/app/scene/chat_knowledge/v1/prompt.py +++ b/dbgpt/app/scene/chat_knowledge/v1/prompt.py @@ -10,22 +10,40 @@ CFG = Config() -PROMPT_SCENE_DEFINE = """A chat between a curious user and an artificial intelligence assistant, who very familiar with database related knowledge. -The assistant gives helpful, detailed, professional and polite answers to the user's questions. """ +_PROMPT_SCENE_EN = """A conversation between a curious user and an artificial intelligence assistant. + The assistant will completely ignore the embedded knowledge base and only refer to the new content provided by the template. + Please assume that the information supplied by the template is the most recent and accurate; any content beyond the new information in the template should be disregarded. + Respond to user queries in a professional and courteous manner, exclusively relying on the new content from the template and completely ignoring the embedded knowledge base. +""" + +_PROMPT_SCENE_ZH = """好奇的用户和人工智能助手之间的一场对话。 + 助手将会完全忽视内嵌知识库,而只参考模板提供的新内容。 + 请假设模板提供的新内容是最新和最正确的资讯,其他模板提供的新内容以外的内容请全部忽视。 + 经过专业和礼貌的方式,且完全基于模板提供的新内容并完全忽视内嵌知识库下,对用户的问题提供有用的、简要的回答。 +""" -_DEFAULT_TEMPLATE_ZH = """ 基于以下已知的信息, 专业、简要的回答用户的问题, - 如果无法从提供的内容中获取答案, 请说: "知识库中提供的内容不足以回答此问题" 禁止胡乱编造, 回答的时候最好按照1.2.3.点进行总结。 - 已知内容: +PROMPT_SCENE_DEFINE = ( + _PROMPT_SCENE_EN if CFG.LANGUAGE == "en" else _PROMPT_SCENE_ZH +) + +_DEFAULT_TEMPLATE_ZH = """模板提供的新内容: {context} 问题: - {question},请使用和用户相同的语言进行回答. + 从模板提供的新内容中,{question}(请使用和用户相同的语言进行回答) + 完全基于以上模板提供的新内容并完全忽视内嵌知识库, 专业、简要的回答用户的问题。 + 如果无法从以上模板提供的新内容中获取答案, 请说: "知识库中提供的内容不足以回答此问题"。 + 禁止参考模板提供的新内容以外的任何资源, 回答的时候最好按照1.2.3.点进行总结。 """ -_DEFAULT_TEMPLATE_EN = """ Based on the known information below, provide users with professional and concise answers to their questions. If the answer cannot be obtained from the provided content, please say: "The information provided in the knowledge base is not sufficient to answer this question." It is forbidden to make up information randomly. When answering, it is best to summarize according to points 1.2.3. - known information: + + +_DEFAULT_TEMPLATE_EN = """New content provided by the template: {context} - question: - {question},when answering, use the same language as the "user". + Question: + From the new content provided by the template, {question} (please respond in the same language as the user) + Provide professional and concise answers to the user's questions, based entirely on the new content provided by the template, and completely disregard the embedded knowledge base. + If unable to find an answer from the new content provided by the template, please say: "The information available in the knowledge base is insufficient to answer this question." + It is strictly forbidden to consult any resources outside the new content provided by the template. When responding, it is advisable to summarize following the points 1, 2, 3. """ _DEFAULT_TEMPLATE = ( diff --git a/dbgpt/app/static/404.html b/dbgpt/app/static/404.html index 425751b55..e21e675f7 100644 --- a/dbgpt/app/static/404.html +++ b/dbgpt/app/static/404.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

diff --git a/dbgpt/app/static/404/index.html b/dbgpt/app/static/404/index.html index 425751b55..e21e675f7 100644 --- a/dbgpt/app/static/404/index.html +++ b/dbgpt/app/static/404/index.html @@ -1 +1 @@ -404: This page could not be found

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

404

This page could not be found.

diff --git a/dbgpt/app/static/_next/static/ZxhTUUv1U58VJ8aRg1O_Y/_ssgManifest.js b/dbgpt/app/static/_next/static/ZxhTUUv1U58VJ8aRg1O_Y/_ssgManifest.js index 5b3ff592f..4b9afc8d9 100644 --- a/dbgpt/app/static/_next/static/ZxhTUUv1U58VJ8aRg1O_Y/_ssgManifest.js +++ b/dbgpt/app/static/_next/static/ZxhTUUv1U58VJ8aRg1O_Y/_ssgManifest.js @@ -1 +1,2 @@ -self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB() \ No newline at end of file +self.__SSG_MANIFEST = new Set([]); +self.__SSG_MANIFEST_CB && self.__SSG_MANIFEST_CB(); diff --git a/dbgpt/app/static/_next/static/bNfEORAhR_LQn6V50o552/_ssgManifest.js b/dbgpt/app/static/_next/static/bNfEORAhR_LQn6V50o552/_ssgManifest.js deleted file mode 100644 index 5b3ff592f..000000000 --- a/dbgpt/app/static/_next/static/bNfEORAhR_LQn6V50o552/_ssgManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB() \ No newline at end of file diff --git a/dbgpt/app/static/_next/static/chunks/17-d6c52cecd9ecc451.js b/dbgpt/app/static/_next/static/chunks/17-d6c52cecd9ecc451.js new file mode 100644 index 000000000..64061bf0b --- /dev/null +++ b/dbgpt/app/static/_next/static/chunks/17-d6c52cecd9ecc451.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[17],{99611:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(87462),l=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},o=n(84089),s=l.forwardRef(function(e,t){return l.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:a}))})},99134:function(e,t,n){var r=n(67294);let l=(0,r.createContext)({});t.Z=l},21584:function(e,t,n){var r=n(94184),l=n.n(r),a=n(67294),o=n(53124),s=n(99134),i=n(6999),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let c=["xs","sm","md","lg","xl","xxl"],f=a.forwardRef((e,t)=>{let{getPrefixCls:n,direction:r}=a.useContext(o.E_),{gutter:f,wrap:d,supportFlexGap:p}=a.useContext(s.Z),{prefixCls:v,span:m,order:g,offset:b,push:x,pull:y,className:h,children:w,flex:C,style:$}=e,E=u(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),Z=n("col",v),[O,j]=(0,i.c)(Z),S={};c.forEach(t=>{let n={},l=e[t];"number"==typeof l?n.span=l:"object"==typeof l&&(n=l||{}),delete E[t],S=Object.assign(Object.assign({},S),{[`${Z}-${t}-${n.span}`]:void 0!==n.span,[`${Z}-${t}-order-${n.order}`]:n.order||0===n.order,[`${Z}-${t}-offset-${n.offset}`]:n.offset||0===n.offset,[`${Z}-${t}-push-${n.push}`]:n.push||0===n.push,[`${Z}-${t}-pull-${n.pull}`]:n.pull||0===n.pull,[`${Z}-${t}-flex-${n.flex}`]:n.flex||"auto"===n.flex,[`${Z}-rtl`]:"rtl"===r})});let N=l()(Z,{[`${Z}-${m}`]:void 0!==m,[`${Z}-order-${g}`]:g,[`${Z}-offset-${b}`]:b,[`${Z}-push-${x}`]:x,[`${Z}-pull-${y}`]:y},h,S,j),z={};if(f&&f[0]>0){let e=f[0]/2;z.paddingLeft=e,z.paddingRight=e}if(f&&f[1]>0&&!p){let e=f[1]/2;z.paddingTop=e,z.paddingBottom=e}return C&&(z.flex="number"==typeof C?`${C} ${C} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(C)?`0 0 ${C}`:C,!1!==d||z.minWidth||(z.minWidth=0)),O(a.createElement("div",Object.assign({},E,{style:Object.assign(Object.assign({},z),$),className:N,ref:t}),w))});t.Z=f},92820:function(e,t,n){var r=n(94184),l=n.n(r),a=n(67294),o=n(53124),s=n(98082),i=n(74443),u=n(99134),c=n(6999),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};function d(e,t){let[n,r]=a.useState("string"==typeof e?e:""),l=()=>{if("string"==typeof e&&r(e),"object"==typeof e)for(let n=0;n{l()},[JSON.stringify(e),t]),n}let p=a.forwardRef((e,t)=>{let{prefixCls:n,justify:r,align:p,className:v,style:m,children:g,gutter:b=0,wrap:x}=e,y=f(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:h,direction:w}=a.useContext(o.E_),[C,$]=a.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[E,Z]=a.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),O=d(p,E),j=d(r,E),S=(0,s.Z)(),N=a.useRef(b),z=(0,i.Z)();a.useEffect(()=>{let e=z.subscribe(e=>{Z(e);let t=N.current||0;(!Array.isArray(t)&&"object"==typeof t||Array.isArray(t)&&("object"==typeof t[0]||"object"==typeof t[1]))&&$(e)});return()=>z.unsubscribe(e)},[]);let R=h("row",n),[A,P]=(0,c.V)(R),I=(()=>{let e=[void 0,void 0],t=Array.isArray(b)?b:[b,void 0];return t.forEach((t,n)=>{if("object"==typeof t)for(let r=0;r0?-(I[0]/2):void 0,T=null!=I[1]&&I[1]>0?-(I[1]/2):void 0;B&&(M.marginLeft=B,M.marginRight=B),S?[,M.rowGap]=I:T&&(M.marginTop=T,M.marginBottom=T);let[F,L]=I,V=a.useMemo(()=>({gutter:[F,L],wrap:x,supportFlexGap:S}),[F,L,x,S]);return A(a.createElement(u.Z.Provider,{value:V},a.createElement("div",Object.assign({},y,{className:k,style:Object.assign(Object.assign({},M),m),ref:t}),g)))});t.Z=p},6999:function(e,t,n){n.d(t,{V:function(){return c},c:function(){return f}});var r=n(67968),l=n(45503);let a=e=>{let{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},o=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},s=(e,t)=>{let{componentCls:n,gridColumns:r}=e,l={};for(let e=r;e>=0;e--)0===e?(l[`${n}${t}-${e}`]={display:"none"},l[`${n}-push-${e}`]={insetInlineStart:"auto"},l[`${n}-pull-${e}`]={insetInlineEnd:"auto"},l[`${n}${t}-push-${e}`]={insetInlineStart:"auto"},l[`${n}${t}-pull-${e}`]={insetInlineEnd:"auto"},l[`${n}${t}-offset-${e}`]={marginInlineStart:0},l[`${n}${t}-order-${e}`]={order:0}):(l[`${n}${t}-${e}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${e/r*100}%`,maxWidth:`${e/r*100}%`}],l[`${n}${t}-push-${e}`]={insetInlineStart:`${e/r*100}%`},l[`${n}${t}-pull-${e}`]={insetInlineEnd:`${e/r*100}%`},l[`${n}${t}-offset-${e}`]={marginInlineStart:`${e/r*100}%`},l[`${n}${t}-order-${e}`]={order:e});return l},i=(e,t)=>s(e,t),u=(e,t,n)=>({[`@media (min-width: ${t}px)`]:Object.assign({},i(e,n))}),c=(0,r.Z)("Grid",e=>[a(e)]),f=(0,r.Z)("Grid",e=>{let t=(0,l.TS)(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[o(t),i(t,""),i(t,"-xs"),Object.keys(n).map(e=>u(t,n[e],e)).reduce((e,t)=>Object.assign(Object.assign({},e),t),{})]})},59566:function(e,t,n){n.d(t,{default:function(){return en}});var r,l=n(94184),a=n.n(l),o=n(67294),s=n(53124),i=n(65223),u=n(47673),c=n(4340),f=n(67656),d=n(42550),p=n(9708),v=n(98866),m=n(98675),g=n(4173);function b(e,t){let n=(0,o.useRef)([]),r=()=>{n.current.push(setTimeout(()=>{var t,n,r,l;(null===(t=e.current)||void 0===t?void 0:t.input)&&(null===(n=e.current)||void 0===n?void 0:n.input.getAttribute("type"))==="password"&&(null===(r=e.current)||void 0===r?void 0:r.input.hasAttribute("value"))&&(null===(l=e.current)||void 0===l||l.input.removeAttribute("value"))}))};return(0,o.useEffect)(()=>(t&&r(),()=>n.current.forEach(e=>{e&&clearTimeout(e)})),[]),r}var x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let y=(0,o.forwardRef)((e,t)=>{var n;let r;let{prefixCls:l,bordered:y=!0,status:h,size:w,disabled:C,onBlur:$,onFocus:E,suffix:Z,allowClear:O,addonAfter:j,addonBefore:S,className:N,style:z,styles:R,rootClassName:A,onChange:P,classNames:I}=e,k=x(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:M,direction:B,input:T}=o.useContext(s.E_),F=M("input",l),L=(0,o.useRef)(null),[V,H]=(0,u.ZP)(F),{compactSize:D,compactItemClassnames:W}=(0,g.ri)(F,B),_=(0,m.Z)(e=>{var t;return null!==(t=null!=w?w:D)&&void 0!==t?t:e}),Q=o.useContext(v.Z),X=null!=C?C:Q,{status:J,hasFeedback:G,feedbackIcon:K}=(0,o.useContext)(i.aM),q=(0,p.F)(J,h),U=!!(e.prefix||e.suffix||e.allowClear)||!!G,Y=(0,o.useRef)(U);(0,o.useEffect)(()=>{U&&Y.current,Y.current=U},[U]);let ee=b(L,!0),et=(G||Z)&&o.createElement(o.Fragment,null,Z,G&&K);return"object"==typeof O&&(null==O?void 0:O.clearIcon)?r=O:O&&(r={clearIcon:o.createElement(c.Z,null)}),V(o.createElement(f.Z,Object.assign({ref:(0,d.sQ)(t,L),prefixCls:F,autoComplete:null==T?void 0:T.autoComplete},k,{disabled:X,onBlur:e=>{ee(),null==$||$(e)},onFocus:e=>{ee(),null==E||E(e)},style:Object.assign(Object.assign({},null==T?void 0:T.style),z),styles:Object.assign(Object.assign({},null==T?void 0:T.styles),R),suffix:et,allowClear:r,className:a()(N,A,W,null==T?void 0:T.className),onChange:e=>{ee(),null==P||P(e)},addonAfter:j&&o.createElement(g.BR,null,o.createElement(i.Ux,{override:!0,status:!0},j)),addonBefore:S&&o.createElement(g.BR,null,o.createElement(i.Ux,{override:!0,status:!0},S)),classNames:Object.assign(Object.assign(Object.assign({},I),null==T?void 0:T.classNames),{input:a()({[`${F}-sm`]:"small"===_,[`${F}-lg`]:"large"===_,[`${F}-rtl`]:"rtl"===B,[`${F}-borderless`]:!y},!U&&(0,p.Z)(F,q),null==I?void 0:I.input,null===(n=null==T?void 0:T.classNames)||void 0===n?void 0:n.input,H)}),classes:{affixWrapper:a()({[`${F}-affix-wrapper-sm`]:"small"===_,[`${F}-affix-wrapper-lg`]:"large"===_,[`${F}-affix-wrapper-rtl`]:"rtl"===B,[`${F}-affix-wrapper-borderless`]:!y},(0,p.Z)(`${F}-affix-wrapper`,q,G),H),wrapper:a()({[`${F}-group-rtl`]:"rtl"===B},H),group:a()({[`${F}-group-wrapper-sm`]:"small"===_,[`${F}-group-wrapper-lg`]:"large"===_,[`${F}-group-wrapper-rtl`]:"rtl"===B,[`${F}-group-wrapper-disabled`]:X},(0,p.Z)(`${F}-group-wrapper`,q,G),H)}})))});var h=n(87462),w={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},C=n(84089),$=o.forwardRef(function(e,t){return o.createElement(C.Z,(0,h.Z)({},e,{ref:t,icon:w}))}),E=n(99611),Z=n(98423),O=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let j=e=>e?o.createElement(E.Z,null):o.createElement($,null),S={click:"onClick",hover:"onMouseOver"},N=o.forwardRef((e,t)=>{let{visibilityToggle:n=!0}=e,r="object"==typeof n&&void 0!==n.visible,[l,i]=(0,o.useState)(()=>!!r&&n.visible),u=(0,o.useRef)(null);o.useEffect(()=>{r&&i(n.visible)},[r,n]);let c=b(u),f=()=>{let{disabled:t}=e;t||(l&&c(),i(e=>{var t;let r=!e;return"object"==typeof n&&(null===(t=n.onVisibleChange)||void 0===t||t.call(n,r)),r}))},{className:p,prefixCls:v,inputPrefixCls:m,size:g}=e,x=O(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:h}=o.useContext(s.E_),w=h("input",m),C=h("input-password",v),$=n&&(t=>{let{action:n="click",iconRender:r=j}=e,a=S[n]||"",s=r(l),i={[a]:f,className:`${t}-icon`,key:"passwordIcon",onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()}};return o.cloneElement(o.isValidElement(s)?s:o.createElement("span",null,s),i)})(C),E=a()(C,p,{[`${C}-${g}`]:!!g}),N=Object.assign(Object.assign({},(0,Z.Z)(x,["suffix","iconRender","visibilityToggle"])),{type:l?"text":"password",className:E,prefixCls:w,suffix:$});return g&&(N.size=g),o.createElement(y,Object.assign({ref:(0,d.sQ)(t,u)},N))});var z=n(68795),R=n(96159),A=n(71577),P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let I=o.forwardRef((e,t)=>{let n;let{prefixCls:r,inputPrefixCls:l,className:i,size:u,suffix:c,enterButton:f=!1,addonAfter:p,loading:v,disabled:b,onSearch:x,onChange:h,onCompositionStart:w,onCompositionEnd:C}=e,$=P(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:E,direction:Z}=o.useContext(s.E_),O=o.useRef(!1),j=E("input-search",r),S=E("input",l),{compactSize:N}=(0,g.ri)(j,Z),I=(0,m.Z)(e=>{var t;return null!==(t=null!=u?u:N)&&void 0!==t?t:e}),k=o.useRef(null),M=e=>{var t;document.activeElement===(null===(t=k.current)||void 0===t?void 0:t.input)&&e.preventDefault()},B=e=>{var t,n;x&&x(null===(n=null===(t=k.current)||void 0===t?void 0:t.input)||void 0===n?void 0:n.value,e)},T="boolean"==typeof f?o.createElement(z.Z,null):null,F=`${j}-button`,L=f||{},V=L.type&&!0===L.type.__ANT_BUTTON;n=V||"button"===L.type?(0,R.Tm)(L,Object.assign({onMouseDown:M,onClick:e=>{var t,n;null===(n=null===(t=null==L?void 0:L.props)||void 0===t?void 0:t.onClick)||void 0===n||n.call(t,e),B(e)},key:"enterButton"},V?{className:F,size:I}:{})):o.createElement(A.ZP,{className:F,type:f?"primary":void 0,size:I,disabled:b,key:"enterButton",onMouseDown:M,onClick:B,loading:v,icon:T},f),p&&(n=[n,(0,R.Tm)(p,{key:"addonAfter"})]);let H=a()(j,{[`${j}-rtl`]:"rtl"===Z,[`${j}-${I}`]:!!I,[`${j}-with-button`]:!!f},i);return o.createElement(y,Object.assign({ref:(0,d.sQ)(k,t),onPressEnter:e=>{O.current||v||B(e)}},$,{size:I,onCompositionStart:e=>{O.current=!0,null==w||w(e)},onCompositionEnd:e=>{O.current=!1,null==C||C(e)},prefixCls:S,addonAfter:n,suffix:c,onChange:e=>{e&&e.target&&"click"===e.type&&x&&x(e.target.value,e),h&&h(e)},className:H,disabled:b}))});var k=n(1413),M=n(4942),B=n(71002),T=n(97685),F=n(45987),L=n(74902),V=n(87887),H=n(21770),D=n(9220),W=n(8410),_=n(75164),Q=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],X={},J=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],G=o.forwardRef(function(e,t){var n=e.prefixCls,l=(e.onPressEnter,e.defaultValue),s=e.value,i=e.autoSize,u=e.onResize,c=e.className,f=e.style,d=e.disabled,p=e.onChange,v=(e.onInternalAutoSize,(0,F.Z)(e,J)),m=(0,H.Z)(l,{value:s,postState:function(e){return null!=e?e:""}}),g=(0,T.Z)(m,2),b=g[0],x=g[1],y=o.useRef();o.useImperativeHandle(t,function(){return{textArea:y.current}});var w=o.useMemo(function(){return i&&"object"===(0,B.Z)(i)?[i.minRows,i.maxRows]:[]},[i]),C=(0,T.Z)(w,2),$=C[0],E=C[1],Z=!!i,O=function(){try{if(document.activeElement===y.current){var e=y.current,t=e.selectionStart,n=e.selectionEnd,r=e.scrollTop;y.current.setSelectionRange(t,n),y.current.scrollTop=r}}catch(e){}},j=o.useState(2),S=(0,T.Z)(j,2),N=S[0],z=S[1],R=o.useState(),A=(0,T.Z)(R,2),P=A[0],I=A[1],L=function(){z(0)};(0,W.Z)(function(){Z&&L()},[s,$,E,Z]),(0,W.Z)(function(){if(0===N)z(1);else if(1===N){var e=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;r||((r=document.createElement("textarea")).setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),document.body.appendChild(r)),e.getAttribute("wrap")?r.setAttribute("wrap",e.getAttribute("wrap")):r.removeAttribute("wrap");var o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&X[n])return X[n];var r=window.getComputedStyle(e),l=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),a=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),o=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s={sizingStyle:Q.map(function(e){return"".concat(e,":").concat(r.getPropertyValue(e))}).join(";"),paddingSize:a,borderSize:o,boxSizing:l};return t&&n&&(X[n]=s),s}(e,n),s=o.paddingSize,i=o.borderSize,u=o.boxSizing,c=o.sizingStyle;r.setAttribute("style","".concat(c,";").concat("\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n pointer-events: none !important;\n")),r.value=e.value||e.placeholder||"";var f=void 0,d=void 0,p=r.scrollHeight;if("border-box"===u?p+=i:"content-box"===u&&(p-=s),null!==l||null!==a){r.value=" ";var v=r.scrollHeight-s;null!==l&&(f=v*l,"border-box"===u&&(f=f+s+i),p=Math.max(f,p)),null!==a&&(d=v*a,"border-box"===u&&(d=d+s+i),t=p>d?"":"hidden",p=Math.min(d,p))}var m={height:p,overflowY:t,resize:"none"};return f&&(m.minHeight=f),d&&(m.maxHeight=d),m}(y.current,!1,$,E);z(2),I(e)}else O()},[N]);var V=o.useRef(),G=function(){_.Z.cancel(V.current)};o.useEffect(function(){return G},[]);var K=Z?P:null,q=(0,k.Z)((0,k.Z)({},f),K);return(0===N||1===N)&&(q.overflowY="hidden",q.overflowX="hidden"),o.createElement(D.Z,{onResize:function(e){2===N&&(null==u||u(e),i&&(G(),V.current=(0,_.Z)(function(){L()})))},disabled:!(i||u)},o.createElement("textarea",(0,h.Z)({},v,{ref:y,style:q,className:a()(n,c,(0,M.Z)({},"".concat(n,"-disabled"),d)),disabled:d,value:b,onChange:function(e){x(e.target.value),null==p||p(e)}})))}),K=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function q(e,t){return(0,L.Z)(e||"").slice(0,t).join("")}function U(e,t,n,r){var l=n;return e?l=q(n,r):(0,L.Z)(t||"").lengthr&&(l=t),l}var Y=o.forwardRef(function(e,t){var n,r,l=e.defaultValue,s=e.value,i=e.onFocus,u=e.onBlur,c=e.onChange,d=e.allowClear,p=e.maxLength,v=e.onCompositionStart,m=e.onCompositionEnd,g=e.suffix,b=e.prefixCls,x=void 0===b?"rc-textarea":b,y=e.classes,w=e.showCount,C=e.className,$=e.style,E=e.disabled,Z=e.hidden,O=e.classNames,j=e.styles,S=e.onResize,N=(0,F.Z)(e,K),z=(0,H.Z)(l,{value:s,defaultValue:l}),R=(0,T.Z)(z,2),A=R[0],P=R[1],I=(0,o.useRef)(null),D=o.useState(!1),W=(0,T.Z)(D,2),_=W[0],Q=W[1],X=o.useState(!1),J=(0,T.Z)(X,2),Y=J[0],ee=J[1],et=o.useRef(),en=o.useRef(0),er=o.useState(null),el=(0,T.Z)(er,2),ea=el[0],eo=el[1],es=function(){var e;null===(e=I.current)||void 0===e||e.textArea.focus()};(0,o.useImperativeHandle)(t,function(){return{resizableTextArea:I.current,focus:es,blur:function(){var e;null===(e=I.current)||void 0===e||e.textArea.blur()}}}),(0,o.useEffect)(function(){Q(function(e){return!E&&e})},[E]);var ei=Number(p)>0,eu=(0,V.D7)(A);!Y&&ei&&null==s&&(eu=q(eu,p));var ec=g;if(w){var ef=(0,L.Z)(eu).length;r="object"===(0,B.Z)(w)?w.formatter({value:eu,count:ef,maxLength:p}):"".concat(ef).concat(ei?" / ".concat(p):""),ec=o.createElement(o.Fragment,null,ec,o.createElement("span",{className:a()("".concat(x,"-data-count"),null==O?void 0:O.count),style:null==j?void 0:j.count},r))}var ed=!N.autoSize&&!w&&!d;return o.createElement(f.Q,{value:eu,allowClear:d,handleReset:function(e){var t;P(""),es(),(0,V.rJ)(null===(t=I.current)||void 0===t?void 0:t.textArea,e,c)},suffix:ec,prefixCls:x,classes:{affixWrapper:a()(null==y?void 0:y.affixWrapper,(n={},(0,M.Z)(n,"".concat(x,"-show-count"),w),(0,M.Z)(n,"".concat(x,"-textarea-allow-clear"),d),n))},disabled:E,focused:_,className:C,style:(0,k.Z)((0,k.Z)({},$),ea&&!ed?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":"string"==typeof r?r:void 0}},hidden:Z,inputElement:o.createElement(G,(0,h.Z)({},N,{onKeyDown:function(e){var t=N.onPressEnter,n=N.onKeyDown;"Enter"===e.key&&t&&t(e),null==n||n(e)},onChange:function(e){var t=e.target.value;!Y&&ei&&(t=U(e.target.selectionStart>=p+1||e.target.selectionStart===t.length||!e.target.selectionStart,A,t,p)),P(t),(0,V.rJ)(e.currentTarget,e,c,t)},onFocus:function(e){Q(!0),null==i||i(e)},onBlur:function(e){Q(!1),null==u||u(e)},onCompositionStart:function(e){ee(!0),et.current=A,en.current=e.currentTarget.selectionStart,null==v||v(e)},onCompositionEnd:function(e){ee(!1);var t,n=e.currentTarget.value;ei&&(n=U(en.current>=p+1||en.current===(null===(t=et.current)||void 0===t?void 0:t.length),et.current,n,p)),n!==A&&(P(n),(0,V.rJ)(e.currentTarget,e,c,n)),null==m||m(e)},className:null==O?void 0:O.textarea,style:(0,k.Z)((0,k.Z)({},null==j?void 0:j.textarea),{},{resize:null==$?void 0:$.resize}),disabled:E,prefixCls:x,onResize:function(e){var t;null==S||S(e),null!==(t=I.current)&&void 0!==t&&t.textArea.style.height&&eo(!0)},ref:I}))})}),ee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let et=(0,o.forwardRef)((e,t)=>{let n;let{prefixCls:r,bordered:l=!0,size:f,disabled:d,status:g,allowClear:b,showCount:x,classNames:y}=e,h=ee(e,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames"]),{getPrefixCls:w,direction:C}=o.useContext(s.E_),$=(0,m.Z)(f),E=o.useContext(v.Z),{status:Z,hasFeedback:O,feedbackIcon:j}=o.useContext(i.aM),S=(0,p.F)(Z,g),N=o.useRef(null);o.useImperativeHandle(t,()=>{var e;return{resizableTextArea:null===(e=N.current)||void 0===e?void 0:e.resizableTextArea,focus:e=>{var t,n;!function(e,t){if(!e)return;e.focus(t);let{cursor:n}=t||{};if(n){let t=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(t,t);break;default:e.setSelectionRange(0,t)}}}(null===(n=null===(t=N.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:()=>{var e;return null===(e=N.current)||void 0===e?void 0:e.blur()}}});let z=w("input",r);"object"==typeof b&&(null==b?void 0:b.clearIcon)?n=b:b&&(n={clearIcon:o.createElement(c.Z,null)});let[R,A]=(0,u.ZP)(z);return R(o.createElement(Y,Object.assign({},h,{disabled:null!=d?d:E,allowClear:n,classes:{affixWrapper:a()(`${z}-textarea-affix-wrapper`,{[`${z}-affix-wrapper-rtl`]:"rtl"===C,[`${z}-affix-wrapper-borderless`]:!l,[`${z}-affix-wrapper-sm`]:"small"===$,[`${z}-affix-wrapper-lg`]:"large"===$,[`${z}-textarea-show-count`]:x},(0,p.Z)(`${z}-affix-wrapper`,S),A)},classNames:Object.assign(Object.assign({},y),{textarea:a()({[`${z}-borderless`]:!l,[`${z}-sm`]:"small"===$,[`${z}-lg`]:"large"===$},(0,p.Z)(z,S),A,null==y?void 0:y.textarea)}),prefixCls:z,suffix:O&&o.createElement("span",{className:`${z}-textarea-suffix`},j),showCount:x,ref:N})))});y.Group=e=>{let{getPrefixCls:t,direction:n}=(0,o.useContext)(s.E_),{prefixCls:r,className:l}=e,c=t("input-group",r),f=t("input"),[d,p]=(0,u.ZP)(f),v=a()(c,{[`${c}-lg`]:"large"===e.size,[`${c}-sm`]:"small"===e.size,[`${c}-compact`]:e.compact,[`${c}-rtl`]:"rtl"===n},p,l),m=(0,o.useContext)(i.aM),g=(0,o.useMemo)(()=>Object.assign(Object.assign({},m),{isFormItemInput:!1}),[m]);return d(o.createElement("span",{className:v,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},o.createElement(i.aM.Provider,{value:g},e.children)))},y.Search=I,y.TextArea=et,y.Password=N;var en=y},67656:function(e,t,n){n.d(t,{Q:function(){return f},Z:function(){return x}});var r=n(87462),l=n(1413),a=n(4942),o=n(71002),s=n(94184),i=n.n(s),u=n(67294),c=n(87887),f=function(e){var t=e.inputElement,n=e.prefixCls,s=e.prefix,f=e.suffix,d=e.addonBefore,p=e.addonAfter,v=e.className,m=e.style,g=e.disabled,b=e.readOnly,x=e.focused,y=e.triggerFocus,h=e.allowClear,w=e.value,C=e.handleReset,$=e.hidden,E=e.classes,Z=e.classNames,O=e.dataAttrs,j=e.styles,S=e.components,N=(null==S?void 0:S.affixWrapper)||"span",z=(null==S?void 0:S.groupWrapper)||"span",R=(null==S?void 0:S.wrapper)||"span",A=(null==S?void 0:S.groupAddon)||"span",P=(0,u.useRef)(null),I=(0,u.cloneElement)(t,{value:w,hidden:$,className:i()(null===(k=t.props)||void 0===k?void 0:k.className,!(0,c.X3)(e)&&!(0,c.He)(e)&&v)||null,style:(0,l.Z)((0,l.Z)({},null===(M=t.props)||void 0===M?void 0:M.style),(0,c.X3)(e)||(0,c.He)(e)?{}:m)});if((0,c.X3)(e)){var k,M,B,T="".concat(n,"-affix-wrapper"),F=i()(T,(B={},(0,a.Z)(B,"".concat(T,"-disabled"),g),(0,a.Z)(B,"".concat(T,"-focused"),x),(0,a.Z)(B,"".concat(T,"-readonly"),b),(0,a.Z)(B,"".concat(T,"-input-with-clear-btn"),f&&h&&w),B),!(0,c.He)(e)&&v,null==E?void 0:E.affixWrapper,null==Z?void 0:Z.affixWrapper),L=(f||h)&&u.createElement("span",{className:i()("".concat(n,"-suffix"),null==Z?void 0:Z.suffix),style:null==j?void 0:j.suffix},function(){if(!h)return null;var e,t=!g&&!b&&w,r="".concat(n,"-clear-icon"),l="object"===(0,o.Z)(h)&&null!=h&&h.clearIcon?h.clearIcon:"✖";return u.createElement("span",{onClick:C,onMouseDown:function(e){return e.preventDefault()},className:i()(r,(e={},(0,a.Z)(e,"".concat(r,"-hidden"),!t),(0,a.Z)(e,"".concat(r,"-has-suffix"),!!f),e)),role:"button",tabIndex:-1},l)}(),f);I=u.createElement(N,(0,r.Z)({className:F,style:(0,l.Z)((0,l.Z)({},(0,c.He)(e)?void 0:m),null==j?void 0:j.affixWrapper),hidden:!(0,c.He)(e)&&$,onClick:function(e){var t;null!==(t=P.current)&&void 0!==t&&t.contains(e.target)&&(null==y||y())}},null==O?void 0:O.affixWrapper,{ref:P}),s&&u.createElement("span",{className:i()("".concat(n,"-prefix"),null==Z?void 0:Z.prefix),style:null==j?void 0:j.prefix},s),(0,u.cloneElement)(t,{value:w,hidden:null}),L)}if((0,c.He)(e)){var V="".concat(n,"-group"),H="".concat(V,"-addon"),D=i()("".concat(n,"-wrapper"),V,null==E?void 0:E.wrapper),W=i()("".concat(n,"-group-wrapper"),v,null==E?void 0:E.group);return u.createElement(z,{className:W,style:m,hidden:$},u.createElement(R,{className:D},d&&u.createElement(A,{className:H},d),(0,u.cloneElement)(I,{hidden:null}),p&&u.createElement(A,{className:H},p)))}return I},d=n(74902),p=n(97685),v=n(45987),m=n(21770),g=n(98423),b=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],x=(0,u.forwardRef)(function(e,t){var n,s=e.autoComplete,x=e.onChange,y=e.onFocus,h=e.onBlur,w=e.onPressEnter,C=e.onKeyDown,$=e.prefixCls,E=void 0===$?"rc-input":$,Z=e.disabled,O=e.htmlSize,j=e.className,S=e.maxLength,N=e.suffix,z=e.showCount,R=e.type,A=e.classes,P=e.classNames,I=e.styles,k=(0,v.Z)(e,b),M=(0,m.Z)(e.defaultValue,{value:e.value}),B=(0,p.Z)(M,2),T=B[0],F=B[1],L=(0,u.useState)(!1),V=(0,p.Z)(L,2),H=V[0],D=V[1],W=(0,u.useRef)(null),_=function(e){W.current&&(0,c.nH)(W.current,e)};return(0,u.useImperativeHandle)(t,function(){return{focus:_,blur:function(){var e;null===(e=W.current)||void 0===e||e.blur()},setSelectionRange:function(e,t,n){var r;null===(r=W.current)||void 0===r||r.setSelectionRange(e,t,n)},select:function(){var e;null===(e=W.current)||void 0===e||e.select()},input:W.current}}),(0,u.useEffect)(function(){D(function(e){return(!e||!Z)&&e})},[Z]),u.createElement(f,(0,r.Z)({},k,{prefixCls:E,className:j,inputElement:(n=(0,g.Z)(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]),u.createElement("input",(0,r.Z)({autoComplete:s},n,{onChange:function(t){void 0===e.value&&F(t.target.value),W.current&&(0,c.rJ)(W.current,t,x)},onFocus:function(e){D(!0),null==y||y(e)},onBlur:function(e){D(!1),null==h||h(e)},onKeyDown:function(e){w&&"Enter"===e.key&&w(e),null==C||C(e)},className:i()(E,(0,a.Z)({},"".concat(E,"-disabled"),Z),null==P?void 0:P.input),style:null==I?void 0:I.input,ref:W,size:O,type:void 0===R?"text":R}))),handleReset:function(e){F(""),_(),W.current&&(0,c.rJ)(W.current,e,x)},value:(0,c.D7)(T),focused:H,triggerFocus:_,suffix:function(){var e=Number(S)>0;if(N||z){var t=(0,c.D7)(T),n=(0,d.Z)(t).length,r="object"===(0,o.Z)(z)?z.formatter({value:t,count:n,maxLength:S}):"".concat(n).concat(e?" / ".concat(S):"");return u.createElement(u.Fragment,null,!!z&&u.createElement("span",{className:i()("".concat(E,"-show-count-suffix"),(0,a.Z)({},"".concat(E,"-show-count-has-suffix"),!!N),null==P?void 0:P.count),style:(0,l.Z)({},null==I?void 0:I.count)},r),N)}return null}(),disabled:Z,classes:A,classNames:P,styles:I}))})},87887:function(e,t,n){function r(e){return!!(e.addonBefore||e.addonAfter)}function l(e){return!!(e.prefix||e.suffix||e.allowClear)}function a(e,t,n,r){if(n){var l=t;if("click"===t.type){var a=e.cloneNode(!0);l=Object.create(t,{target:{value:a},currentTarget:{value:a}}),a.value="",n(l);return}if(void 0!==r){l=Object.create(t,{target:{value:e},currentTarget:{value:e}}),e.value=r,n(l);return}n(l)}}function o(e,t){if(e){e.focus(t);var n=(t||{}).cursor;if(n){var r=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(r,r);break;default:e.setSelectionRange(0,r)}}}}function s(e){return null==e?"":String(e)}n.d(t,{D7:function(){return s},He:function(){return r},X3:function(){return l},nH:function(){return o},rJ:function(){return a}})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/_next/static/chunks/346-b0aea1c99abd6f1e.js b/dbgpt/app/static/_next/static/chunks/346-b0aea1c99abd6f1e.js new file mode 100644 index 000000000..41560abbf --- /dev/null +++ b/dbgpt/app/static/_next/static/chunks/346-b0aea1c99abd6f1e.js @@ -0,0 +1,4 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[346],{57346:function(e,t,n){n.d(t,{Z:function(){return e$}});var o,r,a=n(87462),i=n(4942),d=n(71002),l=n(1413),c=n(74902),s=n(15671),u=n(43144),p=n(97326),f=n(32531),h=n(73568),v=n(67294),g=n(15105),y=n(80334),k=n(64217),m=n(94184),b=n.n(m),K=n(27822),x=n(10225),N=n(1089);function E(e){if(null==e)throw TypeError("Cannot destructure "+e)}var S=n(97685),C=n(45987),w=n(8410),D=n(85344),Z=n(82225),O=n(86128),P=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],L=function(e,t){var n,o,r,i,d,l=e.className,c=e.style,s=e.motion,u=e.motionNodes,p=e.motionType,f=e.onMotionStart,h=e.onMotionEnd,g=e.active,y=e.treeNodeRequiredProps,k=(0,C.Z)(e,P),m=v.useState(!0),x=(0,S.Z)(m,2),D=x[0],L=x[1],T=v.useContext(K.k).prefixCls,$=u&&"hide"!==p;(0,w.Z)(function(){u&&$!==D&&L($)},[u]);var M=v.useRef(!1),I=function(){u&&!M.current&&(M.current=!0,h())};return(n=function(){u&&f()},o=v.useState(!1),i=(r=(0,S.Z)(o,2))[0],d=r[1],v.useLayoutEffect(function(){if(i)return n(),function(){I()}},[i]),v.useLayoutEffect(function(){return d(!0),function(){d(!1)}},[]),u)?v.createElement(Z.ZP,(0,a.Z)({ref:t,visible:D},s,{motionAppear:"show"===p,onVisibleChanged:function(e){$===e&&I()}}),function(e,t){var n=e.className,o=e.style;return v.createElement("div",{ref:t,className:b()("".concat(T,"-treenode-motion"),n),style:o},u.map(function(e){var t=(0,a.Z)({},(E(e.data),e.data)),n=e.title,o=e.key,r=e.isStart,i=e.isEnd;delete t.children;var d=(0,N.H8)(o,y);return v.createElement(O.Z,(0,a.Z)({},t,d,{title:n,active:g,data:e.data,key:o,isStart:r,isEnd:i}))}))}):v.createElement(O.Z,(0,a.Z)({domRef:t,className:l,style:c},k,{active:g}))};L.displayName="MotionTreeNode";var T=v.forwardRef(L);function $(e,t,n){var o=e.findIndex(function(e){return e.key===n}),r=e[o+1],a=t.findIndex(function(e){return e.key===n});if(r){var i=t.findIndex(function(e){return e.key===r.key});return t.slice(a+1,i)}return t.slice(a+1)}var M=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],I={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},A=function(){},H="RC_TREE_MOTION_".concat(Math.random()),R={key:H},j={key:H,level:0,index:0,pos:"0",node:R,nodes:[R]},F={parent:null,children:[],pos:j.pos,data:R,title:null,key:H,isStart:[],isEnd:[]};function B(e,t,n,o){return!1!==t&&n?e.slice(0,Math.ceil(n/o)+1):e}function z(e){var t=e.key,n=e.pos;return(0,N.km)(t,n)}var _=v.forwardRef(function(e,t){var n=e.prefixCls,o=e.data,r=(e.selectable,e.checkable,e.expandedKeys),i=e.selectedKeys,d=e.checkedKeys,l=e.loadedKeys,c=e.loadingKeys,s=e.halfCheckedKeys,u=e.keyEntities,p=e.disabled,f=e.dragging,h=e.dragOverNodeKey,g=e.dropPosition,y=e.motion,k=e.height,m=e.itemHeight,b=e.virtual,K=e.focusable,x=e.activeItem,Z=e.focused,O=e.tabIndex,P=e.onKeyDown,L=e.onFocus,R=e.onBlur,j=e.onActiveChange,_=e.onListChangeStart,U=e.onListChangeEnd,V=(0,C.Z)(e,M),G=v.useRef(null),W=v.useRef(null);v.useImperativeHandle(t,function(){return{scrollTo:function(e){G.current.scrollTo(e)},getIndentWidth:function(){return W.current.offsetWidth}}});var q=v.useState(r),X=(0,S.Z)(q,2),Y=X[0],J=X[1],Q=v.useState(o),ee=(0,S.Z)(Q,2),et=ee[0],en=ee[1],eo=v.useState(o),er=(0,S.Z)(eo,2),ea=er[0],ei=er[1],ed=v.useState([]),el=(0,S.Z)(ed,2),ec=el[0],es=el[1],eu=v.useState(null),ep=(0,S.Z)(eu,2),ef=ep[0],eh=ep[1],ev=v.useRef(o);function eg(){var e=ev.current;en(e),ei(e),es([]),eh(null),U()}ev.current=o,(0,w.Z)(function(){J(r);var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.length,o=t.length;if(1!==Math.abs(n-o))return{add:!1,key:null};function r(e,t){var n=new Map;e.forEach(function(e){n.set(e,!0)});var o=t.filter(function(e){return!n.has(e)});return 1===o.length?o[0]:null}return n ").concat(t);return t}(x)),v.createElement("div",null,v.createElement("input",{style:I,disabled:!1===K||p,tabIndex:!1!==K?O:null,onKeyDown:P,onFocus:L,onBlur:R,value:"",onChange:A,"aria-label":"for screen reader"})),v.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},v.createElement("div",{className:"".concat(n,"-indent")},v.createElement("div",{ref:W,className:"".concat(n,"-indent-unit")}))),v.createElement(D.Z,(0,a.Z)({},V,{data:ey,itemKey:z,height:k,fullHeight:!1,virtual:b,itemHeight:m,prefixCls:"".concat(n,"-list"),ref:G,onVisibleChange:function(e,t){var n=new Set(e);t.filter(function(e){return!n.has(e)}).some(function(e){return z(e)===H})&&eg()}}),function(e){var t=e.pos,n=(0,a.Z)({},(E(e.data),e.data)),o=e.title,r=e.key,i=e.isStart,d=e.isEnd,l=(0,N.km)(r,t);delete n.key,delete n.children;var c=(0,N.H8)(l,ek);return v.createElement(T,(0,a.Z)({},n,c,{title:o,active:!!x&&r===x.key,pos:t,data:e.data,isStart:i,isEnd:d,motion:y,motionNodes:r===H?ec:null,motionType:ef,onMotionStart:_,onMotionEnd:eg,treeNodeRequiredProps:ek,onMouseMove:function(){j(null)}}))}))});_.displayName="NodeList";var U=n(17341),V=function(e){(0,f.Z)(n,e);var t=(0,h.Z)(n);function n(){var e;(0,s.Z)(this,n);for(var o=arguments.length,r=Array(o),a=0;a2&&void 0!==arguments[2]&&arguments[2],a=e.state,i=a.dragChildrenKeys,d=a.dropPosition,c=a.dropTargetKey,s=a.dropTargetPos;if(a.dropAllowed){var u=e.props.onDrop;if(e.setState({dragOverNodeKey:null}),e.cleanDragState(),null!==c){var p=(0,l.Z)((0,l.Z)({},(0,N.H8)(c,e.getTreeNodeRequiredProps())),{},{active:(null===(o=e.getActiveItem())||void 0===o?void 0:o.key)===c,data:e.state.keyEntities[c].node}),f=-1!==i.indexOf(c);(0,y.ZP)(!f,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var h=(0,x.yx)(s),v={event:t,node:(0,N.F)(p),dragNode:e.dragNode?(0,N.F)(e.dragNode.props):null,dragNodesKeys:[e.dragNode.props.eventKey].concat(i),dropToGap:0!==d,dropPosition:d+Number(h[h.length-1])};r||null==u||u(v),e.dragNode=null}}},e.cleanDragState=function(){null!==e.state.draggingNodeKey&&e.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),e.dragStartMousePosition=null,e.currentMouseOverDroppableNodeKey=null},e.triggerExpandActionExpand=function(t,n){var o=e.state,r=o.expandedKeys,a=o.flattenNodes,i=n.expanded,d=n.key;if(!n.isLeaf&&!t.shiftKey&&!t.metaKey&&!t.ctrlKey){var c=a.filter(function(e){return e.key===d})[0],s=(0,N.F)((0,l.Z)((0,l.Z)({},(0,N.H8)(d,e.getTreeNodeRequiredProps())),{},{data:c.data}));e.setExpandedKeys(i?(0,x._5)(r,d):(0,x.L0)(r,d)),e.onNodeExpand(t,s)}},e.onNodeClick=function(t,n){var o=e.props,r=o.onClick;"click"===o.expandAction&&e.triggerExpandActionExpand(t,n),null==r||r(t,n)},e.onNodeDoubleClick=function(t,n){var o=e.props,r=o.onDoubleClick;"doubleClick"===o.expandAction&&e.triggerExpandActionExpand(t,n),null==r||r(t,n)},e.onNodeSelect=function(t,n){var o=e.state.selectedKeys,r=e.state,a=r.keyEntities,i=r.fieldNames,d=e.props,l=d.onSelect,c=d.multiple,s=n.selected,u=n[i.key],p=!s,f=(o=p?c?(0,x.L0)(o,u):[u]:(0,x._5)(o,u)).map(function(e){var t=a[e];return t?t.node:null}).filter(function(e){return e});e.setUncontrolledState({selectedKeys:o}),null==l||l(o,{event:"select",selected:p,node:n,selectedNodes:f,nativeEvent:t.nativeEvent})},e.onNodeCheck=function(t,n,o){var r,a=e.state,i=a.keyEntities,d=a.checkedKeys,l=a.halfCheckedKeys,s=e.props,u=s.checkStrictly,p=s.onCheck,f=n.key,h={event:"check",node:n,checked:o,nativeEvent:t.nativeEvent};if(u){var v=o?(0,x.L0)(d,f):(0,x._5)(d,f);r={checked:v,halfChecked:(0,x._5)(l,f)},h.checkedNodes=v.map(function(e){return i[e]}).filter(function(e){return e}).map(function(e){return e.node}),e.setUncontrolledState({checkedKeys:v})}else{var g=(0,U.S)([].concat((0,c.Z)(d),[f]),!0,i),y=g.checkedKeys,k=g.halfCheckedKeys;if(!o){var m=new Set(y);m.delete(f);var b=(0,U.S)(Array.from(m),{checked:!1,halfCheckedKeys:k},i);y=b.checkedKeys,k=b.halfCheckedKeys}r=y,h.checkedNodes=[],h.checkedNodesPositions=[],h.halfCheckedKeys=k,y.forEach(function(e){var t=i[e];if(t){var n=t.node,o=t.pos;h.checkedNodes.push(n),h.checkedNodesPositions.push({node:n,pos:o})}}),e.setUncontrolledState({checkedKeys:y},!1,{halfCheckedKeys:k})}null==p||p(r,h)},e.onNodeLoad=function(t){var n=t.key,o=new Promise(function(o,r){e.setState(function(a){var i=a.loadedKeys,d=a.loadingKeys,l=void 0===d?[]:d,c=e.props,s=c.loadData,u=c.onLoad;return s&&-1===(void 0===i?[]:i).indexOf(n)&&-1===l.indexOf(n)?(s(t).then(function(){var r=e.state.loadedKeys,a=(0,x.L0)(r,n);null==u||u(a,{event:"load",node:t}),e.setUncontrolledState({loadedKeys:a}),e.setState(function(e){return{loadingKeys:(0,x._5)(e.loadingKeys,n)}}),o()}).catch(function(t){if(e.setState(function(e){return{loadingKeys:(0,x._5)(e.loadingKeys,n)}}),e.loadingRetryTimes[n]=(e.loadingRetryTimes[n]||0)+1,e.loadingRetryTimes[n]>=10){var a=e.state.loadedKeys;(0,y.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),e.setUncontrolledState({loadedKeys:(0,x.L0)(a,n)}),o()}r(t)}),{loadingKeys:(0,x.L0)(l,n)}):null})});return o.catch(function(){}),o},e.onNodeMouseEnter=function(t,n){var o=e.props.onMouseEnter;null==o||o({event:t,node:n})},e.onNodeMouseLeave=function(t,n){var o=e.props.onMouseLeave;null==o||o({event:t,node:n})},e.onNodeContextMenu=function(t,n){var o=e.props.onRightClick;o&&(t.preventDefault(),o({event:t,node:n}))},e.onFocus=function(){var t=e.props.onFocus;e.setState({focused:!0});for(var n=arguments.length,o=Array(n),r=0;r1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e.destroyed){var r=!1,a=!0,i={};Object.keys(t).forEach(function(n){if(n in e.props){a=!1;return}r=!0,i[n]=t[n]}),r&&(!n||a)&&e.setState((0,l.Z)((0,l.Z)({},i),o))}},e.scrollTo=function(t){e.listRef.current.scrollTo(t)},e}return(0,u.Z)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var e=this.props.activeKey;void 0!==e&&e!==this.state.activeKey&&(this.setState({activeKey:e}),null!==e&&this.scrollTo({key:e}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var e,t,n=this.state,o=n.focused,r=n.flattenNodes,l=n.keyEntities,c=n.draggingNodeKey,s=n.activeKey,u=n.dropLevelOffset,p=n.dropContainerKey,f=n.dropTargetKey,h=n.dropPosition,g=n.dragOverNodeKey,y=n.indent,m=this.props,x=m.prefixCls,N=m.className,E=m.style,S=m.showLine,C=m.focusable,w=m.tabIndex,D=m.selectable,Z=m.showIcon,O=m.icon,P=m.switcherIcon,L=m.draggable,T=m.checkable,$=m.checkStrictly,M=m.disabled,I=m.motion,A=m.loadData,H=m.filterTreeNode,R=m.height,j=m.itemHeight,F=m.virtual,B=m.titleRender,z=m.dropIndicatorRender,U=m.onContextMenu,V=m.onScroll,G=m.direction,W=m.rootClassName,q=m.rootStyle,X=(0,k.Z)(this.props,{aria:!0,data:!0});return L&&(t="object"===(0,d.Z)(L)?L:"function"==typeof L?{nodeDraggable:L}:{}),v.createElement(K.k.Provider,{value:{prefixCls:x,selectable:D,showIcon:Z,icon:O,switcherIcon:P,draggable:t,draggingNodeKey:c,checkable:T,checkStrictly:$,disabled:M,keyEntities:l,dropLevelOffset:u,dropContainerKey:p,dropTargetKey:f,dropPosition:h,dragOverNodeKey:g,indent:y,direction:G,dropIndicatorRender:z,loadData:A,filterTreeNode:H,titleRender:B,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},v.createElement("div",{role:"tree",className:b()(x,N,W,(e={},(0,i.Z)(e,"".concat(x,"-show-line"),S),(0,i.Z)(e,"".concat(x,"-focused"),o),(0,i.Z)(e,"".concat(x,"-active-focused"),null!==s),e)),style:q},v.createElement(_,(0,a.Z)({ref:this.listRef,prefixCls:x,style:E,data:r,disabled:M,selectable:D,checkable:!!T,motion:I,dragging:null!==c,height:R,itemHeight:j,virtual:F,focusable:C,focused:o,tabIndex:void 0===w?0:w,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:U,onScroll:V},this.getTreeNodeRequiredProps(),X))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,o,r=t.prevProps,a={prevProps:e};function d(t){return!r&&t in e||r&&r[t]!==e[t]}var c=t.fieldNames;if(d("fieldNames")&&(c=(0,N.w$)(e.fieldNames),a.fieldNames=c),d("treeData")?n=e.treeData:d("children")&&((0,y.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),n=(0,N.zn)(e.children)),n){a.treeData=n;var s=(0,N.I8)(n,{fieldNames:c});a.keyEntities=(0,l.Z)((0,i.Z)({},H,j),s.keyEntities)}var u=a.keyEntities||t.keyEntities;if(d("expandedKeys")||r&&d("autoExpandParent"))a.expandedKeys=e.autoExpandParent||!r&&e.defaultExpandParent?(0,x.r7)(e.expandedKeys,u):e.expandedKeys;else if(!r&&e.defaultExpandAll){var p=(0,l.Z)({},u);delete p[H],a.expandedKeys=Object.keys(p).map(function(e){return p[e].key})}else!r&&e.defaultExpandedKeys&&(a.expandedKeys=e.autoExpandParent||e.defaultExpandParent?(0,x.r7)(e.defaultExpandedKeys,u):e.defaultExpandedKeys);if(a.expandedKeys||delete a.expandedKeys,n||a.expandedKeys){var f=(0,N.oH)(n||t.treeData,a.expandedKeys||t.expandedKeys,c);a.flattenNodes=f}if(e.selectable&&(d("selectedKeys")?a.selectedKeys=(0,x.BT)(e.selectedKeys,e):!r&&e.defaultSelectedKeys&&(a.selectedKeys=(0,x.BT)(e.defaultSelectedKeys,e))),e.checkable&&(d("checkedKeys")?o=(0,x.E6)(e.checkedKeys)||{}:!r&&e.defaultCheckedKeys?o=(0,x.E6)(e.defaultCheckedKeys)||{}:n&&(o=(0,x.E6)(e.checkedKeys)||{checkedKeys:t.checkedKeys,halfCheckedKeys:t.halfCheckedKeys}),o)){var h=o,v=h.checkedKeys,g=void 0===v?[]:v,k=h.halfCheckedKeys,m=void 0===k?[]:k;if(!e.checkStrictly){var b=(0,U.S)(g,!0,u);g=b.checkedKeys,m=b.halfCheckedKeys}a.checkedKeys=g,a.halfCheckedKeys=m}return d("loadedKeys")&&(a.loadedKeys=e.loadedKeys),a}}]),n}(v.Component);V.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:function(e){var t=e.dropPosition,n=e.dropLevelOffset,o=e.indent,r={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case -1:r.top=0,r.left=-n*o;break;case 1:r.bottom=0,r.left=-n*o;break;case 0:r.bottom=0,r.left=o}return v.createElement("div",{style:r})},allowDrop:function(){return!0},expandAction:!1},V.TreeNode=O.Z;var G={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},W=n(84089),q=v.forwardRef(function(e,t){return v.createElement(W.Z,(0,a.Z)({},e,{ref:t,icon:G}))}),X={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Y=v.forwardRef(function(e,t){return v.createElement(W.Z,(0,a.Z)({},e,{ref:t,icon:X}))}),J={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Q=v.forwardRef(function(e,t){return v.createElement(W.Z,(0,a.Z)({},e,{ref:t,icon:J}))}),ee=n(53124),et={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},en=v.forwardRef(function(e,t){return v.createElement(W.Z,(0,a.Z)({},e,{ref:t,icon:et}))}),eo=n(33603),er=n(23183),ea=n(63185),ei=n(14747),ed=n(33507),el=n(45503),ec=n(67968);let es=new er.E4("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),eu=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),ep=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${t.lineWidthBold}px solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),ef=(e,t)=>{let{treeCls:n,treeNodeCls:o,treeNodePadding:r,treeTitleHeight:a}=t,i=t.paddingXS;return{[n]:Object.assign(Object.assign({},(0,ei.Wf)(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},(0,ei.oN)(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${o}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:es,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${o}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${r}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:Object.assign({},(0,ei.oN)(t)),[`&:not(${o}-disabled).filter-node ${n}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${n}-draggable-icon`]:{flexShrink:0,width:a,lineHeight:`${a}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${o}:hover &`]:{opacity:.45}},[`&${o}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:a}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},eu(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:a,margin:0,lineHeight:`${a}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:a/2,bottom:-r,marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:a/2*.8,height:a/2,borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:i},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:a,margin:0,padding:`0 ${t.paddingXS/2}px`,color:"inherit",lineHeight:`${a}px`,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:t.controlItemBgHover},[`&${n}-node-selected`]:{backgroundColor:t.controlItemBgActive},[`${n}-iconEle`]:{display:"inline-block",width:a,height:a,lineHeight:`${a}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:`${a}px`,userSelect:"none"},ep(e,t)),[`${o}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:a/2,bottom:-r,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${o}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${a/2}px !important`}}}}})}},eh=e=>{let{treeCls:t,treeNodeCls:n,treeNodePadding:o}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:o,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:e.colorTextLightSolid,background:"transparent"}},"&-selected":{[` + &:hover::before, + &::before + `]:{background:e.colorPrimary},[`${t}-switcher`]:{color:e.colorTextLightSolid},[`${t}-node-content-wrapper`]:{color:e.colorTextLightSolid,background:"transparent"}}}}}},ev=(e,t)=>{let n=`.${e}`,o=`${n}-treenode`,r=t.paddingXS/2,a=t.controlHeightSM,i=(0,el.TS)(t,{treeCls:n,treeNodeCls:o,treeNodePadding:r,treeTitleHeight:a});return[ef(e,i),eh(i)]};var eg=(0,ec.Z)("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:(0,ea.C2)(`${n}-checkbox`,e)},ev(n,e),(0,ed.Z)(e)]});function ey(e){let{dropPosition:t,dropLevelOffset:n,prefixCls:o,indent:r,direction:a="ltr"}=e,i="ltr"===a?"left":"right",d={[i]:-n*r+4,["ltr"===a?"right":"left"]:0};switch(t){case -1:d.top=-3;break;case 1:d.bottom=-3;break;default:d.bottom=-3,d[i]=r+4}return v.createElement("div",{style:d,className:`${o}-drop-indicator`})}var ek={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},em=v.forwardRef(function(e,t){return v.createElement(W.Z,(0,a.Z)({},e,{ref:t,icon:ek}))}),eb=n(50888),eK={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},ex=v.forwardRef(function(e,t){return v.createElement(W.Z,(0,a.Z)({},e,{ref:t,icon:eK}))}),eN={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},eE=v.forwardRef(function(e,t){return v.createElement(W.Z,(0,a.Z)({},e,{ref:t,icon:eN}))}),eS=n(96159),eC=e=>{let t;let{prefixCls:n,switcherIcon:o,treeNodeProps:r,showLine:a}=e,{isLeaf:i,expanded:d,loading:l}=r;if(l)return v.createElement(eb.Z,{className:`${n}-switcher-loading-icon`});if(a&&"object"==typeof a&&(t=a.showLeafIcon),i){if(!a)return null;if("boolean"!=typeof t&&t){let e="function"==typeof t?t(r):t,o=`${n}-switcher-line-custom-icon`;return(0,eS.l$)(e)?(0,eS.Tm)(e,{className:b()(e.props.className||"",o)}):e}return t?v.createElement(q,{className:`${n}-switcher-line-icon`}):v.createElement("span",{className:`${n}-switcher-leaf-line`})}let c=`${n}-switcher-icon`,s="function"==typeof o?o(r):o;return(0,eS.l$)(s)?(0,eS.Tm)(s,{className:b()(s.props.className||"",c)}):void 0!==s?s:a?d?v.createElement(ex,{className:`${n}-switcher-line-icon`}):v.createElement(eE,{className:`${n}-switcher-line-icon`}):v.createElement(em,{className:c})};let ew=v.forwardRef((e,t)=>{let{getPrefixCls:n,direction:o,virtual:r,tree:a}=v.useContext(ee.E_),{prefixCls:i,className:d,showIcon:l=!1,showLine:c,switcherIcon:s,blockNode:u=!1,children:p,checkable:f=!1,selectable:h=!0,draggable:g,motion:y,style:k}=e,m=n("tree",i),K=n(),x=null!=y?y:Object.assign(Object.assign({},(0,eo.Z)(K)),{motionAppear:!1}),N=Object.assign(Object.assign({},e),{checkable:f,selectable:h,showIcon:l,motion:x,blockNode:u,showLine:!!c,dropIndicatorRender:ey}),[E,S]=eg(m),C=v.useMemo(()=>{if(!g)return!1;let e={};switch(typeof g){case"function":e.nodeDraggable=g;break;case"object":e=Object.assign({},g)}return!1!==e.icon&&(e.icon=e.icon||v.createElement(en,null)),e},[g]);return E(v.createElement(V,Object.assign({itemHeight:20,ref:t,virtual:r},N,{style:Object.assign(Object.assign({},null==a?void 0:a.style),k),prefixCls:m,className:b()({[`${m}-icon-hide`]:!l,[`${m}-block-node`]:u,[`${m}-unselectable`]:!h,[`${m}-rtl`]:"rtl"===o},null==a?void 0:a.className,d,S),direction:o,checkable:f?v.createElement("span",{className:`${m}-checkbox-inner`}):f,selectable:h,switcherIcon:e=>v.createElement(eC,{prefixCls:m,switcherIcon:s,treeNodeProps:e,showLine:c}),draggable:C}),p))});function eD(e,t){e.forEach(function(e){let{key:n,children:o}=e;!1!==t(n,e)&&eD(o||[],t)})}function eZ(e,t){let n=(0,c.Z)(t),o=[];return eD(e,(e,t)=>{let r=n.indexOf(e);return -1!==r&&(o.push(t),n.splice(r,1)),!!n.length}),o}(o=r||(r={}))[o.None=0]="None",o[o.Start=1]="Start",o[o.End=2]="End";var eO=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);rt.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n};function eP(e){let{isLeaf:t,expanded:n}=e;return t?v.createElement(q,null):n?v.createElement(Y,null):v.createElement(Q,null)}function eL(e){let{treeData:t,children:n}=e;return t||(0,N.zn)(n)}let eT=v.forwardRef((e,t)=>{var{defaultExpandAll:n,defaultExpandParent:o,defaultExpandedKeys:a}=e,i=eO(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);let d=v.useRef(),l=v.useRef(),s=()=>{let{keyEntities:e}=(0,N.I8)(eL(i));return n?Object.keys(e):o?(0,x.r7)(i.expandedKeys||a||[],e):i.expandedKeys||a},[u,p]=v.useState(i.selectedKeys||i.defaultSelectedKeys||[]),[f,h]=v.useState(()=>s());v.useEffect(()=>{"selectedKeys"in i&&p(i.selectedKeys)},[i.selectedKeys]),v.useEffect(()=>{"expandedKeys"in i&&h(i.expandedKeys)},[i.expandedKeys]);let{getPrefixCls:g,direction:y}=v.useContext(ee.E_),{prefixCls:k,className:m,showIcon:K=!0,expandAction:E="click"}=i,S=eO(i,["prefixCls","className","showIcon","expandAction"]),C=g("tree",k),w=b()(`${C}-directory`,{[`${C}-directory-rtl`]:"rtl"===y},m);return v.createElement(ew,Object.assign({icon:eP,ref:t,blockNode:!0},S,{showIcon:K,expandAction:E,prefixCls:C,className:w,expandedKeys:f,selectedKeys:u,onSelect:(e,t)=>{var n;let o;let{multiple:a}=i,{node:s,nativeEvent:u}=t,{key:h=""}=s,v=eL(i),g=Object.assign(Object.assign({},t),{selected:!0}),y=(null==u?void 0:u.ctrlKey)||(null==u?void 0:u.metaKey),k=null==u?void 0:u.shiftKey;a&&y?(o=e,d.current=h,l.current=o,g.selectedNodes=eZ(v,o)):a&&k?(o=Array.from(new Set([].concat((0,c.Z)(l.current||[]),(0,c.Z)(function(e){let{treeData:t,expandedKeys:n,startKey:o,endKey:a}=e,i=[],d=r.None;return o&&o===a?[o]:o&&a?(eD(t,e=>{if(d===r.End)return!1;if(e===o||e===a){if(i.push(e),d===r.None)d=r.Start;else if(d===r.Start)return d=r.End,!1}else d===r.Start&&i.push(e);return n.includes(e)}),i):[]}({treeData:v,expandedKeys:f,startKey:h,endKey:d.current}))))),g.selectedNodes=eZ(v,o)):(o=[h],d.current=h,l.current=o,g.selectedNodes=eZ(v,o)),null===(n=i.onSelect)||void 0===n||n.call(i,o,g),"selectedKeys"in i||p(o)},onExpand:(e,t)=>{var n;return"expandedKeys"in i||h(e),null===(n=i.onExpand)||void 0===n?void 0:n.call(i,e,t)}}))});ew.DirectoryTree=eT,ew.TreeNode=O.Z;var e$=ew},86128:function(e,t,n){n.d(t,{Z:function(){return E}});var o=n(87462),r=n(4942),a=n(45987),i=n(1413),d=n(15671),l=n(43144),c=n(97326),s=n(32531),u=n(73568),p=n(94184),f=n.n(p),h=n(64217),v=n(67294),g=n(27822),y=v.memo(function(e){for(var t,n=e.prefixCls,o=e.level,a=e.isStart,i=e.isEnd,d="".concat(n,"-indent-unit"),l=[],c=0;c=0&&n.splice(o,1),n}function d(e,t){var n=(e||[]).slice();return -1===n.indexOf(t)&&n.push(t),n}function l(e){return e.split("-")}function c(e,t){var n=[];return!function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.forEach(function(t){var o=t.key,r=t.children;n.push(o),e(r)})}(t[e].children),n}function s(e,t,n,o,r,a,i,d,c,s){var u,p,f=e.clientX,h=e.clientY,v=e.target.getBoundingClientRect(),g=v.top,y=v.height,k=(("rtl"===s?-1:1)*(((null==r?void 0:r.x)||0)-f)-12)/o,m=d[n.props.eventKey];if(h-1.5?a({dragNode:w,dropNode:D,dropPosition:1})?E=1:Z=!1:a({dragNode:w,dropNode:D,dropPosition:0})?E=0:a({dragNode:w,dropNode:D,dropPosition:1})?E=1:Z=!1:a({dragNode:w,dropNode:D,dropPosition:1})?E=1:Z=!1,{dropPosition:E,dropLevelOffset:S,dropTargetKey:m.key,dropTargetPos:m.pos,dragOverNodeKey:N,dropContainerKey:0===E?null:(null===(p=m.parent)||void 0===p?void 0:p.key)||null,dropAllowed:Z}}function u(e,t){if(e)return t.multiple?e.slice():e.length?[e[0]]:e}function p(e){var t;if(!e)return null;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else{if("object"!==(0,r.Z)(e))return(0,a.ZP)(!1,"`checkedKeys` is not an array or an object"),null;t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0}}return t}function f(e,t){var n=new Set;return(e||[]).forEach(function(e){!function e(o){if(!n.has(o)){var r=t[o];if(r){n.add(o);var a=r.parent;!r.node.disabled&&a&&e(a.key)}}}(e)}),(0,o.Z)(n)}n(86128),n(1089)},17341:function(e,t,n){n.d(t,{S:function(){return i}});var o=n(80334);function r(e,t){var n=new Set;return e.forEach(function(e){t.has(e)||n.add(e)}),n}function a(e){var t=e||{},n=t.disabled,o=t.disableCheckbox,r=t.checkable;return!!(n||o)||!1===r}function i(e,t,n,i){var d,l=[];d=i||a;var c=new Set(e.filter(function(e){var t=!!n[e];return t||l.push(e),t})),s=new Map,u=0;return Object.keys(n).forEach(function(e){var t=n[e],o=t.level,r=s.get(o);r||(r=new Set,s.set(o,r)),r.add(t),u=Math.max(u,o)}),(0,o.ZP)(!l.length,"Tree missing follow keys: ".concat(l.slice(0,100).map(function(e){return"'".concat(e,"'")}).join(", "))),!0===t?function(e,t,n,o){for(var a=new Set(e),i=new Set,d=0;d<=n;d+=1)(t.get(d)||new Set).forEach(function(e){var t=e.key,n=e.node,r=e.children,i=void 0===r?[]:r;a.has(t)&&!o(n)&&i.filter(function(e){return!o(e.node)}).forEach(function(e){a.add(e.key)})});for(var l=new Set,c=n;c>=0;c-=1)(t.get(c)||new Set).forEach(function(e){var t=e.parent;if(!(o(e.node)||!e.parent||l.has(e.parent.key))){if(o(e.parent.node)){l.add(t.key);return}var n=!0,r=!1;(t.children||[]).filter(function(e){return!o(e.node)}).forEach(function(e){var t=e.key,o=a.has(t);n&&!o&&(n=!1),!r&&(o||i.has(t))&&(r=!0)}),n&&a.add(t.key),r&&i.add(t.key),l.add(t.key)}});return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(r(i,a))}}(c,s,u,d):function(e,t,n,o,a){for(var i=new Set(e),d=new Set(t),l=0;l<=o;l+=1)(n.get(l)||new Set).forEach(function(e){var t=e.key,n=e.node,o=e.children,r=void 0===o?[]:o;i.has(t)||d.has(t)||a(n)||r.filter(function(e){return!a(e.node)}).forEach(function(e){i.delete(e.key)})});d=new Set;for(var c=new Set,s=o;s>=0;s-=1)(n.get(s)||new Set).forEach(function(e){var t=e.parent;if(!(a(e.node)||!e.parent||c.has(e.parent.key))){if(a(e.parent.node)){c.add(t.key);return}var n=!0,o=!1;(t.children||[]).filter(function(e){return!a(e.node)}).forEach(function(e){var t=e.key,r=i.has(t);n&&!r&&(n=!1),!o&&(r||d.has(t))&&(o=!0)}),n||i.delete(t.key),o&&d.add(t.key),c.add(t.key)}});return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(r(d,i))}}(c,t.halfCheckedKeys,s,u,d)}},1089:function(e,t,n){n.d(t,{F:function(){return k},H8:function(){return y},I8:function(){return g},km:function(){return p},oH:function(){return v},w$:function(){return f},zn:function(){return h}});var o=n(71002),r=n(74902),a=n(1413),i=n(45987),d=n(50344),l=n(98423),c=n(80334),s=["children"];function u(e,t){return"".concat(e,"-").concat(t)}function p(e,t){return null!=e?e:t}function f(e){var t=e||{},n=t.title,o=t._title,r=t.key,a=t.children,i=n||"title";return{title:i,_title:o||[i],key:r||"key",children:a||"children"}}function h(e){return function e(t){return(0,d.Z)(t).map(function(t){if(!(t&&t.type&&t.type.isTreeNode))return(0,c.ZP)(!t,"Tree/TreeNode can only accept TreeNode as children."),null;var n=t.key,o=t.props,r=o.children,d=(0,i.Z)(o,s),l=(0,a.Z)({key:n},d),u=e(r);return u.length&&(l.children=u),l}).filter(function(e){return e})}(e)}function v(e,t,n){var o=f(n),i=o._title,d=o.key,c=o.children,s=new Set(!0===t?[]:t),h=[];return!function e(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n.map(function(f,v){for(var g,y=u(o?o.pos:"0",v),k=p(f[d],y),m=0;m1&&void 0!==arguments[1]?arguments[1]:{},y=g.initWrapper,k=g.processEntity,m=g.onProcessFinished,b=g.externalGetKey,K=g.childrenPropName,x=g.fieldNames,N=arguments.length>2?arguments[2]:void 0,E={},S={},C={posEntities:E,keyEntities:S};return y&&(C=y(C)||C),t=function(e){var t=e.node,n=e.index,o=e.pos,r=e.key,a=e.parentPos,i=e.level,d={node:t,nodes:e.nodes,index:n,key:r,pos:o,level:i},l=p(r,o);E[o]=d,S[l]=d,d.parent=E[a],d.parent&&(d.parent.children=d.parent.children||[],d.parent.children.push(d)),k&&k(d,C)},n={externalGetKey:b||N,childrenPropName:K,fieldNames:x},d=(i=("object"===(0,o.Z)(n)?n:{externalGetKey:n})||{}).childrenPropName,l=i.externalGetKey,s=(c=f(i.fieldNames)).key,h=c.children,v=d||h,l?"string"==typeof l?a=function(e){return e[l]}:"function"==typeof l&&(a=function(e){return l(e)}):a=function(e,t){return p(e[s],t)},function n(o,i,d,l){var c=o?o[v]:e,s=o?u(d.pos,i):"0",p=o?[].concat((0,r.Z)(l),[o]):[];if(o){var f=a(o,s);t({node:o,index:i,pos:s,key:f,parentPos:d.node?d.pos:null,level:d.level+1,nodes:p})}c&&c.forEach(function(e,t){n(e,t,{node:o,pos:s,level:d?d.level+1:-1},p)})}(null),m&&m(C),C}function y(e,t){var n=t.expandedKeys,o=t.selectedKeys,r=t.loadedKeys,a=t.loadingKeys,i=t.checkedKeys,d=t.halfCheckedKeys,l=t.dragOverNodeKey,c=t.dropPosition,s=t.keyEntities[e];return{eventKey:e,expanded:-1!==n.indexOf(e),selected:-1!==o.indexOf(e),loaded:-1!==r.indexOf(e),loading:-1!==a.indexOf(e),checked:-1!==i.indexOf(e),halfChecked:-1!==d.indexOf(e),pos:String(s?s.pos:""),dragOver:l===e&&0===c,dragOverGapTop:l===e&&-1===c,dragOverGapBottom:l===e&&1===c}}function k(e){var t=e.data,n=e.expanded,o=e.selected,r=e.checked,i=e.loaded,d=e.loading,l=e.halfChecked,s=e.dragOver,u=e.dragOverGapTop,p=e.dragOverGapBottom,f=e.pos,h=e.active,v=e.eventKey,g=(0,a.Z)((0,a.Z)({},t),{},{expanded:n,selected:o,checked:r,loaded:i,loading:d,halfChecked:l,dragOver:s,dragOverGapTop:u,dragOverGapBottom:p,pos:f,active:h,key:v});return"props"in g||Object.defineProperty(g,"props",{get:function(){return(0,c.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),g}}}]); \ No newline at end of file diff --git a/dbgpt/app/static/_next/static/chunks/450-bd680f0e37e9b4b9.js b/dbgpt/app/static/_next/static/chunks/450-bd680f0e37e9b4b9.js new file mode 100644 index 000000000..912053005 --- /dev/null +++ b/dbgpt/app/static/_next/static/chunks/450-bd680f0e37e9b4b9.js @@ -0,0 +1,11 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[450],{6321:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(87462),o=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 244c176.18 0 319 142.82 319 319v233a32 32 0 01-32 32H225a32 32 0 01-32-32V563c0-176.18 142.82-319 319-319zM484 68h56a8 8 0 018 8v96a8 8 0 01-8 8h-56a8 8 0 01-8-8V76a8 8 0 018-8zM177.25 191.66a8 8 0 0111.32 0l67.88 67.88a8 8 0 010 11.31l-39.6 39.6a8 8 0 01-11.31 0l-67.88-67.88a8 8 0 010-11.31l39.6-39.6zm669.6 0l39.6 39.6a8 8 0 010 11.3l-67.88 67.9a8 8 0 01-11.32 0l-39.6-39.6a8 8 0 010-11.32l67.89-67.88a8 8 0 0111.31 0zM192 892h640a32 32 0 0132 32v24a8 8 0 01-8 8H168a8 8 0 01-8-8v-24a32 32 0 0132-32zm148-317v253h64V575h-64z"}}]},name:"alert",theme:"filled"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},90389:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(87462),o=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z"}}]},name:"book",theme:"outlined"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},27704:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(87462),o=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-200 0H360v-72h304v72z"}}]},name:"delete",theme:"filled"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},31484:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(87462),o=n(67294),r={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M292.7 840h438.6l24.2-512h-487z",fill:t}},{tag:"path",attrs:{d:"M864 256H736v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zm-504-72h304v72H360v-72zm371.3 656H292.7l-24.2-512h487l-24.2 512z",fill:e}}]}},name:"delete",theme:"twotone"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},80882:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(87462),o=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},31326:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(87462),o=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M396 512a112 112 0 10224 0 112 112 0 10-224 0zm546.2-25.8C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM508 688c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z"}}]},name:"eye",theme:"filled"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},31545:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(87462),o=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm144 452H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm445.7 51.5l-93.3-93.3C814.7 780.7 828 743.9 828 704c0-97.2-78.8-176-176-176s-176 78.8-176 176 78.8 176 176 176c35.8 0 69-10.7 96.8-29l94.7 94.7c1.6 1.6 3.6 2.3 5.6 2.3s4.1-.8 5.6-2.3l31-31a7.9 7.9 0 000-11.2zM652 816c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"file-search",theme:"outlined"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},27595:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(87462),o=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM320 482a8 8 0 00-8 8v48a8 8 0 008 8h384a8 8 0 008-8v-48a8 8 0 00-8-8H320zm0 136a8 8 0 00-8 8v48a8 8 0 008 8h184a8 8 0 008-8v-48a8 8 0 00-8-8H320z"}}]},name:"file-text",theme:"filled"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},27329:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(87462),o=n(67294),r={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm101.3 129.3c1.3-5.4 6.1-9.3 11.7-9.3h35.6a12.04 12.04 0 0111.6 15.1l-74.4 276c-1.4 5.3-6.2 8.9-11.6 8.9h-31.8c-5.4 0-10.2-3.7-11.6-8.9l-52.8-197-52.8 197c-1.4 5.3-6.2 8.9-11.6 8.9h-32c-5.4 0-10.2-3.7-11.6-8.9l-74.2-276a12.02 12.02 0 0111.6-15.1h35.4c5.6 0 10.4 3.9 11.7 9.3L434.6 680l49.7-198.9c1.3-5.4 6.1-9.1 11.6-9.1h32.2c5.5 0 10.3 3.7 11.6 9.1l49.8 199.3 45.8-199.1z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}},{tag:"path",attrs:{d:"M528.1 472h-32.2c-5.5 0-10.3 3.7-11.6 9.1L434.6 680l-46.1-198.7c-1.3-5.4-6.1-9.3-11.7-9.3h-35.4a12.02 12.02 0 00-11.6 15.1l74.2 276c1.4 5.2 6.2 8.9 11.6 8.9h32c5.4 0 10.2-3.6 11.6-8.9l52.8-197 52.8 197c1.4 5.2 6.2 8.9 11.6 8.9h31.8c5.4 0 10.2-3.6 11.6-8.9l74.4-276a12.04 12.04 0 00-11.6-15.1H647c-5.6 0-10.4 3.9-11.7 9.3l-45.8 199.1-49.8-199.3c-1.3-5.4-6.1-9.1-11.6-9.1z",fill:e}}]}},name:"file-word",theme:"twotone"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},68346:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(87462),o=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M693.6 284.4c-24 0-51.1 11.7-72.6 22 46.3 18 86 57.3 112.3 99.6 7.1-18.9 14.6-47.9 14.6-67.9 0-32-22.8-53.7-54.3-53.7zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm253.9 492.9H437.1c0 100.4 144.3 136 196.8 47.4h120.8c-32.6 91.7-119.7 146-216.8 146-35.1 0-70.3-.1-101.7-15.6-87.4 44.5-180.3 56.6-180.3-42 0-45.8 23.2-107.1 44-145C335 484 381.3 422.8 435.6 374.5c-43.7 18.9-91.1 66.3-122 101.2 25.9-112.8 129.5-193.6 237.1-186.5 130-59.8 209.7-34.1 209.7 38.6 0 27.4-10.6 63.3-21.4 87.9 25.2 45.5 33.3 97.6 26.9 141.2zM540.5 399.1c-53.7 0-102 39.7-104 94.9h208c-2-55.1-50.6-94.9-104-94.9zM320.6 602.9c-73 152.4 11.5 172.2 100.3 123.3-46.6-27.5-82.6-72.2-100.3-123.3z"}}]},name:"ie-circle",theme:"filled"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},64082:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(87462),o=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},88008:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(87462),o=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM726 585.7c0 55.3-44.7 100.1-99.7 100.1H420.6v53.4c0 5.7-6.5 8.8-10.9 5.3l-109.1-85.7c-3.5-2.7-3.5-8 0-10.7l109.1-85.7c4.4-3.5 10.9-.3 10.9 5.3v53.4h205.7c19.6 0 35.5-16 35.5-35.6v-78.9c0-3.7 3-6.8 6.8-6.8h50.7c3.7 0 6.8 3 6.8 6.8v79.1zm-2.6-209.9l-109.1 85.7c-4.4 3.5-10.9.3-10.9-5.3v-53.4H397.7c-19.6 0-35.5 16-35.5 35.6v78.9c0 3.7-3 6.8-6.8 6.8h-50.7c-3.7 0-6.8-3-6.8-6.8v-78.9c0-55.3 44.7-100.1 99.7-100.1h205.7v-53.4c0-5.7 6.5-8.8 10.9-5.3l109.1 85.7c3.6 2.5 3.6 7.8.1 10.5z"}}]},name:"interaction",theme:"filled"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},78346:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(87462),o=n(67294),r={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M775.3 248.9a369.62 369.62 0 00-119-80A370.2 370.2 0 00512.1 140h-1.7c-99.7.4-193 39.4-262.8 109.9-69.9 70.5-108 164.1-107.6 263.8.3 60.3 15.3 120.2 43.5 173.1l4.5 8.4V836h140.8l8.4 4.5c52.9 28.2 112.8 43.2 173.1 43.5h1.7c99 0 192-38.2 262.1-107.6 70.4-69.8 109.5-163.1 110.1-262.7.2-50.6-9.5-99.6-28.9-145.8a370.15 370.15 0 00-80-119zM312 560a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96zm200 0a48.01 48.01 0 010-96 48.01 48.01 0 010 96z",fill:t}},{tag:"path",attrs:{d:"M664 512a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}},{tag:"path",attrs:{d:"M925.2 338.4c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z",fill:e}},{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0z",fill:e}}]}},name:"message",theme:"twotone"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},18754:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(87462),o=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M865.3 244.7c-.3-.3-61.1 59.8-182.1 180.6l-84.9-84.9 180.9-180.9c-95.2-57.3-217.5-42.6-296.8 36.7A244.42 244.42 0 00419 432l1.8 6.7-283.5 283.4c-6.2 6.2-6.2 16.4 0 22.6l141.4 141.4c6.2 6.2 16.4 6.2 22.6 0l283.3-283.3 6.7 1.8c83.7 22.3 173.6-.9 236-63.3 79.4-79.3 94.1-201.6 38-296.6z"}}]},name:"tool",theme:"filled"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},28058:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(87462),o=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},38925:function(e,t,n){n.d(t,{Z:function(){return j}});var i=n(89739),o=n(4340),r=n(97937),a=n(21640),l=n(78860),c=n(94184),s=n.n(c),d=n(82225),p=n(64217),m=n(67294),g=n(96159),u=n(53124),h=n(14747),f=n(67968),$=n(45503);let v=(e,t,n,i,o)=>({backgroundColor:e,border:`${i.lineWidth}px ${i.lineType} ${t}`,[`${o}-icon`]:{color:n}}),b=e=>{let{componentCls:t,motionDurationSlow:n,marginXS:i,marginSM:o,fontSize:r,fontSizeLG:a,lineHeight:l,borderRadiusLG:c,motionEaseInOutCirc:s,alertIconSizeLG:d,colorText:p,paddingContentVerticalSM:m,alertPaddingHorizontal:g,paddingMD:u,paddingContentHorizontalLG:f,colorTextHeading:$}=e;return{[t]:Object.assign(Object.assign({},(0,h.Wf)(e)),{position:"relative",display:"flex",alignItems:"center",padding:`${m}px ${g}px`,wordWrap:"break-word",borderRadius:c,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:i,lineHeight:0},"&-description":{display:"none",fontSize:r,lineHeight:l},"&-message":{color:p},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${s}, opacity ${n} ${s}, + padding-top ${n} ${s}, padding-bottom ${n} ${s}, + margin-bottom ${n} ${s}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",paddingInline:f,paddingBlock:u,[`${t}-icon`]:{marginInlineEnd:o,fontSize:d,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:i,color:$,fontSize:a},[`${t}-description`]:{display:"block"}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},S=e=>{let{componentCls:t,colorSuccess:n,colorSuccessBorder:i,colorSuccessBg:o,colorWarning:r,colorWarningBorder:a,colorWarningBg:l,colorError:c,colorErrorBorder:s,colorErrorBg:d,colorInfo:p,colorInfoBorder:m,colorInfoBg:g}=e;return{[t]:{"&-success":v(o,i,n,e,t),"&-info":v(g,m,p,e,t),"&-warning":v(l,a,r,e,t),"&-error":Object.assign(Object.assign({},v(d,s,c,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},x=e=>{let{componentCls:t,iconCls:n,motionDurationMid:i,marginXS:o,fontSizeIcon:r,colorIcon:a,colorIconHover:l}=e;return{[t]:{"&-action":{marginInlineStart:o},[`${t}-close-icon`]:{marginInlineStart:o,padding:0,overflow:"hidden",fontSize:r,lineHeight:`${r}px`,backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:a,transition:`color ${i}`,"&:hover":{color:l}}},"&-close-text":{color:a,transition:`color ${i}`,"&:hover":{color:l}}}}},y=e=>[b(e),S(e),x(e)];var C=(0,f.Z)("Alert",e=>{let{fontSizeHeading3:t}=e,n=(0,$.TS)(e,{alertIconSizeLG:t,alertPaddingHorizontal:12});return[y(n)]}),w=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};let z={success:i.Z,info:l.Z,error:o.Z,warning:a.Z},I=e=>{let{icon:t,prefixCls:n,type:i}=e,o=z[i]||null;return t?(0,g.wm)(t,m.createElement("span",{className:`${n}-icon`},t),()=>({className:s()(`${n}-icon`,{[t.props.className]:t.props.className})})):m.createElement(o,{className:`${n}-icon`})},E=e=>{let{isClosable:t,prefixCls:n,closeIcon:i,handleClose:o}=e,a=!0===i||void 0===i?m.createElement(r.Z,null):i;return t?m.createElement("button",{type:"button",onClick:o,className:`${n}-close-icon`,tabIndex:0},a):null};var Z=e=>{let{description:t,prefixCls:n,message:i,banner:o,className:r,rootClassName:a,style:l,onMouseEnter:c,onMouseLeave:g,onClick:h,afterClose:f,showIcon:$,closable:v,closeText:b,closeIcon:S,action:x}=e,y=w(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),[z,Z]=m.useState(!1),k=m.useRef(null),{getPrefixCls:N,direction:O,alert:M}=m.useContext(u.E_),H=N("alert",n),[j,T]=C(H),B=t=>{var n;Z(!0),null===(n=e.onClose)||void 0===n||n.call(e,t)},D=m.useMemo(()=>void 0!==e.type?e.type:o?"warning":"info",[e.type,o]),P=m.useMemo(()=>!!b||("boolean"==typeof v?v:!1!==S&&null!=S),[b,S,v]),X=!!o&&void 0===$||$,R=s()(H,`${H}-${D}`,{[`${H}-with-description`]:!!t,[`${H}-no-icon`]:!X,[`${H}-banner`]:!!o,[`${H}-rtl`]:"rtl"===O},null==M?void 0:M.className,r,a,T),W=(0,p.Z)(y,{aria:!0,data:!0});return j(m.createElement(d.ZP,{visible:!z,motionName:`${H}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:f},n=>{let{className:o,style:r}=n;return m.createElement("div",Object.assign({ref:k,"data-show":!z,className:s()(R,o),style:Object.assign(Object.assign(Object.assign({},null==M?void 0:M.style),l),r),onMouseEnter:c,onMouseLeave:g,onClick:h,role:"alert"},W),X?m.createElement(I,{description:t,icon:e.icon,prefixCls:H,type:D}):null,m.createElement("div",{className:`${H}-content`},i?m.createElement("div",{className:`${H}-message`},i):null,t?m.createElement("div",{className:`${H}-description`},t):null),x?m.createElement("div",{className:`${H}-action`},x):null,m.createElement(E,{isClosable:P,prefixCls:H,closeIcon:b||S,handleClose:B}))}))},k=n(15671),N=n(43144),O=n(32531),M=n(73568);let H=function(e){(0,O.Z)(n,e);var t=(0,M.Z)(n);function n(){var e;return(0,k.Z)(this,n),e=t.apply(this,arguments),e.state={error:void 0,info:{componentStack:""}},e}return(0,N.Z)(n,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){let{message:e,description:t,children:n}=this.props,{error:i,info:o}=this.state,r=o&&o.componentStack?o.componentStack:null,a=void 0===e?(i||"").toString():e;return i?m.createElement(Z,{type:"error",message:a,description:m.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},void 0===t?r:t)}):n}}]),n}(m.Component);Z.ErrorBoundary=H;var j=Z},15746:function(e,t,n){var i=n(21584);t.Z=i.Z},47221:function(e,t,n){n.d(t,{Z:function(){return L}});var i=n(18073),o=n(94184),r=n.n(o),a=n(97685),l=n(74902),c=n(71002),s=n(21770),d=n(80334),p=n(67294),m=n(87462),g=n(45987),u=n(50344),h=n(4942),f=n(82225),$=n(15105),v=p.forwardRef(function(e,t){var n,i=e.prefixCls,o=e.forceRender,l=e.className,c=e.style,s=e.children,d=e.isActive,m=e.role,g=p.useState(d||o),u=(0,a.Z)(g,2),f=u[0],$=u[1];return(p.useEffect(function(){(o||d)&&$(!0)},[o,d]),f)?p.createElement("div",{ref:t,className:r()("".concat(i,"-content"),(n={},(0,h.Z)(n,"".concat(i,"-content-active"),d),(0,h.Z)(n,"".concat(i,"-content-inactive"),!d),n),l),style:c,role:m},p.createElement("div",{className:"".concat(i,"-content-box")},s)):null});v.displayName="PanelContent";var b=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],S=p.forwardRef(function(e,t){var n,i,o=e.showArrow,a=void 0===o||o,l=e.headerClass,c=e.isActive,s=e.onItemClick,d=e.forceRender,u=e.className,S=e.prefixCls,x=e.collapsible,y=e.accordion,C=e.panelKey,w=e.extra,z=e.header,I=e.expandIcon,E=e.openMotion,Z=e.destroyInactivePanel,k=e.children,N=(0,g.Z)(e,b),O="disabled"===x,M="header"===x,H="icon"===x,j=null!=w&&"boolean"!=typeof w,T=function(){null==s||s(C)},B="function"==typeof I?I(e):p.createElement("i",{className:"arrow"});B&&(B=p.createElement("div",{className:"".concat(S,"-expand-icon"),onClick:["header","icon"].includes(x)?T:void 0},B));var D=r()((n={},(0,h.Z)(n,"".concat(S,"-item"),!0),(0,h.Z)(n,"".concat(S,"-item-active"),c),(0,h.Z)(n,"".concat(S,"-item-disabled"),O),n),u),P={className:r()(l,(i={},(0,h.Z)(i,"".concat(S,"-header"),!0),(0,h.Z)(i,"".concat(S,"-header-collapsible-only"),M),(0,h.Z)(i,"".concat(S,"-icon-collapsible-only"),H),i)),"aria-expanded":c,"aria-disabled":O,onKeyDown:function(e){("Enter"===e.key||e.keyCode===$.Z.ENTER||e.which===$.Z.ENTER)&&T()}};return M||H||(P.onClick=T,P.role=y?"tab":"button",P.tabIndex=O?-1:0),p.createElement("div",(0,m.Z)({},N,{ref:t,className:D}),p.createElement("div",P,a&&B,p.createElement("span",{className:"".concat(S,"-header-text"),onClick:"header"===x?T:void 0},z),j&&p.createElement("div",{className:"".concat(S,"-extra")},w)),p.createElement(f.ZP,(0,m.Z)({visible:c,leavedClassName:"".concat(S,"-content-hidden")},E,{forceRender:d,removeOnLeave:Z}),function(e,t){var n=e.className,i=e.style;return p.createElement(v,{ref:t,prefixCls:S,className:n,style:i,isActive:c,forceRender:d,role:y?"tabpanel":void 0},k)}))}),x=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],y=function(e,t){var n=t.prefixCls,i=t.accordion,o=t.collapsible,r=t.destroyInactivePanel,a=t.onItemClick,l=t.activeKey,c=t.openMotion,s=t.expandIcon;return e.map(function(e,t){var d=e.children,u=e.label,h=e.key,f=e.collapsible,$=e.onItemClick,v=e.destroyInactivePanel,b=(0,g.Z)(e,x),y=String(null!=h?h:t),C=null!=f?f:o,w=!1;return w=i?l[0]===y:l.indexOf(y)>-1,p.createElement(S,(0,m.Z)({},b,{prefixCls:n,key:y,panelKey:y,isActive:w,accordion:i,openMotion:c,expandIcon:s,header:u,collapsible:C,onItemClick:function(e){"disabled"!==C&&(a(e),null==$||$(e))},destroyInactivePanel:null!=v?v:r}),d)})},C=function(e,t,n){if(!e)return null;var i=n.prefixCls,o=n.accordion,r=n.collapsible,a=n.destroyInactivePanel,l=n.onItemClick,c=n.activeKey,s=n.openMotion,d=n.expandIcon,m=e.key||String(t),g=e.props,u=g.header,h=g.headerClass,f=g.destroyInactivePanel,$=g.collapsible,v=g.onItemClick,b=!1;b=o?c[0]===m:c.indexOf(m)>-1;var S=null!=$?$:r,x={key:m,panelKey:m,header:u,headerClass:h,isActive:b,prefixCls:i,destroyInactivePanel:null!=f?f:a,openMotion:s,accordion:o,children:e.props.children,onItemClick:function(e){"disabled"!==S&&(l(e),null==v||v(e))},expandIcon:d,collapsible:S};return"string"==typeof e.type?e:(Object.keys(x).forEach(function(e){void 0===x[e]&&delete x[e]}),p.cloneElement(e,x))};function w(e){var t=e;if(!Array.isArray(t)){var n=(0,c.Z)(t);t="number"===n||"string"===n?[t]:[]}return t.map(function(e){return String(e)})}var z=Object.assign(p.forwardRef(function(e,t){var n,i=e.prefixCls,o=void 0===i?"rc-collapse":i,c=e.destroyInactivePanel,m=e.style,g=e.accordion,h=e.className,f=e.children,$=e.collapsible,v=e.openMotion,b=e.expandIcon,S=e.activeKey,x=e.defaultActiveKey,z=e.onChange,I=e.items,E=r()(o,h),Z=(0,s.Z)([],{value:S,onChange:function(e){return null==z?void 0:z(e)},defaultValue:x,postState:w}),k=(0,a.Z)(Z,2),N=k[0],O=k[1];(0,d.ZP)(!f,"`children` will be removed in next major version. Please use `items` instead.");var M=(n={prefixCls:o,accordion:g,openMotion:v,expandIcon:b,collapsible:$,destroyInactivePanel:void 0!==c&&c,onItemClick:function(e){return O(function(){return g?N[0]===e?[]:[e]:N.indexOf(e)>-1?N.filter(function(t){return t!==e}):[].concat((0,l.Z)(N),[e])})},activeKey:N},Array.isArray(I)?y(I,n):(0,u.Z)(f).map(function(e,t){return C(e,t,n)}));return p.createElement("div",{ref:t,className:E,style:m,role:g?"tablist":void 0},M)}),{Panel:S});z.Panel;var I=n(98423),E=n(33603),Z=n(96159),k=n(53124),N=n(98675);let O=p.forwardRef((e,t)=>{let{getPrefixCls:n}=p.useContext(k.E_),{prefixCls:i,className:o,showArrow:a=!0}=e,l=n("collapse",i),c=r()({[`${l}-no-arrow`]:!a},o);return p.createElement(z.Panel,Object.assign({ref:t},e,{prefixCls:l,className:c}))});var M=n(14747),H=n(33507),j=n(67968),T=n(45503);let B=e=>{let{componentCls:t,collapseContentBg:n,padding:i,collapseContentPaddingHorizontal:o,collapseHeaderBg:r,collapseHeaderPadding:a,collapseHeaderPaddingSM:l,collapseHeaderPaddingLG:c,collapsePanelBorderRadius:s,lineWidth:d,lineType:p,colorBorder:m,colorText:g,colorTextHeading:u,colorTextDisabled:h,fontSize:f,fontSizeLG:$,lineHeight:v,marginSM:b,paddingSM:S,paddingLG:x,paddingXS:y,motionDurationSlow:C,fontSizeIcon:w}=e,z=`${d}px ${p} ${m}`;return{[t]:Object.assign(Object.assign({},(0,M.Wf)(e)),{backgroundColor:r,border:z,borderBottom:0,borderRadius:`${s}px`,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:z,"&:last-child":{[` + &, + & > ${t}-header`]:{borderRadius:`0 0 ${s}px ${s}px`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:a,paddingInlineStart:S,color:u,lineHeight:v,cursor:"pointer",transition:`all ${C}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:f*v,display:"flex",alignItems:"center",paddingInlineEnd:b,marginInlineStart:i-S},[`${t}-arrow`]:Object.assign(Object.assign({},(0,M.Ro)()),{fontSize:w,svg:{transition:`transform ${C}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-header-collapsible-only`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"}},[`${t}-icon-collapsible-only`]:{cursor:"default",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:g,backgroundColor:n,borderTop:z,[`& > ${t}-content-box`]:{padding:`${i}px ${o}px`},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:l,paddingInlineStart:y,[`> ${t}-expand-icon`]:{marginInlineStart:S-y}},[`> ${t}-content > ${t}-content-box`]:{padding:S}}},"&-large":{[`> ${t}-item`]:{fontSize:$,[`> ${t}-header`]:{padding:c,paddingInlineStart:i,[`> ${t}-expand-icon`]:{height:$*v,marginInlineStart:x-i}},[`> ${t}-content > ${t}-content-box`]:{padding:x}}},[`${t}-item:last-child`]:{[`> ${t}-content`]:{borderRadius:`0 0 ${s}px ${s}px`}},[`& ${t}-item-disabled > ${t}-header`]:{[` + &, + & > .arrow + `]:{color:h,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:b}}}}})}},D=e=>{let{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow svg`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},P=e=>{let{componentCls:t,collapseHeaderBg:n,paddingXXS:i,colorBorder:o}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${o}`},[` + > ${t}-item:last-child, + > ${t}-item:last-child ${t}-header + `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:i}}}},X=e=>{let{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}};var R=(0,j.Z)("Collapse",e=>{let t=(0,T.TS)(e,{collapseContentBg:e.colorBgContainer,collapseHeaderBg:e.colorFillAlter,collapseHeaderPadding:`${e.paddingSM}px ${e.padding}px`,collapseHeaderPaddingSM:`${e.paddingXS}px ${e.paddingSM}px`,collapseHeaderPaddingLG:`${e.padding}px ${e.paddingLG}px`,collapsePanelBorderRadius:e.borderRadiusLG,collapseContentPaddingHorizontal:16});return[B(t),P(t),X(t),D(t),(0,H.Z)(t)]});let W=p.forwardRef((e,t)=>{let{getPrefixCls:n,direction:o,collapse:a}=p.useContext(k.E_),{prefixCls:l,className:c,rootClassName:s,style:d,bordered:m=!0,ghost:g,size:h,expandIconPosition:f="start",children:$,expandIcon:v}=e,b=(0,N.Z)(e=>{var t;return null!==(t=null!=h?h:e)&&void 0!==t?t:"middle"}),S=n("collapse",l),x=n(),[y,C]=R(S),w=p.useMemo(()=>"left"===f?"start":"right"===f?"end":f,[f]),O=r()(`${S}-icon-position-${w}`,{[`${S}-borderless`]:!m,[`${S}-rtl`]:"rtl"===o,[`${S}-ghost`]:!!g,[`${S}-${b}`]:"middle"!==b},null==a?void 0:a.className,c,s,C),M=Object.assign(Object.assign({},(0,E.Z)(x)),{motionAppear:!1,leavedClassName:`${S}-content-hidden`}),H=p.useMemo(()=>$?(0,u.Z)($).map((e,t)=>{var n,i;if(null===(n=e.props)||void 0===n?void 0:n.disabled){let n=null!==(i=e.key)&&void 0!==i?i:String(t),{disabled:o,collapsible:r}=e.props,a=Object.assign(Object.assign({},(0,I.Z)(e.props,["disabled"])),{key:n,collapsible:null!=r?r:o?"disabled":void 0});return(0,Z.Tm)(e,a)}return e}):null,[$]);return y(p.createElement(z,Object.assign({ref:t,openMotion:M},(0,I.Z)(e,["rootClassName"]),{expandIcon:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=v?v(e):p.createElement(i.Z,{rotate:e.isActive?90:void 0});return(0,Z.Tm)(t,()=>({className:r()(t.props.className,`${S}-arrow`)}))},prefixCls:S,className:O,style:Object.assign(Object.assign({},null==a?void 0:a.style),d)}),H))});var L=Object.assign(W,{Panel:O})},96074:function(e,t,n){n.d(t,{Z:function(){return g}});var i=n(94184),o=n.n(i),r=n(67294),a=n(53124),l=n(14747),c=n(67968),s=n(45503);let d=e=>{let{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:i,lineWidth:o}=e;return{[t]:Object.assign(Object.assign({},(0,l.Wf)(e)),{borderBlockStart:`${o}px solid ${i}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",margin:`0 ${e.dividerVerticalGutterMargin}px`,verticalAlign:"middle",borderTop:0,borderInlineStart:`${o}px solid ${i}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${i}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${o}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:"5%"},"&::after":{width:"95%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:"95%"},"&::after":{width:"5%"}},[`${t}-inner-text`]:{display:"inline-block",padding:"0 1em"},"&-dashed":{background:"none",borderColor:i,borderStyle:"dashed",borderWidth:`${o}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}};var p=(0,c.Z)("Divider",e=>{let t=(0,s.TS)(e,{dividerVerticalGutterMargin:e.marginXS,dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG});return[d(t)]},{sizePaddingEdgeHorizontal:0}),m=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n},g=e=>{let{getPrefixCls:t,direction:n,divider:i}=r.useContext(a.E_),{prefixCls:l,type:c="horizontal",orientation:s="center",orientationMargin:d,className:g,rootClassName:u,children:h,dashed:f,plain:$,style:v}=e,b=m(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),S=t("divider",l),[x,y]=p(S),C=s.length>0?`-${s}`:s,w=!!h,z="left"===s&&null!=d,I="right"===s&&null!=d,E=o()(S,null==i?void 0:i.className,y,`${S}-${c}`,{[`${S}-with-text`]:w,[`${S}-with-text${C}`]:w,[`${S}-dashed`]:!!f,[`${S}-plain`]:!!$,[`${S}-rtl`]:"rtl"===n,[`${S}-no-default-orientation-margin-left`]:z,[`${S}-no-default-orientation-margin-right`]:I},g,u),Z=r.useMemo(()=>"number"==typeof d?d:/^\d+$/.test(d)?Number(d):d,[d]),k=Object.assign(Object.assign({},z&&{marginLeft:Z}),I&&{marginRight:Z});return x(r.createElement("div",Object.assign({className:E,style:Object.assign(Object.assign({},null==i?void 0:i.style),v)},b,{role:"separator"}),h&&"vertical"!==c&&r.createElement("span",{className:`${S}-inner-text`,style:k},h)))}},25378:function(e,t,n){var i=n(67294),o=n(8410),r=n(57838),a=n(74443);t.Z=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,i.useRef)({}),n=(0,r.Z)(),l=(0,a.Z)();return(0,o.Z)(()=>{let i=l.subscribe(i=>{t.current=i,e&&n()});return()=>l.unsubscribe(i)},[]),t.current}},71230:function(e,t,n){var i=n(92820);t.Z=i.Z},75081:function(e,t,n){n.d(t,{Z:function(){return x}});var i=n(94184),o=n.n(i),r=n(98423),a=n(67294),l=n(96159),c=n(53124),s=n(23183),d=n(14747),p=n(67968),m=n(45503);let g=new s.E4("antSpinMove",{to:{opacity:1}}),u=new s.E4("antRotate",{to:{transform:"rotate(405deg)"}}),h=e=>({[`${e.componentCls}`]:Object.assign(Object.assign({},(0,d.Wf)(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${e.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${e.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-e.spinDotSize/2},[`${e.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(e.spinDotSize-e.fontSize)/2+2,textShadow:`0 1px 2px ${e.colorBgContainer}`,fontSize:e.fontSize},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSize/2)-10},"&-sm":{[`${e.componentCls}-dot`]:{margin:-e.spinDotSizeSM/2},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeSM-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeSM/2)-10}},"&-lg":{[`${e.componentCls}-dot`]:{margin:-(e.spinDotSizeLG/2)},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeLG-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeLG/2)-10}}},[`${e.componentCls}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${e.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${e.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:e.spinDotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(e.spinDotSize-e.marginXXS/2)/2,height:(e.spinDotSize-e.marginXXS/2)/2,backgroundColor:e.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:g,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:u,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeSM,i:{width:(e.spinDotSizeSM-e.marginXXS/2)/2,height:(e.spinDotSizeSM-e.marginXXS/2)/2}},[`&-lg ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeLG,i:{width:(e.spinDotSizeLG-e.marginXXS)/2,height:(e.spinDotSizeLG-e.marginXXS)/2}},[`&${e.componentCls}-show-text ${e.componentCls}-text`]:{display:"block"}})});var f=(0,p.Z)("Spin",e=>{let t=(0,m.TS)(e,{spinDotDefault:e.colorTextDescription,spinDotSize:e.controlHeightLG/2,spinDotSizeSM:.35*e.controlHeightLG,spinDotSizeLG:e.controlHeight});return[h(t)]},{contentHeight:400}),$=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};let v=null,b=e=>{let{spinPrefixCls:t,spinning:n=!0,delay:i=0,className:s,rootClassName:d,size:p="default",tip:m,wrapperClassName:g,style:u,children:h,hashId:f}=e,b=$(e,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[S,x]=a.useState(()=>n&&(!n||!i||!!isNaN(Number(i))));a.useEffect(()=>{if(n){var e;let t=function(e,t,n){var i,o=n||{},r=o.noTrailing,a=void 0!==r&&r,l=o.noLeading,c=void 0!==l&&l,s=o.debounceMode,d=void 0===s?void 0:s,p=!1,m=0;function g(){i&&clearTimeout(i)}function u(){for(var n=arguments.length,o=Array(n),r=0;re?c?(m=Date.now(),a||(i=setTimeout(d?h:u,e))):u():!0!==a&&(i=setTimeout(d?h:u,void 0===d?e-s:e)))}return u.cancel=function(e){var t=(e||{}).upcomingOnly;g(),p=!(void 0!==t&&t)},u}(i,()=>{x(!0)},{debounceMode:!1!==(void 0!==(e=({}).atBegin)&&e)});return t(),()=>{var e;null===(e=null==t?void 0:t.cancel)||void 0===e||e.call(t)}}x(!1)},[i,n]);let y=a.useMemo(()=>void 0!==h,[h]),{direction:C,spin:w}=a.useContext(c.E_),z=o()(t,null==w?void 0:w.className,{[`${t}-sm`]:"small"===p,[`${t}-lg`]:"large"===p,[`${t}-spinning`]:S,[`${t}-show-text`]:!!m,[`${t}-rtl`]:"rtl"===C},s,d,f),I=o()(`${t}-container`,{[`${t}-blur`]:S}),E=(0,r.Z)(b,["indicator","prefixCls"]),Z=Object.assign(Object.assign({},null==w?void 0:w.style),u),k=a.createElement("div",Object.assign({},E,{style:Z,className:z,"aria-live":"polite","aria-busy":S}),function(e,t){let{indicator:n}=t,i=`${e}-dot`;return null===n?null:(0,l.l$)(n)?(0,l.Tm)(n,{className:o()(n.props.className,i)}):(0,l.l$)(v)?(0,l.Tm)(v,{className:o()(v.props.className,i)}):a.createElement("span",{className:o()(i,`${e}-dot-spin`)},a.createElement("i",{className:`${e}-dot-item`,key:1}),a.createElement("i",{className:`${e}-dot-item`,key:2}),a.createElement("i",{className:`${e}-dot-item`,key:3}),a.createElement("i",{className:`${e}-dot-item`,key:4}))}(t,e),m&&y?a.createElement("div",{className:`${t}-text`},m):null);return y?a.createElement("div",Object.assign({},E,{className:o()(`${t}-nested-loading`,g,f)}),S&&a.createElement("div",{key:"loading"},k),a.createElement("div",{className:I,key:"container"},h)):k},S=e=>{let{prefixCls:t}=e,{getPrefixCls:n}=a.useContext(c.E_),i=n("spin",t),[o,r]=f(i),l=Object.assign(Object.assign({},e),{spinPrefixCls:i,hashId:r});return o(a.createElement(b,Object.assign({},l)))};S.setDefaultIndicator=e=>{v=e};var x=S},3363:function(e,t,n){n.d(t,{Z:function(){return V}});var i,o,r=n(63606),a=n(97937),l=n(94184),c=n.n(l),s=n(87462),d=n(1413),p=n(4942),m=n(45987),g=n(67294),u=n(15105),h=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function f(e){return"string"==typeof e}var $=function(e){var t,n,i,o,r,a=e.className,l=e.prefixCls,$=e.style,v=e.active,b=e.status,S=e.iconPrefix,x=e.icon,y=(e.wrapperStyle,e.stepNumber),C=e.disabled,w=e.description,z=e.title,I=e.subTitle,E=e.progressDot,Z=e.stepIcon,k=e.tailContent,N=e.icons,O=e.stepIndex,M=e.onStepClick,H=e.onClick,j=e.render,T=(0,m.Z)(e,h),B={};M&&!C&&(B.role="button",B.tabIndex=0,B.onClick=function(e){null==H||H(e),M(O)},B.onKeyDown=function(e){var t=e.which;(t===u.Z.ENTER||t===u.Z.SPACE)&&M(O)});var D=b||"wait",P=c()("".concat(l,"-item"),"".concat(l,"-item-").concat(D),a,(r={},(0,p.Z)(r,"".concat(l,"-item-custom"),x),(0,p.Z)(r,"".concat(l,"-item-active"),v),(0,p.Z)(r,"".concat(l,"-item-disabled"),!0===C),r)),X=(0,d.Z)({},$),R=g.createElement("div",(0,s.Z)({},T,{className:P,style:X}),g.createElement("div",(0,s.Z)({onClick:H},B,{className:"".concat(l,"-item-container")}),g.createElement("div",{className:"".concat(l,"-item-tail")},k),g.createElement("div",{className:"".concat(l,"-item-icon")},(i=c()("".concat(l,"-icon"),"".concat(S,"icon"),(t={},(0,p.Z)(t,"".concat(S,"icon-").concat(x),x&&f(x)),(0,p.Z)(t,"".concat(S,"icon-check"),!x&&"finish"===b&&(N&&!N.finish||!N)),(0,p.Z)(t,"".concat(S,"icon-cross"),!x&&"error"===b&&(N&&!N.error||!N)),t)),o=g.createElement("span",{className:"".concat(l,"-icon-dot")}),n=E?"function"==typeof E?g.createElement("span",{className:"".concat(l,"-icon")},E(o,{index:y-1,status:b,title:z,description:w})):g.createElement("span",{className:"".concat(l,"-icon")},o):x&&!f(x)?g.createElement("span",{className:"".concat(l,"-icon")},x):N&&N.finish&&"finish"===b?g.createElement("span",{className:"".concat(l,"-icon")},N.finish):N&&N.error&&"error"===b?g.createElement("span",{className:"".concat(l,"-icon")},N.error):x||"finish"===b||"error"===b?g.createElement("span",{className:i}):g.createElement("span",{className:"".concat(l,"-icon")},y),Z&&(n=Z({index:y-1,status:b,title:z,description:w,node:n})),n)),g.createElement("div",{className:"".concat(l,"-item-content")},g.createElement("div",{className:"".concat(l,"-item-title")},z,I&&g.createElement("div",{title:"string"==typeof I?I:void 0,className:"".concat(l,"-item-subtitle")},I)),w&&g.createElement("div",{className:"".concat(l,"-item-description")},w))));return j&&(R=j(R)||null),R},v=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function b(e){var t,n=e.prefixCls,i=void 0===n?"rc-steps":n,o=e.style,r=void 0===o?{}:o,a=e.className,l=(e.children,e.direction),u=e.type,h=void 0===u?"default":u,f=e.labelPlacement,b=e.iconPrefix,S=void 0===b?"rc":b,x=e.status,y=void 0===x?"process":x,C=e.size,w=e.current,z=void 0===w?0:w,I=e.progressDot,E=e.stepIcon,Z=e.initial,k=void 0===Z?0:Z,N=e.icons,O=e.onChange,M=e.itemRender,H=e.items,j=(0,m.Z)(e,v),T="inline"===h,B=T||void 0!==I&&I,D=T?"horizontal":void 0===l?"horizontal":l,P=T?void 0:C,X=B?"vertical":void 0===f?"horizontal":f,R=c()(i,"".concat(i,"-").concat(D),a,(t={},(0,p.Z)(t,"".concat(i,"-").concat(P),P),(0,p.Z)(t,"".concat(i,"-label-").concat(X),"horizontal"===D),(0,p.Z)(t,"".concat(i,"-dot"),!!B),(0,p.Z)(t,"".concat(i,"-navigation"),"navigation"===h),(0,p.Z)(t,"".concat(i,"-inline"),T),t)),W=function(e){O&&z!==e&&O(e)};return g.createElement("div",(0,s.Z)({className:R,style:r},j),(void 0===H?[]:H).filter(function(e){return e}).map(function(e,t){var n=(0,d.Z)({},e),o=k+t;return"error"===y&&t===z-1&&(n.className="".concat(i,"-next-error")),n.status||(o===z?n.status=y:o{let{componentCls:t,customIconTop:n,customIconSize:i,customIconFontSize:o}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:n,width:i,height:i,fontSize:o,lineHeight:`${o}px`}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},k=e=>{let{componentCls:t,inlineDotSize:n,inlineTitleColor:i,inlineTailColor:o}=e,r=e.paddingXS+e.lineWidth,a={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:i}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${r}px ${e.paddingXXS}px 0`,margin:`0 ${e.marginXXS/2}px`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:n,height:n,marginInlineStart:`calc(50% - ${n/2}px)`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.fontSizeSM/4}},"&-content":{width:"auto",marginTop:e.marginXS-e.lineWidth},"&-title":{color:i,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.marginXXS/2},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:r+n/2,transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:o}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:e.colorBorderBg,border:`${e.lineWidth}px ${e.lineType} ${o}`}},a),"&-finish":Object.assign({[`${t}-item-tail::after`]:{backgroundColor:o},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:o,border:`${e.lineWidth}px ${e.lineType} ${o}`}},a),"&-error":a,"&-active, &-process":Object.assign({[`${t}-item-icon`]:{width:n,height:n,marginInlineStart:`calc(50% - ${n/2}px)`,top:0}},a),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:i}}}}}},N=e=>{let{componentCls:t,iconSize:n,lineHeight:i,iconSizeSM:o}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:n/2+e.controlHeightLG,padding:`${e.paddingXXS}px ${e.paddingLG}px`},"&-content":{display:"block",width:(n/2+e.controlHeightLG)*2,marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:i}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.controlHeightLG+(n-o)/2}}}}}},O=e=>{let{componentCls:t,navContentMaxWidth:n,navArrowColor:i,stepsNavActiveColor:o,motionDurationSlow:r}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:-e.marginSM}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:-e.margin,paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${r}`,[`${t}-item-content`]:{maxWidth:n},[`${t}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},z.vS),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${e.paddingSM/2}px)`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${e.lineWidth}px ${e.lineType} ${i}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${i}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:o,transition:`width ${r}, inset-inline-start ${r}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:3*e.lineWidth,height:`calc(100% - ${e.marginLG}px)`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:.25*e.controlHeight,height:.25*e.controlHeight,marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},M=e=>{let{antCls:t,componentCls:n}=e;return{[`&${n}-with-progress`]:{[`${n}-item`]:{paddingTop:e.paddingXXS,[`&-process ${n}-item-container ${n}-item-icon ${n}-icon`]:{color:e.processIconColor}},[`&${n}-vertical > ${n}-item `]:{paddingInlineStart:e.paddingXXS,[`> ${n}-item-container > ${n}-item-tail`]:{top:e.marginXXS,insetInlineStart:e.iconSize/2-e.lineWidth+e.paddingXXS}},[`&, &${n}-small`]:{[`&${n}-horizontal ${n}-item:first-child`]:{paddingBottom:e.paddingXXS,paddingInlineStart:e.paddingXXS}},[`&${n}-small${n}-vertical > ${n}-item > ${n}-item-container > ${n}-item-tail`]:{insetInlineStart:e.iconSizeSM/2-e.lineWidth+e.paddingXXS},[`&${n}-label-vertical`]:{[`${n}-item ${n}-item-tail`]:{top:e.margin-2*e.lineWidth}},[`${n}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetBlockStart:(e.iconSize-e.stepsProgressSize-2*e.lineWidth)/2,insetInlineStart:(e.iconSize-e.stepsProgressSize-2*e.lineWidth)/2}}}}},H=e=>{let{componentCls:t,descriptionMaxWidth:n,lineHeight:i,dotCurrentSize:o,dotSize:r,motionDurationSlow:a}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:i},"&-tail":{top:Math.floor((e.dotSize-3*e.lineWidth)/2),width:"100%",marginTop:0,marginBottom:0,marginInline:`${n/2}px 0`,padding:0,"&::after":{width:`calc(100% - ${2*e.marginSM}px)`,height:3*e.lineWidth,marginInlineStart:e.marginSM}},"&-icon":{width:r,height:r,marginInlineStart:(e.descriptionMaxWidth-r)/2,paddingInlineEnd:0,lineHeight:`${r}px`,background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${a}`,"&::after":{position:"absolute",top:-e.marginSM,insetInlineStart:(r-1.5*e.controlHeightLG)/2,width:1.5*e.controlHeightLG,height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:n},[`&-process ${t}-item-icon`]:{position:"relative",top:(r-o)/2,width:o,height:o,lineHeight:`${o}px`,background:"none",marginInlineStart:(e.descriptionMaxWidth-o)/2},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:(e.controlHeight-r)/2,marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:(e.controlHeight-o)/2,top:0,insetInlineStart:(r-o)/2,marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:(e.controlHeight-r)/2,insetInlineStart:0,margin:0,padding:`${r+e.paddingXS}px 0 ${e.paddingXS}px`,"&::after":{marginInlineStart:(r-e.lineWidth)/2}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:(e.controlHeightSM-r)/2},[`${t}-item-process ${t}-item-icon`]:{marginTop:(e.controlHeightSM-o)/2},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:(e.controlHeightSM-r)/2}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},j=e=>{let{componentCls:t}=e;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},T=e=>{let{componentCls:t,iconSizeSM:n,fontSizeSM:i,fontSize:o,colorTextDescription:r}=e;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:n,height:n,marginTop:0,marginBottom:0,marginInline:`0 ${e.marginXS}px`,fontSize:i,lineHeight:`${n}px`,textAlign:"center",borderRadius:n},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:o,lineHeight:`${n}px`,"&::after":{top:n/2}},[`${t}-item-description`]:{color:r,fontSize:o},[`${t}-item-tail`]:{top:n/2-e.paddingXXS},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:n,lineHeight:`${n}px`,transform:"none"}}}}},B=e=>{let{componentCls:t,iconSizeSM:n,iconSize:i}=e;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:e.margin},[`${t}-item-content`]:{display:"block",minHeight:1.5*e.controlHeight,overflow:"hidden"},[`${t}-item-title`]:{lineHeight:`${i}px`},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:i/2-e.lineWidth,width:e.lineWidth,height:"100%",padding:`${i+1.5*e.marginXXS}px 0 ${1.5*e.marginXXS}px`,"&::after":{width:e.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:n/2-e.lineWidth,padding:`${n+1.5*e.marginXXS}px 0 ${1.5*e.marginXXS}px`},[`${t}-item-title`]:{lineHeight:`${n}px`}}}}};(i=o||(o={})).wait="wait",i.process="process",i.finish="finish",i.error="error";let D=(e,t)=>{let n=`${t.componentCls}-item`,i=`${e}IconColor`,o=`${e}TitleColor`,r=`${e}DescriptionColor`,a=`${e}TailColor`,l=`${e}IconBgColor`,c=`${e}IconBorderColor`,s=`${e}DotColor`;return{[`${n}-${e} ${n}-icon`]:{backgroundColor:t[l],borderColor:t[c],[`> ${t.componentCls}-icon`]:{color:t[i],[`${t.componentCls}-icon-dot`]:{background:t[s]}}},[`${n}-${e}${n}-custom ${n}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[s]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-title`]:{color:t[o],"&::after":{backgroundColor:t[a]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-description`]:{color:t[r]},[`${n}-${e} > ${n}-container > ${n}-tail::after`]:{backgroundColor:t[a]}}},P=e=>{let{componentCls:t,motionDurationSlow:n}=e,i=`${t}-item`,r=`${i}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[i]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${i}-container > ${i}-tail, > ${i}-container > ${i}-content > ${i}-title::after`]:{display:"none"}}},[`${i}-container`]:{outline:"none","&:focus-visible":{[r]:Object.assign({},(0,z.oN)(e))}},[`${r}, ${i}-content`]:{display:"inline-block",verticalAlign:"top"},[r]:{width:e.iconSize,height:e.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:`${e.iconSize}px`,textAlign:"center",borderRadius:e.iconSize,border:`${e.lineWidth}px ${e.lineType} transparent`,transition:`background-color ${n}, border-color ${n}`,[`${t}-icon`]:{position:"relative",top:e.iconTop,color:e.colorPrimary,lineHeight:1}},[`${i}-tail`]:{position:"absolute",top:e.iconSize/2-e.paddingXXS,insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${n}`,content:'""'}},[`${i}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:`${e.titleLineHeight}px`,"&::after":{position:"absolute",top:e.titleLineHeight/2,insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${i}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${i}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},D(o.wait,e)),D(o.process,e)),{[`${i}-process > ${i}-container > ${i}-title`]:{fontWeight:e.fontWeightStrong}}),D(o.finish,e)),D(o.error,e)),{[`${i}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${i}-disabled`]:{cursor:"not-allowed"}})},X=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${n}`}},"&:hover":{[`${t}-item`]:{"&-title, &-subtitle, &-description":{color:e.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:e.colorPrimary,[`${t}-icon`]:{color:e.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionMaxWidth,whiteSpace:"normal"}}}}},R=e=>{let{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,z.Wf)(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),P(e)),X(e)),Z(e)),T(e)),B(e)),N(e)),H(e)),O(e)),j(e)),M(e)),k(e))}};var W=(0,I.Z)("Steps",e=>{let{wireframe:t,colorTextDisabled:n,controlHeightLG:i,colorTextLightSolid:o,colorText:r,colorPrimary:a,colorTextLabel:l,colorTextDescription:c,colorTextQuaternary:s,colorFillContent:d,controlItemBgActive:p,colorError:m,colorBgContainer:g,colorBorderSecondary:u,colorSplit:h}=e,f=(0,E.TS)(e,{processIconColor:o,processTitleColor:r,processDescriptionColor:r,processIconBgColor:a,processIconBorderColor:a,processDotColor:a,processTailColor:h,waitIconColor:t?n:l,waitTitleColor:c,waitDescriptionColor:c,waitTailColor:h,waitIconBgColor:t?g:d,waitIconBorderColor:t?n:"transparent",waitDotColor:n,finishIconColor:a,finishTitleColor:r,finishDescriptionColor:c,finishTailColor:a,finishIconBgColor:t?g:p,finishIconBorderColor:t?a:p,finishDotColor:a,errorIconColor:o,errorTitleColor:m,errorDescriptionColor:m,errorTailColor:h,errorIconBgColor:m,errorIconBorderColor:m,errorDotColor:m,stepsNavActiveColor:a,stepsProgressSize:i,inlineDotSize:6,inlineTitleColor:s,inlineTailColor:u});return[R(f)]},e=>{let{colorTextDisabled:t,fontSize:n,controlHeightSM:i,controlHeight:o,controlHeightLG:r,fontSizeHeading3:a}=e;return{titleLineHeight:o,customIconSize:o,customIconTop:0,customIconFontSize:i,iconSize:o,iconTop:-.5,iconFontSize:n,iconSizeSM:a,dotSize:o/4,dotCurrentSize:r/4,navArrowColor:t,navContentMaxWidth:"auto",descriptionMaxWidth:140}}),L=n(50344),A=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};let G=e=>{let{percent:t,size:n,className:i,rootClassName:o,direction:l,items:s,responsive:d=!0,current:p=0,children:m,style:u}=e,h=A(e,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:f}=(0,y.Z)(d),{getPrefixCls:$,direction:v,steps:z}=g.useContext(S.E_),I=g.useMemo(()=>d&&f?"vertical":l,[f,l]),E=(0,x.Z)(n),Z=$("steps",e.prefixCls),[k,N]=W(Z),O="inline"===e.type,M=$("",e.iconPrefix),H=function(e,t){if(e)return e;let n=(0,L.Z)(t).map(e=>{if(g.isValidElement(e)){let{props:t}=e,n=Object.assign({},t);return n}return null});return n.filter(e=>e)}(s,m),j=O?void 0:t,T=Object.assign(Object.assign({},null==z?void 0:z.style),u),B=c()(null==z?void 0:z.className,{[`${Z}-rtl`]:"rtl"===v,[`${Z}-with-progress`]:void 0!==j},i,o,N),D={finish:g.createElement(r.Z,{className:`${Z}-finish-icon`}),error:g.createElement(a.Z,{className:`${Z}-error-icon`})};return k(g.createElement(b,Object.assign({icons:D},h,{style:T,current:p,size:E,items:H,itemRender:O?(e,t)=>e.description?g.createElement(w.Z,{title:e.description},t):t:void 0,stepIcon:e=>{let{node:t,status:n}=e;return"process"===n&&void 0!==j?g.createElement("div",{className:`${Z}-progress-icon`},g.createElement(C.Z,{type:"circle",percent:j,size:"small"===E?32:40,strokeWidth:4,format:()=>null}),t):t},direction:I,prefixCls:Z,iconPrefix:M,className:B})))};G.Step=b.Step;var V=G},50132:function(e,t,n){var i=n(87462),o=n(1413),r=n(4942),a=n(97685),l=n(45987),c=n(94184),s=n.n(c),d=n(21770),p=n(67294),m=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],g=(0,p.forwardRef)(function(e,t){var n,c=e.prefixCls,g=void 0===c?"rc-checkbox":c,u=e.className,h=e.style,f=e.checked,$=e.disabled,v=e.defaultChecked,b=e.type,S=void 0===b?"checkbox":b,x=e.title,y=e.onChange,C=(0,l.Z)(e,m),w=(0,p.useRef)(null),z=(0,d.Z)(void 0!==v&&v,{value:f}),I=(0,a.Z)(z,2),E=I[0],Z=I[1];(0,p.useImperativeHandle)(t,function(){return{focus:function(){var e;null===(e=w.current)||void 0===e||e.focus()},blur:function(){var e;null===(e=w.current)||void 0===e||e.blur()},input:w.current}});var k=s()(g,u,(n={},(0,r.Z)(n,"".concat(g,"-checked"),E),(0,r.Z)(n,"".concat(g,"-disabled"),$),n));return p.createElement("span",{className:k,title:x,style:h},p.createElement("input",(0,i.Z)({},C,{className:"".concat(g,"-input"),ref:w,onChange:function(t){$||("checked"in e||Z(t.target.checked),null==y||y({target:(0,o.Z)((0,o.Z)({},e),{},{type:S,checked:t.target.checked}),stopPropagation:function(){t.stopPropagation()},preventDefault:function(){t.preventDefault()},nativeEvent:t.nativeEvent}))},disabled:$,checked:!!E,type:S})),p.createElement("span",{className:"".concat(g,"-inner")}))});t.Z=g}}]); \ No newline at end of file diff --git a/dbgpt/app/static/_next/static/chunks/479-33b3ebe9be79a971.js b/dbgpt/app/static/_next/static/chunks/479-33b3ebe9be79a971.js new file mode 100644 index 000000000..b22006b12 --- /dev/null +++ b/dbgpt/app/static/_next/static/chunks/479-33b3ebe9be79a971.js @@ -0,0 +1,9 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[479],{39479:function(e,t,n){n.d(t,{Z:function(){return eI}});var r=n(74902),l=n(94184),i=n.n(l),o=n(82225),a=n(67294),s=n(33603),c=n(65223);function u(e){let[t,n]=a.useState(e);return a.useEffect(()=>{let t=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(t)}},[e]),t}var d=n(14747),m=n(50438),p=n(33507),f=n(45503),g=n(67968),h=e=>{let{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, + opacity ${e.motionDurationSlow} ${e.motionEaseInOut}, + transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}};let b=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`},label:{fontSize:e.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},[`input[type='file']:focus, + input[type='radio']:focus, + input[type='checkbox']:focus`]:{outline:0,boxShadow:`0 0 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),y=(e,t)=>{let{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},v=e=>{let{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},(0,d.Wf)(e)),b(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},y(e,e.controlHeightSM)),"&-large":Object.assign({},y(e,e.controlHeightLG))})}},$=e=>{let{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:l}=e;return{[t]:Object.assign(Object.assign({},(0,d.Wf)(e)),{marginBottom:e.marginLG,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, + &-hidden.${l}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${e.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:e.controlHeight,color:e.colorTextHeading,fontSize:e.fontSize,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:e.colorError,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:e.marginXXS/2,marginInlineEnd:e.marginXS},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${l}-col-'"]):not([class*="' ${l}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:m.kr,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},x=e=>{let{componentCls:t,formItemCls:n}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:"unset"}}}}},w=e=>{let{componentCls:t,formItemCls:n}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${n}-label, + > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},E=e=>({padding:`0 0 ${e.paddingXS}px`,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),O=e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:E(e),[t]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},S=e=>{let{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${t}-vertical`]:{[n]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${t}-item-control`]:{width:"100%"}}},[`${t}-vertical ${n}-label, + .${r}-col-24${n}-label, + .${r}-col-xl-24${n}-label`]:E(e),[`@media (max-width: ${e.screenXSMax}px)`]:[O(e),{[t]:{[`.${r}-col-xs-24${n}-label`]:E(e)}}],[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{[`.${r}-col-sm-24${n}-label`]:E(e)}},[`@media (max-width: ${e.screenMDMax}px)`]:{[t]:{[`.${r}-col-md-24${n}-label`]:E(e)}},[`@media (max-width: ${e.screenLGMax}px)`]:{[t]:{[`.${r}-col-lg-24${n}-label`]:E(e)}}}},j=(e,t)=>{let n=(0,f.TS)(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t});return n};var C=(0,g.Z)("Form",(e,t)=>{let{rootPrefixCls:n}=t,r=j(e,n);return[v(r),$(r),h(r),x(r),w(r),S(r),(0,p.Z)(r),m.kr]},null,{order:-1e3});let k=[];function M(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return{key:"string"==typeof e?e:`${t}-${r}`,error:e,errorStatus:n}}var N=e=>{let{help:t,helpStatus:n,errors:l=k,warnings:d=k,className:m,fieldId:p,onVisibleChanged:f}=e,{prefixCls:g}=a.useContext(c.Rk),h=`${g}-item-explain`,[,b]=C(g),y=(0,a.useMemo)(()=>(0,s.Z)(g),[g]),v=u(l),$=u(d),x=a.useMemo(()=>null!=t?[M(t,"help",n)]:[].concat((0,r.Z)(v.map((e,t)=>M(e,"error","error",t))),(0,r.Z)($.map((e,t)=>M(e,"warning","warning",t)))),[t,n,v,$]),w={};return p&&(w.id=`${p}_help`),a.createElement(o.ZP,{motionDeadline:y.motionDeadline,motionName:`${g}-show-help`,visible:!!x.length,onVisibleChanged:f},e=>{let{className:t,style:n}=e;return a.createElement("div",Object.assign({},w,{className:i()(h,t,m,b),style:n,role:"alert"}),a.createElement(o.V4,Object.assign({keys:x},(0,s.Z)(g),{motionName:`${g}-show-help-item`,component:!1}),e=>{let{key:t,error:n,errorStatus:r,className:l,style:o}=e;return a.createElement("div",{key:t,className:i()(l,{[`${h}-${r}`]:r}),style:o},n)}))})},I=n(43589),Z=n(53124),q=n(98866),W=n(97647),_=n(98675);let H=e=>"object"==typeof e&&null!=e&&1===e.nodeType,F=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,P=(e,t)=>{if(e.clientHeight{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeightit||i>e&&o=t&&a>=n?i-e-r:o>t&&an?o-t+l:0,z=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},T=(e,t)=>{var n,r,l,i;if("undefined"==typeof document)return[];let{scrollMode:o,block:a,inline:s,boundary:c,skipOverflowHiddenElements:u}=t,d="function"==typeof c?c:e=>e!==c;if(!H(e))throw TypeError("Invalid target");let m=document.scrollingElement||document.documentElement,p=[],f=e;for(;H(f)&&d(f);){if((f=z(f))===m){p.push(f);break}null!=f&&f===document.body&&P(f)&&!P(document.documentElement)||null!=f&&P(f,u)&&p.push(f)}let g=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,h=null!=(i=null==(l=window.visualViewport)?void 0:l.height)?i:innerHeight,{scrollX:b,scrollY:y}=window,{height:v,width:$,top:x,right:w,bottom:E,left:O}=e.getBoundingClientRect(),S="start"===a||"nearest"===a?x:"end"===a?E:x+v/2,j="center"===s?O+$/2:"end"===s?w:O,C=[];for(let e=0;e=0&&O>=0&&E<=h&&w<=g&&x>=l&&E<=c&&O>=u&&w<=i)break;let d=getComputedStyle(t),f=parseInt(d.borderLeftWidth,10),k=parseInt(d.borderTopWidth,10),M=parseInt(d.borderRightWidth,10),N=parseInt(d.borderBottomWidth,10),I=0,Z=0,q="offsetWidth"in t?t.offsetWidth-t.clientWidth-f-M:0,W="offsetHeight"in t?t.offsetHeight-t.clientHeight-k-N:0,_="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,H="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(m===t)I="start"===a?S:"end"===a?S-h:"nearest"===a?R(y,y+h,h,k,N,y+S,y+S+v,v):S-h/2,Z="start"===s?j:"center"===s?j-g/2:"end"===s?j-g:R(b,b+g,g,f,M,b+j,b+j+$,$),I=Math.max(0,I+y),Z=Math.max(0,Z+b);else{I="start"===a?S-l-k:"end"===a?S-c+N+W:"nearest"===a?R(l,c,n,k,N+W,S,S+v,v):S-(l+n/2)+W/2,Z="start"===s?j-u-f:"center"===s?j-(u+r/2)+q/2:"end"===s?j-i+M+q:R(u,i,r,f,M+q,j,j+$,$);let{scrollLeft:e,scrollTop:o}=t;I=Math.max(0,Math.min(o+I/H,t.scrollHeight-n/H+W)),Z=Math.max(0,Math.min(e+Z/_,t.scrollWidth-r/_+q)),S+=o-I,j+=e-Z}C.push({el:t,top:I,left:Z})}return C},D=e=>!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"},V=["parentNode"];function A(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function B(e,t){if(!e.length)return;let n=e.join("_");if(t)return`${t}_${n}`;let r=V.includes(n);return r?`form_item_${n}`:n}function L(e){let t=A(e);return t.join("_")}function X(e){let[t]=(0,I.cI)(),n=a.useRef({}),r=a.useMemo(()=>null!=e?e:Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:e=>t=>{let r=L(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=A(e),l=B(n,r.__INTERNAL__.name),i=l?document.getElementById(l):null;i&&function(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(T(e,t));let n="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:r,top:l,left:i}of T(e,D(t)))r.scroll({top:l,left:i,behavior:n})}(i,Object.assign({scrollMode:"if-needed",block:"nearest"},t))},getFieldInstance:e=>{let t=L(e);return n.current[t]}}),[e,t]);return[r]}var G=n(37920),Y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let K=a.forwardRef((e,t)=>{let n=a.useContext(q.Z),{getPrefixCls:r,direction:l,form:o}=a.useContext(Z.E_),{prefixCls:s,className:u,rootClassName:d,size:m,disabled:p=n,form:f,colon:g,labelAlign:h,labelWrap:b,labelCol:y,wrapperCol:v,hideRequiredMark:$,layout:x="horizontal",scrollToFirstError:w,requiredMark:E,onFinishFailed:O,name:S,style:j}=e,k=Y(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style"]),M=(0,_.Z)(m),N=a.useContext(G.Z),H=(0,a.useMemo)(()=>void 0!==E?E:o&&void 0!==o.requiredMark?o.requiredMark:!$,[$,E,o]),F=null!=g?g:null==o?void 0:o.colon,P=r("form",s),[R,z]=C(P),T=i()(P,`${P}-${x}`,{[`${P}-hide-required-mark`]:!1===H,[`${P}-rtl`]:"rtl"===l,[`${P}-${M}`]:M},z,null==o?void 0:o.className,u,d),[D]=X(f),{__INTERNAL__:V}=D;V.name=S;let A=(0,a.useMemo)(()=>({name:S,labelAlign:h,labelCol:y,labelWrap:b,wrapperCol:v,vertical:"vertical"===x,colon:F,requiredMark:H,itemRef:V.itemRef,form:D}),[S,h,y,v,x,F,H,D]);a.useImperativeHandle(t,()=>D);let B=(e,t)=>{if(e){let n={block:"nearest"};"object"==typeof e&&(n=e),D.scrollToField(t,n)}};return R(a.createElement(q.n,{disabled:p},a.createElement(W.q,{size:M},a.createElement(c.RV,{validateMessages:N},a.createElement(c.q3.Provider,{value:A},a.createElement(I.ZP,Object.assign({id:S},k,{name:S,onFinishFailed:e=>{if(null==O||O(e),e.errorFields.length){let t=e.errorFields[0].name;if(void 0!==w){B(w,t);return}o&&void 0!==o.scrollToFirstError&&B(o.scrollToFirstError,t)}},form:D,style:Object.assign(Object.assign({},null==o?void 0:o.style),j),className:T})))))))});var Q=n(30470),U=n(42550),J=n(96159);let ee=()=>{let{status:e,errors:t=[],warnings:n=[]}=(0,a.useContext)(c.aM);return{status:e,errors:t,warnings:n}};ee.Context=c.aM;var et=n(75164),en=n(89739),er=n(4340),el=n(21640),ei=n(50888),eo=n(8410),ea=n(5110),es=n(98423),ec=n(92820),eu=n(21584);let ed=e=>{let{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}};var em=(0,g.b)(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t,r=j(e,n);return[ed(r)]}),ep=e=>{let{prefixCls:t,status:n,wrapperCol:r,children:l,errors:o,warnings:s,_internalItemRender:u,extra:d,help:m,fieldId:p,marginBottom:f,onErrorVisibleChanged:g}=e,h=`${t}-item`,b=a.useContext(c.q3),y=r||b.wrapperCol||{},v=i()(`${h}-control`,y.className),$=a.useMemo(()=>Object.assign({},b),[b]);delete $.labelCol,delete $.wrapperCol;let x=a.createElement("div",{className:`${h}-control-input`},a.createElement("div",{className:`${h}-control-input-content`},l)),w=a.useMemo(()=>({prefixCls:t,status:n}),[t,n]),E=null!==f||o.length||s.length?a.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},a.createElement(c.Rk.Provider,{value:w},a.createElement(N,{fieldId:p,errors:o,warnings:s,help:m,helpStatus:n,className:`${h}-explain-connected`,onVisibleChanged:g})),!!f&&a.createElement("div",{style:{width:0,height:f}})):null,O={};p&&(O.id=`${p}_extra`);let S=d?a.createElement("div",Object.assign({},O,{className:`${h}-extra`}),d):null,j=u&&"pro_table_render"===u.mark&&u.render?u.render(e,{input:x,errorList:E,extra:S}):a.createElement(a.Fragment,null,x,E,S);return a.createElement(c.q3.Provider,{value:$},a.createElement(eu.Z,Object.assign({},y,{className:v}),j),a.createElement(em,{prefixCls:t}))},ef=n(87462),eg={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},eh=n(84089),eb=a.forwardRef(function(e,t){return a.createElement(eh.Z,(0,ef.Z)({},e,{ref:t,icon:eg}))}),ey=n(88526),ev=n(10110),e$=n(83062),ex=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n},ew=e=>{var t;let{prefixCls:n,label:r,htmlFor:l,labelCol:o,labelAlign:s,colon:u,required:d,requiredMark:m,tooltip:p}=e,[f]=(0,ev.Z)("Form"),{vertical:g,labelAlign:h,labelCol:b,labelWrap:y,colon:v}=a.useContext(c.q3);if(!r)return null;let $=o||b||{},x=`${n}-item-label`,w=i()(x,"left"===(s||h)&&`${x}-left`,$.className,{[`${x}-wrap`]:!!y}),E=r,O=!0===u||!1!==v&&!1!==u;O&&!g&&"string"==typeof r&&""!==r.trim()&&(E=r.replace(/[:|:]\s*$/,""));let S=p?"object"!=typeof p||a.isValidElement(p)?{title:p}:p:null;if(S){let{icon:e=a.createElement(eb,null)}=S,t=ex(S,["icon"]),r=a.createElement(e$.Z,Object.assign({},t),a.cloneElement(e,{className:`${n}-item-tooltip`,title:""}));E=a.createElement(a.Fragment,null,E,r)}"optional"!==m||d||(E=a.createElement(a.Fragment,null,E,a.createElement("span",{className:`${n}-item-optional`,title:""},(null==f?void 0:f.optional)||(null===(t=ey.Z.Form)||void 0===t?void 0:t.optional))));let j=i()({[`${n}-item-required`]:d,[`${n}-item-required-mark-optional`]:"optional"===m,[`${n}-item-no-colon`]:!O});return a.createElement(eu.Z,Object.assign({},$,{className:w}),a.createElement("label",{htmlFor:l,className:j,title:"string"==typeof r?r:""},E))},eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let eO={success:en.Z,warning:el.Z,error:er.Z,validating:ei.Z};function eS(e){let{prefixCls:t,className:n,rootClassName:r,style:l,help:o,errors:s,warnings:d,validateStatus:m,meta:p,hasFeedback:f,hidden:g,children:h,fieldId:b,required:y,isRequired:v,onSubItemMetaChange:$}=e,x=eE(e,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),w=`${t}-item`,{requiredMark:E}=a.useContext(c.q3),O=a.useRef(null),S=u(s),j=u(d),C=null!=o,k=!!(C||s.length||d.length),M=!!O.current&&(0,ea.Z)(O.current),[N,I]=a.useState(null);(0,eo.Z)(()=>{if(k&&O.current){let e=getComputedStyle(O.current);I(parseInt(e.marginBottom,10))}},[k,M]);let Z=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t="",n=e?S:p.errors,r=e?j:p.warnings;return void 0!==m?t=m:p.validating?t="validating":n.length?t="error":r.length?t="warning":(p.touched||f&&p.validated)&&(t="success"),t}(),q=a.useMemo(()=>{let e;if(f){let t=Z&&eO[Z];e=t?a.createElement("span",{className:i()(`${w}-feedback-icon`,`${w}-feedback-icon-${Z}`)},a.createElement(t,null)):null}return{status:Z,errors:s,warnings:d,hasFeedback:f,feedbackIcon:e,isFormItemInput:!0}},[Z,f]),W=i()(w,n,r,{[`${w}-with-help`]:C||S.length||j.length,[`${w}-has-feedback`]:Z&&f,[`${w}-has-success`]:"success"===Z,[`${w}-has-warning`]:"warning"===Z,[`${w}-has-error`]:"error"===Z,[`${w}-is-validating`]:"validating"===Z,[`${w}-hidden`]:g});return a.createElement("div",{className:W,style:l,ref:O},a.createElement(ec.Z,Object.assign({className:`${w}-row`},(0,es.Z)(x,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol"])),a.createElement(ew,Object.assign({htmlFor:b},e,{requiredMark:E,required:null!=y?y:v,prefixCls:t})),a.createElement(ep,Object.assign({},e,p,{errors:S,warnings:j,prefixCls:t,status:Z,help:o,marginBottom:N,onErrorVisibleChanged:e=>{e||I(null)}}),a.createElement(c.qI.Provider,{value:$},a.createElement(c.aM.Provider,{value:q},h)))),!!N&&a.createElement("div",{className:`${w}-margin-offset`,style:{marginBottom:-N}}))}var ej=n(50344);let eC=a.memo(e=>{let{children:t}=e;return t},(e,t)=>e.value===t.value&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((e,n)=>e===t.childProps[n]));function ek(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}let eM=function(e){let{name:t,noStyle:n,className:l,dependencies:o,prefixCls:s,shouldUpdate:u,rules:d,children:m,required:p,label:f,messageVariables:g,trigger:h="onChange",validateTrigger:b,hidden:y,help:v}=e,{getPrefixCls:$}=a.useContext(Z.E_),{name:x}=a.useContext(c.q3),w=function(e){if("function"==typeof e)return e;let t=(0,ej.Z)(e);return t.length<=1?t[0]:t}(m),E="function"==typeof w,O=a.useContext(c.qI),{validateTrigger:S}=a.useContext(I.zb),j=void 0!==b?b:S,k=null!=t,M=$("form",s),[N,q]=C(M),W=a.useContext(I.ZM),_=a.useRef(),[H,F]=function(e){let[t,n]=a.useState(e),r=(0,a.useRef)(null),l=(0,a.useRef)([]),i=(0,a.useRef)(!1);return a.useEffect(()=>(i.current=!1,()=>{i.current=!0,et.Z.cancel(r.current),r.current=null}),[]),[t,function(e){i.current||(null===r.current&&(l.current=[],r.current=(0,et.Z)(()=>{r.current=null,n(e=>{let t=e;return l.current.forEach(e=>{t=e(t)}),t})})),l.current.push(e))}]}({}),[P,R]=(0,Q.Z)(()=>ek()),z=(e,t)=>{F(n=>{let l=Object.assign({},n),i=[].concat((0,r.Z)(e.name.slice(0,-1)),(0,r.Z)(t)),o=i.join("__SPLIT__");return e.destroy?delete l[o]:l[o]=e,l})},[T,D]=a.useMemo(()=>{let e=(0,r.Z)(P.errors),t=(0,r.Z)(P.warnings);return Object.values(H).forEach(n=>{e.push.apply(e,(0,r.Z)(n.errors||[])),t.push.apply(t,(0,r.Z)(n.warnings||[]))}),[e,t]},[H,P.errors,P.warnings]),V=function(){let{itemRef:e}=a.useContext(c.q3),t=a.useRef({});return function(n,r){let l=r&&"object"==typeof r&&r.ref,i=n.join("_");return(t.current.name!==i||t.current.originRef!==l)&&(t.current.name=i,t.current.originRef=l,t.current.ref=(0,U.sQ)(e(n),l)),t.current.ref}}();function L(t,r,o){return n&&!y?t:a.createElement(eS,Object.assign({key:"row"},e,{className:i()(l,q),prefixCls:M,fieldId:r,isRequired:o,errors:T,warnings:D,meta:P,onSubItemMetaChange:z}),t)}if(!k&&!E&&!o)return N(L(w));let X={};return"string"==typeof f?X.label=f:t&&(X.label=String(t)),g&&(X=Object.assign(Object.assign({},X),g)),N(a.createElement(I.gN,Object.assign({},e,{messageVariables:X,trigger:h,validateTrigger:j,onMetaChange:e=>{let t=null==W?void 0:W.getKey(e.name);if(R(e.destroy?ek():e,!0),n&&!1!==v&&O){let n=e.name;if(e.destroy)n=_.current||n;else if(void 0!==t){let[e,l]=t;n=[e].concat((0,r.Z)(l)),_.current=n}O(e,n)}}}),(n,l,i)=>{let s=A(t).length&&l?l.name:[],c=B(s,x),m=void 0!==p?p:!!(d&&d.some(e=>{if(e&&"object"==typeof e&&e.required&&!e.warningOnly)return!0;if("function"==typeof e){let t=e(i);return t&&t.required&&!t.warningOnly}return!1})),f=Object.assign({},n),g=null;if(Array.isArray(w)&&k)g=w;else if(E&&(!(u||o)||k));else if(!o||E||k){if((0,J.l$)(w)){let t=Object.assign(Object.assign({},w.props),f);if(t.id||(t.id=c),v||T.length>0||D.length>0||e.extra){let n=[];(v||T.length>0)&&n.push(`${c}_help`),e.extra&&n.push(`${c}_extra`),t["aria-describedby"]=n.join(" ")}T.length>0&&(t["aria-invalid"]="true"),m&&(t["aria-required"]="true"),(0,U.Yr)(w)&&(t.ref=V(s,w));let n=new Set([].concat((0,r.Z)(A(h)),(0,r.Z)(A(j))));n.forEach(e=>{t[e]=function(){for(var t,n,r,l=arguments.length,i=Array(l),o=0;ot.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};K.Item=eM,K.List=e=>{var{prefixCls:t,children:n}=e,r=eN(e,["prefixCls","children"]);let{getPrefixCls:l}=a.useContext(Z.E_),i=l("form",t),o=a.useMemo(()=>({prefixCls:i,status:"error"}),[i]);return a.createElement(I.aV,Object.assign({},r),(e,t,r)=>a.createElement(c.Rk.Provider,{value:o},n(e.map(e=>Object.assign(Object.assign({},e),{fieldKey:e.key})),t,{errors:r.errors,warnings:r.warnings})))},K.ErrorList=N,K.useForm=X,K.useFormInstance=function(){let{form:e}=(0,a.useContext)(c.q3);return e},K.useWatch=I.qo,K.Provider=c.RV,K.create=()=>{};var eI=K}}]); \ No newline at end of file diff --git a/dbgpt/app/static/_next/static/chunks/607-2dedaf19149304c0.js b/dbgpt/app/static/_next/static/chunks/607-2dedaf19149304c0.js new file mode 100644 index 000000000..ec16e1460 --- /dev/null +++ b/dbgpt/app/static/_next/static/chunks/607-2dedaf19149304c0.js @@ -0,0 +1,78 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[607],{38780:function(e,t){t.Z=function(){let e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{let r=n[t];void 0!==r&&(e[t]=r)})}return e}},66367:function(e,t,n){function r(e){return null!=e&&e===e.window}function l(e,t){var n,l;if("undefined"==typeof window)return 0;let o=t?"scrollTop":"scrollLeft",a=0;return r(e)?a=e[t?"pageYOffset":"pageXOffset"]:e instanceof Document?a=e.documentElement[o]:e instanceof HTMLElement?a=e[o]:e&&(a=e[o]),e&&!r(e)&&"number"!=typeof a&&(a=null===(l=(null!==(n=e.ownerDocument)&&void 0!==n?n:e).documentElement)||void 0===l?void 0:l[o]),a}n.d(t,{F:function(){return r},Z:function(){return l}})},58375:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(75164),l=n(66367);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{getContainer:n=()=>window,callback:o,duration:a=450}=t,i=n(),c=(0,l.Z)(i,!0),s=Date.now(),u=()=>{let t=Date.now(),n=t-s,d=function(e,t,n,r){let l=n-t;return(e/=r/2)<1?l/2*e*e*e+t:l/2*((e-=2)*e*e+2)+t}(n>a?a:n,c,e,a);(0,l.F)(i)?i.scrollTo(window.pageXOffset,d):i instanceof Document||"HTMLDocument"===i.constructor.name?i.documentElement.scrollTop=d:i.scrollTop=d,nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let h=a.forwardRef((e,t)=>{var n;let{prefixCls:r,className:h,rootClassName:g,children:x,indeterminate:b=!1,style:v,onMouseEnter:y,onMouseLeave:w,skipGroup:C=!1,disabled:$}=e,E=m(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:S,direction:k,checkbox:Z}=a.useContext(i.E_),N=a.useContext(u),{isFormItemInput:O}=a.useContext(s.aM),R=a.useContext(c.Z),I=null!==(n=(null==N?void 0:N.disabled)||$)&&void 0!==n?n:R,j=a.useRef(E.value);a.useEffect(()=>{null==N||N.registerValue(E.value)},[]),a.useEffect(()=>{if(!C)return E.value!==j.current&&(null==N||N.cancelValue(j.current),null==N||N.registerValue(E.value),j.current=E.value),()=>null==N?void 0:N.cancelValue(E.value)},[E.value]);let T=S("checkbox",r),[P,z]=(0,d.ZP)(T),M=Object.assign({},E);N&&!C&&(M.onChange=function(){E.onChange&&E.onChange.apply(E,arguments),N.toggleOption&&N.toggleOption({label:x,value:E.value})},M.name=N.name,M.checked=N.value.includes(E.value));let H=l()(`${T}-wrapper`,{[`${T}-rtl`]:"rtl"===k,[`${T}-wrapper-checked`]:M.checked,[`${T}-wrapper-disabled`]:I,[`${T}-wrapper-in-form-item`]:O},null==Z?void 0:Z.className,h,g,z),L=l()({[`${T}-indeterminate`]:b},p.A,z);return P(a.createElement(f.Z,{component:"Checkbox",disabled:I},a.createElement("label",{className:H,style:Object.assign(Object.assign({},null==Z?void 0:Z.style),v),onMouseEnter:y,onMouseLeave:w},a.createElement(o.Z,Object.assign({"aria-checked":b?"mixed":void 0},M,{prefixCls:T,className:L,disabled:I,ref:t})),void 0!==x&&a.createElement("span",null,x))))});var g=n(74902),x=n(98423),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let v=a.forwardRef((e,t)=>{let{defaultValue:n,children:r,options:o=[],prefixCls:c,className:s,rootClassName:f,style:p,onChange:m}=e,v=b(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:y,direction:w}=a.useContext(i.E_),[C,$]=a.useState(v.value||n||[]),[E,S]=a.useState([]);a.useEffect(()=>{"value"in v&&$(v.value||[])},[v.value]);let k=a.useMemo(()=>o.map(e=>"string"==typeof e||"number"==typeof e?{label:e,value:e}:e),[o]),Z=y("checkbox",c),N=`${Z}-group`,[O,R]=(0,d.ZP)(Z),I=(0,x.Z)(v,["value","disabled"]),j=o.length?k.map(e=>a.createElement(h,{prefixCls:Z,key:e.value.toString(),disabled:"disabled"in e?e.disabled:v.disabled,value:e.value,checked:C.includes(e.value),onChange:e.onChange,className:`${N}-item`,style:e.style,title:e.title},e.label)):r,T={toggleOption:e=>{let t=C.indexOf(e.value),n=(0,g.Z)(C);-1===t?n.push(e.value):n.splice(t,1),"value"in v||$(n),null==m||m(n.filter(e=>E.includes(e)).sort((e,t)=>{let n=k.findIndex(t=>t.value===e),r=k.findIndex(e=>e.value===t);return n-r}))},value:C,disabled:v.disabled,name:v.name,registerValue:e=>{S(t=>[].concat((0,g.Z)(t),[e]))},cancelValue:e=>{S(t=>t.filter(t=>t!==e))}},P=l()(N,{[`${N}-rtl`]:"rtl"===w},s,f,R);return O(a.createElement("div",Object.assign({className:P,style:p},I,{ref:t}),a.createElement(u.Provider,{value:T},j)))});var y=a.memo(v);h.Group=y,h.__ANT_CHECKBOX=!0;var w=h},61607:function(e,t,n){n.d(t,{Z:function(){return tq}});var r,l={},o="rc-table-internal-hook",a=n(97685),i=n(66680),c=n(8410),s=n(91881),u=n(67294),d=n(73935);function f(e,t){var n=(0,i.Z)("function"==typeof t?t:function(e){if(void 0===t)return e;if(!Array.isArray(t))return e[t];var n={};return t.forEach(function(t){n[t]=e[t]}),n}),r=u.useContext(null==e?void 0:e.Context),l=r||{},o=l.listeners,d=l.getValue,f=u.useRef();f.current=n(r?d():null==e?void 0:e.defaultValue);var p=u.useState({}),m=(0,a.Z)(p,2)[1];return(0,c.Z)(function(){if(r)return o.add(e),function(){o.delete(e)};function e(e){var t=n(e);(0,s.Z)(f.current,t,!0)||m({})}},[r]),f.current}var p=n(87462),m=n(42550),h=function(){var e=u.createContext(null);function t(){return u.useContext(e)}return{makeImmutable:function(n,r){var l=(0,m.Yr)(n),o=function(o,a){var i=l?{ref:a}:{},c=u.useRef(0),s=u.useRef(o);return null!==t()?u.createElement(n,(0,p.Z)({},o,i)):((!r||r(s.current,o))&&(c.current+=1),s.current=o,u.createElement(e.Provider,{value:c.current},u.createElement(n,(0,p.Z)({},o,i))))};return l?u.forwardRef(o):o},responseImmutable:function(e,n){var r=(0,m.Yr)(e),l=function(n,l){var o=r?{ref:l}:{};return t(),u.createElement(e,(0,p.Z)({},n,o))};return r?u.memo(u.forwardRef(l),n):u.memo(l,n)},useImmutableMark:t}}(),g=h.makeImmutable,x=h.responseImmutable,b=h.useImmutableMark,v={Context:r=u.createContext(void 0),Provider:function(e){var t=e.value,n=e.children,l=u.useRef(t);l.current=t;var o=u.useState(function(){return{getValue:function(){return l.current},listeners:new Set}}),i=(0,a.Z)(o,1)[0];return(0,c.Z)(function(){(0,d.unstable_batchedUpdates)(function(){i.listeners.forEach(function(e){e(t)})})},[t]),u.createElement(r.Provider,{value:i},n)},defaultValue:void 0};u.memo(function(){var e,t,n,r,l,o,a=(n=u.useRef(0),n.current+=1,r=u.useRef(e),l=[],Object.keys(e||{}).map(function(t){var n;(null==e?void 0:e[t])!==(null===(n=r.current)||void 0===n?void 0:n[t])&&l.push(t)}),r.current=e,o=u.useRef([]),l.length&&(o.current=l),u.useDebugValue(n.current),u.useDebugValue(o.current.join(", ")),t&&console.log("".concat(t,":"),n.current,o.current),n.current);return u.createElement("h1",null,"Render Times: ",a)}).displayName="RenderBlock";var y=n(71002),w=n(1413),C=n(4942),$=n(94184),E=n.n($),S=n(56982),k=n(88306);n(80334);var Z=u.createContext({renderWithProps:!1});function N(e){var t=[],n={};return e.forEach(function(e){for(var r=e||{},l=r.key,o=r.dataIndex,a=l||(null==o?[]:Array.isArray(o)?o:[o]).join("-")||"RC_TABLE_KEY";n[a];)a="".concat(a,"_next");n[a]=!0,t.push(a)}),t}var O=function(e){var t,n=e.ellipsis,r=e.rowType,l=e.children,o=!0===n?{showTitle:!0}:n;return o&&(o.showTitle||"header"===r)&&("string"==typeof l||"number"==typeof l?t=l.toString():u.isValidElement(l)&&"string"==typeof l.props.children&&(t=l.props.children)),t},R=u.memo(function(e){var t,n,r,l,o,i,c,d,m,h,g=e.component,x=e.children,$=e.ellipsis,N=e.scope,R=e.prefixCls,I=e.className,j=e.align,T=e.record,P=e.render,z=e.dataIndex,M=e.renderIndex,H=e.shouldCellUpdate,L=e.index,B=e.rowType,A=e.colSpan,_=e.rowSpan,D=e.fixLeft,F=e.fixRight,W=e.firstFixLeft,K=e.lastFixLeft,V=e.firstFixRight,X=e.lastFixRight,U=e.appendNode,G=e.additionalProps,Y=void 0===G?{}:G,J=e.isSticky,q="".concat(R,"-cell"),Q=f(v,["supportSticky","allColumnsFixedLeft"]),ee=Q.supportSticky,et=Q.allColumnsFixedLeft,en=(t=u.useContext(Z),n=b(),(0,S.Z)(function(){if(null!=x)return[x];var e=null==z||""===z?[]:Array.isArray(z)?z:[z],n=(0,k.Z)(T,e),r=n,l=void 0;if(P){var o=P(n,T,M);!o||"object"!==(0,y.Z)(o)||Array.isArray(o)||u.isValidElement(o)?r=o:(r=o.children,l=o.props,t.renderWithProps=!0)}return[r,l]},[n,T,x,z,P,M],function(e,n){if(H){var r=(0,a.Z)(e,2)[1];return H((0,a.Z)(n,2)[1],r)}return!!t.renderWithProps||!(0,s.Z)(e,n,!0)})),er=(0,a.Z)(en,2),el=er[0],eo=er[1],ea={},ei="number"==typeof D&&ee,ec="number"==typeof F&ⅇei&&(ea.position="sticky",ea.left=D),ec&&(ea.position="sticky",ea.right=F);var es=null!==(r=null!==(l=null!==(o=null==eo?void 0:eo.colSpan)&&void 0!==o?o:Y.colSpan)&&void 0!==l?l:A)&&void 0!==r?r:1,eu=null!==(i=null!==(c=null!==(d=null==eo?void 0:eo.rowSpan)&&void 0!==d?d:Y.rowSpan)&&void 0!==c?c:_)&&void 0!==i?i:1,ed=f(v,function(e){var t,n;return[(t=eu||1,n=e.hoverStartRow,L<=e.hoverEndRow&&L+t-1>=n),e.onHover]}),ef=(0,a.Z)(ed,2),ep=ef[0],em=ef[1];if(0===es||0===eu)return null;var eh=null!==(m=Y.title)&&void 0!==m?m:O({rowType:B,ellipsis:$,children:el}),eg=E()(q,I,(h={},(0,C.Z)(h,"".concat(q,"-fix-left"),ei&&ee),(0,C.Z)(h,"".concat(q,"-fix-left-first"),W&&ee),(0,C.Z)(h,"".concat(q,"-fix-left-last"),K&&ee),(0,C.Z)(h,"".concat(q,"-fix-left-all"),K&&et&&ee),(0,C.Z)(h,"".concat(q,"-fix-right"),ec&&ee),(0,C.Z)(h,"".concat(q,"-fix-right-first"),V&&ee),(0,C.Z)(h,"".concat(q,"-fix-right-last"),X&&ee),(0,C.Z)(h,"".concat(q,"-ellipsis"),$),(0,C.Z)(h,"".concat(q,"-with-append"),U),(0,C.Z)(h,"".concat(q,"-fix-sticky"),(ei||ec)&&J&&ee),(0,C.Z)(h,"".concat(q,"-row-hover"),!eo&&ep),h),Y.className,null==eo?void 0:eo.className),ex={};j&&(ex.textAlign=j);var eb=(0,w.Z)((0,w.Z)((0,w.Z)((0,w.Z)({},Y.style),ex),ea),null==eo?void 0:eo.style),ev=el;return"object"!==(0,y.Z)(ev)||Array.isArray(ev)||u.isValidElement(ev)||(ev=null),$&&(K||V)&&(ev=u.createElement("span",{className:"".concat(q,"-content")},ev)),u.createElement(g,(0,p.Z)({},eo,Y,{className:eg,style:eb,title:eh,scope:N,onMouseEnter:function(e){var t;T&&em(L,L+eu-1),null==Y||null===(t=Y.onMouseEnter)||void 0===t||t.call(Y,e)},onMouseLeave:function(e){var t;T&&em(-1,-1),null==Y||null===(t=Y.onMouseLeave)||void 0===t||t.call(Y,e)},colSpan:1!==es?es:null,rowSpan:1!==eu?eu:null}),U,ev)});function I(e,t,n,r,l,o){var a,i,c=n[e]||{},s=n[t]||{};"left"===c.fixed?a=r.left["rtl"===l?t:e]:"right"===s.fixed&&(i=r.right["rtl"===l?e:t]);var u=!1,d=!1,f=!1,p=!1,m=n[t+1],h=n[e-1],g=!(null!=o&&o.children);return"rtl"===l?void 0!==a?p=!(h&&"left"===h.fixed)&&g:void 0!==i&&(f=!(m&&"right"===m.fixed)&&g):void 0!==a?u=!(m&&"left"===m.fixed)&&g:void 0!==i&&(d=!(h&&"right"===h.fixed)&&g),{fixLeft:a,fixRight:i,lastFixLeft:u,firstFixRight:d,lastFixRight:f,firstFixLeft:p,isSticky:r.isSticky}}var j=u.createContext({}),T=n(45987),P=["children"];function z(e){return e.children}z.Row=function(e){var t=e.children,n=(0,T.Z)(e,P);return u.createElement("tr",n,t)},z.Cell=function(e){var t=e.className,n=e.index,r=e.children,l=e.colSpan,o=void 0===l?1:l,a=e.rowSpan,i=e.align,c=f(v,["prefixCls","direction"]),s=c.prefixCls,d=c.direction,m=u.useContext(j),h=m.scrollColumnIndex,g=m.stickyOffsets,x=m.flattenColumns,b=m.columns,y=n+o-1+1===h?o+1:o,w=I(n,n+y-1,x,g,d,null==b?void 0:b[n]);return u.createElement(R,(0,p.Z)({className:t,index:n,component:"td",prefixCls:s,record:null,dataIndex:null,align:i,colSpan:y,rowSpan:a,render:function(){return r}},w))};var M=x(function(e){var t=e.children,n=e.stickyOffsets,r=e.flattenColumns,l=e.columns,o=f(v,"prefixCls"),a=r.length-1,i=r[a],c=u.useMemo(function(){return{stickyOffsets:n,flattenColumns:r,scrollColumnIndex:null!=i&&i.scrollbar?a:null,columns:l}},[i,r,a,n,l]);return u.createElement(j.Provider,{value:c},u.createElement("tfoot",{className:"".concat(o,"-summary")},t))}),H=n(9220),L=n(5110),B=n(98924),A=function(e){if((0,B.Z)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some(function(e){return e in n.style})}return!1},_=function(e,t){if(!A(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r},D=n(74204),F=n(64217),W=n(74902),K=function(e){var t=e.prefixCls,n=e.children,r=e.component,l=e.cellComponent,o=e.className,a=e.expanded,i=e.colSpan,c=e.isEmpty,s=f(v,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),d=s.scrollbarSize,p=s.fixHeader,m=s.fixColumn,h=s.componentWidth,g=s.horizonScroll,x=n;return(c?g:m)&&(x=u.createElement("div",{style:{width:h-(p?d:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(t,"-expanded-row-fixed")},0!==h&&x)),u.createElement(r,{className:o,style:{display:a?null:"none"}},u.createElement(R,{component:l,prefixCls:t,colSpan:i},x))};function V(e){var t,n,r=e.className,l=e.style,o=e.record,i=e.index,c=e.renderIndex,s=e.rowKey,d=e.rowExpandable,m=e.expandedKeys,h=e.onRow,g=e.indent,x=void 0===g?0:g,b=e.rowComponent,y=e.cellComponent,C=e.scopeCellComponent,$=e.childrenColumnName,S=f(v,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex"]),k=S.prefixCls,Z=S.fixedInfoList,O=S.flattenColumns,I=S.expandableType,j=S.expandRowByClick,T=S.onTriggerExpand,P=S.rowClassName,z=S.expandedRowClassName,M=S.indentSize,H=S.expandIcon,L=S.expandedRowRender,B=S.expandIconColumnIndex,A=u.useState(!1),_=(0,a.Z)(A,2),D=_[0],F=_[1],W=m&&m.has(s);u.useEffect(function(){W&&F(!0)},[W]);var V="row"===I&&(!d||d(o)),X="nest"===I,U=$&&o&&o[$],G=V||X,Y=u.useRef(T);Y.current=T;var J=function(){Y.current.apply(Y,arguments)},q=null==h?void 0:h(o,i);"string"==typeof P?t=P:"function"==typeof P&&(t=P(o,i,x));var Q=N(O),ee=u.createElement(b,(0,p.Z)({},q,{"data-row-key":s,className:E()(r,"".concat(k,"-row"),"".concat(k,"-row-level-").concat(x),t,q&&q.className),style:(0,w.Z)((0,w.Z)({},l),q?q.style:null),onClick:function(e){var t;j&&G&&J(o,e);for(var n=arguments.length,r=Array(n>1?n-1:0),l=1;l=0;i-=1){var c=t[i],s=n&&n[i],d=s&&s[Q];if(c||d||a){var f=d||{},m=(f.columnType,(0,T.Z)(f,ee));l.unshift(u.createElement("col",(0,p.Z)({key:i,style:{width:c}},m))),a=!0}}return u.createElement("colgroup",null,l)},en=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"],er=u.forwardRef(function(e,t){var n=e.className,r=e.noData,l=e.columns,o=e.flattenColumns,a=e.colWidths,i=e.columCount,c=e.stickyOffsets,s=e.direction,d=e.fixHeader,p=e.stickyTopOffset,h=e.stickyBottomOffset,g=e.stickyClassName,x=e.onScroll,b=e.maxContentScroll,y=e.children,$=(0,T.Z)(e,en),S=f(v,["prefixCls","scrollbarSize","isSticky"]),k=S.prefixCls,Z=S.scrollbarSize,N=S.isSticky,O=N&&!d?0:Z,R=u.useRef(null),I=u.useCallback(function(e){(0,m.mH)(t,e),(0,m.mH)(R,e)},[]);u.useEffect(function(){var e;function t(e){var t=e.currentTarget,n=e.deltaX;n&&(x({currentTarget:t,scrollLeft:t.scrollLeft+n}),e.preventDefault())}return null===(e=R.current)||void 0===e||e.addEventListener("wheel",t),function(){var e;null===(e=R.current)||void 0===e||e.removeEventListener("wheel",t)}},[]);var j=u.useMemo(function(){return o.every(function(e){return e.width>=0})},[o]),P=o[o.length-1],z={fixed:P?P.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(k,"-cell-scrollbar")}}},M=(0,u.useMemo)(function(){return O?[].concat((0,W.Z)(l),[z]):l},[O,l]),H=(0,u.useMemo)(function(){return O?[].concat((0,W.Z)(o),[z]):o},[O,o]),L=(0,u.useMemo)(function(){var e=c.right,t=c.left;return(0,w.Z)((0,w.Z)({},c),{},{left:"rtl"===s?[].concat((0,W.Z)(t.map(function(e){return e+O})),[0]):t,right:"rtl"===s?e:[].concat((0,W.Z)(e.map(function(e){return e+O})),[0]),isSticky:N})},[O,c,N]),B=(0,u.useMemo)(function(){for(var e=[],t=0;t1?"colgroup":"col":null,ellipsis:o.ellipsis,align:o.align,component:o.title?a:i,prefixCls:m,key:g[t]},c,{additionalProps:n,rowType:"header"}))}))}eo.displayName="HeaderRow";var ea=x(function(e){var t=e.stickyOffsets,n=e.columns,r=e.flattenColumns,l=e.onHeaderRow,o=f(v,["prefixCls","getComponent"]),a=o.prefixCls,i=o.getComponent,c=u.useMemo(function(){return function(e){var t=[];!function e(n,r){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;t[l]=t[l]||[];var o=r;return n.filter(Boolean).map(function(n){var r={key:n.key,className:n.className||"",children:n.title,column:n,colStart:o},a=1,i=n.children;return i&&i.length>0&&(a=e(i,o,l+1).reduce(function(e,t){return e+t},0),r.hasSubColumns=!0),"colSpan"in n&&(a=n.colSpan),"rowSpan"in n&&(r.rowSpan=n.rowSpan),r.colSpan=a,r.colEnd=r.colStart+a-1,t[l].push(r),o+=a,a})}(e,0);for(var n=t.length,r=function(e){t[e].forEach(function(t){("rowSpan"in t)||t.hasSubColumns||(t.rowSpan=n-e)})},l=0;l0?[].concat((0,W.Z)(e),(0,W.Z)(ed(l).map(function(e){return(0,w.Z)({fixed:r},e)}))):[].concat((0,W.Z)(e),[(0,w.Z)((0,w.Z)({},t),{},{fixed:r})])},[])}var ef=function(e,t){var n=e.prefixCls,r=e.columns,o=e.children,a=e.expandable,i=e.expandedKeys,c=e.columnTitle,s=e.getRowKey,d=e.onTriggerExpand,f=e.expandIcon,p=e.rowExpandable,m=e.expandIconColumnIndex,h=e.direction,g=e.expandRowByClick,x=e.columnWidth,b=e.fixed,v=u.useMemo(function(){return r||eu(o)},[r,o]),y=u.useMemo(function(){if(a){var e,t,r=v.slice();if(!r.includes(l)){var o=m||0;o>=0&&r.splice(o,0,l)}var h=r.indexOf(l);r=r.filter(function(e,t){return e!==l||t===h});var y=v[h];t=("left"===b||b)&&!m?"left":("right"===b||b)&&m===v.length?"right":y?y.fixed:null;var w=(e={},(0,C.Z)(e,Q,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,C.Z)(e,"title",c),(0,C.Z)(e,"fixed",t),(0,C.Z)(e,"className","".concat(n,"-row-expand-icon-cell")),(0,C.Z)(e,"width",x),(0,C.Z)(e,"render",function(e,t,r){var l=s(t,r),o=f({prefixCls:n,expanded:i.has(l),expandable:!p||p(t),record:t,onExpand:d});return g?u.createElement("span",{onClick:function(e){return e.stopPropagation()}},o):o}),e);return r.map(function(e){return e===l?w:e})}return v.filter(function(e){return e!==l})},[a,v,s,i,f,h]),$=u.useMemo(function(){var e=y;return t&&(e=t(e)),e.length||(e=[{render:function(){return null}}]),e},[t,y,h]),E=u.useMemo(function(){return"rtl"===h?ed($).map(function(e){var t=e.fixed,n=(0,T.Z)(e,es),r=t;return"left"===t?r="right":"right"===t&&(r="left"),(0,w.Z)({fixed:r},n)}):ed($)},[$,h]);return[$,E]};function ep(e){var t,n=e.prefixCls,r=e.record,l=e.onExpand,o=e.expanded,a=e.expandable,i="".concat(n,"-row-expand-icon");return a?u.createElement("span",{className:E()(i,(t={},(0,C.Z)(t,"".concat(n,"-row-expanded"),o),(0,C.Z)(t,"".concat(n,"-row-collapsed"),!o),t)),onClick:function(e){l(r,e),e.stopPropagation()}}):u.createElement("span",{className:E()(i,"".concat(n,"-row-spaced"))})}function em(e){var t=(0,u.useRef)(e),n=(0,u.useState)({}),r=(0,a.Z)(n,2)[1],l=(0,u.useRef)(null),o=(0,u.useRef)([]);return(0,u.useEffect)(function(){return function(){l.current=null}},[]),[t.current,function(e){o.current.push(e);var n=Promise.resolve();l.current=n,n.then(function(){if(l.current===n){var e=o.current,a=t.current;o.current=[],e.forEach(function(e){t.current=e(t.current)}),l.current=null,a!==t.current&&r({})}})}]}var eh=(0,B.Z)()?window:null,eg=function(e){var t=e.className,n=e.children;return u.createElement("div",{className:t},n)},ex=n(64019),eb=n(27678),ev=u.forwardRef(function(e,t){var n,r,l=e.scrollBodyRef,o=e.onScroll,i=e.offsetScroll,c=e.container,s=f(v,"prefixCls"),d=(null===(n=l.current)||void 0===n?void 0:n.scrollWidth)||0,p=(null===(r=l.current)||void 0===r?void 0:r.clientWidth)||0,m=d&&p*(p/d),h=u.useRef(),g=em({scrollLeft:0,isHiddenScrollBar:!1}),x=(0,a.Z)(g,2),b=x[0],y=x[1],$=u.useRef({delta:0,x:0}),S=u.useState(!1),k=(0,a.Z)(S,2),Z=k[0],N=k[1],O=function(){N(!1)},R=function(e){var t,n=(e||(null===(t=window)||void 0===t?void 0:t.event)).buttons;if(!Z||0===n){Z&&N(!1);return}var r=$.current.x+e.pageX-$.current.x-$.current.delta;r<=0&&(r=0),r+m>=p&&(r=p-m),o({scrollLeft:r/p*(d+2)}),$.current.x=e.pageX},I=function(){if(l.current){var e=(0,eb.os)(l.current).top,t=e+l.current.offsetHeight,n=c===window?document.documentElement.scrollTop+window.innerHeight:(0,eb.os)(c).top+c.clientHeight;t-(0,D.Z)()<=n||e>=n-i?y(function(e){return(0,w.Z)((0,w.Z)({},e),{},{isHiddenScrollBar:!0})}):y(function(e){return(0,w.Z)((0,w.Z)({},e),{},{isHiddenScrollBar:!1})})}},j=function(e){y(function(t){return(0,w.Z)((0,w.Z)({},t),{},{scrollLeft:e/d*p||0})})};return(u.useImperativeHandle(t,function(){return{setScrollLeft:j}}),u.useEffect(function(){var e=(0,ex.Z)(document.body,"mouseup",O,!1),t=(0,ex.Z)(document.body,"mousemove",R,!1);return I(),function(){e.remove(),t.remove()}},[m,Z]),u.useEffect(function(){var e=(0,ex.Z)(c,"scroll",I,!1),t=(0,ex.Z)(window,"resize",I,!1);return function(){e.remove(),t.remove()}},[c]),u.useEffect(function(){b.isHiddenScrollBar||y(function(e){var t=l.current;return t?(0,w.Z)((0,w.Z)({},e),{},{scrollLeft:t.scrollLeft/t.scrollWidth*t.clientWidth}):e})},[b.isHiddenScrollBar]),d<=p||!m||b.isHiddenScrollBar)?null:u.createElement("div",{style:{height:(0,D.Z)(),width:p,bottom:i},className:"".concat(s,"-sticky-scroll")},u.createElement("div",{onMouseDown:function(e){e.persist(),$.current.delta=e.pageX-b.scrollLeft,$.current.x=0,N(!0),e.preventDefault()},ref:h,className:E()("".concat(s,"-sticky-scroll-bar"),(0,C.Z)({},"".concat(s,"-sticky-scroll-bar-active"),Z)),style:{width:"".concat(m,"px"),transform:"translate3d(".concat(b.scrollLeft,"px, 0, 0)")}}))}),ey=[],ew={};function eC(){return"No Data"}function e$(e){var t,n=(0,w.Z)({rowKey:"key",prefixCls:"rc-table",emptyText:eC},e),r=n.prefixCls,l=n.className,c=n.rowClassName,d=n.style,f=n.data,m=n.rowKey,h=n.scroll,g=n.tableLayout,x=n.direction,b=n.title,$=n.footer,Z=n.summary,O=n.caption,R=n.id,j=n.showHeader,P=n.components,B=n.emptyText,K=n.onRow,V=n.onHeaderRow,X=n.internalHooks,U=n.transformColumns,G=n.internalRefs,Y=n.sticky,Q=f||ey,ee=!!Q.length,en=u.useCallback(function(e,t){return(0,k.Z)(P,e)||t},[P]),er=u.useMemo(function(){return"function"==typeof m?m:function(e){return e&&e[m]}},[m]),eo=(tz=u.useState(-1),tH=(tM=(0,a.Z)(tz,2))[0],tL=tM[1],tB=u.useState(-1),t_=(tA=(0,a.Z)(tB,2))[0],tD=tA[1],[tH,t_,u.useCallback(function(e,t){tL(e),tD(t)},[])]),ei=(0,a.Z)(eo,3),ec=ei[0],es=ei[1],eu=ei[2],ed=(tW=n.expandable,tK=(0,T.Z)(n,q),!1===(tF="expandable"in n?(0,w.Z)((0,w.Z)({},tK),tW):tK).showExpandColumn&&(tF.expandIconColumnIndex=-1),tV=tF.expandIcon,tX=tF.expandedRowKeys,tU=tF.defaultExpandedRowKeys,tG=tF.defaultExpandAllRows,tY=tF.expandedRowRender,tJ=tF.onExpand,tq=tF.onExpandedRowsChange,tQ=tF.childrenColumnName||"children",t0=u.useMemo(function(){return tY?"row":!!(n.expandable&&n.internalHooks===o&&n.expandable.__PARENT_RENDER_ICON__||Q.some(function(e){return e&&"object"===(0,y.Z)(e)&&e[tQ]}))&&"nest"},[!!tY,Q]),t1=u.useState(function(){if(tU)return tU;if(tG){var e;return e=[],function t(n){(n||[]).forEach(function(n,r){e.push(er(n,r)),t(n[tQ])})}(Q),e}return[]}),t8=(t2=(0,a.Z)(t1,2))[0],t3=t2[1],t4=u.useMemo(function(){return new Set(tX||t8||[])},[tX,t8]),t5=u.useCallback(function(e){var t,n=er(e,Q.indexOf(e)),r=t4.has(n);r?(t4.delete(n),t=(0,W.Z)(t4)):t=[].concat((0,W.Z)(t4),[n]),t3(t),tJ&&tJ(!r,e),tq&&tq(t)},[er,t4,Q,tJ,tq]),[tF,t0,t4,tV||ep,tQ,t5]),ex=(0,a.Z)(ed,6),eb=ex[0],e$=ex[1],eE=ex[2],eS=ex[3],ek=ex[4],eZ=ex[5],eN=u.useState(0),eO=(0,a.Z)(eN,2),eR=eO[0],eI=eO[1],ej=ef((0,w.Z)((0,w.Z)((0,w.Z)({},n),eb),{},{expandable:!!eb.expandedRowRender,columnTitle:eb.columnTitle,expandedKeys:eE,getRowKey:er,onTriggerExpand:eZ,expandIcon:eS,expandIconColumnIndex:eb.expandIconColumnIndex,direction:x}),X===o?U:null),eT=(0,a.Z)(ej,2),eP=eT[0],ez=eT[1],eM=u.useMemo(function(){return{columns:eP,flattenColumns:ez}},[eP,ez]),eH=u.useRef(),eL=u.useRef(),eB=u.useRef(),eA=u.useRef(),e_=u.useRef(),eD=u.useState(!1),eF=(0,a.Z)(eD,2),eW=eF[0],eK=eF[1],eV=u.useState(!1),eX=(0,a.Z)(eV,2),eU=eX[0],eG=eX[1],eY=em(new Map),eJ=(0,a.Z)(eY,2),eq=eJ[0],eQ=eJ[1],e0=N(ez).map(function(e){return eq.get(e)}),e1=u.useMemo(function(){return e0},[e0.join("_")]),e2=(t6=ez.length,(0,u.useMemo)(function(){for(var e=[],t=[],n=0,r=0,l=0;l0)):(eK(o>0),eG(o{let{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r});function ez(e,t){return"key"in e&&void 0!==e.key&&null!==e.key?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t}function eM(e,t){return t?`${t}-${e}`:`${e}`}function eH(e,t){return"function"==typeof e?e(t):e}var eL={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},eB=n(84089),eA=u.forwardRef(function(e,t){return u.createElement(eB.Z,(0,p.Z)({},e,{ref:t,icon:eL}))}),e_=n(57838),eD=n(71577),eF=n(84567),eW=n(85418),eK=n(32983),eV=n(82610),eX=n(76529),eU=n(78045),eG=n(57346),eY=n(68795),eJ=n(59566),eq=function(e){let{value:t,onChange:n,filterSearch:r,tablePrefixCls:l,locale:o}=e;return r?u.createElement("div",{className:`${l}-filter-dropdown-search`},u.createElement(eJ.default,{prefix:u.createElement(eY.Z,null),placeholder:o.filterSearchPlaceholder,onChange:n,value:t,htmlSize:1,className:`${l}-filter-dropdown-search-input`})):null},eQ=n(15105);let e0=e=>{let{keyCode:t}=e;t===eQ.Z.ENTER&&e.stopPropagation()},e1=u.forwardRef((e,t)=>u.createElement("div",{className:e.className,onClick:e=>e.stopPropagation(),onKeyDown:e0,ref:t},e.children));function e2(e){let t=[];return(e||[]).forEach(e=>{let{value:n,children:r}=e;t.push(n),r&&(t=[].concat((0,W.Z)(t),(0,W.Z)(e2(r))))}),t}function e8(e,t){return("string"==typeof t||"number"==typeof t)&&(null==t?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()))}var e3=function(e){var t,n;let r,l;let{tablePrefixCls:o,prefixCls:a,column:i,dropdownPrefixCls:c,columnKey:d,filterMultiple:f,filterMode:p="menu",filterSearch:m=!1,filterState:h,triggerFilter:g,locale:x,children:b,getPopupContainer:v}=e,{filterDropdownOpen:y,onFilterDropdownOpenChange:w,filterResetToDefaultFilteredValue:C,defaultFilteredValue:$,filterDropdownVisible:S,onFilterDropdownVisibleChange:k}=i,[Z,N]=u.useState(!1),O=!!(h&&((null===(t=h.filteredKeys)||void 0===t?void 0:t.length)||h.forceFiltered)),R=e=>{N(e),null==w||w(e),null==k||k(e)},I=null!==(n=null!=y?y:S)&&void 0!==n?n:Z,j=null==h?void 0:h.filteredKeys,[T,P]=function(e){let t=u.useRef(e),n=(0,e_.Z)();return[()=>t.current,e=>{t.current=e,n()}]}(j||[]),z=e=>{let{selectedKeys:t}=e;P(t)};u.useEffect(()=>{Z&&z({selectedKeys:j||[]})},[j]);let[M,H]=u.useState([]),[L,B]=u.useState(""),A=e=>{let{value:t}=e.target;B(t)};u.useEffect(()=>{Z||B("")},[Z]);let _=e=>{let t=e&&e.length?e:null;if(null===t&&(!h||!h.filteredKeys)||(0,s.Z)(t,null==h?void 0:h.filteredKeys,!0))return null;g({column:i,key:d,filteredKeys:t})},D=()=>{R(!1),_(T())},F=function(){let{confirm:e,closeDropdown:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1};e&&_([]),t&&R(!1),B(""),C?P(($||[]).map(e=>String(e))):P([])},W=E()({[`${c}-menu-without-submenu`]:!(i.filters||[]).some(e=>{let{children:t}=e;return t})}),K=e=>{let{filters:t}=e;return(t||[]).map((e,t)=>{let n=String(e.value),r={title:e.text,key:void 0!==e.value?n:t};return e.children&&(r.children=K({filters:e.children})),r})},V=e=>{var t;return Object.assign(Object.assign({},e),{text:e.title,value:e.key,children:(null===(t=e.children)||void 0===t?void 0:t.map(e=>V(e)))||[]})};if("function"==typeof i.filterDropdown)r=i.filterDropdown({prefixCls:`${c}-custom`,setSelectedKeys:e=>z({selectedKeys:e}),selectedKeys:T(),confirm:function(){let{closeDropdown:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0};e&&R(!1),_(T())},clearFilters:F,filters:i.filters,visible:I,close:()=>{R(!1)}});else if(i.filterDropdown)r=i.filterDropdown;else{let e=T()||[];r=u.createElement(u.Fragment,null,0===(i.filters||[]).length?u.createElement(eK.Z,{image:eK.Z.PRESENTED_IMAGE_SIMPLE,description:x.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):"tree"===p?u.createElement(u.Fragment,null,u.createElement(eq,{filterSearch:m,value:L,onChange:A,tablePrefixCls:o,locale:x}),u.createElement("div",{className:`${o}-filter-dropdown-tree`},f?u.createElement(eF.Z,{checked:e.length===e2(i.filters).length,indeterminate:e.length>0&&e.length{if(e.target.checked){let e=e2(null==i?void 0:i.filters).map(e=>String(e));P(e)}else P([])}},x.filterCheckall):null,u.createElement(eG.Z,{checkable:!0,selectable:!1,blockNode:!0,multiple:f,checkStrictly:!f,className:`${c}-menu`,onCheck:(e,t)=>{let{node:n,checked:r}=t;f?z({selectedKeys:e}):z({selectedKeys:r&&n.key?[n.key]:[]})},checkedKeys:e,selectedKeys:e,showIcon:!1,treeData:K({filters:i.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:L.trim()?e=>"function"==typeof m?m(L,V(e)):e8(L,e.title):void 0}))):u.createElement(u.Fragment,null,u.createElement(eq,{filterSearch:m,value:L,onChange:A,tablePrefixCls:o,locale:x}),u.createElement(eV.Z,{selectable:!0,multiple:f,prefixCls:`${c}-menu`,className:W,onSelect:z,onDeselect:z,selectedKeys:e,getPopupContainer:v,openKeys:M,onOpenChange:e=>{H(e)},items:function e(t){let{filters:n,prefixCls:r,filteredKeys:l,filterMultiple:o,searchValue:a,filterSearch:i}=t;return n.map((t,n)=>{let c=String(t.value);if(t.children)return{key:c||n,label:t.text,popupClassName:`${r}-dropdown-submenu`,children:e({filters:t.children,prefixCls:r,filteredKeys:l,filterMultiple:o,searchValue:a,filterSearch:i})};let s=o?eF.Z:eU.ZP,d={key:void 0!==t.value?c:n,label:u.createElement(u.Fragment,null,u.createElement(s,{checked:l.includes(c)}),u.createElement("span",null,t.text))};return a.trim()?"function"==typeof i?i(a,t)?d:null:e8(a,t.text)?d:null:d})}({filters:i.filters||[],filterSearch:m,prefixCls:a,filteredKeys:T(),filterMultiple:f,searchValue:L})})),u.createElement("div",{className:`${a}-dropdown-btns`},u.createElement(eD.ZP,{type:"link",size:"small",disabled:C?(0,s.Z)(($||[]).map(e=>String(e)),e,!0):0===e.length,onClick:()=>F()},x.filterReset),u.createElement(eD.ZP,{type:"primary",size:"small",onClick:D},x.filterConfirm)))}i.filterDropdown&&(r=u.createElement(eX.J,{selectable:void 0},r)),l="function"==typeof i.filterIcon?i.filterIcon(O):i.filterIcon?i.filterIcon:u.createElement(eA,null);let{direction:X}=u.useContext(eZ.E_);return u.createElement("div",{className:`${a}-column`},u.createElement("span",{className:`${o}-column-title`},b),u.createElement(eW.Z,{dropdownRender:()=>u.createElement(e1,{className:`${a}-dropdown`},r),trigger:["click"],open:I,onOpenChange:e=>{e&&void 0!==j&&P(j||[]),R(e),e||i.filterDropdown||D()},getPopupContainer:v,placement:"rtl"===X?"bottomLeft":"bottomRight"},u.createElement("span",{role:"button",tabIndex:-1,className:E()(`${a}-trigger`,{active:O}),onClick:e=>{e.stopPropagation()}},l)))};function e4(e,t,n){let r=[];return(e||[]).forEach((e,l)=>{var o;let a=eM(l,n);if(e.filters||"filterDropdown"in e||"onFilter"in e){if("filteredValue"in e){let t=e.filteredValue;"filterDropdown"in e||(t=null!==(o=null==t?void 0:t.map(String))&&void 0!==o?o:t),r.push({column:e,key:ez(e,a),filteredKeys:t,forceFiltered:e.filtered})}else r.push({column:e,key:ez(e,a),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered})}"children"in e&&(r=[].concat((0,W.Z)(r),(0,W.Z)(e4(e.children,t,a))))}),r}function e5(e){let t={};return e.forEach(e=>{let{key:n,filteredKeys:r,column:l}=e,{filters:o,filterDropdown:a}=l;if(a)t[n]=r||null;else if(Array.isArray(r)){let e=e2(o);t[n]=e.filter(e=>r.includes(String(e)))}else t[n]=null}),t}function e6(e,t){return t.reduce((e,t)=>{let{column:{onFilter:n,filters:r},filteredKeys:l}=t;return n&&l&&l.length?e.filter(e=>l.some(t=>{let l=e2(r),o=l.findIndex(e=>String(e)===String(t)),a=-1!==o?l[o]:t;return n(a,e)})):e},e)}let e7=e=>e.flatMap(e=>"children"in e?[e].concat((0,W.Z)(e7(e.children||[]))):[e]);var e9=function(e){let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:l,getPopupContainer:o,locale:a}=e,i=u.useMemo(()=>e7(r||[]),[r]),[c,s]=u.useState(()=>e4(i,!0)),d=u.useMemo(()=>{let e=e4(i,!1);if(0===e.length)return e;let t=!0;if(e.forEach(e=>{let{filteredKeys:n}=e;void 0!==n&&(t=!1)}),t){let e=(i||[]).map((e,t)=>ez(e,eM(t)));return c.filter(t=>{let{key:n}=t;return e.includes(n)}).map(t=>{let n=i[e.findIndex(e=>e===t.key)];return Object.assign(Object.assign({},t),{column:Object.assign(Object.assign({},t.column),n),forceFiltered:n.filtered})})}return e},[i,c]),f=u.useMemo(()=>e5(d),[d]),p=e=>{let t=d.filter(t=>{let{key:n}=t;return n!==e.key});t.push(e),s(t),l(e5(t),t)};return[e=>(function e(t,n,r,l,o,a,i,c){return r.map((r,s)=>{let d=eM(s,c),{filterMultiple:f=!0,filterMode:p,filterSearch:m}=r,h=r;if(h.filters||h.filterDropdown){let e=ez(h,d),c=l.find(t=>{let{key:n}=t;return e===n});h=Object.assign(Object.assign({},h),{title:l=>u.createElement(e3,{tablePrefixCls:t,prefixCls:`${t}-filter`,dropdownPrefixCls:n,column:h,columnKey:e,filterState:c,filterMultiple:f,filterMode:p,filterSearch:m,triggerFilter:a,locale:o,getPopupContainer:i},eH(r.title,l))})}return"children"in h&&(h=Object.assign(Object.assign({},h),{children:e(t,n,h.children,l,o,a,i,d)})),h})})(t,n,e,d,a,p,o),d,f]},te=n(38780),tt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n},tn=function(e,t,n){let r=n&&"object"==typeof n?n:{},{total:l=0}=r,o=tt(r,["total"]),[a,i]=(0,u.useState)(()=>({current:"defaultCurrent"in o?o.defaultCurrent:1,pageSize:"defaultPageSize"in o?o.defaultPageSize:10})),c=(0,te.Z)(a,o,{total:l>0?l:e}),s=Math.ceil((l||e)/c.pageSize);c.current>s&&(c.current=s||1);let d=(e,t)=>{i({current:null!=e?e:1,pageSize:t||c.pageSize})};return!1===n?[{},()=>{}]:[Object.assign(Object.assign({},c),{onChange:(e,r)=>{var l;n&&(null===(l=n.onChange)||void 0===l||l.call(n,e,r)),d(e,r),t(e,r||(null==c?void 0:c.pageSize))}}),d]},tr=n(80882),tl=n(10225),to=n(17341),ta=n(1089),ti=n(21770);let tc={},ts="SELECT_ALL",tu="SELECT_INVERT",td="SELECT_NONE",tf=[],tp=(e,t)=>{let n=[];return(t||[]).forEach(t=>{n.push(t),t&&"object"==typeof t&&e in t&&(n=[].concat((0,W.Z)(n),(0,W.Z)(tp(e,t[e]))))}),n};var tm=(e,t)=>{let{preserveSelectedRowKeys:n,selectedRowKeys:r,defaultSelectedRowKeys:l,getCheckboxProps:o,onChange:a,onSelect:i,onSelectAll:c,onSelectInvert:s,onSelectNone:d,onSelectMultiple:f,columnWidth:p,type:m,selections:h,fixed:g,renderCell:x,hideSelectAll:b,checkStrictly:v=!0}=t||{},{prefixCls:y,data:w,pageData:C,getRecordByKey:$,getRowKey:S,expandType:k,childrenColumnName:Z,locale:N,getPopupContainer:O}=e,[R,I]=(0,ti.Z)(r||l||tf,{value:r}),j=u.useRef(new Map),T=(0,u.useCallback)(e=>{if(n){let t=new Map;e.forEach(e=>{let n=$(e);!n&&j.current.has(e)&&(n=j.current.get(e)),t.set(e,n)}),j.current=t}},[$,n]);u.useEffect(()=>{T(R)},[R]);let{keyEntities:P}=(0,u.useMemo)(()=>{if(v)return{keyEntities:null};let e=w;if(n){let t=new Set(w.map((e,t)=>S(e,t))),n=Array.from(j.current).reduce((e,n)=>{let[r,l]=n;return t.has(r)?e:e.concat(l)},[]);e=[].concat((0,W.Z)(e),(0,W.Z)(n))}return(0,ta.I8)(e,{externalGetKey:S,childrenPropName:Z})},[w,S,v,Z,n]),z=(0,u.useMemo)(()=>tp(Z,C),[Z,C]),M=(0,u.useMemo)(()=>{let e=new Map;return z.forEach((t,n)=>{let r=S(t,n),l=(o?o(t):null)||{};e.set(r,l)}),e},[z,S,o]),H=(0,u.useCallback)(e=>{var t;return!!(null===(t=M.get(S(e)))||void 0===t?void 0:t.disabled)},[M,S]),[L,B]=(0,u.useMemo)(()=>{if(v)return[R||[],[]];let{checkedKeys:e,halfCheckedKeys:t}=(0,to.S)(R,!0,P,H);return[e||[],t]},[R,v,P,H]),A=(0,u.useMemo)(()=>{let e="radio"===m?L.slice(0,1):L;return new Set(e)},[L,m]),_=(0,u.useMemo)(()=>"radio"===m?new Set:new Set(B),[B,m]),[D,F]=(0,u.useState)(null);u.useEffect(()=>{t||I(tf)},[!!t]);let K=(0,u.useCallback)((e,t)=>{let r,l;T(e),n?(r=e,l=e.map(e=>j.current.get(e))):(r=[],l=[],e.forEach(e=>{let t=$(e);void 0!==t&&(r.push(e),l.push(t))})),I(r),null==a||a(r,l,{type:t})},[I,$,a,n]),V=(0,u.useCallback)((e,t,n,r)=>{if(i){let l=n.map(e=>$(e));i($(e),t,l,r)}K(n,"single")},[i,$,K]),X=(0,u.useMemo)(()=>{if(!h||b)return null;let e=!0===h?[ts,tu,td]:h;return e.map(e=>e===ts?{key:"all",text:N.selectionAll,onSelect(){K(w.map((e,t)=>S(e,t)).filter(e=>{let t=M.get(e);return!(null==t?void 0:t.disabled)||A.has(e)}),"all")}}:e===tu?{key:"invert",text:N.selectInvert,onSelect(){let e=new Set(A);C.forEach((t,n)=>{let r=S(t,n),l=M.get(r);(null==l?void 0:l.disabled)||(e.has(r)?e.delete(r):e.add(r))});let t=Array.from(e);s&&s(t),K(t,"invert")}}:e===td?{key:"none",text:N.selectNone,onSelect(){null==d||d(),K(Array.from(A).filter(e=>{let t=M.get(e);return null==t?void 0:t.disabled}),"none")}}:e).map(e=>Object.assign(Object.assign({},e),{onSelect:function(){for(var t,n=arguments.length,r=Array(n),l=0;l{var n;let r,l;if(!t)return e.filter(e=>e!==tc);let o=(0,W.Z)(e),a=new Set(A),i=z.map(S).filter(e=>!M.get(e).disabled),s=i.every(e=>a.has(e)),d=i.some(e=>a.has(e));if("radio"!==m){let e;if(X){let t={getPopupContainer:O,items:X.map((e,t)=>{let{key:n,text:r,onSelect:l}=e;return{key:null!=n?n:t,onClick:()=>{null==l||l(i)},label:r}})};e=u.createElement("div",{className:`${y}-selection-extra`},u.createElement(eW.Z,{menu:t,getPopupContainer:O},u.createElement("span",null,u.createElement(tr.Z,null))))}let t=z.map((e,t)=>{let n=S(e,t),r=M.get(n)||{};return Object.assign({checked:a.has(n)},r)}).filter(e=>{let{disabled:t}=e;return t}),n=!!t.length&&t.length===z.length,l=n&&t.every(e=>{let{checked:t}=e;return t}),o=n&&t.some(e=>{let{checked:t}=e;return t});r=!b&&u.createElement("div",{className:`${y}-selection`},u.createElement(eF.Z,{checked:n?l:!!z.length&&s,indeterminate:n?!l&&o:!s&&d,onChange:()=>{let e=[];s?i.forEach(t=>{a.delete(t),e.push(t)}):i.forEach(t=>{a.has(t)||(a.add(t),e.push(t))});let t=Array.from(a);null==c||c(!s,t.map(e=>$(e)),e.map(e=>$(e))),K(t,"all"),F(null)},disabled:0===z.length||n,"aria-label":e?"Custom selection":"Select all",skipGroup:!0}),e)}if(l="radio"===m?(e,t,n)=>{let r=S(t,n),l=a.has(r);return{node:u.createElement(eU.ZP,Object.assign({},M.get(r),{checked:l,onClick:e=>e.stopPropagation(),onChange:e=>{a.has(r)||V(r,!0,[r],e.nativeEvent)}})),checked:l}}:(e,t,n)=>{var r;let l;let o=S(t,n),c=a.has(o),s=_.has(o),d=M.get(o);return l="nest"===k?s:null!==(r=null==d?void 0:d.indeterminate)&&void 0!==r?r:s,{node:u.createElement(eF.Z,Object.assign({},d,{indeterminate:l,checked:c,skipGroup:!0,onClick:e=>e.stopPropagation(),onChange:e=>{let{nativeEvent:t}=e,{shiftKey:n}=t,r=-1,l=-1;if(n&&v){let e=new Set([D,o]);i.some((t,n)=>{if(e.has(t)){if(-1!==r)return l=n,!0;r=n}return!1})}if(-1!==l&&r!==l&&v){let e=i.slice(r,l+1),t=[];c?e.forEach(e=>{a.has(e)&&(t.push(e),a.delete(e))}):e.forEach(e=>{a.has(e)||(t.push(e),a.add(e))});let n=Array.from(a);null==f||f(!c,n.map(e=>$(e)),t.map(e=>$(e))),K(n,"multiple")}else if(v){let e=c?(0,tl._5)(L,o):(0,tl.L0)(L,o);V(o,!c,e,t)}else{let e=(0,to.S)([].concat((0,W.Z)(L),[o]),!0,P,H),{checkedKeys:n,halfCheckedKeys:r}=e,l=n;if(c){let e=new Set(n);e.delete(o),l=(0,to.S)(Array.from(e),{checked:!1,halfCheckedKeys:r},P,H).checkedKeys}V(o,!c,l,t)}c?F(null):F(o)}})),checked:c}},!o.includes(tc)){if(0===o.findIndex(e=>{var t;return(null===(t=e[Q])||void 0===t?void 0:t.columnType)==="EXPAND_COLUMN"})){let[e,...t]=o;o=[e,tc].concat((0,W.Z)(t))}else o=[tc].concat((0,W.Z)(o))}let w=o.indexOf(tc);o=o.filter((e,t)=>e!==tc||t===w);let C=o[w-1],Z=o[w+1],N=g;void 0===N&&((null==Z?void 0:Z.fixed)!==void 0?N=Z.fixed:(null==C?void 0:C.fixed)!==void 0&&(N=C.fixed)),N&&C&&(null===(n=C[Q])||void 0===n?void 0:n.columnType)==="EXPAND_COLUMN"&&void 0===C.fixed&&(C.fixed=N);let R=E()(`${y}-selection-col`,{[`${y}-selection-col-with-dropdown`]:h&&"checkbox"===m}),I={fixed:N,width:p,className:`${y}-selection-column`,title:t.columnTitle||r,render:(e,t,n)=>{let{node:r,checked:o}=l(e,t,n);return x?x(o,t,n,r):r},onCell:t.onCell,[Q]:{className:R}};return o.map(e=>e===tc?I:e)},[S,z,t,L,A,_,p,X,k,D,M,f,V,H]);return[U,A]},th={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},tg=u.forwardRef(function(e,t){return u.createElement(eB.Z,(0,p.Z)({},e,{ref:t,icon:th}))}),tx={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},tb=u.forwardRef(function(e,t){return u.createElement(eB.Z,(0,p.Z)({},e,{ref:t,icon:tx}))}),tv=n(83062);let ty="ascend",tw="descend";function tC(e){return"object"==typeof e.sorter&&"number"==typeof e.sorter.multiple&&e.sorter.multiple}function t$(e){return"function"==typeof e?e:!!e&&"object"==typeof e&&!!e.compare&&e.compare}function tE(e,t,n){let r=[];function l(e,t){r.push({column:e,key:ez(e,t),multiplePriority:tC(e),sortOrder:e.sortOrder})}return(e||[]).forEach((e,o)=>{let a=eM(o,n);e.children?("sortOrder"in e&&l(e,a),r=[].concat((0,W.Z)(r),(0,W.Z)(tE(e.children,t,a)))):e.sorter&&("sortOrder"in e?l(e,a):t&&e.defaultSortOrder&&r.push({column:e,key:ez(e,a),multiplePriority:tC(e),sortOrder:e.defaultSortOrder}))}),r}function tS(e){let{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}}function tk(e){let t=e.filter(e=>{let{sortOrder:t}=e;return t}).map(tS);return 0===t.length&&e.length?Object.assign(Object.assign({},tS(e[e.length-1])),{column:void 0}):t.length<=1?t[0]||{}:t}function tZ(e,t,n){let r=t.slice().sort((e,t)=>t.multiplePriority-e.multiplePriority),l=e.slice(),o=r.filter(e=>{let{column:{sorter:t},sortOrder:n}=e;return t$(t)&&n});return o.length?l.sort((e,t)=>{for(let n=0;n{let r=e[n];return r?Object.assign(Object.assign({},e),{[n]:tZ(r,t,n)}):e}):l}var tN=n(10274),tO=n(14747),tR=n(67968),tI=n(45503),tj=e=>{let{componentCls:t}=e,n=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`,r=(n,r,l)=>({[`&${t}-${n}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{[` + > table > tbody > tr > th, + > table > tbody > tr > td + `]:{[`> ${t}-expanded-row-fixed`]:{margin:`-${r}px -${l+e.lineWidth}px`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:n,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:n,borderTop:n,[` + > ${t}-content, + > ${t}-header, + > ${t}-body, + > ${t}-summary + `]:{"> table":{[` + > thead > tr > th, + > thead > tr > td, + > tbody > tr > th, + > tbody > tr > td, + > tfoot > tr > th, + > tfoot > tr > td + `]:{borderInlineEnd:n},"> thead":{"> tr:not(:last-child) > th":{borderBottom:n},"> tr > th::before":{backgroundColor:"transparent !important"}},[` + > thead > tr, + > tbody > tr, + > tfoot > tr + `]:{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:n}},[` + > tbody > tr > th, + > tbody > tr > td + `]:{[`> ${t}-expanded-row-fixed`]:{margin:`-${e.tablePaddingVertical}px -${e.tablePaddingHorizontal+e.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:e.lineWidth,bottom:0,borderInlineEnd:n,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` + > tr${t}-expanded-row, + > tr${t}-placeholder + `]:{"> th, > td":{borderInlineEnd:0}}}}}},r("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),r("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:n,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${e.lineWidth}px 0 ${e.lineWidth}px ${e.tableHeaderBg}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:n}}}},tT=e=>{let{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},tO.vS),{wordBreak:"keep-all",[` + &${t}-cell-fix-left-last, + &${t}-cell-fix-right-first + `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},tP=e=>{let{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,[` + &:hover > th, + &:hover > td, + `]:{background:e.colorBgContainer}}}}};let tz=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}});var tM=e=>{let{componentCls:t,antCls:n,controlInteractiveSize:r,motionDurationSlow:l,lineWidth:o,paddingXS:a,lineType:i,tableBorderColor:c,tableExpandIconBg:s,tableExpandColumnWidth:u,borderRadius:d,fontSize:f,fontSizeSM:p,lineHeight:m,tablePaddingVertical:h,tablePaddingHorizontal:g,tableExpandedRowBg:x,paddingXXS:b}=e,v=r/2-o,y=2*v+3*o,w=`${o}px ${i} ${c}`,C=b-o;return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:u},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},tz(e)),{position:"relative",float:"left",boxSizing:"border-box",width:y,height:y,padding:0,color:"inherit",lineHeight:`${y}px`,background:s,border:w,borderRadius:d,transform:`scale(${r/y})`,transition:`all ${l}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${l} ease-out`,content:'""'},"&::before":{top:v,insetInlineEnd:C,insetInlineStart:C,height:o},"&::after":{top:C,bottom:C,insetInlineStart:v,width:o,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:(f*m-3*o)/2-Math.ceil((1.4*p-3*o)/2),marginInlineEnd:a},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:x}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`-${h}px -${g}px`,padding:`${h}px ${g}px`}}}},tH=e=>{let{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:l,tableFilterDropdownSearchWidth:o,paddingXXS:a,paddingXS:i,colorText:c,lineWidth:s,lineType:u,tableBorderColor:d,tableHeaderIconColor:f,fontSizeSM:p,tablePaddingHorizontal:m,borderRadius:h,motionDurationSlow:g,colorTextDescription:x,colorPrimary:b,tableHeaderFilterActiveBg:v,colorTextDisabled:y,tableFilterDropdownBg:w,tableFilterDropdownHeight:C,controlItemBgHover:$,controlItemBgActive:E,boxShadowSecondary:S}=e,k=`${n}-dropdown`,Z=`${t}-filter-dropdown`,N=`${n}-tree`,O=`${s}px ${u} ${d}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-a,marginInline:`${a}px ${-m/2}px`,padding:`0 ${a}px`,color:f,fontSize:p,borderRadius:h,cursor:"pointer",transition:`all ${g}`,"&:hover":{color:x,background:v},"&.active":{color:b}}}},{[`${n}-dropdown`]:{[Z]:Object.assign(Object.assign({},(0,tO.Wf)(e)),{minWidth:l,backgroundColor:w,borderRadius:h,boxShadow:S,overflow:"hidden",[`${k}-menu`]:{maxHeight:C,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset","&:empty::after":{display:"block",padding:`${i}px 0`,color:y,fontSize:p,textAlign:"center",content:'"Not Found"'}},[`${Z}-tree`]:{paddingBlock:`${i}px 0`,paddingInline:i,[N]:{padding:0},[`${N}-treenode ${N}-node-content-wrapper:hover`]:{backgroundColor:$},[`${N}-treenode-checkbox-checked ${N}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:E}}},[`${Z}-search`]:{padding:i,borderBottom:O,"&-input":{input:{minWidth:o},[r]:{color:y}}},[`${Z}-checkall`]:{width:"100%",marginBottom:a,marginInlineStart:a},[`${Z}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${i-s}px ${i}px`,overflow:"hidden",borderTop:O}})}},{[`${n}-dropdown ${Z}, ${Z}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:i,color:c},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},tL=e=>{let{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:l,zIndexTableFixed:o,tableBg:a,zIndexTableSticky:i}=e;return{[`${t}-wrapper`]:{[` + ${t}-cell-fix-left, + ${t}-cell-fix-right + `]:{position:"sticky !important",zIndex:o,background:a},[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after + `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-n,width:30,transform:"translateX(100%)",transition:`box-shadow ${l}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[` + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{position:"absolute",top:0,bottom:-n,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${l}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:i+1,width:30,transition:`box-shadow ${l}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${r}`}},[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after + `]:{boxShadow:`inset 10px 0 8px -8px ${r}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${r}`}},[` + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{boxShadow:`inset -10px 0 8px -8px ${r}`}}}}},tB=e=>{let{componentCls:t,antCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${e.margin}px 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},tA=e=>{let{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${n}px ${n}px 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${n}px ${n}px`}}}}},t_=e=>{let{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}},tD=e=>{let{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:l,padding:o,paddingXS:a,tableHeaderIconColor:i,tableHeaderIconColorHover:c,tableSelectionColumnWidth:s}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:s,[`&${t}-selection-col-with-dropdown`]:{width:s+l+o/4}},[`${t}-bordered ${t}-selection-col`]:{width:s+2*a,[`&${t}-selection-col-with-dropdown`]:{width:s+l+o/4+2*a}},[` + table tr th${t}-selection-column, + table tr td${t}-selection-column + `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:e.zIndexTableFixed+1},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${e.tablePaddingHorizontal/4}px`,[r]:{color:i,fontSize:l,verticalAlign:"baseline","&:hover":{color:c}}}}}},tF=e=>{let{componentCls:t}=e,n=(n,r,l,o)=>({[`${t}${t}-${n}`]:{fontSize:o,[` + ${t}-title, + ${t}-footer, + ${t}-thead > tr > th, + ${t}-tbody > tr > th, + ${t}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{padding:`${r}px ${l}px`},[`${t}-filter-trigger`]:{marginInlineEnd:`-${l/2}px`},[`${t}-expanded-row-fixed`]:{margin:`-${r}px -${l}px`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:`-${r}px`,marginInline:`${e.tableExpandColumnWidth-l}px -${l}px`}},[`${t}-selection-column`]:{paddingInlineStart:`${l/4}px`}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},n("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),n("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},tW=e=>{let{componentCls:t,marginXXS:n,fontSizeIcon:r,tableHeaderIconColor:l,tableHeaderIconColorHover:o}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[` + &${t}-cell-fix-left:hover, + &${t}-cell-fix-right:hover + `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorter`]:{marginInlineStart:n,color:l,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:o}}}},tK=e=>{let{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:l,tableScrollThumbSize:o,tableScrollBg:a,zIndexTableSticky:i}=e,c=`${e.lineWidth}px ${e.lineType} ${e.tableBorderColor}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:i,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${o}px !important`,zIndex:i,display:"flex",alignItems:"center",background:a,borderTop:c,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:o,backgroundColor:r,borderRadius:100,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:l}}}}}}},tV=e=>{let{componentCls:t,lineWidth:n,tableBorderColor:r}=e,l=`${n}px ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:l}}},[`div${t}-summary`]:{boxShadow:`0 -${n}px 0 ${r}`}}}};let tX=e=>{let{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:l,lineWidth:o,lineType:a,tableBorderColor:i,tableFontSize:c,tableBg:s,tableRadius:u,tableHeaderTextColor:d,motionDurationMid:f,tableHeaderBg:p,tableHeaderCellSplitColor:m,tableRowHoverBg:h,tableSelectedRowBg:g,tableSelectedRowHoverBg:x,tableFooterTextColor:b,tableFooterBg:v,paddingContentVerticalLG:y}=e,w=`${o}px ${a} ${i}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,tO.dF)()),{[t]:Object.assign(Object.assign({},(0,tO.Wf)(e)),{fontSize:c,background:s,borderRadius:`${u}px ${u}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${u}px ${u}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` + ${t}-thead > tr > th, + ${t}-tbody > tr > th, + ${t}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{position:"relative",padding:`${y}px ${l}px`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${r}px ${l}px`},[`${t}-thead`]:{[` + > tr > th, + > tr > td + `]:{position:"relative",color:d,fontWeight:n,textAlign:"start",background:p,borderBottom:w,transition:`background ${f} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:m,transform:"translateY(-50%)",transition:`background-color ${f}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${f}, border-color ${f}`,borderBottom:w,[` + > ${t}-wrapper:only-child, + > ${t}-expanded-row-fixed > ${t}-wrapper:only-child + `]:{[t]:{marginBlock:`-${r}px`,marginInline:`${e.tableExpandColumnWidth-l}px -${l}px`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:d,fontWeight:n,textAlign:"start",background:p,borderBottom:w,transition:`background ${f} ease`},[` + &${t}-row:hover > th, + &${t}-row:hover > td, + > th${t}-cell-row-hover, + > td${t}-cell-row-hover + `]:{background:h},[`&${t}-row-selected`]:{"> th, > td":{background:g},"&:hover > th, &:hover > td":{background:x}}}},[`${t}-footer`]:{padding:`${r}px ${l}px`,color:b,background:v}})}};var tU=(0,tR.Z)("Table",e=>{let{controlItemBgActive:t,controlItemBgActiveHover:n,colorTextPlaceholder:r,colorTextHeading:l,colorSplit:o,colorBorderSecondary:a,fontSize:i,padding:c,paddingXS:s,paddingSM:u,controlHeight:d,colorFillAlter:f,colorIcon:p,colorIconHover:m,opacityLoading:h,colorBgContainer:g,borderRadiusLG:x,colorFillContent:b,colorFillSecondary:v,controlInteractiveSize:y}=e,w=new tN.C(p),C=new tN.C(m),$=new tN.C(v).onBackground(g).toHexShortString(),E=new tN.C(b).onBackground(g).toHexShortString(),S=new tN.C(f).onBackground(g).toHexShortString(),k=(0,tI.TS)(e,{tableFontSize:i,tableBg:g,tableRadius:x,tablePaddingVertical:c,tablePaddingHorizontal:c,tablePaddingVerticalMiddle:u,tablePaddingHorizontalMiddle:s,tablePaddingVerticalSmall:s,tablePaddingHorizontalSmall:s,tableBorderColor:a,tableHeaderTextColor:l,tableHeaderBg:S,tableFooterTextColor:l,tableFooterBg:S,tableHeaderCellSplitColor:a,tableHeaderSortBg:$,tableHeaderSortHoverBg:E,tableHeaderIconColor:w.clone().setAlpha(w.getAlpha()*h).toRgbString(),tableHeaderIconColorHover:C.clone().setAlpha(C.getAlpha()*h).toRgbString(),tableBodySortBg:S,tableFixedHeaderSortActiveBg:$,tableHeaderFilterActiveBg:b,tableFilterDropdownBg:g,tableRowHoverBg:S,tableSelectedRowBg:t,tableSelectedRowHoverBg:n,zIndexTableFixed:2,zIndexTableSticky:3,tableFontSizeMiddle:i,tableFontSizeSmall:i,tableSelectionColumnWidth:d,tableExpandIconBg:g,tableExpandColumnWidth:y+2*e.padding,tableExpandedRowBg:f,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:r,tableScrollThumbBgHover:l,tableScrollBg:o});return[tX(k),tB(k),tV(k),tW(k),tH(k),tj(k),tA(k),tM(k),tV(k),tP(k),tD(k),tL(k),tK(k),tT(k),tF(k),t_(k)]});let tG=[];var tY=u.forwardRef((e,t)=>{let n,r,l;let{prefixCls:a,className:i,rootClassName:c,style:s,size:d,bordered:f,dropdownPrefixCls:p,dataSource:m,pagination:h,rowSelection:g,rowKey:x="key",rowClassName:b,columns:v,children:y,childrenColumnName:w,onChange:C,getPopupContainer:$,loading:S,expandIcon:k,expandable:Z,expandedRowRender:N,expandIconColumnIndex:O,indentSize:R,scroll:I,sortDirections:j,locale:T,showSorterTooltip:P=!0}=e,z=u.useMemo(()=>v||eu(y),[v,y]),M=u.useMemo(()=>z.some(e=>e.responsive),[z]),H=(0,eR.Z)(M),L=u.useMemo(()=>{let e=new Set(Object.keys(H).filter(e=>H[e]));return z.filter(t=>!t.responsive||t.responsive.some(t=>e.has(t)))},[z,H]),B=(0,eS.Z)(e,["className","style","columns"]),{locale:A=eI.Z,direction:_,table:D,renderEmpty:F,getPrefixCls:K,getPopupContainer:V}=u.useContext(eZ.E_),X=(0,eO.Z)(d),U=Object.assign(Object.assign({},A.Table),T),G=m||tG,Y=K("table",a),J=K("dropdown",p),q=Object.assign({childrenColumnName:w,expandIconColumnIndex:O},Z),{childrenColumnName:Q="children"}=q,ee=u.useMemo(()=>G.some(e=>null==e?void 0:e[Q])?"nest":N||Z&&Z.expandedRowRender?"row":null,[G]),et={body:u.useRef()},en=u.useMemo(()=>"function"==typeof x?x:e=>null==e?void 0:e[x],[x]),[er]=function(e,t,n){let r=u.useRef({});return[function(l){if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){let l=new Map;!function e(r){r.forEach((r,o)=>{let a=n(r,o);l.set(a,r),r&&"object"==typeof r&&t in r&&e(r[t]||[])})}(e),r.current={data:e,childrenColumnName:t,kvMap:l,getRowKey:n}}return r.current.kvMap.get(l)}]}(G,Q,en),el={},eo=function(e,t){var n,r,l;let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=Object.assign(Object.assign({},el),e);o&&(null===(n=el.resetPagination)||void 0===n||n.call(el),(null===(r=a.pagination)||void 0===r?void 0:r.current)&&(a.pagination.current=1),h&&h.onChange&&h.onChange(1,null===(l=a.pagination)||void 0===l?void 0:l.pageSize)),I&&!1!==I.scrollToFirstRowOnChange&&et.body.current&&(0,ek.Z)(0,{getContainer:()=>et.body.current}),null==C||C(a.pagination,a.filters,a.sorter,{currentDataSource:e6(tZ(G,a.sorterStates,Q),a.filterStates),action:t})},[ea,ei,ec,es]=function(e){let{prefixCls:t,mergedColumns:n,onSorterChange:r,sortDirections:l,tableLocale:o,showSorterTooltip:a}=e,[i,c]=u.useState(tE(n,!0)),s=u.useMemo(()=>{let e=!0,t=tE(n,!1);if(!t.length)return i;let r=[];function l(t){e?r.push(t):r.push(Object.assign(Object.assign({},t),{sortOrder:null}))}let o=null;return t.forEach(t=>{null===o?(l(t),t.sortOrder&&(!1===t.multiplePriority?e=!1:o=!0)):(o&&!1!==t.multiplePriority||(e=!1),l(t))}),r},[n,i]),d=u.useMemo(()=>{let e=s.map(e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n}});return{sortColumns:e,sortColumn:e[0]&&e[0].column,sortOrder:e[0]&&e[0].order}},[s]);function f(e){let t;c(t=!1!==e.multiplePriority&&s.length&&!1!==s[0].multiplePriority?[].concat((0,W.Z)(s.filter(t=>{let{key:n}=t;return n!==e.key})),[e]):[e]),r(tk(t),t)}return[e=>(function e(t,n,r,l,o,a,i,c){return(n||[]).map((n,s)=>{let d=eM(s,c),f=n;if(f.sorter){let e;let c=f.sortDirections||o,s=void 0===f.showSorterTooltip?i:f.showSorterTooltip,p=ez(f,d),m=r.find(e=>{let{key:t}=e;return t===p}),h=m?m.sortOrder:null,g=h?c[c.indexOf(h)+1]:c[0];if(n.sortIcon)e=n.sortIcon({sortOrder:h});else{let n=c.includes(ty)&&u.createElement(tb,{className:E()(`${t}-column-sorter-up`,{active:h===ty})}),r=c.includes(tw)&&u.createElement(tg,{className:E()(`${t}-column-sorter-down`,{active:h===tw})});e=u.createElement("span",{className:E()(`${t}-column-sorter`,{[`${t}-column-sorter-full`]:!!(n&&r)})},u.createElement("span",{className:`${t}-column-sorter-inner`,"aria-hidden":"true"},n,r))}let{cancelSort:x,triggerAsc:b,triggerDesc:v}=a||{},y=x;g===tw?y=v:g===ty&&(y=b);let w="object"==typeof s?s:{title:y};f=Object.assign(Object.assign({},f),{className:E()(f.className,{[`${t}-column-sort`]:h}),title:r=>{let l=u.createElement("div",{className:`${t}-column-sorters`},u.createElement("span",{className:`${t}-column-title`},eH(n.title,r)),e);return s?u.createElement(tv.Z,Object.assign({},w),l):l},onHeaderCell:e=>{let r=n.onHeaderCell&&n.onHeaderCell(e)||{},o=r.onClick,a=r.onKeyDown;r.onClick=e=>{l({column:n,key:p,sortOrder:g,multiplePriority:tC(n)}),null==o||o(e)},r.onKeyDown=e=>{e.keyCode===eQ.Z.ENTER&&(l({column:n,key:p,sortOrder:g,multiplePriority:tC(n)}),null==a||a(e))};let i=function(e,t){let n=eH(e,t);return"[object Object]"===Object.prototype.toString.call(n)?"":n}(n.title,{}),c=null==i?void 0:i.toString();return h?r["aria-sort"]="ascend"===h?"ascending":"descending":r["aria-label"]=c||"",r.className=E()(r.className,`${t}-column-has-sorters`),r.tabIndex=0,n.ellipsis&&(r.title=(null!=i?i:"").toString()),r}})}return"children"in f&&(f=Object.assign(Object.assign({},f),{children:e(t,f.children,r,l,o,a,i,d)})),f})})(t,e,s,f,l,o,a),s,d,()=>tk(s)]}({prefixCls:Y,mergedColumns:L,onSorterChange:(e,t)=>{eo({sorter:e,sorterStates:t},"sort",!1)},sortDirections:j||["ascend","descend"],tableLocale:U,showSorterTooltip:P}),ed=u.useMemo(()=>tZ(G,ei,Q),[G,ei]);el.sorter=es(),el.sorterStates=ei;let[ef,ep,em]=e9({prefixCls:Y,locale:U,dropdownPrefixCls:J,mergedColumns:L,onFilterChange:(e,t)=>{eo({filters:e,filterStates:t},"filter",!0)},getPopupContainer:$||V}),eh=e6(ed,ep);el.filters=em,el.filterStates=ep;let eg=u.useMemo(()=>{let e={};return Object.keys(em).forEach(t=>{null!==em[t]&&(e[t]=em[t])}),Object.assign(Object.assign({},ec),{filters:e})},[ec,em]),[ex]=function(e){let t=u.useCallback(t=>(function e(t,n){return t.map(t=>{let r=Object.assign({},t);return r.title=eH(t.title,n),"children"in r&&(r.children=e(r.children,n)),r})})(t,e),[e]);return[t]}(eg),[eb,ev]=tn(eh.length,(e,t)=>{eo({pagination:Object.assign(Object.assign({},el.pagination),{current:e,pageSize:t})},"paginate")},h);el.pagination=!1===h?{}:function(e,t){let n={current:e.current,pageSize:e.pageSize},r=t&&"object"==typeof t?t:{};return Object.keys(r).forEach(t=>{let r=e[t];"function"!=typeof r&&(n[t]=r)}),n}(eb,h),el.resetPagination=ev;let ey=u.useMemo(()=>{if(!1===h||!eb.pageSize)return eh;let{current:e=1,total:t,pageSize:n=10}=eb;return eh.lengthn?eh.slice((e-1)*n,e*n):eh:eh.slice((e-1)*n,e*n)},[!!h,eh,eb&&eb.current,eb&&eb.pageSize,eb&&eb.total]),[ew,eC]=tm({prefixCls:Y,data:eh,pageData:ey,getRowKey:en,getRecordByKey:er,expandType:ee,childrenColumnName:Q,locale:U,getPopupContainer:$||V},g);q.__PARENT_RENDER_ICON__=q.expandIcon,q.expandIcon=q.expandIcon||k||function(e){let{prefixCls:t,onExpand:n,record:r,expanded:l,expandable:o}=e,a=`${t}-row-expand-icon`;return u.createElement("button",{type:"button",onClick:e=>{n(r,e),e.stopPropagation()},className:E()(a,{[`${a}-spaced`]:!o,[`${a}-expanded`]:o&&l,[`${a}-collapsed`]:o&&!l}),"aria-label":l?U.collapse:U.expand,"aria-expanded":l})},"nest"===ee&&void 0===q.expandIconColumnIndex?q.expandIconColumnIndex=g?1:0:q.expandIconColumnIndex>0&&g&&(q.expandIconColumnIndex-=1),"number"!=typeof q.indentSize&&(q.indentSize="number"==typeof R?R:15);let e$=u.useCallback(e=>ex(ew(ef(ea(e)))),[ea,ef,ew]);if(!1!==h&&(null==eb?void 0:eb.total)){let e;e=eb.size?eb.size:"small"===X||"middle"===X?"small":void 0;let t=t=>u.createElement(ej.Z,Object.assign({},eb,{className:E()(`${Y}-pagination ${Y}-pagination-${t}`,eb.className),size:e})),l="rtl"===_?"left":"right",{position:o}=eb;if(null!==o&&Array.isArray(o)){let e=o.find(e=>e.includes("top")),a=o.find(e=>e.includes("bottom")),i=o.every(e=>"none"==`${e}`);e||a||i||(r=t(l)),e&&(n=t(e.toLowerCase().replace("top",""))),a&&(r=t(a.toLowerCase().replace("bottom","")))}else r=t(l)}"boolean"==typeof S?l={spinning:S}:"object"==typeof S&&(l=Object.assign({spinning:!0},S));let[eE,eL]=tU(Y),eB=E()(`${Y}-wrapper`,null==D?void 0:D.className,{[`${Y}-wrapper-rtl`]:"rtl"===_},i,c,eL),eA=Object.assign(Object.assign({},null==D?void 0:D.style),s),e_=T&&T.emptyText||(null==F?void 0:F("Table"))||u.createElement(eN.Z,{componentName:"Table"});return eE(u.createElement("div",{ref:t,className:eB,style:eA},u.createElement(eT.Z,Object.assign({spinning:!1},l),n,u.createElement(eP,Object.assign({},B,{columns:L,direction:_,expandable:q,prefixCls:Y,className:E()({[`${Y}-middle`]:"middle"===X,[`${Y}-small`]:"small"===X,[`${Y}-bordered`]:f,[`${Y}-empty`]:0===G.length}),data:ey,rowKey:en,rowClassName:(e,t,n)=>{let r;return r="function"==typeof b?E()(b(e,t,n)):E()(b),E()({[`${Y}-row-selected`]:eC.has(en(e,t))},r)},emptyText:e_,internalHooks:o,internalRefs:et,transformColumns:e$})),r)))});let tJ=u.forwardRef((e,t)=>{let n=u.useRef(0);return n.current+=1,u.createElement(tY,Object.assign({},e,{ref:t,_renderTimes:n.current}))});tJ.SELECTION_COLUMN=tc,tJ.EXPAND_COLUMN=l,tJ.SELECTION_ALL=ts,tJ.SELECTION_INVERT=tu,tJ.SELECTION_NONE=td,tJ.Column=function(e){return null},tJ.ColumnGroup=function(e){return null},tJ.Summary=z;var tq=tJ},64019:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(73935);function l(e,t,n,l){var o=r.unstable_batchedUpdates?function(e){r.unstable_batchedUpdates(n,e)}:n;return null!=e&&e.addEventListener&&e.addEventListener(t,o,l),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,o,l)}}}},27678:function(e,t,n){function r(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}function l(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}n.d(t,{g1:function(){return r},os:function(){return l}})}}]); \ No newline at end of file diff --git a/dbgpt/app/static/_next/static/chunks/810-84757da754c6f3fc.js b/dbgpt/app/static/_next/static/chunks/810-84757da754c6f3fc.js new file mode 100644 index 000000000..a35c6bc33 --- /dev/null +++ b/dbgpt/app/static/_next/static/chunks/810-84757da754c6f3fc.js @@ -0,0 +1,16 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[810],{6171:function(e,t,n){n.d(t,{Z:function(){return l}});var i=n(87462),o=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))})},25378:function(e,t,n){var i=n(67294),o=n(8410),r=n(57838),a=n(74443);t.Z=function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,i.useRef)({}),n=(0,r.Z)(),l=(0,a.Z)();return(0,o.Z)(()=>{let i=l.subscribe(i=>{t.current=i,e&&n()});return()=>l.unsubscribe(i)},[]),t.current}},81647:function(e,t,n){n.d(t,{Z:function(){return F}});var i=n(87462),o=n(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:r}))}),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},c=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,i.Z)({},e,{ref:t,icon:s}))}),p=n(6171),u=n(18073),m=n(94184),d=n.n(m),g=n(4942),h=n(1413),v=n(15671),b=n(43144),f=n(32531),S=n(73568),C=n(64217),$={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},x=function(e){(0,f.Z)(n,e);var t=(0,S.Z)(n);function n(){var e;(0,v.Z)(this,n);for(var i=arguments.length,o=Array(i),r=0;r=0||t.relatedTarget.className.indexOf("".concat(r,"-item"))>=0)||o(e.getValidValue()))},e.go=function(t){""!==e.state.goInputText&&(t.keyCode===$.ENTER||"click"===t.type)&&(e.setState({goInputText:""}),e.props.quickGo(e.getValidValue()))},e}return(0,b.Z)(n,[{key:"getPageSizeOptions",value:function(){var e=this.props,t=e.pageSize,n=e.pageSizeOptions;return n.some(function(e){return e.toString()===t.toString()})?n:n.concat([t.toString()]).sort(function(e,t){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t))})}},{key:"render",value:function(){var e=this,t=this.props,n=t.pageSize,i=t.locale,r=t.rootPrefixCls,a=t.changeSize,l=t.quickGo,s=t.goButton,c=t.selectComponentClass,p=t.buildOptionText,u=t.selectPrefixCls,m=t.disabled,d=this.state.goInputText,g="".concat(r,"-options"),h=null,v=null,b=null;if(!a&&!l)return null;var f=this.getPageSizeOptions();if(a&&c){var S=f.map(function(t,n){return o.createElement(c.Option,{key:n,value:t.toString()},(p||e.buildOptionText)(t))});h=o.createElement(c,{disabled:m,prefixCls:u,showSearch:!1,className:"".concat(g,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(n||f[0]).toString(),onChange:this.changeSize,getPopupContainer:function(e){return e.parentNode},"aria-label":i.page_size,defaultOpen:!1},S)}return l&&(s&&(b="boolean"==typeof s?o.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:m,className:"".concat(g,"-quick-jumper-button")},i.jump_to_confirm):o.createElement("span",{onClick:this.go,onKeyUp:this.go},s)),v=o.createElement("div",{className:"".concat(g,"-quick-jumper")},i.jump_to,o.createElement("input",{disabled:m,type:"text",value:d,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":i.page}),i.page,b)),o.createElement("li",{className:"".concat(g)},h,v)}}]),n}(o.Component);x.defaultProps={pageSizeOptions:["10","20","50","100"]};var y=function(e){var t,n=e.rootPrefixCls,i=e.page,r=e.active,a=e.className,l=e.showTitle,s=e.onClick,c=e.onKeyPress,p=e.itemRender,u="".concat(n,"-item"),m=d()(u,"".concat(u,"-").concat(i),(t={},(0,g.Z)(t,"".concat(u,"-active"),r),(0,g.Z)(t,"".concat(u,"-disabled"),!i),(0,g.Z)(t,e.className,a),t)),h=p(i,"page",o.createElement("a",{rel:"nofollow"},i));return h?o.createElement("li",{title:l?i.toString():null,className:m,onClick:function(){s(i)},onKeyPress:function(e){c(e,s,i)},tabIndex:0},h):null};function k(){}function E(e){var t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function N(e,t,n){var i=void 0===e?t.pageSize:e;return Math.floor((n.total-1)/i)+1}var z=function(e){(0,f.Z)(n,e);var t=(0,S.Z)(n);function n(e){(0,v.Z)(this,n),(i=t.call(this,e)).paginationNode=o.createRef(),i.getJumpPrevPage=function(){return Math.max(1,i.state.current-(i.props.showLessItems?3:5))},i.getJumpNextPage=function(){return Math.min(N(void 0,i.state,i.props),i.state.current+(i.props.showLessItems?3:5))},i.getItemIcon=function(e,t){var n=i.props.prefixCls,r=e||o.createElement("button",{type:"button","aria-label":t,className:"".concat(n,"-item-link")});return"function"==typeof e&&(r=o.createElement(e,(0,h.Z)({},i.props))),r},i.isValid=function(e){var t=i.props.total;return E(e)&&e!==i.state.current&&E(t)&&t>0},i.shouldDisplayQuickJumper=function(){var e=i.props,t=e.showQuickJumper;return!(e.total<=i.state.pageSize)&&t},i.handleKeyDown=function(e){(e.keyCode===$.ARROW_UP||e.keyCode===$.ARROW_DOWN)&&e.preventDefault()},i.handleKeyUp=function(e){var t=i.getValidValue(e);t!==i.state.currentInputValue&&i.setState({currentInputValue:t}),e.keyCode===$.ENTER?i.handleChange(t):e.keyCode===$.ARROW_UP?i.handleChange(t-1):e.keyCode===$.ARROW_DOWN&&i.handleChange(t+1)},i.handleBlur=function(e){var t=i.getValidValue(e);i.handleChange(t)},i.changePageSize=function(e){var t=i.state.current,n=N(e,i.state,i.props);t=t>n?n:t,0===n&&(t=i.state.current),"number"!=typeof e||("pageSize"in i.props||i.setState({pageSize:e}),"current"in i.props||i.setState({current:t,currentInputValue:t})),i.props.onShowSizeChange(t,e),"onChange"in i.props&&i.props.onChange&&i.props.onChange(t,e)},i.handleChange=function(e){var t=i.props,n=t.disabled,o=t.onChange,r=i.state,a=r.pageSize,l=r.current,s=r.currentInputValue;if(i.isValid(e)&&!n){var c=N(void 0,i.state,i.props),p=e;return e>c?p=c:e<1&&(p=1),"current"in i.props||i.setState({current:p}),p!==s&&i.setState({currentInputValue:p}),o(p,a),p}return l},i.prev=function(){i.hasPrev()&&i.handleChange(i.state.current-1)},i.next=function(){i.hasNext()&&i.handleChange(i.state.current+1)},i.jumpPrev=function(){i.handleChange(i.getJumpPrevPage())},i.jumpNext=function(){i.handleChange(i.getJumpNextPage())},i.hasPrev=function(){return i.state.current>1},i.hasNext=function(){return i.state.current2?n-2:0),o=2;o=n?n:Number(t)}},{key:"getShowSizeChanger",value:function(){var e=this.props,t=e.showSizeChanger,n=e.total,i=e.totalBoundaryShowSizeChanger;return void 0!==t?t:n>i}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,n=e.className,r=e.style,a=e.disabled,l=e.hideOnSinglePage,s=e.total,c=e.locale,p=e.showQuickJumper,u=e.showLessItems,m=e.showTitle,h=e.showTotal,v=e.simple,b=e.itemRender,f=e.showPrevNextJumpers,S=e.jumpPrevIcon,$=e.jumpNextIcon,k=e.selectComponentClass,E=e.selectPrefixCls,z=e.pageSizeOptions,I=this.state,P=I.current,O=I.pageSize,w=I.currentInputValue;if(!0===l&&s<=O)return null;var D=N(void 0,this.state,this.props),T=[],j=null,M=null,B=null,Z=null,A=null,_=p&&p.goButton,R=u?1:2,H=P-1>0?P-1:0,L=P+1s?s:P*O]));if(v){_&&(A="boolean"==typeof _?o.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},c.jump_to_confirm):o.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},_),A=o.createElement("li",{title:m?"".concat(c.jump_to).concat(P,"/").concat(D):null,className:"".concat(t,"-simple-pager")},A));var W=this.renderPrev(H);return o.createElement("ul",(0,i.Z)({className:d()(t,"".concat(t,"-simple"),(0,g.Z)({},"".concat(t,"-disabled"),a),n),style:r,ref:this.paginationNode},V),X,W?o.createElement("li",{title:m?c.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:d()("".concat(t,"-prev"),(0,g.Z)({},"".concat(t,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},W):null,o.createElement("li",{title:m?"".concat(P,"/").concat(D):null,className:"".concat(t,"-simple-pager")},o.createElement("input",{type:"text",value:w,disabled:a,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),o.createElement("span",{className:"".concat(t,"-slash")},"/"),D),o.createElement("li",{title:m?c.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:d()("".concat(t,"-next"),(0,g.Z)({},"".concat(t,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(L)),A)}if(D<=3+2*R){var K={locale:c,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:m,itemRender:b};D||T.push(o.createElement(y,(0,i.Z)({},K,{key:"noPager",page:1,className:"".concat(t,"-item-disabled")})));for(var G=1;G<=D;G+=1){var J=P===G;T.push(o.createElement(y,(0,i.Z)({},K,{key:G,page:G,active:J})))}}else{var U=u?c.prev_3:c.prev_5,F=u?c.next_3:c.next_5,q=b(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(S,"prev page")),Q=b(this.getJumpNextPage(),"jump-next",this.getItemIcon($,"next page"));f&&(j=q?o.createElement("li",{title:m?U:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:d()("".concat(t,"-jump-prev"),(0,g.Z)({},"".concat(t,"-jump-prev-custom-icon"),!!S))},q):null,M=Q?o.createElement("li",{title:m?F:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:d()("".concat(t,"-jump-next"),(0,g.Z)({},"".concat(t,"-jump-next-custom-icon"),!!$))},Q):null),Z=o.createElement(y,{locale:c,last:!0,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:D,page:D,active:!1,showTitle:m,itemRender:b}),B=o.createElement(y,{locale:c,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:m,itemRender:b});var Y=Math.max(1,P-R),ee=Math.min(P+R,D);P-1<=R&&(ee=1+2*R),D-P<=R&&(Y=D-2*R);for(var et=Y;et<=ee;et+=1){var en=P===et;T.push(o.createElement(y,{locale:c,rootPrefixCls:t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:et,page:et,active:en,showTitle:m,itemRender:b}))}P-1>=2*R&&3!==P&&(T[0]=(0,o.cloneElement)(T[0],{className:"".concat(t,"-item-after-jump-prev")}),T.unshift(j)),D-P>=2*R&&P!==D-2&&(T[T.length-1]=(0,o.cloneElement)(T[T.length-1],{className:"".concat(t,"-item-before-jump-next")}),T.push(M)),1!==Y&&T.unshift(B),ee!==D&&T.push(Z)}var ei=!this.hasPrev()||!D,eo=!this.hasNext()||!D,er=this.renderPrev(H),ea=this.renderNext(L);return o.createElement("ul",(0,i.Z)({className:d()(t,n,(0,g.Z)({},"".concat(t,"-disabled"),a)),style:r,ref:this.paginationNode},V),X,er?o.createElement("li",{title:m?c.prev_page:null,onClick:this.prev,tabIndex:ei?null:0,onKeyPress:this.runIfEnterPrev,className:d()("".concat(t,"-prev"),(0,g.Z)({},"".concat(t,"-disabled"),ei)),"aria-disabled":ei},er):null,T,ea?o.createElement("li",{title:m?c.next_page:null,onClick:this.next,tabIndex:eo?null:0,onKeyPress:this.runIfEnterNext,className:d()("".concat(t,"-next"),(0,g.Z)({},"".concat(t,"-disabled"),eo)),"aria-disabled":eo},ea):null,o.createElement(x,{disabled:a,locale:c,rootPrefixCls:t,selectComponentClass:k,selectPrefixCls:E,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:P,pageSize:O,pageSizeOptions:z,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:_}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};if("current"in e&&(n.current=e.current,e.current!==t.current&&(n.currentInputValue=n.current)),"pageSize"in e&&e.pageSize!==t.pageSize){var i=t.current,o=N(e.pageSize,t,e);i=i>o?o:i,"current"in e||(n.current=i,n.currentInputValue=i),n.pageSize=e.pageSize}return n}}]),n}(o.Component);z.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:k,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:k,locale:{items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},style:{},itemRender:function(e,t,n){return n},totalBoundaryShowSizeChanger:50};var I=n(62906),P=n(53124),O=n(98675),w=n(25378),D=n(10110),T=n(51009);let j=e=>o.createElement(T.default,Object.assign({},e,{showSearch:!0,size:"small"})),M=e=>o.createElement(T.default,Object.assign({},e,{showSearch:!0,size:"middle"}));j.Option=T.default.Option,M.Option=T.default.Option;var B=n(47673),Z=n(14747),A=n(67968),_=n(45503);let R=e=>{let{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},H=e=>{let{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:`${e.itemSizeSM-2}px`},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` + &${t}-mini ${t}-prev ${t}-item-link, + &${t}-mini ${t}-next ${t}-item-link + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:`${e.itemSizeSM}px`},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,B.x0)(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},L=e=>{let{componentCls:t}=e;return{[` + &${t}-simple ${t}-prev, + &${t}-simple ${t}-next + `]:{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`,verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:`${e.itemSizeSM}px`}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:e.marginXS,padding:`0 ${e.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${e.inputOutlineOffset}px 0 ${e.controlOutlineWidth}px ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},V=e=>{let{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` + ${t}-prev, + ${t}-jump-prev, + ${t}-jump-next + `]:{marginInlineEnd:e.marginXS},[` + ${t}-prev, + ${t}-next, + ${t}-jump-prev, + ${t}-jump-next + `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:`${e.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:`${e.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,B.ik)(e)),{width:1.25*e.controlHeightLG,height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},X=e=>{let{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:`${e.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${e.paginationItemPaddingInline}px`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},W=e=>{let{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Z.Wf)(e)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:`${e.itemSize-2}px`,verticalAlign:"middle"}}),X(e)),V(e)),L(e)),H(e)),R(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},K=e=>{let{componentCls:t}=e;return{[`${t}${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${e.lineWidth}px ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},G=e=>{let{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},(0,Z.Qy)(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},(0,Z.oN)(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},(0,Z.oN)(e))}}}};var J=(0,A.Z)("Pagination",e=>{let t=(0,_.TS)(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.marginXXS/2,paginationMiniQuickJumperInputWidth:1.1*e.controlHeightLG,paginationItemPaddingInline:1.5*e.marginXXS,paginationEllipsisLetterSpacing:e.marginXXS/2,paginationSlashMarginInlineStart:e.marginXXS,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,B.e5)(e));return[W(t),G(t),e.wireframe&&K(t)]},e=>({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0})),U=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n},F=e=>{let{prefixCls:t,selectPrefixCls:n,className:i,rootClassName:r,style:a,size:s,locale:m,selectComponentClass:g,responsive:h,showSizeChanger:v}=e,b=U(e,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:f}=(0,w.Z)(h),{getPrefixCls:S,direction:C,pagination:$={}}=o.useContext(P.E_),x=S("pagination",t),[y,k]=J(x),E=null!=v?v:$.showSizeChanger,N=o.useMemo(()=>{let e=o.createElement("span",{className:`${x}-item-ellipsis`},"•••"),t=o.createElement("button",{className:`${x}-item-link`,type:"button",tabIndex:-1},"rtl"===C?o.createElement(u.Z,null):o.createElement(p.Z,null)),n=o.createElement("button",{className:`${x}-item-link`,type:"button",tabIndex:-1},"rtl"===C?o.createElement(p.Z,null):o.createElement(u.Z,null)),i=o.createElement("a",{className:`${x}-item-link`},o.createElement("div",{className:`${x}-item-container`},"rtl"===C?o.createElement(c,{className:`${x}-item-link-icon`}):o.createElement(l,{className:`${x}-item-link-icon`}),e)),r=o.createElement("a",{className:`${x}-item-link`},o.createElement("div",{className:`${x}-item-container`},"rtl"===C?o.createElement(l,{className:`${x}-item-link-icon`}):o.createElement(c,{className:`${x}-item-link-icon`}),e));return{prevIcon:t,nextIcon:n,jumpPrevIcon:i,jumpNextIcon:r}},[C,x]),[T]=(0,D.Z)("Pagination",I.Z),B=Object.assign(Object.assign({},T),m),Z=(0,O.Z)(s),A="small"===Z||!!(f&&!Z&&h),_=S("select",n),R=d()({[`${x}-mini`]:A,[`${x}-rtl`]:"rtl"===C},null==$?void 0:$.className,i,r,k),H=Object.assign(Object.assign({},null==$?void 0:$.style),a);return y(o.createElement(z,Object.assign({},N,b,{style:H,prefixCls:x,selectPrefixCls:_,className:R,selectComponentClass:g||(A?j:M),locale:B,showSizeChanger:E})))}},75081:function(e,t,n){n.d(t,{Z:function(){return $}});var i=n(94184),o=n.n(i),r=n(98423),a=n(67294),l=n(96159),s=n(53124),c=n(23183),p=n(14747),u=n(67968),m=n(45503);let d=new c.E4("antSpinMove",{to:{opacity:1}}),g=new c.E4("antRotate",{to:{transform:"rotate(405deg)"}}),h=e=>({[`${e.componentCls}`]:Object.assign(Object.assign({},(0,p.Wf)(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${e.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${e.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-e.spinDotSize/2},[`${e.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(e.spinDotSize-e.fontSize)/2+2,textShadow:`0 1px 2px ${e.colorBgContainer}`,fontSize:e.fontSize},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSize/2)-10},"&-sm":{[`${e.componentCls}-dot`]:{margin:-e.spinDotSizeSM/2},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeSM-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeSM/2)-10}},"&-lg":{[`${e.componentCls}-dot`]:{margin:-(e.spinDotSizeLG/2)},[`${e.componentCls}-text`]:{paddingTop:(e.spinDotSizeLG-e.fontSize)/2+2},[`&${e.componentCls}-show-text ${e.componentCls}-dot`]:{marginTop:-(e.spinDotSizeLG/2)-10}}},[`${e.componentCls}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${e.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${e.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:e.spinDotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(e.spinDotSize-e.marginXXS/2)/2,height:(e.spinDotSize-e.marginXXS/2)/2,backgroundColor:e.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:d,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:g,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeSM,i:{width:(e.spinDotSizeSM-e.marginXXS/2)/2,height:(e.spinDotSizeSM-e.marginXXS/2)/2}},[`&-lg ${e.componentCls}-dot`]:{fontSize:e.spinDotSizeLG,i:{width:(e.spinDotSizeLG-e.marginXXS)/2,height:(e.spinDotSizeLG-e.marginXXS)/2}},[`&${e.componentCls}-show-text ${e.componentCls}-text`]:{display:"block"}})});var v=(0,u.Z)("Spin",e=>{let t=(0,m.TS)(e,{spinDotDefault:e.colorTextDescription,spinDotSize:e.controlHeightLG/2,spinDotSizeSM:.35*e.controlHeightLG,spinDotSizeLG:e.controlHeight});return[h(t)]},{contentHeight:400}),b=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);ot.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n};let f=null,S=e=>{let{spinPrefixCls:t,spinning:n=!0,delay:i=0,className:c,rootClassName:p,size:u="default",tip:m,wrapperClassName:d,style:g,children:h,hashId:v}=e,S=b(e,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[C,$]=a.useState(()=>n&&(!n||!i||!!isNaN(Number(i))));a.useEffect(()=>{if(n){var e;let t=function(e,t,n){var i,o=n||{},r=o.noTrailing,a=void 0!==r&&r,l=o.noLeading,s=void 0!==l&&l,c=o.debounceMode,p=void 0===c?void 0:c,u=!1,m=0;function d(){i&&clearTimeout(i)}function g(){for(var n=arguments.length,o=Array(n),r=0;re?s?(m=Date.now(),a||(i=setTimeout(p?h:g,e))):g():!0!==a&&(i=setTimeout(p?h:g,void 0===p?e-c:e)))}return g.cancel=function(e){var t=(e||{}).upcomingOnly;d(),u=!(void 0!==t&&t)},g}(i,()=>{$(!0)},{debounceMode:!1!==(void 0!==(e=({}).atBegin)&&e)});return t(),()=>{var e;null===(e=null==t?void 0:t.cancel)||void 0===e||e.call(t)}}$(!1)},[i,n]);let x=a.useMemo(()=>void 0!==h,[h]),{direction:y,spin:k}=a.useContext(s.E_),E=o()(t,null==k?void 0:k.className,{[`${t}-sm`]:"small"===u,[`${t}-lg`]:"large"===u,[`${t}-spinning`]:C,[`${t}-show-text`]:!!m,[`${t}-rtl`]:"rtl"===y},c,p,v),N=o()(`${t}-container`,{[`${t}-blur`]:C}),z=(0,r.Z)(S,["indicator","prefixCls"]),I=Object.assign(Object.assign({},null==k?void 0:k.style),g),P=a.createElement("div",Object.assign({},z,{style:I,className:E,"aria-live":"polite","aria-busy":C}),function(e,t){let{indicator:n}=t,i=`${e}-dot`;return null===n?null:(0,l.l$)(n)?(0,l.Tm)(n,{className:o()(n.props.className,i)}):(0,l.l$)(f)?(0,l.Tm)(f,{className:o()(f.props.className,i)}):a.createElement("span",{className:o()(i,`${e}-dot-spin`)},a.createElement("i",{className:`${e}-dot-item`,key:1}),a.createElement("i",{className:`${e}-dot-item`,key:2}),a.createElement("i",{className:`${e}-dot-item`,key:3}),a.createElement("i",{className:`${e}-dot-item`,key:4}))}(t,e),m&&x?a.createElement("div",{className:`${t}-text`},m):null);return x?a.createElement("div",Object.assign({},z,{className:o()(`${t}-nested-loading`,d,v)}),C&&a.createElement("div",{key:"loading"},P),a.createElement("div",{className:N,key:"container"},h)):P},C=e=>{let{prefixCls:t}=e,{getPrefixCls:n}=a.useContext(s.E_),i=n("spin",t),[o,r]=v(i),l=Object.assign(Object.assign({},e),{spinPrefixCls:i,hashId:r});return o(a.createElement(S,Object.assign({},l)))};C.setDefaultIndicator=e=>{f=e};var $=C}}]); \ No newline at end of file diff --git a/dbgpt/app/static/_next/static/chunks/pages/_app-0812c1bce27ce0fa.js b/dbgpt/app/static/_next/static/chunks/pages/_app-0812c1bce27ce0fa.js deleted file mode 100644 index a83fc4781..000000000 --- a/dbgpt/app/static/_next/static/chunks/pages/_app-0812c1bce27ce0fa.js +++ /dev/null @@ -1,173 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{16397:function(e,t,n){"use strict";n.r(t),n.d(t,{blue:function(){return S},cyan:function(){return C},geekblue:function(){return E},generate:function(){return f},gold:function(){return v},gray:function(){return j},green:function(){return w},grey:function(){return k},lime:function(){return x},magenta:function(){return O},orange:function(){return y},presetDarkPalettes:function(){return h},presetPalettes:function(){return p},presetPrimaryColors:function(){return d},purple:function(){return $},red:function(){return m},volcano:function(){return g},yellow:function(){return b}});var r=n(86500),o=n(1350),i=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function a(e){var t=e.r,n=e.g,o=e.b,i=(0,r.py)(t,n,o);return{h:360*i.h,s:i.s,v:i.v}}function l(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.vq)(t,n,o,!1))}function s(e,t,n){var r;return(r=Math.round(e.h)>=60&&240>=Math.round(e.h)?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function c(e,t,n){var r;return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)))}function u(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function f(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.uA)(e),f=5;f>0;f-=1){var d=a(r),p=l((0,o.uA)({h:s(d,f,!0),s:c(d,f,!0),v:u(d,f,!0)}));n.push(p)}n.push(l(r));for(var h=1;h<=4;h+=1){var m=a(r),g=l((0,o.uA)({h:s(m,h),s:c(m,h),v:u(m,h)}));n.push(g)}return"dark"===t.theme?i.map(function(e){var r,i,a,s=e.index,c=e.opacity;return l((r=(0,o.uA)(t.backgroundColor||"#141414"),i=(0,o.uA)(n[s]),a=100*c/100,{r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b}))}):n}var d={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},p={},h={};Object.keys(d).forEach(function(e){p[e]=f(d[e]),p[e].primary=p[e][5],h[e]=f(d[e],{theme:"dark",backgroundColor:"#141414"}),h[e].primary=h[e][5]});var m=p.red,g=p.volcano,v=p.gold,y=p.orange,b=p.yellow,x=p.lime,w=p.green,C=p.cyan,S=p.blue,E=p.geekblue,$=p.purple,O=p.magenta,k=p.grey,j=p.grey},23183:function(e,t,n){"use strict";n.d(t,{E4:function(){return ee},jG:function(){return O},t2:function(){return L},fp:function(){return B},xy:function(){return Q}});var r,o=n(74902),i=n(1413),a=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)},l=n(67294),s=n.t(l,2);n(56982),n(91881);var c=n(15671),u=n(43144),f=n(4942),d=function(){function e(t){(0,c.Z)(this,e),(0,f.Z)(this,"instanceId",void 0),(0,f.Z)(this,"cache",new Map),this.instanceId=t}return(0,u.Z)(e,[{key:"get",value:function(e){return this.cache.get(e.join("%"))||null}},{key:"update",value:function(e,t){var n=e.join("%"),r=t(this.cache.get(n));null===r?this.cache.delete(n):this.cache.set(n,r)}}]),e}(),p="data-token-hash",h="data-css-hash",m="__cssinjs_instance__",g=l.createContext({hashPriority:"low",cache:function(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(h,"]"))||[],n=document.head.firstChild;Array.from(t).forEach(function(t){t[m]=t[m]||e,t[m]===e&&document.head.insertBefore(t,n)});var r={};Array.from(document.querySelectorAll("style[".concat(h,"]"))).forEach(function(t){var n,o=t.getAttribute(h);r[o]?t[m]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):r[o]=!0})}return new d(e)}(),defaultCache:!0}),v=n(71002),y=n(98924),b=n(44958),x=n(97685),w=function(){function e(){(0,c.Z)(this,e),(0,f.Z)(this,"cache",void 0),(0,f.Z)(this,"keys",void 0),(0,f.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,u.Z)(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach(function(e){if(o){var t,n;o=null===(t=o)||void 0===t?void 0:null===(n=t.map)||void 0===n?void 0:n.get(e)}else o=void 0}),null!==(t=o)&&void 0!==t&&t.value&&r&&(o.value[1]=this.cacheCallTimes++),null===(n=o)||void 0===n?void 0:n.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce(function(e,t){var n=(0,x.Z)(e,2)[1];return r.internalGet(t)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),S+=1}return(0,u.Z)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce(function(t,n){return n(e,t)},void 0)}}]),e}(),$=new w;function O(e){var t=Array.isArray(e)?e:[e];return $.has(t)||$.set(t,new E(t)),$.get(t)}var k=new WeakMap;function j(e){var t=k.get(e)||"";return t||(Object.keys(e).forEach(function(n){var r=e[n];t+=n,r instanceof E?t+=r.id:r&&"object"===(0,v.Z)(r)?t+=j(r):t+=r}),k.set(e,t)),t}var P="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),_="_bAmBoO_",Z=void 0,A=n(8410),R=(0,i.Z)({},s).useInsertionEffect,M=R?function(e,t,n){return R(function(){return e(),t()},n)}:function(e,t,n){l.useMemo(e,n),(0,A.Z)(function(){return t(!0)},n)},F=void 0!==(0,i.Z)({},s).useInsertionEffect?function(e){var t=[],n=!1;return l.useEffect(function(){return n=!1,function(){n=!0,t.length&&t.forEach(function(e){return e()})}},e),function(e){n||t.push(e)}}:function(){return function(e){e()}};function N(e,t,n,r,i){var a=l.useContext(g).cache,s=[e].concat((0,o.Z)(t)),c=s.join("_"),u=F([c]),f=function(e){a.update(s,function(t){var r=(0,x.Z)(t||[],2),o=r[0],i=[void 0===o?0:o,r[1]||n()];return e?e(i):i})};l.useMemo(function(){f()},[c]);var d=a.get(s)[1];return M(function(){null==i||i(d)},function(e){return f(function(t){var n=(0,x.Z)(t,2),r=n[0],o=n[1];return e&&0===r&&(null==i||i(d)),[r+1,o]}),function(){a.update(s,function(e){var t=(0,x.Z)(e||[],2),n=t[0],o=void 0===n?0:n,i=t[1];return 0==o-1?(u(function(){return null==r?void 0:r(i,!1)}),null):[o-1,i]})}},[c]),d}var T={},I=new Map,L=function(e,t,n,r){var o=n.getDerivativeToken(e),a=(0,i.Z)((0,i.Z)({},o),t);return r&&(a=r(a)),a};function B(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,l.useContext)(g).cache.instanceId,i=n.salt,s=void 0===i?"":i,c=n.override,u=void 0===c?T:c,f=n.formatToken,d=n.getComputedToken,h=l.useMemo(function(){return Object.assign.apply(Object,[{}].concat((0,o.Z)(t)))},[t]),v=l.useMemo(function(){return j(h)},[h]),y=l.useMemo(function(){return j(u)},[u]);return N("token",[s,e.id,v,y],function(){var t=d?d(h,u,e):L(h,u,e,f),n=a("".concat(s,"_").concat(j(t)));t._tokenKey=n,I.set(n,(I.get(n)||0)+1);var r="".concat("css","-").concat(a(n));return t._hashId=r,[t,r]},function(e){var t,n,o;t=e[0]._tokenKey,I.set(t,(I.get(t)||0)-1),o=(n=Array.from(I.keys())).filter(function(e){return 0>=(I.get(e)||0)}),n.length-o.length>0&&o.forEach(function(e){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(p,'="').concat(e,'"]')).forEach(function(e){if(e[m]===r){var t;null===(t=e.parentNode)||void 0===t||t.removeChild(e)}}),I.delete(e)})})}var z=n(87462),D={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},H=n(20211),V=n(92190),U="data-ant-cssinjs-cache-path",W="_FILE_STYLE__",q=!0,K=(0,y.Z)(),G="_multi_value_";function X(e){return(0,H.q)((0,V.MY)(e),H.P).replace(/\{%%%\:[^;];}/g,";")}var Y=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},a=r.root,l=r.injectHash,s=r.parentSelectors,c=n.hashId,u=n.layer,f=(n.path,n.hashPriority),d=n.transformers,p=void 0===d?[]:d;n.linters;var h="",m={};function g(t){var r=t.getName(c);if(!m[r]){var o=e(t.style,n,{root:!1,parentSelectors:s}),i=(0,x.Z)(o,1)[0];m[r]="@keyframes ".concat(t.getName(c)).concat(i)}}if((function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach(function(t){Array.isArray(t)?e(t,n):t&&n.push(t)}),n})(Array.isArray(t)?t:[t]).forEach(function(t){var r="string"!=typeof t||a?t:{};if("string"==typeof r)h+="".concat(r,"\n");else if(r._keyframe)g(r);else{var u=p.reduce(function(e,t){var n;return(null==t?void 0:null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e},r);Object.keys(u).forEach(function(t){var r=u[t];if("object"!==(0,v.Z)(r)||!r||"animationName"===t&&r._keyframe||"object"===(0,v.Z)(r)&&r&&("_skip_check_"in r||G in r)){function d(e,t){var n=e.replace(/[A-Z]/g,function(e){return"-".concat(e.toLowerCase())}),r=t;D[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(g(t),r=t.getName(c)),h+="".concat(n,":").concat(r,";")}var p,y=null!==(p=null==r?void 0:r.value)&&void 0!==p?p:r;"object"===(0,v.Z)(r)&&null!=r&&r[G]&&Array.isArray(y)?y.forEach(function(e){d(t,e)}):d(t,y)}else{var b=!1,w=t.trim(),C=!1;(a||l)&&c?w.startsWith("@")?b=!0:w=function(e,t,n){if(!t)return e;var r=".".concat(t),i="low"===n?":where(".concat(r,")"):r;return e.split(",").map(function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",a=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(a).concat(i).concat(r.slice(a.length))].concat((0,o.Z)(n.slice(1))).join(" ")}).join(",")}(t,c,f):a&&!c&&("&"===w||""===w)&&(w="",C=!0);var S=e(r,n,{root:C,injectHash:b,parentSelectors:[].concat((0,o.Z)(s),[w])}),E=(0,x.Z)(S,2),$=E[0],O=E[1];m=(0,i.Z)((0,i.Z)({},m),O),h+="".concat(w).concat($)}})}}),a){if(u&&(void 0===Z&&(Z=function(e,t,n){if((0,y.Z)()){(0,b.hq)(e,P);var r,o,i=document.createElement("div");i.style.position="fixed",i.style.left="0",i.style.top="0",null==t||t(i),document.body.appendChild(i);var a=n?n(i):null===(r=getComputedStyle(i).content)||void 0===r?void 0:r.includes(_);return null===(o=i.parentNode)||void 0===o||o.removeChild(i),(0,b.jL)(P),a}return!1}("@layer ".concat(P," { .").concat(P,' { content: "').concat(_,'"!important; } }'),function(e){e.className=P})),Z)){var w=u.split(","),C=w[w.length-1].trim();h="@layer ".concat(C," {").concat(h,"}"),w.length>1&&(h="@layer ".concat(u,"{%%%:%}").concat(h))}}else h="{".concat(h,"}");return[h,m]};function J(){return null}function Q(e,t){var n=e.token,i=e.path,s=e.hashId,c=e.layer,u=e.nonce,d=e.clientOnly,v=e.order,w=void 0===v?0:v,C=l.useContext(g),S=C.autoClear,E=(C.mock,C.defaultCache),$=C.hashPriority,O=C.container,k=C.ssrInline,j=C.transformers,P=C.linters,_=C.cache,Z=n._tokenKey,A=[Z].concat((0,o.Z)(i)),R=N("style",A,function(){var e=A.join("|");if(!function(){if(!r&&(r={},(0,y.Z)())){var e,t=document.createElement("div");t.className=U,t.style.position="fixed",t.style.visibility="hidden",t.style.top="-9999px",document.body.appendChild(t);var n=getComputedStyle(t).content||"";(n=n.replace(/^"/,"").replace(/"$/,"")).split(";").forEach(function(e){var t=e.split(":"),n=(0,x.Z)(t,2),o=n[0],i=n[1];r[o]=i});var o=document.querySelector("style[".concat(U,"]"));o&&(q=!1,null===(e=o.parentNode)||void 0===e||e.removeChild(o)),document.body.removeChild(t)}}(),r[e]){var n=function(e){var t=r[e],n=null;if(t&&(0,y.Z)()){if(q)n=W;else{var o=document.querySelector("style[".concat(h,'="').concat(r[e],'"]'));o?n=o.innerHTML:delete r[e]}}return[n,t]}(e),o=(0,x.Z)(n,2),l=o[0],u=o[1];if(l)return[l,Z,u,{},d,w]}var f=Y(t(),{hashId:s,hashPriority:$,layer:c,path:i.join("-"),transformers:j,linters:P}),p=(0,x.Z)(f,2),m=p[0],g=p[1],v=X(m),b=a("".concat(A.join("%")).concat(v));return[v,Z,b,g,d,w]},function(e,t){var n=(0,x.Z)(e,3)[2];(t||S)&&K&&(0,b.jL)(n,{mark:h})},function(e){var t=(0,x.Z)(e,4),n=t[0],r=(t[1],t[2]),o=t[3];if(K&&n!==W){var i={mark:h,prepend:"queue",attachTo:O,priority:w},a="function"==typeof u?u():u;a&&(i.csp={nonce:a});var l=(0,b.hq)(n,r,i);l[m]=_.instanceId,l.setAttribute(p,Z),Object.keys(o).forEach(function(e){(0,b.hq)(X(o[e]),"_effect-".concat(e),i)})}}),M=(0,x.Z)(R,3),F=M[0],T=M[1],I=M[2];return function(e){var t,n;return t=k&&!K&&E?l.createElement("style",(0,z.Z)({},(n={},(0,f.Z)(n,p,T),(0,f.Z)(n,h,I),n),{dangerouslySetInnerHTML:{__html:F}})):l.createElement(J,null),l.createElement(l.Fragment,null,t,e)}}var ee=function(){function e(t,n){(0,c.Z)(this,e),(0,f.Z)(this,"name",void 0),(0,f.Z)(this,"style",void 0),(0,f.Z)(this,"_keyframe",!0),this.name=t,this.style=n}return(0,u.Z)(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}();function et(e){return e.notSplit=!0,e}et(["borderTop","borderBottom"]),et(["borderTop"]),et(["borderBottom"]),et(["borderLeft","borderRight"]),et(["borderLeft"]),et(["borderRight"])},84089:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(87462),o=n(97685),i=n(4942),a=n(45987),l=n(67294),s=n(94184),c=n.n(s),u=n(16397),f=n(63017),d=n(1413),p=n(41755),h=["icon","className","onClick","style","primaryColor","secondaryColor"],m={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1},g=function(e){var t=e.icon,n=e.className,r=e.onClick,o=e.style,i=e.primaryColor,s=e.secondaryColor,c=(0,a.Z)(e,h),u=l.useRef(),f=m;if(i&&(f={primaryColor:i,secondaryColor:s||(0,p.pw)(i)}),(0,p.C3)(u),(0,p.Kp)((0,p.r)(t),"icon should be icon definiton, but got ".concat(t)),!(0,p.r)(t))return null;var g=t;return g&&"function"==typeof g.icon&&(g=(0,d.Z)((0,d.Z)({},g),{},{icon:g.icon(f.primaryColor,f.secondaryColor)})),(0,p.R_)(g.icon,"svg-".concat(g.name),(0,d.Z)((0,d.Z)({className:n,onClick:r,style:o,"data-icon":g.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:u}))};function v(e){var t=(0,p.H9)(e),n=(0,o.Z)(t,2),r=n[0],i=n[1];return g.setTwoToneColors({primaryColor:r,secondaryColor:i})}g.displayName="IconReact",g.getTwoToneColors=function(){return(0,d.Z)({},m)},g.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;m.primaryColor=t,m.secondaryColor=n||(0,p.pw)(t),m.calculated=!!n};var y=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];v(u.blue.primary);var b=l.forwardRef(function(e,t){var n,s=e.className,u=e.icon,d=e.spin,h=e.rotate,m=e.tabIndex,v=e.onClick,b=e.twoToneColor,x=(0,a.Z)(e,y),w=l.useContext(f.Z),C=w.prefixCls,S=void 0===C?"anticon":C,E=w.rootClassName,$=c()(E,S,(n={},(0,i.Z)(n,"".concat(S,"-").concat(u.name),!!u.name),(0,i.Z)(n,"".concat(S,"-spin"),!!d||"loading"===u.name),n),s),O=m;void 0===O&&v&&(O=-1);var k=(0,p.H9)(b),j=(0,o.Z)(k,2),P=j[0],_=j[1];return l.createElement("span",(0,r.Z)({role:"img","aria-label":u.name},x,{ref:t,tabIndex:O,onClick:v,className:$}),l.createElement(g,{icon:u,primaryColor:P,secondaryColor:_,style:h?{msTransform:"rotate(".concat(h,"deg)"),transform:"rotate(".concat(h,"deg)")}:void 0}))});b.displayName="AntdIcon",b.getTwoToneColor=function(){var e=g.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},b.setTwoToneColor=v;var x=b},63017:function(e,t,n){"use strict";var r=(0,n(67294).createContext)({});t.Z=r},16165:function(e,t,n){"use strict";var r=n(87462),o=n(1413),i=n(4942),a=n(45987),l=n(67294),s=n(94184),c=n.n(s),u=n(42550),f=n(63017),d=n(41755),p=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],h=l.forwardRef(function(e,t){var n=e.className,s=e.component,h=e.viewBox,m=e.spin,g=e.rotate,v=e.tabIndex,y=e.onClick,b=e.children,x=(0,a.Z)(e,p),w=l.useRef(),C=(0,u.x1)(w,t);(0,d.Kp)(!!(s||b),"Should have `component` prop or `children`."),(0,d.C3)(w);var S=l.useContext(f.Z),E=S.prefixCls,$=void 0===E?"anticon":E,O=S.rootClassName,k=c()(O,$,n),j=c()((0,i.Z)({},"".concat($,"-spin"),!!m)),P=(0,o.Z)((0,o.Z)({},d.vD),{},{className:j,style:g?{msTransform:"rotate(".concat(g,"deg)"),transform:"rotate(".concat(g,"deg)")}:void 0,viewBox:h});h||delete P.viewBox;var _=v;return void 0===_&&y&&(_=-1),l.createElement("span",(0,r.Z)({role:"img"},x,{ref:C,tabIndex:_,onClick:y,className:k}),s?l.createElement(s,P,b):b?((0,d.Kp)(!!h||1===l.Children.count(b)&&l.isValidElement(b)&&"use"===l.Children.only(b).type,"Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),l.createElement("svg",(0,r.Z)({},P,{viewBox:h}),b)):null)});h.displayName="AntdIcon",t.Z=h},89739:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},4340:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},97937:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},48689:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},89705:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},21640:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},78860:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},50888:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},24969:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},18073:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(87462),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},a=n(84089),l=o.forwardRef(function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},41755:function(e,t,n){"use strict";n.d(t,{C3:function(){return v},H9:function(){return m},Kp:function(){return f},R_:function(){return function e(t,n,o){return o?c.createElement(t.tag,(0,r.Z)((0,r.Z)({key:n},p(t.attrs)),o),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))})):c.createElement(t.tag,(0,r.Z)({key:n},p(t.attrs)),(t.children||[]).map(function(r,o){return e(r,"".concat(n,"-").concat(t.tag,"-").concat(o))}))}},pw:function(){return h},r:function(){return d},vD:function(){return g}});var r=n(1413),o=n(71002),i=n(16397),a=n(44958),l=n(27571),s=n(80334),c=n(67294),u=n(63017);function f(e,t){(0,s.ZP)(e,"[@ant-design/icons] ".concat(t))}function d(e){return"object"===(0,o.Z)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,o.Z)(e.icon)||"function"==typeof e.icon)}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];return"class"===n?(t.className=r,delete t.class):(delete t[n],t[n.replace(/-(.)/g,function(e,t){return t.toUpperCase()})]=r),t},{})}function h(e){return(0,i.generate)(e)[0]}function m(e){return e?Array.isArray(e)?e:[e]:[]}var g={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},v=function(e){var t=(0,c.useContext)(u.Z),n=t.csp,r=t.prefixCls,o="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";r&&(o=o.replace(/anticon/g,r)),(0,c.useEffect)(function(){var t=e.current,r=(0,l.A)(t);(0,a.hq)(o,"@ant-design-icons",{prepend:!0,csp:n,attachTo:r})},[])}},86500:function(e,t,n){"use strict";n.d(t,{T6:function(){return d},VD:function(){return p},WE:function(){return c},Yt:function(){return h},lC:function(){return i},py:function(){return s},rW:function(){return o},s:function(){return f},ve:function(){return l},vq:function(){return u}});var r=n(90279);function o(e,t,n){return{r:255*(0,r.sh)(e,255),g:255*(0,r.sh)(t,255),b:255*(0,r.sh)(n,255)}}function i(e,t,n){var o=Math.max(e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255)),i=Math.min(e,t,n),a=0,l=0,s=(o+i)/2;if(o===i)l=0,a=0;else{var c=o-i;switch(l=s>.5?c/(2-o-i):c/(o+i),o){case e:a=(t-n)/c+(t1&&(n-=1),n<1/6)?e+(t-e)*(6*n):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function l(e,t,n){if(e=(0,r.sh)(e,360),t=(0,r.sh)(t,100),n=(0,r.sh)(n,100),0===t)i=n,l=n,o=n;else{var o,i,l,s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;o=a(c,s,e+1/3),i=a(c,s,e),l=a(c,s,e-1/3)}return{r:255*o,g:255*i,b:255*l}}function s(e,t,n){var o=Math.max(e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255)),i=Math.min(e,t,n),a=0,l=o-i;if(o===i)a=0;else{switch(o){case e:a=(t-n)/l+(t>16,g:(65280&e)>>8,b:255&e}}},48701:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},1350:function(e,t,n){"use strict";n.d(t,{uA:function(){return a}});var r=n(86500),o=n(48701),i=n(90279);function a(e){var t={r:0,g:0,b:0},n=1,a=null,l=null,s=null,c=!1,d=!1;return"string"==typeof e&&(e=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(o.R[e])e=o.R[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=u.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=u.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=u.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=u.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=u.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=u.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=u.hex8.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),a:(0,r.T6)(n[4]),format:t?"name":"hex8"}:(n=u.hex6.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),format:t?"name":"hex"}:(n=u.hex4.exec(e))?{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),a:(0,r.T6)(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=u.hex3.exec(e))&&{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),format:t?"name":"hex"}}(e)),"object"==typeof e&&(f(e.r)&&f(e.g)&&f(e.b)?(t=(0,r.rW)(e.r,e.g,e.b),c=!0,d="%"===String(e.r).substr(-1)?"prgb":"rgb"):f(e.h)&&f(e.s)&&f(e.v)?(a=(0,i.JX)(e.s),l=(0,i.JX)(e.v),t=(0,r.WE)(e.h,a,l),c=!0,d="hsv"):f(e.h)&&f(e.s)&&f(e.l)&&(a=(0,i.JX)(e.s),s=(0,i.JX)(e.l),t=(0,r.ve)(e.h,a,s),c=!0,d="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.Yq)(n),{ok:c,format:e.format||d,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var l="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),s="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),c="[\\s|\\(]+(".concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")[,|\\s]+(").concat(l,")\\s*\\)?"),u={CSS_UNIT:new RegExp(l),rgb:RegExp("rgb"+s),rgba:RegExp("rgba"+c),hsl:RegExp("hsl"+s),hsla:RegExp("hsla"+c),hsv:RegExp("hsv"+s),hsva:RegExp("hsva"+c),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function f(e){return!!u.CSS_UNIT.exec(String(e))}},10274:function(e,t,n){"use strict";n.d(t,{C:function(){return l}});var r=n(86500),o=n(48701),i=n(1350),a=n(90279),l=function(){function e(t,n){if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=(0,r.Yt)(t)),this.originalInput=t;var o,a=(0,i.uA)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return 128>this.getBrightness()},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return .2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.Yq)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,r.py)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,r.py)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,r.lC)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,r.lC)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,r.vq)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,r.s)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.sh)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.sh)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,r.vq)(this.r,this.g,this.b,!1),t=0,n=Object.entries(o.R);t=0;return!t&&r&&(e.startsWith("hex")||"name"===e)?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-(255*(t/100))))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-(255*(t/100))))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-(255*(t/100))))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return new e(a)},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],l=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;aMath.abs(e-t))?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function l(e){return 1===e.length?"0"+e:String(e)}n.d(t,{FZ:function(){return l},JX:function(){return a},V2:function(){return o},Yq:function(){return i},sh:function(){return r}})},9463:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t-1&&!e.return)switch(e.type){case a.h5:e.return=function e(t,n){switch((0,i.vp)(t,n)){case 5103:return a.G$+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a.G$+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return a.G$+t+a.uj+t+a.MS+t+t;case 6828:case 4268:return a.G$+t+a.MS+t+t;case 6165:return a.G$+t+a.MS+"flex-"+t+t;case 5187:return a.G$+t+(0,i.gx)(t,/(\w+).+(:[^]+)/,a.G$+"box-$1$2"+a.MS+"flex-$1$2")+t;case 5443:return a.G$+t+a.MS+"flex-item-"+(0,i.gx)(t,/flex-|-self/,"")+t;case 4675:return a.G$+t+a.MS+"flex-line-pack"+(0,i.gx)(t,/align-content|flex-|-self/,"")+t;case 5548:return a.G$+t+a.MS+(0,i.gx)(t,"shrink","negative")+t;case 5292:return a.G$+t+a.MS+(0,i.gx)(t,"basis","preferred-size")+t;case 6060:return a.G$+"box-"+(0,i.gx)(t,"-grow","")+a.G$+t+a.MS+(0,i.gx)(t,"grow","positive")+t;case 4554:return a.G$+(0,i.gx)(t,/([^-])(transform)/g,"$1"+a.G$+"$2")+t;case 6187:return(0,i.gx)((0,i.gx)((0,i.gx)(t,/(zoom-|grab)/,a.G$+"$1"),/(image-set)/,a.G$+"$1"),t,"")+t;case 5495:case 3959:return(0,i.gx)(t,/(image-set\([^]*)/,a.G$+"$1$`$1");case 4968:return(0,i.gx)((0,i.gx)(t,/(.+:)(flex-)?(.*)/,a.G$+"box-pack:$3"+a.MS+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a.G$+t+t;case 4095:case 3583:case 4068:case 2532:return(0,i.gx)(t,/(.+)-inline(.+)/,a.G$+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if((0,i.to)(t)-1-n>6)switch((0,i.uO)(t,n+1)){case 109:if(45!==(0,i.uO)(t,n+4))break;case 102:return(0,i.gx)(t,/(.+:)(.+)-([^]+)/,"$1"+a.G$+"$2-$3$1"+a.uj+(108==(0,i.uO)(t,n+3)?"$3":"$2-$3"))+t;case 115:return~(0,i.Cw)(t,"stretch")?e((0,i.gx)(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==(0,i.uO)(t,n+1))break;case 6444:switch((0,i.uO)(t,(0,i.to)(t)-3-(~(0,i.Cw)(t,"!important")&&10))){case 107:return(0,i.gx)(t,":",":"+a.G$)+t;case 101:return(0,i.gx)(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a.G$+(45===(0,i.uO)(t,14)?"inline-":"")+"box$3$1"+a.G$+"$2$3$1"+a.MS+"$2box$3")+t}break;case 5936:switch((0,i.uO)(t,n+11)){case 114:return a.G$+t+a.MS+(0,i.gx)(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return a.G$+t+a.MS+(0,i.gx)(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return a.G$+t+a.MS+(0,i.gx)(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return a.G$+t+a.MS+t+t}return t}(e.value,e.length);break;case a.lK:return(0,l.q)([(0,o.JG)(e,{value:(0,i.gx)(e.value,"@","@"+a.G$)})],r);case a.Fr:if(e.length)return(0,i.$e)(e.props,function(t){switch((0,i.EQ)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,l.q)([(0,o.JG)(e,{props:[(0,i.gx)(t,/:(read-\w+)/,":"+a.uj+"$1")]})],r);case"::placeholder":return(0,l.q)([(0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,":"+a.G$+"input-$1")]}),(0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,":"+a.uj+"$1")]}),(0,o.JG)(e,{props:[(0,i.gx)(t,/:(plac\w+)/,a.MS+"input-$1")]})],r)}return""})}}],m=function(e){var t,n,o,a,c,u=e.key;if("css"===u){var f=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(f,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var m=e.stylisPlugins||h,g={},v=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+u+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++r,o-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}(a)+c,styles:a,next:r}}},27278:function(e,t,n){"use strict";n.d(t,{L:function(){return a},j:function(){return l}});var r,o=n(67294),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,a=i||function(e){return e()},l=i||o.useLayoutEffect},70444:function(e,t,n){"use strict";function r(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "}),r}n.d(t,{My:function(){return i},fp:function(){return r},hC:function(){return o}});var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next;while(void 0!==i)}}},26821:function(e,t,n){"use strict";n.d(t,{d6:function(){return i},sI:function(){return a}});var r=n(34867),o=n(1588);let i=(e,t)=>(0,r.Z)(e,t,"Mui"),a=(e,t)=>(0,o.Z)(e,t,"Mui")},9818:function(e,t){"use strict";t.Z={grey:{50:"#F5F7FA",100:"#EAEEF6",200:"#DDE7EE",300:"#CDD7E1",400:"#9FA6AD",500:"#636B74",600:"#555E68",700:"#32383E",800:"#23272B",900:"#121416"},blue:{50:"#EDF5FD",100:"#E3EFFB",200:"#C7DFF7",300:"#97C3F0",400:"#4393E4",500:"#0B6BCB",600:"#185EA5",700:"#12467B",800:"#0A2744",900:"#051423"},yellow:{50:"#FEFAF6",100:"#FDF0E1",200:"#FCE1C2",300:"#F3C896",400:"#EA9A3E",500:"#9A5B13",600:"#72430D",700:"#492B08",800:"#2E1B05",900:"#1D1002"},red:{50:"#FEF6F6",100:"#FCE4E4",200:"#F7C5C5",300:"#F09898",400:"#E47474",500:"#C41C1C",600:"#A51818",700:"#7D1212",800:"#430A0A",900:"#240505"},green:{50:"#F6FEF6",100:"#E3FBE3",200:"#C7F7C7",300:"#A1E8A1",400:"#51BC51",500:"#1F7A1F",600:"#136C13",700:"#0A470A",800:"#042F04",900:"#021D02"}}},38629:function(e,t,n){"use strict";n.d(t,{F:function(){return c},Z:function(){return u}}),n(67294);var r=n(96682),o=n(71927),i=n(1812),a=n(59077),l=n(2548),s=n(85893);let c=()=>{let e=(0,r.Z)(i.Z);return e[l.Z]||e};function u({children:e,theme:t}){let n=i.Z;return t&&(n=(0,a.Z)(l.Z in t?t[l.Z]:t)),(0,s.jsx)(o.Z,{theme:n,themeId:t&&l.Z in t?l.Z:void 0,children:e})}},1812:function(e,t,n){"use strict";var r=n(59077);let o=(0,r.Z)();t.Z=o},59077:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(87462),o=n(63366),i=n(59766),a=n(50159),l=n(41796),s=n(41512),c=n(98373);let u=(e,t,n,r=[])=>{let o=e;t.forEach((e,i)=>{i===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"==typeof o&&(o[e]=n):o&&"object"==typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])})},f=(e,t,n)=>{!function e(r,o=[],i=[]){Object.entries(r).forEach(([r,a])=>{n&&(!n||n([...o,r]))||null==a||("object"==typeof a&&Object.keys(a).length>0?e(a,[...o,r],Array.isArray(a)?[...i,r]:i):t([...o,r],a,i))})}(e)},d=(e,t)=>{if("number"==typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t)))return t;let n=e[e.length-1];return n.toLowerCase().indexOf("opacity")>=0?t:`${t}px`}return t};function p(e,t){let{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},a={};return f(e,(e,t,l)=>{if(("string"==typeof t||"number"==typeof t)&&(!r||!r(e,t))){let r=`--${n?`${n}-`:""}${e.join("-")}`;Object.assign(o,{[r]:d(e,t)}),u(i,e,`var(${r})`,l),u(a,e,`var(${r}, ${t})`,l)}},e=>"vars"===e[0]),{css:o,vars:i,varsWithDefaults:a}}let h=["colorSchemes","components"],m=["light"];var g=function(e,t){let{colorSchemes:n={}}=e,a=(0,o.Z)(e,h),{vars:l,css:s,varsWithDefaults:c}=p(a,t),u=c,f={},{light:d}=n,g=(0,o.Z)(n,m);if(Object.entries(g||{}).forEach(([e,n])=>{let{vars:r,css:o,varsWithDefaults:a}=p(n,t);u=(0,i.Z)(u,a),f[e]={css:o,vars:r}}),d){let{css:e,vars:n,varsWithDefaults:r}=p(d,t);u=(0,i.Z)(u,r),f.light={css:e,vars:n}}return{vars:u,generateCssVars:e=>e?{css:(0,r.Z)({},f[e].css),vars:f[e].vars}:{css:(0,r.Z)({},s),vars:l}}},v=n(86523),y=n(44920);let b=(0,r.Z)({},y.Z,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}});var x=n(9818);function w(e){var t;return!!e[0].match(/^(typography|variants|breakpoints|colorInversion|colorInversionConfig)$/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!(null!=(t=e[1])&&t.match(/^(mode)$/))||"focus"===e[0]&&"thickness"!==e[1]}var C=n(26821),S=n(13951);let E=["cssVarPrefix","breakpoints","spacing","components","variants","colorInversion","shouldSkipGeneratingVar"],$=["colorSchemes"],O=(e="joy")=>(0,a.Z)(e);function k(e){var t,n,a,u,f,d,p,h,m,y;let k=e||{},{cssVarPrefix:j="joy",breakpoints:P,spacing:_,components:Z,variants:A,colorInversion:R,shouldSkipGeneratingVar:M=w}=k,F=(0,o.Z)(k,E),N=O(j),T={primary:x.Z.blue,neutral:x.Z.grey,danger:x.Z.red,success:x.Z.green,warning:x.Z.yellow,common:{white:"#FCFCFD",black:"#09090B"}},I=e=>{var t;let n=e.split("-"),r=n[1],o=n[2];return N(e,null==(t=T[r])?void 0:t[o])},L=e=>({plainColor:I(`palette-${e}-500`),plainHoverBg:I(`palette-${e}-50`),plainActiveBg:I(`palette-${e}-100`),plainDisabledColor:I("palette-neutral-400"),outlinedColor:I(`palette-${e}-500`),outlinedBorder:I(`palette-${e}-300`),outlinedHoverBg:I(`palette-${e}-100`),outlinedActiveBg:I(`palette-${e}-200`),outlinedDisabledColor:I("palette-neutral-400"),outlinedDisabledBorder:I("palette-neutral-200"),softColor:I(`palette-${e}-700`),softBg:I(`palette-${e}-100`),softHoverBg:I(`palette-${e}-200`),softActiveColor:I(`palette-${e}-800`),softActiveBg:I(`palette-${e}-300`),softDisabledColor:I("palette-neutral-400"),softDisabledBg:I(`palette-${e}-50`),solidColor:I("palette-common-white"),solidBg:I(`palette-${e}-500`),solidHoverBg:I(`palette-${e}-600`),solidActiveBg:I(`palette-${e}-700`),solidDisabledColor:I("palette-neutral-400"),solidDisabledBg:I(`palette-${e}-100`)}),B=e=>({plainColor:I(`palette-${e}-300`),plainHoverBg:I(`palette-${e}-800`),plainActiveBg:I(`palette-${e}-700`),plainDisabledColor:I("palette-neutral-500"),outlinedColor:I(`palette-${e}-200`),outlinedBorder:I(`palette-${e}-700`),outlinedHoverBg:I(`palette-${e}-800`),outlinedActiveBg:I(`palette-${e}-700`),outlinedDisabledColor:I("palette-neutral-500"),outlinedDisabledBorder:I("palette-neutral-800"),softColor:I(`palette-${e}-200`),softBg:I(`palette-${e}-800`),softHoverBg:I(`palette-${e}-700`),softActiveColor:I(`palette-${e}-100`),softActiveBg:I(`palette-${e}-600`),softDisabledColor:I("palette-neutral-500"),softDisabledBg:I(`palette-${e}-900`),solidColor:I("palette-common-white"),solidBg:I(`palette-${e}-500`),solidHoverBg:I(`palette-${e}-600`),solidActiveBg:I(`palette-${e}-700`),solidDisabledColor:I("palette-neutral-500"),solidDisabledBg:I(`palette-${e}-800`)}),z={palette:{mode:"light",primary:(0,r.Z)({},T.primary,L("primary")),neutral:(0,r.Z)({},T.neutral,L("neutral"),{plainColor:I("palette-neutral-700"),outlinedColor:I("palette-neutral-700")}),danger:(0,r.Z)({},T.danger,L("danger")),success:(0,r.Z)({},T.success,L("success")),warning:(0,r.Z)({},T.warning,L("warning")),common:{white:"#FBFCFD",black:"#0E0E10"},text:{primary:I("palette-neutral-800"),secondary:I("palette-neutral-700"),tertiary:I("palette-neutral-600"),icon:I("palette-neutral-500")},background:{body:I("palette-neutral-50"),surface:I("palette-common-white"),popup:I("palette-common-white"),level1:I("palette-neutral-100"),level2:I("palette-neutral-200"),level3:I("palette-neutral-300"),tooltip:I("palette-neutral-500"),backdrop:`rgba(${N("palette-neutral-darkChannel",(0,l.n8)(T.neutral[900]))} / 0.25)`},divider:`rgba(${N("palette-neutral-mainChannel",(0,l.n8)(T.neutral[500]))} / 0.3)`,focusVisible:I("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"21 21 21",shadowOpacity:"0.08"},D={palette:{mode:"dark",primary:(0,r.Z)({},T.primary,B("primary")),neutral:(0,r.Z)({},T.neutral,B("neutral")),danger:(0,r.Z)({},T.danger,B("danger")),success:(0,r.Z)({},T.success,B("success")),warning:(0,r.Z)({},T.warning,B("warning")),common:{white:"#FBFCFD",black:"#0E0E10"},text:{primary:I("palette-neutral-100"),secondary:I("palette-neutral-300"),tertiary:I("palette-neutral-400"),icon:I("palette-neutral-400")},background:{body:I("palette-common-black"),surface:I("palette-neutral-900"),popup:I("palette-common-black"),level1:I("palette-neutral-800"),level2:I("palette-neutral-700"),level3:I("palette-neutral-600"),tooltip:I("palette-neutral-600"),backdrop:`rgba(${N("palette-neutral-darkChannel",(0,l.n8)(T.neutral[50]))} / 0.25)`},divider:`rgba(${N("palette-neutral-mainChannel",(0,l.n8)(T.neutral[500]))} / 0.16)`,focusVisible:I("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0",shadowOpacity:"0.6"},H='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',V=(0,r.Z)({body:`"Inter", ${N(`fontFamily-fallback, ${H}`)}`,display:`"Inter", ${N(`fontFamily-fallback, ${H}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:H},F.fontFamily),U=(0,r.Z)({sm:300,md:500,lg:600,xl:700},F.fontWeight),W=(0,r.Z)({xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem",xl2:"1.5rem",xl3:"1.875rem",xl4:"2.25rem"},F.fontSize),q=(0,r.Z)({xs:"1.33334",sm:"1.42858",md:"1.5",lg:"1.55556",xl:"1.66667"},F.lineHeight),K=null!=(t=null==(n=F.colorSchemes)||null==(n=n.light)?void 0:n.shadowRing)?t:z.shadowRing,G=null!=(a=null==(u=F.colorSchemes)||null==(u=u.light)?void 0:u.shadowChannel)?a:z.shadowChannel,X=null!=(f=null==(d=F.colorSchemes)||null==(d=d.light)?void 0:d.shadowOpacity)?f:z.shadowOpacity,Y={colorSchemes:{light:z,dark:D},fontSize:W,fontFamily:V,fontWeight:U,focus:{thickness:"2px",selector:`&.${(0,C.d6)("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${N("focus-thickness",null!=(p=null==(h=F.focus)?void 0:h.thickness)?p:"2px")})`,outline:`${N("focus-thickness",null!=(m=null==(y=F.focus)?void 0:y.thickness)?m:"2px")} solid ${N("palette-focusVisible",T.primary[500])}`}},lineHeight:q,radius:{xs:"2px",sm:"6px",md:"8px",lg:"12px",xl:"16px"},shadow:{xs:`${N("shadowRing",K)}, 0px 1px 2px 0px rgba(${N("shadowChannel",G)} / ${N("shadowOpacity",X)})`,sm:`${N("shadowRing",K)}, 0px 1px 2px 0px rgba(${N("shadowChannel",G)} / ${N("shadowOpacity",X)}), 0px 2px 4px 0px rgba(${N("shadowChannel",G)} / ${N("shadowOpacity",X)})`,md:`${N("shadowRing",K)}, 0px 2px 8px -2px rgba(${N("shadowChannel",G)} / ${N("shadowOpacity",X)}), 0px 6px 12px -2px rgba(${N("shadowChannel",G)} / ${N("shadowOpacity",X)})`,lg:`${N("shadowRing",K)}, 0px 2px 8px -2px rgba(${N("shadowChannel",G)} / ${N("shadowOpacity",X)}), 0px 12px 16px -4px rgba(${N("shadowChannel",G)} / ${N("shadowOpacity",X)})`,xl:`${N("shadowRing",K)}, 0px 2px 8px -2px rgba(${N("shadowChannel",G)} / ${N("shadowOpacity",X)}), 0px 20px 24px -4px rgba(${N("shadowChannel",G)} / ${N("shadowOpacity",X)})`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,tooltip:1500},typography:{h1:{fontFamily:N(`fontFamily-display, ${V.display}`),fontWeight:N(`fontWeight-xl, ${U.xl}`),fontSize:N(`fontSize-xl4, ${W.xl4}`),lineHeight:N(`lineHeight-xs, ${q.xs}`),letterSpacing:"-0.025em",color:N(`palette-text-primary, ${z.palette.text.primary}`)},h2:{fontFamily:N(`fontFamily-display, ${V.display}`),fontWeight:N(`fontWeight-xl, ${U.xl}`),fontSize:N(`fontSize-xl3, ${W.xl3}`),lineHeight:N(`lineHeight-xs, ${q.xs}`),letterSpacing:"-0.025em",color:N(`palette-text-primary, ${z.palette.text.primary}`)},h3:{fontFamily:N(`fontFamily-display, ${V.display}`),fontWeight:N(`fontWeight-lg, ${U.lg}`),fontSize:N(`fontSize-xl2, ${W.xl2}`),lineHeight:N(`lineHeight-xs, ${q.xs}`),letterSpacing:"-0.025em",color:N(`palette-text-primary, ${z.palette.text.primary}`)},h4:{fontFamily:N(`fontFamily-display, ${V.display}`),fontWeight:N(`fontWeight-lg, ${U.lg}`),fontSize:N(`fontSize-xl, ${W.xl}`),lineHeight:N(`lineHeight-md, ${q.md}`),letterSpacing:"-0.025em",color:N(`palette-text-primary, ${z.palette.text.primary}`)},"title-lg":{fontFamily:N(`fontFamily-body, ${V.body}`),fontWeight:N(`fontWeight-lg, ${U.lg}`),fontSize:N(`fontSize-lg, ${W.lg}`),lineHeight:N(`lineHeight-xs, ${q.xs}`),color:N(`palette-text-primary, ${z.palette.text.primary}`)},"title-md":{fontFamily:N(`fontFamily-body, ${V.body}`),fontWeight:N(`fontWeight-md, ${U.md}`),fontSize:N(`fontSize-md, ${W.md}`),lineHeight:N(`lineHeight-md, ${q.md}`),color:N(`palette-text-primary, ${z.palette.text.primary}`)},"title-sm":{fontFamily:N(`fontFamily-body, ${V.body}`),fontWeight:N(`fontWeight-md, ${U.md}`),fontSize:N(`fontSize-sm, ${W.sm}`),lineHeight:N(`lineHeight-sm, ${q.sm}`),color:N(`palette-text-primary, ${z.palette.text.primary}`)},"body-lg":{fontFamily:N(`fontFamily-body, ${V.body}`),fontSize:N(`fontSize-lg, ${W.lg}`),lineHeight:N(`lineHeight-md, ${q.md}`),color:N(`palette-text-secondary, ${z.palette.text.secondary}`)},"body-md":{fontFamily:N(`fontFamily-body, ${V.body}`),fontSize:N(`fontSize-md, ${W.md}`),lineHeight:N(`lineHeight-md, ${q.md}`),color:N(`palette-text-secondary, ${z.palette.text.secondary}`)},"body-sm":{fontFamily:N(`fontFamily-body, ${V.body}`),fontSize:N(`fontSize-sm, ${W.sm}`),lineHeight:N(`lineHeight-md, ${q.md}`),color:N(`palette-text-tertiary, ${z.palette.text.tertiary}`)},"body-xs":{fontFamily:N(`fontFamily-body, ${V.body}`),fontWeight:N(`fontWeight-md, ${U.md}`),fontSize:N(`fontSize-xs, ${W.xs}`),lineHeight:N(`lineHeight-md, ${q.md}`),color:N(`palette-text-tertiary, ${z.palette.text.tertiary}`)}}},J=F?(0,i.Z)(Y,F):Y,{colorSchemes:Q}=J,ee=(0,o.Z)(J,$),et=(0,r.Z)({colorSchemes:Q},ee,{breakpoints:(0,s.Z)(null!=P?P:{}),components:(0,i.Z)({MuiSvgIcon:{defaultProps:{fontSize:"xl2"},styleOverrides:{root:({ownerState:e,theme:t})=>{var n;let o=e.instanceFontSize;return(0,r.Z)({margin:"var(--Icon-margin)"},e.fontSize&&"inherit"!==e.fontSize&&{fontSize:`var(--Icon-fontSize, ${t.vars.fontSize[e.fontSize]})`},!e.htmlColor&&(0,r.Z)({color:`var(--Icon-color, ${et.vars.palette.text.icon})`},e.color&&"inherit"!==e.color&&"context"!==e.color&&t.vars.palette[e.color]&&{color:`rgba(${null==(n=t.vars.palette[e.color])?void 0:n.mainChannel} / 1)`},"context"===e.color&&{color:t.vars.palette.text.secondary}),o&&"inherit"!==o&&{"--Icon-fontSize":t.vars.fontSize[o]})}}}},Z),cssVarPrefix:j,getCssVar:N,spacing:(0,c.Z)(_),colorInversionConfig:{soft:["plain","outlined","soft","solid"],solid:["plain","outlined","soft","solid"]}});Object.entries(et.colorSchemes).forEach(([e,t])=>{!function(e,t){Object.keys(t).forEach(n=>{let r={main:"500",light:"200",dark:"700"};"dark"===e&&(r.main=400),!t[n].mainChannel&&t[n][r.main]&&(t[n].mainChannel=(0,l.n8)(t[n][r.main])),!t[n].lightChannel&&t[n][r.light]&&(t[n].lightChannel=(0,l.n8)(t[n][r.light])),!t[n].darkChannel&&t[n][r.dark]&&(t[n].darkChannel=(0,l.n8)(t[n][r.dark]))})}(e,t.palette)});let{vars:en,generateCssVars:er}=g((0,r.Z)({colorSchemes:Q},ee),{prefix:j,shouldSkipGeneratingVar:M});et.vars=en,et.generateCssVars=er,et.unstable_sxConfig=(0,r.Z)({},b,null==e?void 0:e.unstable_sxConfig),et.unstable_sx=function(e){return(0,v.Z)({sx:e,theme:this})},et.getColorSchemeSelector=e=>"light"===e?"&":`&[data-joy-color-scheme="${e}"], [data-joy-color-scheme="${e}"] &`;let eo={getCssVar:N,palette:et.colorSchemes.light.palette};return et.variants=(0,i.Z)({plain:(0,S.Zm)("plain",eo),plainHover:(0,S.Zm)("plainHover",eo),plainActive:(0,S.Zm)("plainActive",eo),plainDisabled:(0,S.Zm)("plainDisabled",eo),outlined:(0,S.Zm)("outlined",eo),outlinedHover:(0,S.Zm)("outlinedHover",eo),outlinedActive:(0,S.Zm)("outlinedActive",eo),outlinedDisabled:(0,S.Zm)("outlinedDisabled",eo),soft:(0,S.Zm)("soft",eo),softHover:(0,S.Zm)("softHover",eo),softActive:(0,S.Zm)("softActive",eo),softDisabled:(0,S.Zm)("softDisabled",eo),solid:(0,S.Zm)("solid",eo),solidHover:(0,S.Zm)("solidHover",eo),solidActive:(0,S.Zm)("solidActive",eo),solidDisabled:(0,S.Zm)("solidDisabled",eo)},A),et.palette=(0,r.Z)({},et.colorSchemes.light.palette,{colorScheme:"light"}),et.shouldSkipGeneratingVar=M,et.colorInversion="function"==typeof R?R:(0,i.Z)({soft:(0,S.pP)(et,!0),solid:(0,S.Lo)(et,!0)},R||{},{clone:!1}),et}},2548:function(e,t){"use strict";t.Z="$$joy"},13951:function(e,t,n){"use strict";n.d(t,{Lo:function(){return f},Zm:function(){return c},pP:function(){return u}});var r=n(87462),o=n(50159);let i=e=>e&&"object"==typeof e&&Object.keys(e).some(e=>{var t;return null==(t=e.match)?void 0:t.call(e,/^(plain(Hover|Active|Disabled)?(Color|Bg)|outlined(Hover|Active|Disabled)?(Color|Border|Bg)|soft(Hover|Active|Disabled)?(Color|Bg)|solid(Hover|Active|Disabled)?(Color|Bg))$/)}),a=(e,t,n)=>{t.includes("Color")&&(e.color=n),t.includes("Bg")&&(e.backgroundColor=n),t.includes("Border")&&(e.borderColor=n)},l=(e,t,n)=>{let r={};return Object.entries(t||{}).forEach(([t,o])=>{if(t.match(RegExp(`${e}(color|bg|border)`,"i"))&&o){let e=n?n(t):o;t.includes("Disabled")&&(r.pointerEvents="none",r.cursor="default",r["--Icon-color"]="currentColor"),t.match(/(Hover|Active|Disabled)/)||(r["--variant-borderWidth"]||(r["--variant-borderWidth"]="0px"),t.includes("Border")&&(r["--variant-borderWidth"]="1px",r.border="var(--variant-borderWidth) solid")),a(r,t,e)}}),r},s=e=>t=>`--${e?`${e}-`:""}${t.replace(/^--/,"")}`,c=(e,t)=>{let n={};if(t){let{getCssVar:o,palette:a}=t;Object.entries(a).forEach(t=>{let[s,c]=t;i(c)&&"object"==typeof c&&(n=(0,r.Z)({},n,{[s]:l(e,c,e=>o(`palette-${s}-${e}`,a[s][e]))}))})}return n.context=l(e,{plainColor:"var(--variant-plainColor)",plainHoverColor:"var(--variant-plainHoverColor)",plainHoverBg:"var(--variant-plainHoverBg)",plainActiveBg:"var(--variant-plainActiveBg)",plainDisabledColor:"var(--variant-plainDisabledColor)",outlinedColor:"var(--variant-outlinedColor)",outlinedBorder:"var(--variant-outlinedBorder)",outlinedHoverColor:"var(--variant-outlinedHoverColor)",outlinedHoverBorder:"var(--variant-outlinedHoverBorder)",outlinedHoverBg:"var(--variant-outlinedHoverBg)",outlinedActiveBg:"var(--variant-outlinedActiveBg)",outlinedDisabledColor:"var(--variant-outlinedDisabledColor)",outlinedDisabledBorder:"var(--variant-outlinedDisabledBorder)",softColor:"var(--variant-softColor)",softBg:"var(--variant-softBg)",softHoverColor:"var(--variant-softHoverColor)",softHoverBg:"var(--variant-softHoverBg)",softActiveBg:"var(--variant-softActiveBg)",softDisabledColor:"var(--variant-softDisabledColor)",softDisabledBg:"var(--variant-softDisabledBg)",solidColor:"var(--variant-solidColor)",solidBg:"var(--variant-solidBg)",solidHoverBg:"var(--variant-solidHoverBg)",solidActiveBg:"var(--variant-solidActiveBg)",solidDisabledColor:"var(--variant-solidDisabledColor)",solidDisabledBg:"var(--variant-solidDisabledBg)"}),n},u=(e,t)=>{let n=(0,o.Z)(e.cssVarPrefix),r=s(e.cssVarPrefix),a={},l=t?t=>{var r;let o=t.split("-"),i=o[1],a=o[2];return n(t,null==(r=e.palette)||null==(r=r[i])?void 0:r[a])}:n;return Object.entries(e.palette).forEach(t=>{let[n,o]=t;i(o)&&(a[n]={"--Badge-ringColor":l(`palette-${n}-softBg`),[e.getColorSchemeSelector("dark")]:{[r("--palette-focusVisible")]:l(`palette-${n}-300`),[r("--palette-background-body")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.1)`,[r("--palette-background-surface")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.08)`,[r("--palette-background-level1")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.4)`,[r("--palette-background-level3")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.6)`,[r("--palette-text-primary")]:l(`palette-${n}-100`),[r("--palette-text-secondary")]:`rgba(${l(`palette-${n}-lightChannel`)} / 0.72)`,[r("--palette-text-tertiary")]:`rgba(${l(`palette-${n}-lightChannel`)} / 0.6)`,[r("--palette-text-icon")]:`rgba(${l(`palette-${n}-lightChannel`)} / 0.6)`,[r("--palette-divider")]:`rgba(${l(`palette-${n}-lightChannel`)} / 0.2)`,"--variant-plainColor":`rgba(${l(`palette-${n}-lightChannel`)} / 1)`,"--variant-plainHoverColor":l(`palette-${n}-50`),"--variant-plainHoverBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.16)`,"--variant-plainActiveBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${l(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-outlinedColor":`rgba(${l(`palette-${n}-lightChannel`)} / 1)`,"--variant-outlinedHoverColor":l(`palette-${n}-50`),"--variant-outlinedBg":"initial","--variant-outlinedBorder":`rgba(${l(`palette-${n}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverBorder":l(`palette-${n}-600`),"--variant-outlinedHoverBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.16)`,"--variant-outlinedActiveBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${l(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":`rgba(${l(`palette-${n}-mainChannel`)} / 0.2)`,"--variant-softColor":l(`palette-${n}-200`),"--variant-softBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-softHoverColor":"#fff","--variant-softHoverBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-softActiveBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.48)`,"--variant-softDisabledColor":`rgba(${l(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-solidColor":"#fff","--variant-solidBg":l(`palette-${n}-500`),"--variant-solidHoverColor":"#fff","--variant-solidHoverBg":l(`palette-${n}-600`),"--variant-solidActiveBg":l(`palette-${n}-600`),"--variant-solidDisabledColor":`rgba(${l(`palette-${n}-mainChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.12)`},[e.getColorSchemeSelector("light")]:{[r("--palette-focusVisible")]:l(`palette-${n}-500`),[r("--palette-background-body")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.1)`,[r("--palette-background-surface")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.08)`,[r("--palette-background-level1")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.32)`,[r("--palette-background-level3")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.48)`,[r("--palette-text-primary")]:l(`palette-${n}-700`),[r("--palette-text-secondary")]:`rgba(${l(`palette-${n}-darkChannel`)} / 0.8)`,[r("--palette-text-tertiary")]:`rgba(${l(`palette-${n}-darkChannel`)} / 0.68)`,[r("--palette-text-icon")]:l(`palette-${n}-500`),[r("--palette-divider")]:`rgba(${l(`palette-${n}-mainChannel`)} / 0.32)`,"--variant-plainColor":`rgba(${l(`palette-${n}-darkChannel`)} / 0.8)`,"--variant-plainHoverColor":`rgba(${l(`palette-${n}-darkChannel`)} / 1)`,"--variant-plainHoverBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-plainDisabledColor":`rgba(${l(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-outlinedColor":`rgba(${l(`palette-${n}-mainChannel`)} / 1)`,"--variant-outlinedBorder":`rgba(${l(`palette-${n}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverColor":l(`palette-${n}-600`),"--variant-outlinedHoverBorder":l(`palette-${n}-300`),"--variant-outlinedHoverBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.24)`,"--variant-outlinedDisabledColor":`rgba(${l(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-outlinedDisabledBorder":`rgba(${l(`palette-${n}-mainChannel`)} / 0.12)`,"--variant-softColor":l(`palette-${n}-600`),"--variant-softBg":`rgba(${l(`palette-${n}-lightChannel`)} / 0.8)`,"--variant-softHoverColor":l(`palette-${n}-700`),"--variant-softHoverBg":l(`palette-${n}-200`),"--variant-softActiveBg":l(`palette-${n}-300`),"--variant-softDisabledColor":`rgba(${l(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-softDisabledBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.08)`,"--variant-solidColor":l("palette-common-white"),"--variant-solidBg":l(`palette-${n}-${"neutral"===n?"700":"500"}`),"--variant-solidHoverColor":l("palette-common-white"),"--variant-solidHoverBg":l(`palette-${n}-600`),"--variant-solidActiveBg":l(`palette-${n}-600`),"--variant-solidDisabledColor":`rgba(${l(`palette-${n}-mainChannel`)} / 0.6)`,"--variant-solidDisabledBg":`rgba(${l(`palette-${n}-mainChannel`)} / 0.08)`}})}),a},f=(e,t)=>{let n=(0,o.Z)(e.cssVarPrefix),r=s(e.cssVarPrefix),a={},l=t?t=>{let r=t.split("-"),o=r[1],i=r[2];return n(t,e.palette[o][i])}:n;return Object.entries(e.palette).forEach(e=>{let[t,n]=e;i(n)&&(a[t]={colorScheme:"dark","--Badge-ringColor":l(`palette-${t}-solidBg`),[r("--palette-focusVisible")]:l(`palette-${t}-200`),[r("--palette-background-body")]:"rgba(0 0 0 / 0.1)",[r("--palette-background-surface")]:"rgba(0 0 0 / 0.06)",[r("--palette-background-popup")]:l(`palette-${t}-700`),[r("--palette-background-level1")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.2)`,[r("--palette-background-level2")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.36)`,[r("--palette-background-level3")]:`rgba(${l(`palette-${t}-darkChannel`)} / 0.6)`,[r("--palette-text-primary")]:l("palette-common-white"),[r("--palette-text-secondary")]:l(`palette-${t}-200`),[r("--palette-text-tertiary")]:l(`palette-${t}-300`),[r("--palette-text-icon")]:l(`palette-${t}-200`),[r("--palette-divider")]:`rgba(${l(`palette-${t}-lightChannel`)} / 0.32)`,"--variant-plainColor":l(`palette-${t}-50`),"--variant-plainHoverColor":"#fff","--variant-plainHoverBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${l(`palette-${t}-lightChannel`)} / 0.72)`,"--variant-outlinedColor":l(`palette-${t}-50`),"--variant-outlinedBorder":`rgba(${l(`palette-${t}-lightChannel`)} / 0.5)`,"--variant-outlinedHoverColor":"#fff","--variant-outlinedHoverBorder":l(`palette-${t}-300`),"--variant-outlinedHoverBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${l(`palette-${t}-lightChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":"rgba(255 255 255 / 0.2)","--variant-softColor":l("palette-common-white"),"--variant-softHoverColor":l("palette-common-white"),"--variant-softBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.24)`,"--variant-softHoverBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.36)`,"--variant-softActiveBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.16)`,"--variant-softDisabledColor":`rgba(${l(`palette-${t}-lightChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.1)`,"--variant-solidColor":l(`palette-${t}-${"neutral"===t?"600":"500"}`),"--variant-solidBg":l("palette-common-white"),"--variant-solidHoverBg":l("palette-common-white"),"--variant-solidActiveBg":l(`palette-${t}-100`),"--variant-solidDisabledColor":`rgba(${l(`palette-${t}-lightChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${l(`palette-${t}-lightChannel`)} / 0.1)`})}),a}},44819:function(e,t,n){"use strict";var r=n(67294);let o=r.createContext(null);t.Z=o},56760:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294),o=n(44819);function i(){let e=r.useContext(o.Z);return e}},71927:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(87462),o=n(67294),i=n(56760),a=n(44819);let l="function"==typeof Symbol&&Symbol.for;var s=l?Symbol.for("mui.nested"):"__THEME_NESTED__",c=n(85893),u=function(e){let{children:t,theme:n}=e,l=(0,i.Z)(),u=o.useMemo(()=>{let e=null===l?n:function(e,t){if("function"==typeof t){let n=t(e);return n}return(0,r.Z)({},e,t)}(l,n);return null!=e&&(e[s]=null!==l),e},[n,l]);return(0,c.jsx)(a.Z.Provider,{value:u,children:t})},f=n(75260),d=n(34168);let p={};function h(e,t,n,i=!1){return o.useMemo(()=>{let o=e&&t[e]||t;if("function"==typeof n){let a=n(o),l=e?(0,r.Z)({},t,{[e]:a}):a;return i?()=>l:l}return e?(0,r.Z)({},t,{[e]:n}):(0,r.Z)({},t,n)},[e,t,n,i])}var m=function(e){let{children:t,theme:n,themeId:r}=e,o=(0,d.Z)(p),a=(0,i.Z)()||p,l=h(r,o,n),s=h(r,a,n,!0);return(0,c.jsx)(u,{theme:s,children:(0,c.jsx)(f.T.Provider,{value:l,children:t})})}},95408:function(e,t,n){"use strict";n.d(t,{L7:function(){return l},VO:function(){return r},W8:function(){return a},k9:function(){return i}});let r={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${r[e]}px)`};function i(e,t,n){let i=e.theme||{};if(Array.isArray(t)){let e=i.breakpoints||o;return t.reduce((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r),{})}if("object"==typeof t){let e=i.breakpoints||o;return Object.keys(t).reduce((o,i)=>{if(-1!==Object.keys(e.values||r).indexOf(i)){let r=e.up(i);o[r]=n(t[i],i)}else o[i]=t[i];return o},{})}let a=n(t);return a}function a(e={}){var t;let n=null==(t=e.keys)?void 0:t.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{});return n||{}}function l(e,t){return e.reduce((e,t)=>{let n=e[t],r=!n||0===Object.keys(n).length;return r&&delete e[t],e},t)}},41796:function(e,t,n){"use strict";n.d(t,{$n:function(){return f},_j:function(){return u},mi:function(){return c},n8:function(){return a}});var r=n(71387);function o(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function i(e){let t;if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let n=e.indexOf("("),o=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(o))throw Error((0,r.Z)(9,e));let a=e.substring(n+1,e.length-1);if("color"===o){if(t=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,r.Z)(10,t))}else a=a.split(",");return{type:o,values:a=a.map(e=>parseFloat(e)),colorSpace:t}}let a=e=>{let t=i(e);return t.values.slice(0,3).map((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e).join(" ")};function l(e){let{type:t,colorSpace:n}=e,{values:r}=e;return -1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),`${t}(${r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`})`}function s(e){let t="hsl"===(e=i(e)).type||"hsla"===e.type?i(function(e){e=i(e);let{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,a=r*Math.min(o,1-o),s=(e,t=(e+n/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){let n=s(e),r=s(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)}function f(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)}},41512:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(63366),o=n(87462);let i=["values","unit","step"],a=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>(0,o.Z)({},e,{[t.key]:t.val}),{})};function l(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:l=5}=e,s=(0,r.Z)(e,i),c=a(t),u=Object.keys(c);function f(e){let r="number"==typeof t[e]?t[e]:e;return`@media (min-width:${r}${n})`}function d(e){let r="number"==typeof t[e]?t[e]:e;return`@media (max-width:${r-l/100}${n})`}function p(e,r){let o=u.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==o&&"number"==typeof t[u[o]]?t[u[o]]:r)-l/100}${n})`}return(0,o.Z)({keys:u,values:c,up:f,down:d,between:p,only:function(e){return u.indexOf(e)+1{let n=0===e.length?[1]:e;return n.map(e=>{let n=t(e);return"number"==typeof n?`${n}px`:n}).join(" ")};return n.mui=!0,n}},88647:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(87462),o=n(63366),i=n(59766),a=n(41512),l={borderRadius:4},s=n(98373),c=n(86523),u=n(44920);let f=["breakpoints","palette","spacing","shape"];var d=function(e={},...t){let{breakpoints:n={},palette:d={},spacing:p,shape:h={}}=e,m=(0,o.Z)(e,f),g=(0,a.Z)(n),v=(0,s.Z)(p),y=(0,i.Z)({breakpoints:g,direction:"ltr",components:{},palette:(0,r.Z)({mode:"light"},d),spacing:v,shape:(0,r.Z)({},l,h)},m);return(y=t.reduce((e,t)=>(0,i.Z)(e,t),y)).unstable_sxConfig=(0,r.Z)({},u.Z,null==m?void 0:m.unstable_sxConfig),y.unstable_sx=function(e){return(0,c.Z)({sx:e,theme:this})},y}},50159:function(e,t,n){"use strict";function r(e=""){return(t,...n)=>`var(--${e?`${e}-`:""}${t}${function t(...n){if(!n.length)return"";let r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}(...n)})`}n.d(t,{Z:function(){return r}})},47730:function(e,t,n){"use strict";var r=n(59766);t.Z=function(e,t){return t?(0,r.Z)(e,t,{clone:!1}):e}},98700:function(e,t,n){"use strict";n.d(t,{hB:function(){return h},eI:function(){return p},NA:function(){return m},e6:function(){return v},o3:function(){return y}});var r=n(95408),o=n(54844),i=n(47730);let a={m:"margin",p:"padding"},l={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},s={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){let t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}(e=>{if(e.length>2){if(!s[e])return[e];e=s[e]}let[t,n]=e.split(""),r=a[t],o=l[n]||"";return Array.isArray(o)?o.map(e=>r+e):[r+o]}),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],d=[...u,...f];function p(e,t,n,r){var i;let a=null!=(i=(0,o.DW)(e,t,!1))?i:n;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>void 0}function h(e){return p(e,"spacing",8,"spacing")}function m(e,t){if("string"==typeof t||null==t)return t;let n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function g(e,t){let n=h(e.theme);return Object.keys(e).map(o=>(function(e,t,n,o){if(-1===t.indexOf(n))return null;let i=c(n),a=e[n];return(0,r.k9)(e,a,e=>i.reduce((t,n)=>(t[n]=m(o,e),t),{}))})(e,t,o,n)).reduce(i.Z,{})}function v(e){return g(e,u)}function y(e){return g(e,f)}function b(e){return g(e,d)}v.propTypes={},v.filterProps=u,y.propTypes={},y.filterProps=f,b.propTypes={},b.filterProps=d},54844:function(e,t,n){"use strict";n.d(t,{DW:function(){return i},Jq:function(){return a}});var r=n(14142),o=n(95408);function i(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){let n=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=n)return n}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function a(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:i(e,n)||r,t&&(o=t(o,r,e)),o}t.ZP=function(e){let{prop:t,cssProperty:n=e.prop,themeKey:l,transform:s}=e,c=e=>{if(null==e[t])return null;let c=e[t],u=e.theme,f=i(u,l)||{};return(0,o.k9)(e,c,e=>{let o=a(f,s,e);return(e===o&&"string"==typeof e&&(o=a(f,s,`${t}${"default"===e?"":(0,r.Z)(e)}`,e)),!1===n)?o:{[n]:o}})};return c.propTypes={},c.filterProps=[t],c}},44920:function(e,t,n){"use strict";n.d(t,{Z:function(){return U}});var r=n(98700),o=n(54844),i=n(47730),a=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?(0,i.Z)(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n},l=n(95408);function s(e){return"number"!=typeof e?e:`${e}px solid`}let c=(0,o.ZP)({prop:"border",themeKey:"borders",transform:s}),u=(0,o.ZP)({prop:"borderTop",themeKey:"borders",transform:s}),f=(0,o.ZP)({prop:"borderRight",themeKey:"borders",transform:s}),d=(0,o.ZP)({prop:"borderBottom",themeKey:"borders",transform:s}),p=(0,o.ZP)({prop:"borderLeft",themeKey:"borders",transform:s}),h=(0,o.ZP)({prop:"borderColor",themeKey:"palette"}),m=(0,o.ZP)({prop:"borderTopColor",themeKey:"palette"}),g=(0,o.ZP)({prop:"borderRightColor",themeKey:"palette"}),v=(0,o.ZP)({prop:"borderBottomColor",themeKey:"palette"}),y=(0,o.ZP)({prop:"borderLeftColor",themeKey:"palette"}),b=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,r.eI)(e.theme,"shape.borderRadius",4,"borderRadius");return(0,l.k9)(e,e.borderRadius,e=>({borderRadius:(0,r.NA)(t,e)}))}return null};b.propTypes={},b.filterProps=["borderRadius"],a(c,u,f,d,p,h,m,g,v,y,b);let x=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,r.eI)(e.theme,"spacing",8,"gap");return(0,l.k9)(e,e.gap,e=>({gap:(0,r.NA)(t,e)}))}return null};x.propTypes={},x.filterProps=["gap"];let w=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,r.eI)(e.theme,"spacing",8,"columnGap");return(0,l.k9)(e,e.columnGap,e=>({columnGap:(0,r.NA)(t,e)}))}return null};w.propTypes={},w.filterProps=["columnGap"];let C=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,r.eI)(e.theme,"spacing",8,"rowGap");return(0,l.k9)(e,e.rowGap,e=>({rowGap:(0,r.NA)(t,e)}))}return null};C.propTypes={},C.filterProps=["rowGap"];let S=(0,o.ZP)({prop:"gridColumn"}),E=(0,o.ZP)({prop:"gridRow"}),$=(0,o.ZP)({prop:"gridAutoFlow"}),O=(0,o.ZP)({prop:"gridAutoColumns"}),k=(0,o.ZP)({prop:"gridAutoRows"}),j=(0,o.ZP)({prop:"gridTemplateColumns"}),P=(0,o.ZP)({prop:"gridTemplateRows"}),_=(0,o.ZP)({prop:"gridTemplateAreas"}),Z=(0,o.ZP)({prop:"gridArea"});function A(e,t){return"grey"===t?t:e}a(x,w,C,S,E,$,O,k,j,P,_,Z);let R=(0,o.ZP)({prop:"color",themeKey:"palette",transform:A}),M=(0,o.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:A}),F=(0,o.ZP)({prop:"backgroundColor",themeKey:"palette",transform:A});function N(e){return e<=1&&0!==e?`${100*e}%`:e}a(R,M,F);let T=(0,o.ZP)({prop:"width",transform:N}),I=e=>void 0!==e.maxWidth&&null!==e.maxWidth?(0,l.k9)(e,e.maxWidth,t=>{var n,r;let o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||l.VO[t];return o?(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:N(t)}}):null;I.filterProps=["maxWidth"];let L=(0,o.ZP)({prop:"minWidth",transform:N}),B=(0,o.ZP)({prop:"height",transform:N}),z=(0,o.ZP)({prop:"maxHeight",transform:N}),D=(0,o.ZP)({prop:"minHeight",transform:N});(0,o.ZP)({prop:"size",cssProperty:"width",transform:N}),(0,o.ZP)({prop:"size",cssProperty:"height",transform:N});let H=(0,o.ZP)({prop:"boxSizing"});a(T,I,L,B,z,D,H);let V={border:{themeKey:"borders",transform:s},borderTop:{themeKey:"borders",transform:s},borderRight:{themeKey:"borders",transform:s},borderBottom:{themeKey:"borders",transform:s},borderLeft:{themeKey:"borders",transform:s},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:b},color:{themeKey:"palette",transform:A},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:A},backgroundColor:{themeKey:"palette",transform:A},p:{style:r.o3},pt:{style:r.o3},pr:{style:r.o3},pb:{style:r.o3},pl:{style:r.o3},px:{style:r.o3},py:{style:r.o3},padding:{style:r.o3},paddingTop:{style:r.o3},paddingRight:{style:r.o3},paddingBottom:{style:r.o3},paddingLeft:{style:r.o3},paddingX:{style:r.o3},paddingY:{style:r.o3},paddingInline:{style:r.o3},paddingInlineStart:{style:r.o3},paddingInlineEnd:{style:r.o3},paddingBlock:{style:r.o3},paddingBlockStart:{style:r.o3},paddingBlockEnd:{style:r.o3},m:{style:r.e6},mt:{style:r.e6},mr:{style:r.e6},mb:{style:r.e6},ml:{style:r.e6},mx:{style:r.e6},my:{style:r.e6},margin:{style:r.e6},marginTop:{style:r.e6},marginRight:{style:r.e6},marginBottom:{style:r.e6},marginLeft:{style:r.e6},marginX:{style:r.e6},marginY:{style:r.e6},marginInline:{style:r.e6},marginInlineStart:{style:r.e6},marginInlineEnd:{style:r.e6},marginBlock:{style:r.e6},marginBlockStart:{style:r.e6},marginBlockEnd:{style:r.e6},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:x},rowGap:{style:C},columnGap:{style:w},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:N},maxWidth:{style:I},minWidth:{transform:N},height:{transform:N},maxHeight:{transform:N},minHeight:{transform:N},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};var U=V},86523:function(e,t,n){"use strict";var r=n(14142),o=n(47730),i=n(54844),a=n(95408),l=n(44920);let s=function(){function e(e,t,n,o){let l={[e]:t,theme:n},s=o[e];if(!s)return{[e]:t};let{cssProperty:c=e,themeKey:u,transform:f,style:d}=s;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};let p=(0,i.DW)(n,u)||{};return d?d(l):(0,a.k9)(l,t,t=>{let n=(0,i.Jq)(p,f,t);return(t===n&&"string"==typeof t&&(n=(0,i.Jq)(p,f,`${e}${"default"===t?"":(0,r.Z)(t)}`,t)),!1===c)?n:{[c]:n}})}return function t(n){var r;let{sx:i,theme:s={}}=n||{};if(!i)return null;let c=null!=(r=s.unstable_sxConfig)?r:l.Z;function u(n){let r=n;if("function"==typeof n)r=n(s);else if("object"!=typeof n)return n;if(!r)return null;let i=(0,a.W8)(s.breakpoints),l=Object.keys(i),u=i;return Object.keys(r).forEach(n=>{var i;let l="function"==typeof(i=r[n])?i(s):i;if(null!=l){if("object"==typeof l){if(c[n])u=(0,o.Z)(u,e(n,l,s,c));else{let e=(0,a.k9)({theme:s},l,e=>({[n]:e}));(function(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)})(e,l)?u[n]=t({sx:l,theme:s}):u=(0,o.Z)(u,e)}}else u=(0,o.Z)(u,e(n,l,s,c))}}),(0,a.L7)(l,u)}return Array.isArray(i)?i.map(u):u(i)}}();s.filterProps=["sx"],t.Z=s},96682:function(e,t,n){"use strict";var r=n(88647),o=n(34168);let i=(0,r.Z)();t.Z=function(e=i){return(0,o.Z)(e)}},34168:function(e,t,n){"use strict";var r=n(67294),o=n(75260);t.Z=function(e=null){let t=r.useContext(o.T);return t&&0!==Object.keys(t).length?t:e}},37078:function(e,t){"use strict";let n;let r=e=>e,o=(n=r,{configure(e){n=e},generate:e=>n(e),reset(){n=r}});t.Z=o},14142:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(71387);function o(e){if("string"!=typeof e)throw Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},59766:function(e,t,n){"use strict";n.d(t,{P:function(){return o},Z:function(){return function e(t,n,i={clone:!0}){let a=i.clone?(0,r.Z)({},t):t;return o(t)&&o(n)&&Object.keys(n).forEach(r=>{"__proto__"!==r&&(o(n[r])&&r in t&&o(t[r])?a[r]=e(t[r],n[r],i):i.clone?a[r]=o(n[r])?function e(t){if(!o(t))return t;let n={};return Object.keys(t).forEach(r=>{n[r]=e(t[r])}),n}(n[r]):n[r]:a[r]=n[r])}),a}}});var r=n(87462);function o(e){return null!==e&&"object"==typeof e&&e.constructor===Object}},71387:function(e,t,n){"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e{o[t]=(0,r.Z)(e,t,n)}),o}},2788:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(97685),o=n(67294),i=n(73935),a=n(98924);n(80334);var l=n(42550),s=o.createContext(null),c=n(74902),u=n(8410),f=[],d=n(44958),p=n(74204),h="rc-util-locker-".concat(Date.now()),m=0,g=!1,v=function(e){return!1!==e&&((0,a.Z)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)},y=o.forwardRef(function(e,t){var n,y,b,x,w=e.open,C=e.autoLock,S=e.getContainer,E=(e.debug,e.autoDestroy),$=void 0===E||E,O=e.children,k=o.useState(w),j=(0,r.Z)(k,2),P=j[0],_=j[1],Z=P||w;o.useEffect(function(){($||w)&&_(w)},[w,$]);var A=o.useState(function(){return v(S)}),R=(0,r.Z)(A,2),M=R[0],F=R[1];o.useEffect(function(){var e=v(S);F(null!=e?e:null)});var N=function(e,t){var n=o.useState(function(){return(0,a.Z)()?document.createElement("div"):null}),i=(0,r.Z)(n,1)[0],l=o.useRef(!1),d=o.useContext(s),p=o.useState(f),h=(0,r.Z)(p,2),m=h[0],g=h[1],v=d||(l.current?void 0:function(e){g(function(t){return[e].concat((0,c.Z)(t))})});function y(){i.parentElement||document.body.appendChild(i),l.current=!0}function b(){var e;null===(e=i.parentElement)||void 0===e||e.removeChild(i),l.current=!1}return(0,u.Z)(function(){return e?d?d(y):y():b(),b},[e]),(0,u.Z)(function(){m.length&&(m.forEach(function(e){return e()}),g(f))},[m]),[i,v]}(Z&&!M,0),T=(0,r.Z)(N,2),I=T[0],L=T[1],B=null!=M?M:I;n=!!(C&&w&&(0,a.Z)()&&(B===I||B===document.body)),y=o.useState(function(){return m+=1,"".concat(h,"_").concat(m)}),b=(0,r.Z)(y,1)[0],(0,u.Z)(function(){if(n){var e=(0,p.o)(document.body).width,t=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,d.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(t?"width: calc(100% - ".concat(e,"px);"):"","\n}"),b)}else(0,d.jL)(b);return function(){(0,d.jL)(b)}},[n,b]);var z=null;O&&(0,l.Yr)(O)&&t&&(z=O.ref);var D=(0,l.x1)(z,t);if(!Z||!(0,a.Z)()||void 0===M)return null;var H=!1===B||("boolean"==typeof x&&(g=x),g),V=O;return t&&(V=o.cloneElement(O,{ref:D})),o.createElement(s.Provider,{value:L},H?V:(0,i.createPortal)(V,B))})},40228:function(e,t,n){"use strict";n.d(t,{Z:function(){return H}});var r=n(1413),o=n(97685),i=n(45987),a=n(2788),l=n(94184),s=n.n(l),c=n(9220),u=n(34203),f=n(27571),d=n(66680),p=n(7028),h=n(8410),m=n(31131),g=n(67294),v=n(73935),y=g.createContext(null);function b(e){return e?Array.isArray(e)?e:[e]:[]}var x=n(5110);function w(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function C(e){return e.ownerDocument.defaultView}function S(e){for(var t=[],n=null==e?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var o=C(n).getComputedStyle(n);[o.overflowX,o.overflowY,o.overflow].some(function(e){return r.includes(e)})&&t.push(n),n=n.parentElement}return t}function E(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function $(e){return E(parseFloat(e),0)}function O(e,t){var n=(0,r.Z)({},e);return(t||[]).forEach(function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=C(e).getComputedStyle(e),r=t.overflow,o=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,l=t.borderLeftWidth,s=t.borderRightWidth,c=e.getBoundingClientRect(),u=e.offsetHeight,f=e.clientHeight,d=e.offsetWidth,p=e.clientWidth,h=$(i),m=$(a),g=$(l),v=$(s),y=E(Math.round(c.width/d*1e3)/1e3),b=E(Math.round(c.height/u*1e3)/1e3),x=h*b,w=g*y,S=0,O=0;if("clip"===r){var k=$(o);S=k*y,O=k*b}var j=c.x+w-S,P=c.y+x-O,_=j+c.width+2*S-w-v*y-(d-p-g-v)*y,Z=P+c.height+2*O-x-m*b-(u-f-h-m)*b;n.left=Math.max(n.left,j),n.top=Math.max(n.top,P),n.right=Math.min(n.right,_),n.bottom=Math.min(n.bottom,Z)}}),n}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function j(e,t){var n=(0,o.Z)(t||[],2),r=n[0],i=n[1];return[k(e.width,r),k(e.height,i)]}function P(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function _(e,t){var n,r=t[0],o=t[1];return n="t"===r?e.y:"b"===r?e.y+e.height:e.y+e.height/2,{x:"l"===o?e.x:"r"===o?e.x+e.width:e.x+e.width/2,y:n}}function Z(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(e,r){return r===t?n[e]||"c":e}).join("")}var A=n(74902);n(56790);var R=n(75164),M=n(87462),F=n(82225),N=n(42550);function T(e){var t=e.prefixCls,n=e.align,r=e.arrow,o=e.arrowPos,i=r||{},a=i.className,l=i.content,c=o.x,u=o.y,f=g.useRef();if(!n||!n.points)return null;var d={position:"absolute"};if(!1!==n.autoArrow){var p=n.points[0],h=n.points[1],m=p[0],v=p[1],y=h[0],b=h[1];m!==y&&["t","b"].includes(m)?"t"===m?d.top=0:d.bottom=0:d.top=void 0===u?0:u,v!==b&&["l","r"].includes(v)?"l"===v?d.left=0:d.right=0:d.left=void 0===c?0:c}return g.createElement("div",{ref:f,className:s()("".concat(t,"-arrow"),a),style:d},l)}function I(e){var t=e.prefixCls,n=e.open,r=e.zIndex,o=e.mask,i=e.motion;return o?g.createElement(F.ZP,(0,M.Z)({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(e){var n=e.className;return g.createElement("div",{style:{zIndex:r},className:s()("".concat(t,"-mask"),n)})}):null}var L=g.memo(function(e){return e.children},function(e,t){return t.cache}),B=g.forwardRef(function(e,t){var n=e.popup,i=e.className,a=e.prefixCls,l=e.style,u=e.target,f=e.onVisibleChanged,d=e.open,p=e.keepDom,m=e.onClick,v=e.mask,y=e.arrow,b=e.arrowPos,x=e.align,w=e.motion,C=e.maskMotion,S=e.forceRender,E=e.getPopupContainer,$=e.autoDestroy,O=e.portal,k=e.zIndex,j=e.onMouseEnter,P=e.onMouseLeave,_=e.onPointerEnter,Z=e.ready,A=e.offsetX,R=e.offsetY,B=e.offsetR,z=e.offsetB,D=e.onAlign,H=e.onPrepare,V=e.stretch,U=e.targetWidth,W=e.targetHeight,q="function"==typeof n?n():n,K=(null==E?void 0:E.length)>0,G=g.useState(!E||!K),X=(0,o.Z)(G,2),Y=X[0],J=X[1];if((0,h.Z)(function(){!Y&&K&&u&&J(!0)},[Y,K,u]),!Y)return null;var Q="auto",ee={left:"-1000vw",top:"-1000vh",right:Q,bottom:Q};if(Z||!d){var et=x.points,en=x._experimental,er=null==en?void 0:en.dynamicInset,eo=er&&"r"===et[0][1],ei=er&&"b"===et[0][0];eo?(ee.right=B,ee.left=Q):(ee.left=A,ee.right=Q),ei?(ee.bottom=z,ee.top=Q):(ee.top=R,ee.bottom=Q)}var ea={};return V&&(V.includes("height")&&W?ea.height=W:V.includes("minHeight")&&W&&(ea.minHeight=W),V.includes("width")&&U?ea.width=U:V.includes("minWidth")&&U&&(ea.minWidth=U)),d||(ea.pointerEvents="none"),g.createElement(O,{open:S||d||p,getContainer:E&&function(){return E(u)},autoDestroy:$},g.createElement(I,{prefixCls:a,open:d,zIndex:k,mask:v,motion:C}),g.createElement(c.Z,{onResize:D,disabled:!d},function(e){return g.createElement(F.ZP,(0,M.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:S,leavedClassName:"".concat(a,"-hidden")},w,{onAppearPrepare:H,onEnterPrepare:H,visible:d,onVisibleChanged:function(e){var t;null==w||null===(t=w.onVisibleChanged)||void 0===t||t.call(w,e),f(e)}}),function(n,o){var c=n.className,u=n.style,f=s()(a,c,i);return g.createElement("div",{ref:(0,N.sQ)(e,t,o),className:f,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(b.x||0,"px"),"--arrow-y":"".concat(b.y||0,"px")},ee),ea),u),{},{boxSizing:"border-box",zIndex:k},l),onMouseEnter:j,onMouseLeave:P,onPointerEnter:_,onClick:m},y&&g.createElement(T,{prefixCls:a,arrow:y,arrowPos:b,align:x}),g.createElement(L,{cache:!d},q))})}))}),z=g.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=(0,N.Yr)(n),i=g.useCallback(function(e){(0,N.mH)(t,r?r(e):e)},[r]),a=(0,N.x1)(i,n.ref);return o?g.cloneElement(n,{ref:a}):n}),D=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"],H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.Z;return g.forwardRef(function(t,n){var a,l,$,k,M,F,N,T,I,L,H,V,U,W,q,K,G,X=t.prefixCls,Y=void 0===X?"rc-trigger-popup":X,J=t.children,Q=t.action,ee=t.showAction,et=t.hideAction,en=t.popupVisible,er=t.defaultPopupVisible,eo=t.onPopupVisibleChange,ei=t.afterPopupVisibleChange,ea=t.mouseEnterDelay,el=t.mouseLeaveDelay,es=void 0===el?.1:el,ec=t.focusDelay,eu=t.blurDelay,ef=t.mask,ed=t.maskClosable,ep=t.getPopupContainer,eh=t.forceRender,em=t.autoDestroy,eg=t.destroyPopupOnHide,ev=t.popup,ey=t.popupClassName,eb=t.popupStyle,ex=t.popupPlacement,ew=t.builtinPlacements,eC=void 0===ew?{}:ew,eS=t.popupAlign,eE=t.zIndex,e$=t.stretch,eO=t.getPopupClassNameFromAlign,ek=t.alignPoint,ej=t.onPopupClick,eP=t.onPopupAlign,e_=t.arrow,eZ=t.popupMotion,eA=t.maskMotion,eR=t.popupTransitionName,eM=t.popupAnimation,eF=t.maskTransitionName,eN=t.maskAnimation,eT=t.className,eI=t.getTriggerDOMNode,eL=(0,i.Z)(t,D),eB=g.useState(!1),ez=(0,o.Z)(eB,2),eD=ez[0],eH=ez[1];(0,h.Z)(function(){eH((0,m.Z)())},[]);var eV=g.useRef({}),eU=g.useContext(y),eW=g.useMemo(function(){return{registerSubPopup:function(e,t){eV.current[e]=t,null==eU||eU.registerSubPopup(e,t)}}},[eU]),eq=(0,p.Z)(),eK=g.useState(null),eG=(0,o.Z)(eK,2),eX=eG[0],eY=eG[1],eJ=(0,d.Z)(function(e){(0,u.S)(e)&&eX!==e&&eY(e),null==eU||eU.registerSubPopup(eq,e)}),eQ=g.useState(null),e0=(0,o.Z)(eQ,2),e1=e0[0],e2=e0[1],e4=(0,d.Z)(function(e){(0,u.S)(e)&&e1!==e&&e2(e)}),e3=g.Children.only(J),e6=(null==e3?void 0:e3.props)||{},e8={},e5=(0,d.Z)(function(e){var t,n;return(null==e1?void 0:e1.contains(e))||(null===(t=(0,f.A)(e1))||void 0===t?void 0:t.host)===e||e===e1||(null==eX?void 0:eX.contains(e))||(null===(n=(0,f.A)(eX))||void 0===n?void 0:n.host)===e||e===eX||Object.values(eV.current).some(function(t){return(null==t?void 0:t.contains(e))||e===t})}),e7=w(Y,eZ,eM,eR),e9=w(Y,eA,eN,eF),te=g.useState(er||!1),tt=(0,o.Z)(te,2),tn=tt[0],tr=tt[1],to=null!=en?en:tn,ti=(0,d.Z)(function(e){void 0===en&&tr(e)});(0,h.Z)(function(){tr(en||!1)},[en]);var ta=g.useRef(to);ta.current=to;var tl=(0,d.Z)(function(e){(0,v.flushSync)(function(){to!==e&&(ti(e),null==eo||eo(e))})}),ts=g.useRef(),tc=function(){clearTimeout(ts.current)},tu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;tc(),0===t?tl(e):ts.current=setTimeout(function(){tl(e)},1e3*t)};g.useEffect(function(){return tc},[]);var tf=g.useState(!1),td=(0,o.Z)(tf,2),tp=td[0],th=td[1];(0,h.Z)(function(e){(!e||to)&&th(!0)},[to]);var tm=g.useState(null),tg=(0,o.Z)(tm,2),tv=tg[0],ty=tg[1],tb=g.useState([0,0]),tx=(0,o.Z)(tb,2),tw=tx[0],tC=tx[1],tS=function(e){tC([e.clientX,e.clientY])},tE=(a=ek?tw:e1,l=g.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:eC[ex]||{}}),k=($=(0,o.Z)(l,2))[0],M=$[1],F=g.useRef(0),N=g.useMemo(function(){return eX?S(eX):[]},[eX]),T=g.useRef({}),to||(T.current={}),I=(0,d.Z)(function(){if(eX&&a&&to){var e,t,n,i,l,s,c,f=eX.ownerDocument,d=C(eX).getComputedStyle(eX),p=d.width,h=d.height,m=d.position,g=eX.style.left,v=eX.style.top,y=eX.style.right,b=eX.style.bottom,w=(0,r.Z)((0,r.Z)({},eC[ex]),eS),S=f.createElement("div");if(null===(e=eX.parentElement)||void 0===e||e.appendChild(S),S.style.left="".concat(eX.offsetLeft,"px"),S.style.top="".concat(eX.offsetTop,"px"),S.style.position=m,S.style.height="".concat(eX.offsetHeight,"px"),S.style.width="".concat(eX.offsetWidth,"px"),eX.style.left="0",eX.style.top="0",eX.style.right="auto",eX.style.bottom="auto",Array.isArray(a))n={x:a[0],y:a[1],width:0,height:0};else{var $=a.getBoundingClientRect();n={x:$.x,y:$.y,width:$.width,height:$.height}}var k=eX.getBoundingClientRect(),A=f.documentElement,R=A.clientWidth,F=A.clientHeight,I=A.scrollWidth,L=A.scrollHeight,B=A.scrollTop,z=A.scrollLeft,D=k.height,H=k.width,V=n.height,U=n.width,W=w.htmlRegion,q="visible",K="visibleFirst";"scroll"!==W&&W!==K&&(W=q);var G=W===K,X=O({left:-z,top:-B,right:I-z,bottom:L-B},N),Y=O({left:0,top:0,right:R,bottom:F},N),J=W===q?Y:X,Q=G?Y:J;eX.style.left="auto",eX.style.top="auto",eX.style.right="0",eX.style.bottom="0";var ee=eX.getBoundingClientRect();eX.style.left=g,eX.style.top=v,eX.style.right=y,eX.style.bottom=b,null===(t=eX.parentElement)||void 0===t||t.removeChild(S);var et=E(Math.round(H/parseFloat(p)*1e3)/1e3),en=E(Math.round(D/parseFloat(h)*1e3)/1e3);if(!(0===et||0===en||(0,u.S)(a)&&!(0,x.Z)(a))){var er=w.offset,eo=w.targetOffset,ei=j(k,er),ea=(0,o.Z)(ei,2),el=ea[0],es=ea[1],ec=j(n,eo),eu=(0,o.Z)(ec,2),ef=eu[0],ed=eu[1];n.x-=ef,n.y-=ed;var ep=w.points||[],eh=(0,o.Z)(ep,2),em=eh[0],eg=P(eh[1]),ev=P(em),ey=_(n,eg),eb=_(k,ev),ew=(0,r.Z)({},w),eE=ey.x-eb.x+el,e$=ey.y-eb.y+es,eO=te(eE,e$),ek=te(eE,e$,Y),ej=_(n,["t","l"]),e_=_(k,["t","l"]),eZ=_(n,["b","r"]),eA=_(k,["b","r"]),eR=w.overflow||{},eM=eR.adjustX,eF=eR.adjustY,eN=eR.shiftX,eT=eR.shiftY,eI=function(e){return"boolean"==typeof e?e:e>=0};tt();var eL=eI(eF),eB=ev[0]===eg[0];if(eL&&"t"===ev[0]&&(l>Q.bottom||T.current.bt)){var ez=e$;eB?ez-=D-V:ez=ej.y-eA.y-es;var eD=te(eE,ez),eH=te(eE,ez,Y);eD>eO||eD===eO&&(!G||eH>=ek)?(T.current.bt=!0,e$=ez,es=-es,ew.points=[Z(ev,0),Z(eg,0)]):T.current.bt=!1}if(eL&&"b"===ev[0]&&(ieO||eU===eO&&(!G||eW>=ek)?(T.current.tb=!0,e$=eV,es=-es,ew.points=[Z(ev,0),Z(eg,0)]):T.current.tb=!1}var eq=eI(eM),eK=ev[1]===eg[1];if(eq&&"l"===ev[1]&&(c>Q.right||T.current.rl)){var eG=eE;eK?eG-=H-U:eG=ej.x-eA.x-el;var eY=te(eG,e$),eJ=te(eG,e$,Y);eY>eO||eY===eO&&(!G||eJ>=ek)?(T.current.rl=!0,eE=eG,el=-el,ew.points=[Z(ev,1),Z(eg,1)]):T.current.rl=!1}if(eq&&"r"===ev[1]&&(seO||e0===eO&&(!G||e1>=ek)?(T.current.lr=!0,eE=eQ,el=-el,ew.points=[Z(ev,1),Z(eg,1)]):T.current.lr=!1}tt();var e2=!0===eN?0:eN;"number"==typeof e2&&(sY.right&&(eE-=c-Y.right-el,n.x>Y.right-e2&&(eE+=n.x-Y.right+e2)));var e4=!0===eT?0:eT;"number"==typeof e4&&(iY.bottom&&(e$-=l-Y.bottom-es,n.y>Y.bottom-e4&&(e$+=n.y-Y.bottom+e4)));var e3=k.x+eE,e6=k.y+e$,e8=n.x,e5=n.y;null==eP||eP(eX,ew);var e7=ee.right-k.x-(eE+k.width),e9=ee.bottom-k.y-(e$+k.height);M({ready:!0,offsetX:eE/et,offsetY:e$/en,offsetR:e7/et,offsetB:e9/en,arrowX:((Math.max(e3,e8)+Math.min(e3+H,e8+U))/2-e3)/et,arrowY:((Math.max(e6,e5)+Math.min(e6+D,e5+V))/2-e6)/en,scaleX:et,scaleY:en,align:ew})}function te(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:J,r=k.x+e,o=k.y+t,i=Math.max(r,n.left),a=Math.max(o,n.top);return Math.max(0,(Math.min(r+H,n.right)-i)*(Math.min(o+D,n.bottom)-a))}function tt(){l=(i=k.y+e$)+D,c=(s=k.x+eE)+H}}}),L=function(){M(function(e){return(0,r.Z)((0,r.Z)({},e),{},{ready:!1})})},(0,h.Z)(L,[ex]),(0,h.Z)(function(){to||L()},[to]),[k.ready,k.offsetX,k.offsetY,k.offsetR,k.offsetB,k.arrowX,k.arrowY,k.scaleX,k.scaleY,k.align,function(){F.current+=1;var e=F.current;Promise.resolve().then(function(){F.current===e&&I()})}]),t$=(0,o.Z)(tE,11),tO=t$[0],tk=t$[1],tj=t$[2],tP=t$[3],t_=t$[4],tZ=t$[5],tA=t$[6],tR=t$[7],tM=t$[8],tF=t$[9],tN=t$[10],tT=(H=void 0===Q?"hover":Q,g.useMemo(function(){var e=b(null!=ee?ee:H),t=b(null!=et?et:H),n=new Set(e),r=new Set(t);return eD&&(n.has("hover")&&(n.delete("hover"),n.add("click")),r.has("hover")&&(r.delete("hover"),r.add("click"))),[n,r]},[eD,H,ee,et])),tI=(0,o.Z)(tT,2),tL=tI[0],tB=tI[1],tz=tL.has("click"),tD=tB.has("click")||tB.has("contextMenu"),tH=(0,d.Z)(function(){tp||tN()});V=function(){ta.current&&ek&&tD&&tu(!1)},(0,h.Z)(function(){if(to&&e1&&eX){var e=S(e1),t=S(eX),n=C(eX),r=new Set([n].concat((0,A.Z)(e),(0,A.Z)(t)));function o(){tH(),V()}return r.forEach(function(e){e.addEventListener("scroll",o,{passive:!0})}),n.addEventListener("resize",o,{passive:!0}),tH(),function(){r.forEach(function(e){e.removeEventListener("scroll",o),n.removeEventListener("resize",o)})}}},[to,e1,eX]),(0,h.Z)(function(){tH()},[tw,ex]),(0,h.Z)(function(){to&&!(null!=eC&&eC[ex])&&tH()},[JSON.stringify(eS)]);var tV=g.useMemo(function(){var e=function(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}(null===(l=e[s])||void 0===l?void 0:l.points,o,r))return"".concat(t,"-placement-").concat(s)}return""}(eC,Y,tF,ek);return s()(e,null==eO?void 0:eO(tF))},[tF,eO,eC,Y,ek]);g.useImperativeHandle(n,function(){return{forceAlign:tH}});var tU=g.useState(0),tW=(0,o.Z)(tU,2),tq=tW[0],tK=tW[1],tG=g.useState(0),tX=(0,o.Z)(tG,2),tY=tX[0],tJ=tX[1],tQ=function(){if(e$&&e1){var e=e1.getBoundingClientRect();tK(e.width),tJ(e.height)}};function t0(e,t,n,r){e8[e]=function(o){var i;null==r||r(o),tu(t,n);for(var a=arguments.length,l=Array(a>1?a-1:0),s=1;s1?n-1:0),o=1;o1?n-1:0),o=1;o-1&&(i=setTimeout(function(){d.delete(e)},t)),d.set(e,(0,o.pi)((0,o.pi)({},n),{timer:i}))},h=new Map,m=function(e,t){h.set(e,t),t.then(function(t){return h.delete(e),t}).catch(function(){h.delete(e)})},g={},v=function(e,t){g[e]&&g[e].forEach(function(e){return e(t)})},y=function(e,t){return g[e]||(g[e]=[]),g[e].push(t),function(){var n=g[e].indexOf(t);g[e].splice(n,1)}},b=function(e,t){var n=t.cacheKey,r=t.cacheTime,a=void 0===r?3e5:r,l=t.staleTime,c=void 0===l?0:l,u=t.setCache,g=t.getCache,b=(0,i.useRef)(),x=(0,i.useRef)(),w=function(e,t){u?u(t):p(e,a,t),v(e,t.data)},C=function(e,t){return(void 0===t&&(t=[]),g)?g(t):d.get(e)};return(s(function(){if(n){var t=C(n);t&&Object.hasOwnProperty.call(t,"data")&&(e.state.data=t.data,e.state.params=t.params,(-1===c||new Date().getTime()-t.time<=c)&&(e.state.loading=!1)),b.current=y(n,function(t){e.setState({data:t})})}},[]),f(function(){var e;null===(e=b.current)||void 0===e||e.call(b)}),n)?{onBefore:function(e){var t=C(n,e);return t&&Object.hasOwnProperty.call(t,"data")?-1===c||new Date().getTime()-t.time<=c?{loading:!1,data:null==t?void 0:t.data,error:void 0,returnNow:!0}:{data:null==t?void 0:t.data,error:void 0}:{}},onRequest:function(e,t){var r=h.get(n);return r&&r!==x.current||(r=e.apply(void 0,(0,o.ev)([],(0,o.CR)(t),!1)),x.current=r,m(n,r)),{servicePromise:r}},onSuccess:function(t,r){var o;n&&(null===(o=b.current)||void 0===o||o.call(b),w(n,{data:t,params:r,time:new Date().getTime()}),b.current=y(n,function(t){e.setState({data:t})}))},onMutate:function(t){var r;n&&(null===(r=b.current)||void 0===r||r.call(b),w(n,{data:t,params:e.state.params,time:new Date().getTime()}),b.current=y(n,function(t){e.setState({data:t})}))}}:{}},x=n(23279),w=n.n(x),C=function(e,t){var n=t.debounceWait,r=t.debounceLeading,a=t.debounceTrailing,l=t.debounceMaxWait,s=(0,i.useRef)(),c=(0,i.useMemo)(function(){var e={};return void 0!==r&&(e.leading=r),void 0!==a&&(e.trailing=a),void 0!==l&&(e.maxWait=l),e},[r,a,l]);return((0,i.useEffect)(function(){if(n){var t=e.runAsync.bind(e);return s.current=w()(function(e){e()},n,c),e.runAsync=function(){for(var e=[],n=0;n-1&&j.splice(e,1)})}return function(){s()}},[n,a]),f(function(){s()}),{}},Z=function(e,t){var n=t.retryInterval,r=t.retryCount,o=(0,i.useRef)(),a=(0,i.useRef)(0),l=(0,i.useRef)(!1);return r?{onBefore:function(){l.current||(a.current=0),l.current=!1,o.current&&clearTimeout(o.current)},onSuccess:function(){a.current=0},onError:function(){if(a.current+=1,-1===r||a.current<=r){var t=null!=n?n:Math.min(1e3*Math.pow(2,a.current),3e4);o.current=setTimeout(function(){l.current=!0,e.refresh()},t)}else a.current=0},onCancel:function(){a.current=0,o.current&&clearTimeout(o.current)}}:{}},A=n(23493),R=n.n(A),M=function(e,t){var n=t.throttleWait,r=t.throttleLeading,a=t.throttleTrailing,l=(0,i.useRef)(),s={};return(void 0!==r&&(s.leading=r),void 0!==a&&(s.trailing=a),(0,i.useEffect)(function(){if(n){var t=e.runAsync.bind(e);return l.current=R()(function(e){e()},n,s),e.runAsync=function(){for(var e=[],n=0;n{if(g(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;d(t.offsetHeight+8),h(t.offsetWidth)}),t=setInterval(()=>{var r;let o=n?`.${n(y)}`:`.${y}-dropdown`,i=null===(r=u.current)||void 0===r?void 0:r.querySelector(o);i&&(clearInterval(t),e.observe(i))},10);return()=>{clearInterval(t),e.disconnect()}}},[]);let b=Object.assign(Object.assign({},l),{style:Object.assign(Object.assign({},c),{margin:0}),open:m,visible:m,getPopupContainer:()=>u.current});return i&&(b=i(b)),o.createElement("div",{ref:u,style:{paddingBottom:f,position:"relative",minWidth:p}},o.createElement(e,Object.assign({},b)))})}},98787:function(e,t,n){"use strict";n.d(t,{o2:function(){return l},yT:function(){return s}});var r=n(74902),o=n(8796);let i=o.i.map(e=>`${e}-inverse`),a=["success","processing","error","default","warning"];function l(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return t?[].concat((0,r.Z)(i),(0,r.Z)(o.i)).includes(e):o.i.includes(e)}function s(e){return a.includes(e)}},69760:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(97937),o=n(67294);function i(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.createElement(r.Z,null),a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l="boolean"==typeof e?e:void 0===t?!!a:!1!==t&&null!==t;if(!l)return[!1,null];let s="boolean"==typeof t||null==t?i:t;return[!0,n?n(s):s]}},98082:function(e,t,n){"use strict";var r=n(67294),o=n(31808);t.Z=()=>{let[e,t]=r.useState(!1);return r.useEffect(()=>{t((0,o.fk)())},[]),e}},33603:function(e,t,n){"use strict";n.d(t,{m:function(){return l}});let r=()=>({height:0,opacity:0}),o=e=>{let{scrollHeight:t}=e;return{height:t,opacity:1}},i=e=>({height:e?e.offsetHeight:0}),a=(e,t)=>(null==t?void 0:t.deadline)===!0||"height"===t.propertyName,l=(e,t,n)=>void 0!==n?n:`${e}-${t}`;t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ant";return{motionName:`${e}-motion-collapse`,onAppearStart:r,onEnterStart:r,onAppearActive:o,onEnterActive:o,onLeaveStart:i,onLeaveActive:r,onAppearEnd:a,onEnterEnd:a,onLeaveEnd:a,motionDeadline:500}}},80636:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(77786);let o={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},i={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},a=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function l(e){let{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:l,offset:s,borderRadius:c,visibleFirst:u}=e,f=t/2,d={};return Object.keys(o).forEach(e=>{let p=l&&i[e]||o[e],h=Object.assign(Object.assign({},p),{offset:[0,0]});switch(d[e]=h,a.has(e)&&(h.autoArrow=!1),e){case"top":case"topLeft":case"topRight":h.offset[1]=-f-s;break;case"bottom":case"bottomLeft":case"bottomRight":h.offset[1]=f+s;break;case"left":case"leftTop":case"leftBottom":h.offset[0]=-f-s;break;case"right":case"rightTop":case"rightBottom":h.offset[0]=f+s}let m=(0,r.fS)({contentRadius:c,limitVerticalRadius:!0});if(l)switch(e){case"topLeft":case"bottomLeft":h.offset[0]=-m.dropdownArrowOffset-f;break;case"topRight":case"bottomRight":h.offset[0]=m.dropdownArrowOffset+f;break;case"leftTop":case"rightTop":h.offset[1]=-m.dropdownArrowOffset-f;break;case"leftBottom":case"rightBottom":h.offset[1]=m.dropdownArrowOffset+f}h.overflow=function(e,t,n,r){if(!1===r)return{adjustX:!1,adjustY:!1};let o=r&&"object"==typeof r?r:{},i={};switch(e){case"top":case"bottom":i.shiftX=2*t.dropdownArrowOffset+n;break;case"left":case"right":i.shiftY=2*t.dropdownArrowOffsetVertical+n}let a=Object.assign(Object.assign({},i),o);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}(e,m,t,n),u&&(h.htmlRegion="visibleFirst")}),d}},96159:function(e,t,n){"use strict";n.d(t,{M2:function(){return a},Tm:function(){return s},l$:function(){return i},wm:function(){return l}});var r,o=n(67294);let{isValidElement:i}=r||(r=n.t(o,2));function a(e){return e&&i(e)&&e.type===o.Fragment}function l(e,t,n){return i(e)?o.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t}function s(e,t){return l(e,e,t)}},31808:function(e,t,n){"use strict";let r;n.d(t,{fk:function(){return a},jD:function(){return i}});var o=n(98924);let i=()=>(0,o.Z)()&&window.document.documentElement,a=()=>{if(!i())return!1;if(void 0!==r)return r;let e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div"));let t=document.createElement("div");return t.style.position="absolute",t.style.zIndex="-9999",t.appendChild(e),document.body.appendChild(t),r=1===e.scrollHeight,document.body.removeChild(t),r}},45353:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(94184),o=n.n(r),i=n(42550),a=n(5110),l=n(67294),s=n(53124),c=n(96159),u=n(67968);let f=e=>{let{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:`box-shadow 0.4s ${e.motionEaseOutCirc},opacity 2s ${e.motionEaseOutCirc}`,"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:`box-shadow 0.3s ${e.motionEaseInOut},opacity 0.35s ${e.motionEaseInOut}`}}}}};var d=(0,u.Z)("Wave",e=>[f(e)]),p=n(66680),h=n(75164),m=n(82225),g=n(38135);function v(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&function(e){let t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!t||!t[1]||!t[2]||!t[3]||!(t[1]===t[2]&&t[2]===t[3])}(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}var y=n(17415);function b(e){return Number.isNaN(e)?0:e}let x=e=>{let{className:t,target:n,component:r}=e,i=l.useRef(null),[a,s]=l.useState(null),[c,u]=l.useState([]),[f,d]=l.useState(0),[p,x]=l.useState(0),[w,C]=l.useState(0),[S,E]=l.useState(0),[$,O]=l.useState(!1),k={left:f,top:p,width:w,height:S,borderRadius:c.map(e=>`${e}px`).join(" ")};function j(){let e=getComputedStyle(n);s(function(e){let{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return v(t)?t:v(n)?n:v(r)?r:null}(n));let t="static"===e.position,{borderLeftWidth:r,borderTopWidth:o}=e;d(t?n.offsetLeft:b(-parseFloat(r))),x(t?n.offsetTop:b(-parseFloat(o))),C(n.offsetWidth),E(n.offsetHeight);let{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:l,borderBottomRightRadius:c}=e;u([i,a,c,l].map(e=>b(parseFloat(e))))}if(a&&(k["--wave-color"]=a),l.useEffect(()=>{if(n){let e;let t=(0,h.Z)(()=>{j(),O(!0)});return"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(j)).observe(n),()=>{h.Z.cancel(t),null==e||e.disconnect()}}},[]),!$)return null;let P=("Checkbox"===r||"Radio"===r)&&(null==n?void 0:n.classList.contains(y.A));return l.createElement(m.ZP,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var n;if(t.deadline||"opacity"===t.propertyName){let e=null===(n=i.current)||void 0===n?void 0:n.parentElement;(0,g.v)(e).then(()=>{null==e||e.remove()})}return!1}},e=>{let{className:n}=e;return l.createElement("div",{ref:i,className:o()(t,{"wave-quick":P},n),style:k})})};var w=(e,t)=>{var n;let{component:r}=t;if("Checkbox"===r&&!(null===(n=e.querySelector("input"))||void 0===n?void 0:n.checked))return;let o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",null==e||e.insertBefore(o,null==e?void 0:e.firstChild),(0,g.s)(l.createElement(x,Object.assign({},t,{target:e})),o)},C=n(25976),S=e=>{let{children:t,disabled:n,component:r}=e,{getPrefixCls:u}=(0,l.useContext)(s.E_),f=(0,l.useRef)(null),m=u("wave"),[,g]=d(m),v=function(e,t,n){let{wave:r}=l.useContext(s.E_),[,o,i]=(0,C.Z)(),a=(0,p.Z)(a=>{let l=e.current;if((null==r?void 0:r.disabled)||!l)return;let s=l.querySelector(`.${y.A}`)||l,{showEffect:c}=r||{};(c||w)(s,{className:t,token:o,component:n,event:a,hashId:i})}),c=l.useRef();return e=>{h.Z.cancel(c.current),c.current=(0,h.Z)(()=>{a(e)})}}(f,o()(m,g),r);if(l.useEffect(()=>{let e=f.current;if(!e||1!==e.nodeType||n)return;let t=t=>{!(0,a.Z)(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||v(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}},[n]),!l.isValidElement(t))return null!=t?t:null;let b=(0,i.Yr)(t)?(0,i.sQ)(t.ref,f):f;return(0,c.Tm)(t,{ref:b})}},17415:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});let r="ant-wave-target"},4026:function(e,t,n){"use strict";n.d(t,{n:function(){return eo},Z:function(){return ea}});var r=n(67294),o=n(94184),i=n.n(o),a=n(98423),l=n(42550),s=n(45353),c=n(53124),u=n(98866),f=n(98675),d=n(4173),p=n(25976),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let m=r.createContext(void 0);var g=n(96159);let v=/^[\u4e00-\u9fa5]{2}$/,y=v.test.bind(v);function b(e){return"string"==typeof e}function x(e){return"text"===e||"link"===e}let w=(0,r.forwardRef)((e,t)=>{let{className:n,style:o,children:a,prefixCls:l}=e,s=i()(`${l}-icon`,n);return r.createElement("span",{ref:t,className:s,style:o},a)});var C=n(50888),S=n(82225);let E=(0,r.forwardRef)((e,t)=>{let{prefixCls:n,className:o,style:a,iconClassName:l}=e,s=i()(`${n}-loading-icon`,o);return r.createElement(w,{prefixCls:n,className:s,style:a,ref:t},r.createElement(C.Z,{className:l}))}),$=()=>({width:0,opacity:0,transform:"scale(0)"}),O=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"});var k=e=>{let{prefixCls:t,loading:n,existIcon:o,className:i,style:a}=e;return o?r.createElement(E,{prefixCls:t,className:i,style:a}):r.createElement(S.ZP,{visible:!!n,motionName:`${t}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:$,onAppearActive:O,onEnterStart:$,onEnterActive:O,onLeaveStart:O,onLeaveActive:$},(e,n)=>{let{className:o,style:l}=e;return r.createElement(E,{prefixCls:t,className:i,style:Object.assign(Object.assign({},a),l),ref:n,iconClassName:o})})},j=n(14747),P=n(45503),_=n(67968);let Z=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}});var A=e=>{let{componentCls:t,fontSize:n,lineWidth:r,colorPrimaryHover:o,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-r,[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,[`&:hover, - &:focus, - &:active`]:{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},Z(`${t}-primary`,o),Z(`${t}-danger`,i)]}};let R=e=>{let{componentCls:t,iconCls:n,buttonFontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${e.lineWidth}px ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:e.lineHeight,color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:0},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,j.Qy)(e)),[`&-icon-only${t}-compact-item`]:{flex:"none"},[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:e.lineWidth,height:`calc(100% + ${2*e.lineWidth}px)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-e.lineWidth,insetInlineStart:-e.lineWidth,display:"inline-block",width:`calc(100% + ${2*e.lineWidth}px)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},M=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),F=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),N=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.controlHeight/2,paddingInlineEnd:e.controlHeight/2}),T=e=>({cursor:"not-allowed",borderColor:e.colorBorder,color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,boxShadow:"none"}),I=(e,t,n,r,o,i,a)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:t||void 0,backgroundColor:"transparent",borderColor:n||void 0,boxShadow:"none"},M(e,Object.assign({backgroundColor:"transparent"},i),Object.assign({backgroundColor:"transparent"},a))),{"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:o||void 0}})}),L=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},T(e))}),B=e=>Object.assign({},L(e)),z=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),D=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},B(e)),{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`}),M(e.componentCls,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),I(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},M(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),I(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),L(e))}),H=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},B(e)),{color:e.colorTextLightSolid,backgroundColor:e.colorPrimary,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`}),M(e.componentCls,{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryHover},{color:e.colorTextLightSolid,backgroundColor:e.colorPrimaryActive})),I(e.componentCls,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:e.colorError,boxShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`},M(e.componentCls,{backgroundColor:e.colorErrorHover},{backgroundColor:e.colorErrorActive})),I(e.componentCls,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),L(e))}),V=e=>Object.assign(Object.assign({},D(e)),{borderStyle:"dashed"}),U=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},M(e.componentCls,{color:e.colorLinkHover},{color:e.colorLinkActive})),z(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},M(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),z(e))}),W=e=>Object.assign(Object.assign(Object.assign({},M(e.componentCls,{color:e.colorText,backgroundColor:e.colorBgTextHover},{color:e.colorText,backgroundColor:e.colorBgTextActive})),z(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},z(e)),M(e.componentCls,{color:e.colorErrorHover,backgroundColor:e.colorErrorBg},{color:e.colorErrorHover,backgroundColor:e.colorErrorBg}))}),q=e=>{let{componentCls:t}=e;return{[`${t}-default`]:D(e),[`${t}-primary`]:H(e),[`${t}-dashed`]:V(e),[`${t}-link`]:U(e),[`${t}-text`]:W(e),[`${t}-ghost`]:I(e.componentCls,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},K=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{componentCls:n,controlHeight:r,fontSize:o,lineHeight:i,lineWidth:a,borderRadius:l,buttonPaddingHorizontal:s,iconCls:c}=e,u=`${n}-icon-only`;return[{[`${n}${t}`]:{fontSize:o,height:r,padding:`${Math.max(0,(r-o*i)/2-a)}px ${s-a}px`,borderRadius:l,[`&${u}`]:{width:r,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},[c]:{fontSize:e.buttonIconOnlyFontSize}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${n}${n}-circle${t}`]:F(e)},{[`${n}${n}-round${t}`]:N(e)}]},G=e=>K(e),X=e=>{let t=(0,P.TS)(e,{controlHeight:e.controlHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:8,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.fontSizeLG-2});return K(t,`${e.componentCls}-sm`)},Y=e=>{let t=(0,P.TS)(e,{controlHeight:e.controlHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.fontSizeLG+2});return K(t,`${e.componentCls}-lg`)},J=e=>{let{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},Q=e=>{let{controlTmpOutline:t,paddingContentHorizontal:n}=e,r=(0,P.TS)(e,{colorOutlineDefault:t,buttonPaddingHorizontal:n,buttonIconOnlyFontSize:e.fontSizeLG,buttonFontWeight:400});return r};var ee=(0,_.Z)("Button",e=>{let t=Q(e);return[R(t),X(t),G(t),Y(t),J(t),q(t),A(t)]}),et=n(80110),en=(0,_.b)(["Button","compact"],e=>{let t=Q(e);return[(0,et.c)(t),function(e){var t;let n=`${e.componentCls}-compact-vertical`;return{[n]:Object.assign(Object.assign({},{[`&-item:not(${n}-last-item)`]:{marginBottom:-e.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}),(t=e.componentCls,{[`&-item:not(${n}-first-item):not(${n}-last-item)`]:{borderRadius:0},[`&-item${n}-first-item:not(${n}-last-item)`]:{[`&, &${t}-sm, &${t}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${n}-last-item:not(${n}-first-item)`]:{[`&, &${t}-sm, &${t}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))}}(t)]}),er=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function eo(e){return"danger"===e?{danger:!0}:{type:e}}let ei=(0,r.forwardRef)((e,t)=>{var n,o;let{loading:p=!1,prefixCls:h,type:v="default",danger:C,shape:S="default",size:E,styles:$,disabled:O,className:j,rootClassName:P,children:_,icon:Z,ghost:A=!1,block:R=!1,htmlType:M="button",classNames:F,style:N={}}=e,T=er(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:I,autoInsertSpaceInButton:L,direction:B,button:z}=(0,r.useContext)(c.E_),D=I("btn",h),[H,V]=ee(D),U=(0,r.useContext)(u.Z),W=null!=O?O:U,q=(0,r.useContext)(m),K=(0,r.useMemo)(()=>(function(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay,n=!Number.isNaN(t)&&"number"==typeof t;return{loading:!1,delay:n?t:0}}return{loading:!!e,delay:0}})(p),[p]),[G,X]=(0,r.useState)(K.loading),[Y,J]=(0,r.useState)(!1),Q=(0,r.createRef)(),et=(0,l.sQ)(t,Q),eo=1===r.Children.count(_)&&!Z&&!x(v);(0,r.useEffect)(()=>{let e=null;return K.delay>0?e=setTimeout(()=>{e=null,X(!0)},K.delay):X(K.loading),function(){e&&(clearTimeout(e),e=null)}},[K]),(0,r.useEffect)(()=>{if(!et||!et.current||!1===L)return;let e=et.current.textContent;eo&&y(e)?Y||J(!0):Y&&J(!1)},[et]);let ei=t=>{let{onClick:n}=e;if(G||W){t.preventDefault();return}null==n||n(t)},ea=!1!==L,{compactSize:el,compactItemClassnames:es}=(0,d.ri)(D,B),ec=(0,f.Z)(e=>{var t,n;return null!==(n=null!==(t=null!=E?E:el)&&void 0!==t?t:q)&&void 0!==n?n:e}),eu=ec&&({large:"lg",small:"sm",middle:void 0})[ec]||"",ef=G?"loading":Z,ed=(0,a.Z)(T,["navigate"]),ep=i()(D,V,{[`${D}-${S}`]:"default"!==S&&S,[`${D}-${v}`]:v,[`${D}-${eu}`]:eu,[`${D}-icon-only`]:!_&&0!==_&&!!ef,[`${D}-background-ghost`]:A&&!x(v),[`${D}-loading`]:G,[`${D}-two-chinese-chars`]:Y&&ea&&!G,[`${D}-block`]:R,[`${D}-dangerous`]:!!C,[`${D}-rtl`]:"rtl"===B},es,j,P,null==z?void 0:z.className),eh=Object.assign(Object.assign({},null==z?void 0:z.style),N),em=i()(null==F?void 0:F.icon,null===(n=null==z?void 0:z.classNames)||void 0===n?void 0:n.icon),eg=Object.assign(Object.assign({},(null==$?void 0:$.icon)||{}),(null===(o=null==z?void 0:z.styles)||void 0===o?void 0:o.icon)||{}),ev=Z&&!G?r.createElement(w,{prefixCls:D,className:em,style:eg},Z):r.createElement(k,{existIcon:!!Z,prefixCls:D,loading:!!G}),ey=_||0===_?function(e,t){let n=!1,o=[];return r.Children.forEach(e,e=>{let t=typeof e,r="string"===t||"number"===t;if(n&&r){let t=o.length-1,n=o[t];o[t]=`${n}${e}`}else o.push(e);n=r}),r.Children.map(o,e=>(function(e,t){if(null==e)return;let n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&b(e.type)&&y(e.props.children)?(0,g.Tm)(e,{children:e.props.children.split("").join(n)}):b(e)?y(e)?r.createElement("span",null,e.split("").join(n)):r.createElement("span",null,e):(0,g.M2)(e)?r.createElement("span",null,e):e})(e,t))}(_,eo&&ea):null;if(void 0!==ed.href)return H(r.createElement("a",Object.assign({},ed,{className:i()(ep,{[`${D}-disabled`]:W}),style:eh,onClick:ei,ref:et}),ev,ey));let eb=r.createElement("button",Object.assign({},T,{type:M,className:ep,style:eh,onClick:ei,disabled:W,ref:et}),ev,ey,es&&r.createElement(en,{key:"compact",prefixCls:D}));return x(v)||(eb=r.createElement(s.Z,{component:"Button",disabled:!!G},eb)),H(eb)});ei.Group=e=>{let{getPrefixCls:t,direction:n}=r.useContext(c.E_),{prefixCls:o,size:a,className:l}=e,s=h(e,["prefixCls","size","className"]),u=t("btn-group",o),[,,f]=(0,p.Z)(),d="";switch(a){case"large":d="lg";break;case"small":d="sm"}let g=i()(u,{[`${u}-${d}`]:d,[`${u}-rtl`]:"rtl"===n},l,f);return r.createElement(m.Provider,{value:a},r.createElement("div",Object.assign({},s,{className:g})))},ei.__ANT_BUTTON=!0;var ea=ei},71577:function(e,t,n){"use strict";var r=n(4026);t.ZP=r.Z},98866:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var r=n(67294);let o=r.createContext(!1),i=e=>{let{children:t,disabled:n}=e,i=r.useContext(o);return r.createElement(o.Provider,{value:null!=n?n:i},t)};t.Z=o},97647:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(67294);let o=r.createContext(void 0),i=e=>{let{children:t,size:n}=e,i=r.useContext(o);return r.createElement(o.Provider,{value:n||i},t)};t.Z=o},53124:function(e,t,n){"use strict";n.d(t,{E_:function(){return i},oR:function(){return o}});var r=n(67294);let o="anticon",i=r.createContext({getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:o}),{Consumer:a}=i},98675:function(e,t,n){"use strict";var r=n(67294),o=n(97647);t.Z=e=>{let t=r.useContext(o.Z),n=r.useMemo(()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t,[e,t]);return n}},46735:function(e,t,n){"use strict";let r,o,i;n.d(t,{ZP:function(){return I},w6:function(){return F}});var a=n(23183),l=n(63017),s=n(56982),c=n(8880),u=n(67294),f=n(37920),d=n(83008),p=n(76745),h=e=>{let{locale:t={},children:n,_ANT_MARK__:r}=e;u.useEffect(()=>{let e=(0,d.f)(t&&t.Modal);return e},[t]);let o=u.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return u.createElement(p.Z.Provider,{value:o},n)},m=n(88526),g=n(33083),v=n(2790),y=n(53124),b=n(16397),x=n(10274),w=n(98924),C=n(44958);let S=`-ant-${Date.now()}-${Math.random()}`;var E=n(98866),$=n(97647),O=n(91881),k=n(82225),j=n(25976);function P(e){let{children:t}=e,[,n]=(0,j.Z)(),{motion:r}=n,o=u.useRef(!1);return(o.current=o.current||!1===r,o.current)?u.createElement(k.zt,{motion:r},t):t}var _=n(53269),Z=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let A=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"];function R(){return r||"ant"}function M(){return o||y.oR}let F=()=>({getPrefixCls:(e,t)=>t||(e?`${R()}-${e}`:R()),getIconPrefixCls:M,getRootPrefixCls:()=>r||R(),getTheme:()=>i}),N=e=>{let{children:t,csp:n,autoInsertSpaceInButton:r,alert:o,anchor:i,form:d,locale:p,componentSize:b,direction:x,space:w,virtual:C,dropdownMatchSelectWidth:S,popupMatchSelectWidth:k,popupOverflow:j,legacyLocale:R,parentContext:M,iconPrefixCls:F,theme:N,componentDisabled:T,segmented:I,statistic:L,spin:B,calendar:z,carousel:D,cascader:H,collapse:V,typography:U,checkbox:W,descriptions:q,divider:K,drawer:G,skeleton:X,steps:Y,image:J,layout:Q,list:ee,mentions:et,modal:en,progress:er,result:eo,slider:ei,breadcrumb:ea,menu:el,pagination:es,input:ec,empty:eu,badge:ef,radio:ed,rate:ep,switch:eh,transfer:em,avatar:eg,message:ev,tag:ey,table:eb,card:ex,tabs:ew,timeline:eC,timePicker:eS,upload:eE,notification:e$,tree:eO,colorPicker:ek,datePicker:ej,wave:eP}=e,e_=u.useCallback((t,n)=>{let{prefixCls:r}=e;if(n)return n;let o=r||M.getPrefixCls("");return t?`${o}-${t}`:o},[M.getPrefixCls,e.prefixCls]),eZ=F||M.iconPrefixCls||y.oR,eA=eZ!==M.iconPrefixCls,eR=n||M.csp,eM=(0,_.Z)(eZ,eR),eF=function(e,t){let n=e||{},r=!1!==n.inherit&&t?t:g.u_;return(0,s.Z)(()=>{if(!e)return t;let o=Object.assign({},r.components);return Object.keys(e.components||{}).forEach(t=>{o[t]=Object.assign(Object.assign({},o[t]),e.components[t])}),Object.assign(Object.assign(Object.assign({},r),n),{token:Object.assign(Object.assign({},r.token),n.token),components:o})},[n,r],(e,t)=>e.some((e,n)=>{let r=t[n];return!(0,O.Z)(e,r,!0)}))}(N,M.theme),eN={csp:eR,autoInsertSpaceInButton:r,alert:o,anchor:i,locale:p||R,direction:x,space:w,virtual:C,popupMatchSelectWidth:null!=k?k:S,popupOverflow:j,getPrefixCls:e_,iconPrefixCls:eZ,theme:eF,segmented:I,statistic:L,spin:B,calendar:z,carousel:D,cascader:H,collapse:V,typography:U,checkbox:W,descriptions:q,divider:K,drawer:G,skeleton:X,steps:Y,image:J,input:ec,layout:Q,list:ee,mentions:et,modal:en,progress:er,result:eo,slider:ei,breadcrumb:ea,menu:el,pagination:es,empty:eu,badge:ef,radio:ed,rate:ep,switch:eh,transfer:em,avatar:eg,message:ev,tag:ey,table:eb,card:ex,tabs:ew,timeline:eC,timePicker:eS,upload:eE,notification:e$,tree:eO,colorPicker:ek,datePicker:ej,wave:eP},eT=Object.assign({},M);Object.keys(eN).forEach(e=>{void 0!==eN[e]&&(eT[e]=eN[e])}),A.forEach(t=>{let n=e[t];n&&(eT[t]=n)});let eI=(0,s.Z)(()=>eT,eT,(e,t)=>{let n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some(n=>e[n]!==t[n])}),eL=u.useMemo(()=>({prefixCls:eZ,csp:eR}),[eZ,eR]),eB=eA?eM(t):t,ez=u.useMemo(()=>{var e,t,n,r;return(0,c.T)((null===(e=m.Z.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=eI.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=eI.form)||void 0===r?void 0:r.validateMessages)||{},(null==d?void 0:d.validateMessages)||{})},[eI,null==d?void 0:d.validateMessages]);Object.keys(ez).length>0&&(eB=u.createElement(f.Z.Provider,{value:ez},t)),p&&(eB=u.createElement(h,{locale:p,_ANT_MARK__:"internalMark"},eB)),(eZ||eR)&&(eB=u.createElement(l.Z.Provider,{value:eL},eB)),b&&(eB=u.createElement($.q,{size:b},eB)),eB=u.createElement(P,null,eB);let eD=u.useMemo(()=>{let e=eF||{},{algorithm:t,token:n,components:r}=e,o=Z(e,["algorithm","token","components"]),i=t&&(!Array.isArray(t)||t.length>0)?(0,a.jG)(t):g.uH,l={};return Object.entries(r||{}).forEach(e=>{let[t,n]=e,r=Object.assign({},n);"algorithm"in r&&(!0===r.algorithm?r.theme=i:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=(0,a.jG)(r.algorithm)),delete r.algorithm),l[t]=r}),Object.assign(Object.assign({},o),{theme:i,token:Object.assign(Object.assign({},v.Z),n),components:l})},[eF]);return N&&(eB=u.createElement(g.Mj.Provider,{value:eD},eB)),void 0!==T&&(eB=u.createElement(E.n,{disabled:T},eB)),u.createElement(y.E_.Provider,{value:eI},eB)},T=e=>{let t=u.useContext(y.E_),n=u.useContext(p.Z);return u.createElement(N,Object.assign({parentContext:t,legacyLocale:n},e))};T.ConfigContext=y.E_,T.SizeContext=$.Z,T.config=e=>{let{prefixCls:t,iconPrefixCls:n,theme:a}=e;void 0!==t&&(r=t),void 0!==n&&(o=n),a&&(Object.keys(a).some(e=>e.endsWith("Color"))?function(e,t){let n=function(e,t){let n={},r=(e,t)=>{let n=e.clone();return(n=(null==t?void 0:t(n))||n).toRgbString()},o=(e,t)=>{let o=new x.C(e),i=(0,b.generate)(o.toRgbString());n[`${t}-color`]=r(o),n[`${t}-color-disabled`]=i[1],n[`${t}-color-hover`]=i[4],n[`${t}-color-active`]=i[6],n[`${t}-color-outline`]=o.clone().setAlpha(.2).toRgbString(),n[`${t}-color-deprecated-bg`]=i[0],n[`${t}-color-deprecated-border`]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");let e=new x.C(t.primaryColor),i=(0,b.generate)(e.toRgbString());i.forEach((e,t)=>{n[`primary-${t+1}`]=e}),n["primary-color-deprecated-l-35"]=r(e,e=>e.lighten(35)),n["primary-color-deprecated-l-20"]=r(e,e=>e.lighten(20)),n["primary-color-deprecated-t-20"]=r(e,e=>e.tint(20)),n["primary-color-deprecated-t-50"]=r(e,e=>e.tint(50)),n["primary-color-deprecated-f-12"]=r(e,e=>e.setAlpha(.12*e.getAlpha()));let a=new x.C(i[0]);n["primary-color-active-deprecated-f-30"]=r(a,e=>e.setAlpha(.3*e.getAlpha())),n["primary-color-active-deprecated-d-02"]=r(a,e=>e.darken(2))}t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info");let i=Object.keys(n).map(t=>`--${e}-${t}: ${n[t]};`);return` - :root { - ${i.join("\n")} - } - `.trim()}(e,t);(0,w.Z)()&&(0,C.hq)(n,`${S}-dynamic-theme`)}(R(),a):i=a)},T.useConfig=function(){let e=(0,u.useContext)(E.Z),t=(0,u.useContext)($.Z);return{componentDisabled:e,componentSize:t}},Object.defineProperty(T,"SizeContext",{get:()=>$.Z});var I=T},1142:function(e,t,n){"use strict";var r=n(18073),o=n(94184),i=n.n(o),a=n(29171),l=n(66680),s=n(21770),c=n(98423),u=n(67294),f=n(8745),d=n(80636),p=n(96159),h=n(53124),m=n(82610),g=n(76529),v=n(9361),y=n(66748);let b=e=>{let t;let{menu:n,arrow:o,prefixCls:f,children:b,trigger:x,disabled:w,dropdownRender:C,getPopupContainer:S,overlayClassName:E,rootClassName:$,open:O,onOpenChange:k,visible:j,onVisibleChange:P,mouseEnterDelay:_=.15,mouseLeaveDelay:Z=.1,autoAdjustOverflow:A=!0,placement:R="",overlay:M,transitionName:F}=e,{getPopupContainer:N,getPrefixCls:T,direction:I}=u.useContext(h.E_),L=u.useMemo(()=>{let e=T();return void 0!==F?F:R.includes("top")?`${e}-slide-down`:`${e}-slide-up`},[T,R,F]),B=u.useMemo(()=>{if(!R)return"rtl"===I?"bottomRight":"bottomLeft";if(R.includes("Center")){let e=R.slice(0,R.indexOf("Center"));return e}return R},[R,I]),z=T("dropdown",f),[D,H]=(0,y.Z)(z),{token:V}=v.default.useToken(),U=u.Children.only(b),W=(0,p.Tm)(U,{className:i()(`${z}-trigger`,{[`${z}-rtl`]:"rtl"===I},U.props.className),disabled:w}),q=w?[]:x;q&&q.includes("contextMenu")&&(t=!0);let[K,G]=(0,s.Z)(!1,{value:null!=O?O:j}),X=(0,l.Z)(e=>{null==k||k(e),null==P||P(e),G(e)}),Y=i()(E,$,H,{[`${z}-rtl`]:"rtl"===I}),J=(0,d.Z)({arrowPointAtCenter:"object"==typeof o&&o.pointAtCenter,autoAdjustOverflow:A,offset:V.marginXXS,arrowWidth:o?V.sizePopupArrow:0,borderRadius:V.borderRadius}),Q=u.useCallback(()=>{G(!1)},[]);return D(u.createElement(a.Z,Object.assign({alignPoint:t},(0,c.Z)(e,["rootClassName"]),{mouseEnterDelay:_,mouseLeaveDelay:Z,visible:K,builtinPlacements:J,arrow:!!o,overlayClassName:Y,prefixCls:z,getPopupContainer:S||N,transitionName:L,trigger:q,overlay:()=>{let e;return e=(null==n?void 0:n.items)?u.createElement(m.Z,Object.assign({},n)):"function"==typeof M?M():M,C&&(e=C(e)),e=u.Children.only("string"==typeof e?u.createElement("span",null,e):e),u.createElement(g.J,{prefixCls:`${z}-menu`,expandIcon:u.createElement("span",{className:`${z}-menu-submenu-arrow`},u.createElement(r.Z,{className:`${z}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Q,validator:e=>{let{mode:t}=e}},e)},placement:B,onVisibleChange:X}),W))},x=(0,f.Z)(b,"dropdown",e=>e,function(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})});b._InternalPanelDoNotUseOrYouWillBeFired=e=>u.createElement(x,Object.assign({},e),u.createElement("span",null)),t.Z=b},85418:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(1142),o=n(94184),i=n.n(o),a=n(67294),l=n(89705),s=n(71577),c=n(53124),u=n(42075),f=n(4173),d=n(66748),p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let h=e=>{let{getPopupContainer:t,getPrefixCls:n,direction:o}=a.useContext(c.E_),{prefixCls:h,type:m="default",danger:g,disabled:v,loading:y,onClick:b,htmlType:x,children:w,className:C,menu:S,arrow:E,autoFocus:$,overlay:O,trigger:k,align:j,open:P,onOpenChange:_,placement:Z,getPopupContainer:A,href:R,icon:M=a.createElement(l.Z,null),title:F,buttonsRender:N=e=>e,mouseEnterDelay:T,mouseLeaveDelay:I,overlayClassName:L,overlayStyle:B,destroyPopupOnHide:z,dropdownRender:D}=e,H=p(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),V=n("dropdown",h),U=`${V}-button`,[W,q]=(0,d.Z)(V),K={menu:S,arrow:E,autoFocus:$,align:j,disabled:v,trigger:v?[]:k,onOpenChange:_,getPopupContainer:A||t,mouseEnterDelay:T,mouseLeaveDelay:I,overlayClassName:L,overlayStyle:B,destroyPopupOnHide:z,dropdownRender:D},{compactSize:G,compactItemClassnames:X}=(0,f.ri)(V,o),Y=i()(U,X,C,q);"overlay"in e&&(K.overlay=O),"open"in e&&(K.open=P),"placement"in e?K.placement=Z:K.placement="rtl"===o?"bottomLeft":"bottomRight";let J=a.createElement(s.ZP,{type:m,danger:g,disabled:v,loading:y,onClick:b,htmlType:x,href:R,title:F},w),Q=a.createElement(s.ZP,{type:m,danger:g,icon:M}),[ee,et]=N([J,Q]);return W(a.createElement(u.Z.Compact,Object.assign({className:Y,size:G,block:!0},H),ee,a.createElement(r.Z,Object.assign({},K),et)))};h.__ANT_BUTTON=!0;let m=r.Z;m.Button=h;var g=m},66748:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(14747),o=n(67771),i=n(33297),a=n(50438),l=n(77786),s=n(67968),c=n(45503),u=e=>{let{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:o}=e,i=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${i}`]:{[`&${i}-danger:not(${i}-disabled)`]:{color:r,"&:hover":{color:o,backgroundColor:r}}}}}};let f=e=>{let{componentCls:t,menuCls:n,zIndexPopup:s,dropdownArrowDistance:c,sizePopupArrow:u,antCls:f,iconCls:d,motionDurationMid:p,dropdownPaddingVertical:h,fontSize:m,dropdownEdgeChildPadding:g,colorTextDisabled:v,fontSizeIcon:y,controlPaddingHorizontal:b,colorBgElevated:x}=e;return[{[t]:Object.assign(Object.assign({},(0,r.Wf)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:s,display:"block","&::before":{position:"absolute",insetBlock:-c+u/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${f}-btn`]:{[`& > ${d}-down, & > ${f}-btn-icon > ${d}-down`]:{fontSize:y}},[`${t}-wrap`]:{position:"relative",[`${f}-btn > ${d}-down`]:{fontSize:y},[`${d}-down::before`]:{transition:`transform ${p}`}},[`${t}-wrap-open`]:{[`${d}-down::before`]:{transform:"rotate(180deg)"}},[` - &-hidden, - &-menu-hidden, - &-menu-submenu-hidden - `]:{display:"none"},[`&${f}-slide-down-enter${f}-slide-down-enter-active${t}-placement-bottomLeft, - &${f}-slide-down-appear${f}-slide-down-appear-active${t}-placement-bottomLeft, - &${f}-slide-down-enter${f}-slide-down-enter-active${t}-placement-bottom, - &${f}-slide-down-appear${f}-slide-down-appear-active${t}-placement-bottom, - &${f}-slide-down-enter${f}-slide-down-enter-active${t}-placement-bottomRight, - &${f}-slide-down-appear${f}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:o.fJ},[`&${f}-slide-up-enter${f}-slide-up-enter-active${t}-placement-topLeft, - &${f}-slide-up-appear${f}-slide-up-appear-active${t}-placement-topLeft, - &${f}-slide-up-enter${f}-slide-up-enter-active${t}-placement-top, - &${f}-slide-up-appear${f}-slide-up-appear-active${t}-placement-top, - &${f}-slide-up-enter${f}-slide-up-enter-active${t}-placement-topRight, - &${f}-slide-up-appear${f}-slide-up-appear-active${t}-placement-topRight`]:{animationName:o.Qt},[`&${f}-slide-down-leave${f}-slide-down-leave-active${t}-placement-bottomLeft, - &${f}-slide-down-leave${f}-slide-down-leave-active${t}-placement-bottom, - &${f}-slide-down-leave${f}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:o.Uw},[`&${f}-slide-up-leave${f}-slide-up-leave-active${t}-placement-topLeft, - &${f}-slide-up-leave${f}-slide-up-leave-active${t}-placement-top, - &${f}-slide-up-leave${f}-slide-up-leave-active${t}-placement-topRight`]:{animationName:o.ly}})},(0,l.ZP)(e,{colorBg:x,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:s,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:{[n]:Object.assign(Object.assign({padding:g,listStyleType:"none",backgroundColor:x,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},(0,r.Qy)(e)),{[`${n}-item-group-title`]:{padding:`${h}px ${b}px`,color:e.colorTextDescription,transition:`all ${p}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:m,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${p}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${h}px ${b}px`,color:e.colorText,fontWeight:"normal",fontSize:m,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${p}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},(0,r.Qy)(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:v,cursor:"not-allowed","&:hover":{color:v,backgroundColor:x,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${e.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:y,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${e.marginXS}px`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:b+e.fontSizeSM},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:v,backgroundColor:x,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})}},[(0,o.oN)(e,"slide-up"),(0,o.oN)(e,"slide-down"),(0,i.Fm)(e,"move-up"),(0,i.Fm)(e,"move-down"),(0,a._y)(e,"zoom-big")]]};var d=(0,s.Z)("Dropdown",(e,t)=>{let{rootPrefixCls:n}=t,{marginXXS:r,sizePopupArrow:o,controlHeight:i,fontSize:a,lineHeight:s,paddingXXS:d,componentCls:p,borderRadiusLG:h}=e,{dropdownArrowOffset:m}=(0,l.fS)({contentRadius:h}),g=(0,c.TS)(e,{menuCls:`${p}-menu`,rootPrefixCls:n,dropdownArrowDistance:o/2+r,dropdownArrowOffset:m,dropdownPaddingVertical:(i-a*s)/2,dropdownEdgeChildPadding:d});return[f(g),u(g)]},e=>({zIndexPopup:e.zIndexPopupBase+50}))},65223:function(e,t,n){"use strict";n.d(t,{RV:function(){return s},Rk:function(){return c},Ux:function(){return f},aM:function(){return u},q3:function(){return a},qI:function(){return l}});var r=n(43589),o=n(98423),i=n(67294);let a=i.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),l=i.createContext(null),s=e=>{let t=(0,o.Z)(e,["prefixCls"]);return i.createElement(r.RV,Object.assign({},t))},c=i.createContext({prefixCls:""}),u=i.createContext({}),f=e=>{let{children:t,status:n,override:r}=e,o=(0,i.useContext)(u),a=(0,i.useMemo)(()=>{let e=Object.assign({},o);return r&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e},[n,r,o]);return i.createElement(u.Provider,{value:a},t)}},37920:function(e,t,n){"use strict";var r=n(67294);t.Z=(0,r.createContext)(void 0)},76745:function(e,t,n){"use strict";var r=n(67294);let o=(0,r.createContext)(void 0);t.Z=o},88526:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(62906),o={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};let i={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}),timePickerLocale:Object.assign({},o)},a="${label} is not a valid ${type}",l={locale:"en",Pagination:r.Z,DatePicker:i,TimePicker:o,Calendar:i,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:a,method:a,array:a,object:a,number:a,date:a,boolean:a,integer:a,float:a,regexp:a,email:a,url:a,hex:a},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}};var s=l},10110:function(e,t,n){"use strict";var r=n(67294),o=n(76745),i=n(88526);t.Z=(e,t)=>{let n=r.useContext(o.Z),a=r.useMemo(()=>{var r;let o=t||i.Z[e],a=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:{};return Object.assign(Object.assign({},"function"==typeof o?o():o),a||{})},[e,t,n]),l=r.useMemo(()=>{let e=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!e?i.Z.locale:e},[n]);return[a,l]}},76529:function(e,t,n){"use strict";n.d(t,{J:function(){return s}});var r=n(67294),o=n(4173),i=n(56790),a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let l=r.createContext(null),s=r.forwardRef((e,t)=>{let{children:n}=e,s=a(e,["children"]),c=r.useContext(l),u=r.useMemo(()=>Object.assign(Object.assign({},c),s),[c,s.prefixCls,s.mode,s.selectable]);return r.createElement(l.Provider,{value:u},r.createElement(o.BR,null,(0,i.t4)(n)?r.cloneElement(n,{ref:t}):n))});t.Z=l},82610:function(e,t,n){"use strict";n.d(t,{Z:function(){return H}});var r=n(72512),o=n(67294),i=n(94184),a=n.n(i);let l=o.createContext({});var s=n(53124),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},u=e=>{let{prefixCls:t,className:n,dashed:i}=e,l=c(e,["prefixCls","className","dashed"]),{getPrefixCls:u}=o.useContext(s.E_),f=u("menu",t),d=a()({[`${f}-item-divider-dashed`]:!!i},n);return o.createElement(r.iz,Object.assign({className:d},l))},f=n(50344),d=n(98423),p=n(83062),h=n(96159);let m=(0,o.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var g=e=>{var t;let{className:n,children:i,icon:s,title:c,danger:u}=e,{prefixCls:g,firstLevel:v,direction:y,disableMenuItemTitleTooltip:b,inlineCollapsed:x}=o.useContext(m),{siderCollapsed:w}=o.useContext(l),C=c;void 0===c?C=v?i:"":!1===c&&(C="");let S={title:C};w||x||(S.title=null,S.open=!1);let E=(0,f.Z)(i).length,$=o.createElement(r.ck,Object.assign({},(0,d.Z)(e,["title","icon","danger"]),{className:a()({[`${g}-item-danger`]:u,[`${g}-item-only-child`]:(s?E+1:E)===1},n),title:"string"==typeof c?c:void 0}),(0,h.Tm)(s,{className:a()((0,h.l$)(s)?null===(t=s.props)||void 0===t?void 0:t.className:"",`${g}-item-icon`)}),(e=>{let t=o.createElement("span",{className:`${g}-title-content`},i);return(!s||(0,h.l$)(i)&&"span"===i.type)&&i&&e&&v&&"string"==typeof i?o.createElement("div",{className:`${g}-inline-collapsed-noicon`},i.charAt(0)):t})(x));return b||($=o.createElement(p.Z,Object.assign({},S,{placement:"rtl"===y?"left":"right",overlayClassName:`${g}-inline-collapsed-tooltip`}),$)),$},v=e=>{var t;let n;let{popupClassName:i,icon:l,title:s,theme:c}=e,u=o.useContext(m),{prefixCls:f,inlineCollapsed:p,theme:g}=u,v=(0,r.Xl)();if(l){let e=(0,h.l$)(s)&&"span"===s.type;n=o.createElement(o.Fragment,null,(0,h.Tm)(l,{className:a()((0,h.l$)(l)?null===(t=l.props)||void 0===t?void 0:t.className:"",`${f}-item-icon`)}),e?s:o.createElement("span",{className:`${f}-title-content`},s))}else n=p&&!v.length&&s&&"string"==typeof s?o.createElement("div",{className:`${f}-inline-collapsed-noicon`},s.charAt(0)):o.createElement("span",{className:`${f}-title-content`},s);let y=o.useMemo(()=>Object.assign(Object.assign({},u),{firstLevel:!1}),[u]);return o.createElement(m.Provider,{value:y},o.createElement(r.Wd,Object.assign({},(0,d.Z)(e,["icon"]),{title:n,popupClassName:a()(f,i,`${f}-${c||g}`)})))},y=n(89705),b=n(66680),x=n(33603),w=n(76529),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},S=n(10274),E=n(14747),$=n(33507),O=n(67771),k=n(50438),j=n(67968),P=n(45503),_=e=>{let{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:o,lineWidth:i,lineType:a,itemPaddingInline:l}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${i}px ${a} ${o}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:l},[`> ${t}-item:hover, - > ${t}-item-active, - > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:`border-color ${n},background ${n}`},[`${t}-submenu-arrow`]:{display:"none"}}}},Z=e=>{let{componentCls:t,menuArrowOffset:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, - ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${n})`},"&::after":{transform:`rotate(45deg) translateY(${n})`}}}}};let A=e=>Object.assign({},(0,E.oN)(e));var R=(e,t)=>{let{componentCls:n,itemColor:r,itemSelectedColor:o,groupTitleColor:i,itemBg:a,subMenuItemBg:l,itemSelectedBg:s,activeBarHeight:c,activeBarWidth:u,activeBarBorderWidth:f,motionDurationSlow:d,motionEaseInOut:p,motionEaseOut:h,itemPaddingInline:m,motionDurationMid:g,itemHoverColor:v,lineType:y,colorSplit:b,itemDisabledColor:x,dangerItemColor:w,dangerItemHoverColor:C,dangerItemSelectedColor:S,dangerItemActiveBg:E,dangerItemSelectedBg:$,itemHoverBg:O,itemActiveBg:k,menuSubMenuBg:j,horizontalItemSelectedColor:P,horizontalItemSelectedBg:_,horizontalItemBorderRadius:Z,horizontalItemHoverBg:R,popupBg:M}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:a,[`&${n}-root:focus-visible`]:Object.assign({},A(e)),[`${n}-item-group-title`]:{color:i},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:o}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${x} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:v}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:k}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:k}}},[`${n}-item-danger`]:{color:w,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:C}},[`&${n}-item:active`]:{background:E}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:o,[`&${n}-item-danger`]:{color:S},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:s,[`&${n}-item-danger`]:{backgroundColor:$}},[`${n}-item, ${n}-submenu-title`]:{[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},A(e))},[`&${n}-submenu > ${n}`]:{backgroundColor:j},[`&${n}-popup > ${n}`]:{backgroundColor:M},[`&${n}-horizontal`]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:f,marginTop:-f,marginBottom:0,borderRadius:Z,"&::after":{position:"absolute",insetInline:m,bottom:0,borderBottom:`${c}px solid transparent`,transition:`border-color ${d} ${p}`,content:'""'},"&:hover, &-active, &-open":{background:R,"&::after":{borderBottomWidth:c,borderBottomColor:P}},"&-selected":{color:P,backgroundColor:_,"&:hover":{backgroundColor:_},"&::after":{borderBottomWidth:c,borderBottomColor:P}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${f}px ${y} ${b}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:l},[`${n}-item, ${n}-submenu-title`]:f&&u?{width:`calc(100% + ${f}px)`}:{},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${u}px solid ${o}`,transform:"scaleY(0.0001)",opacity:0,transition:`transform ${g} ${h},opacity ${g} ${h}`,content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:S}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:`transform ${g} ${p},opacity ${g} ${p}`}}}}}};let M=e=>{let{componentCls:t,itemHeight:n,itemMarginInline:r,padding:o,menuArrowSize:i,marginXS:a,itemMarginBlock:l}=e;return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`,paddingInline:o,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:l,width:`calc(100% - ${2*r}px)`},[`> ${t}-item, - > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:`${n}px`},[`${t}-item-group-list ${t}-submenu-title, - ${t}-submenu-title`]:{paddingInlineEnd:o+i+a}}};var F=e=>{let{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:o,dropdownWidth:i,controlHeightLG:a,motionDurationMid:l,motionEaseOut:s,paddingXL:c,itemMarginInline:u,fontSizeLG:f,motionDurationSlow:d,paddingXS:p,boxShadowSecondary:h,collapsedWidth:m,collapsedIconSize:g}=e,v={height:r,lineHeight:`${r}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},M(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},M(e)),{boxShadow:h})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${2.5*a}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:`border-color ${d},background ${d},padding ${l} ${s}`,[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:v,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:v}},{[`${t}-inline-collapsed`]:{width:m,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:f,textAlign:"center"}}},[`> ${t}-item, - > ${t}-item-group > ${t}-item-group-list > ${t}-item, - > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title, - > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${f/2}px - ${u}px)`,textOverflow:"clip",[` - ${t}-submenu-arrow, - ${t}-submenu-expand-icon - `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:g,lineHeight:`${r}px`,"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:o}},[`${t}-item-group-title`]:Object.assign(Object.assign({},E.vS),{paddingInline:p})}}]};let N=e=>{let{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:o,motionEaseOut:i,iconCls:a,iconSize:l,iconMarginInlineEnd:s}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:`border-color ${n},background ${n},padding ${n} ${o}`,[`${t}-item-icon, ${a}`]:{minWidth:l,fontSize:l,transition:`font-size ${r} ${i},margin ${n} ${o},color ${n}`,"+ span":{marginInlineStart:s,opacity:1,transition:`opacity ${n} ${o},margin ${n},color ${n}`}},[`${t}-item-icon`]:Object.assign({},(0,E.Ro)()),[`&${t}-item-only-child`]:{[`> ${a}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},T=e=>{let{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:o,menuArrowSize:i,menuArrowOffset:a}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:.6*i,height:.15*i,backgroundColor:"currentcolor",borderRadius:o,transition:`background ${n} ${r},transform ${n} ${r},top ${n} ${r},color ${n} ${r}`,content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${a})`},"&::after":{transform:`rotate(-45deg) translateY(${a})`}}}}},I=e=>{let{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:o,motionDurationMid:i,motionEaseInOut:a,paddingXS:l,padding:s,colorSplit:c,lineWidth:u,zIndexPopup:f,borderRadiusLG:d,subMenuItemBorderRadius:p,menuArrowSize:h,menuArrowOffset:m,lineType:g,menuPanelMaskInset:v,groupTitleLineHeight:y,groupTitleFontSize:b}=e;return[{"":{[`${n}`]:Object.assign(Object.assign({},(0,E.dF)()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,E.Wf)(e)),(0,E.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${o} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${l}px ${s}px`,fontSize:b,lineHeight:y,transition:`all ${o}`},[`&-horizontal ${n}-submenu`]:{transition:`border-color ${o} ${a},background ${o} ${a}`},[`${n}-submenu, ${n}-submenu-inline`]:{transition:`border-color ${o} ${a},background ${o} ${a},padding ${i} ${a}`},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:`background ${o} ${a},padding ${o} ${a}`},[`${n}-title-content`]:{transition:`color ${o}`},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:c,borderStyle:g,borderWidth:0,borderTopWidth:u,marginBlock:u,padding:0,"&-dashed":{borderStyle:"dashed"}}}),N(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${2*r}px ${s}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:f,borderRadius:d,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${v}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:v},[` - &-placement-leftTop, - &-placement-bottomRight, - `]:{transformOrigin:"100% 0"},[` - &-placement-leftBottom, - &-placement-topRight, - `]:{transformOrigin:"100% 100%"},[` - &-placement-rightBottom, - &-placement-topLeft, - `]:{transformOrigin:"0 100%"},[` - &-placement-bottomLeft, - &-placement-rightTop, - `]:{transformOrigin:"0 0"},[` - &-placement-leftTop, - &-placement-leftBottom - `]:{paddingInlineEnd:e.paddingXS},[` - &-placement-rightTop, - &-placement-rightBottom - `]:{paddingInlineStart:e.paddingXS},[` - &-placement-topRight, - &-placement-topLeft - `]:{paddingBottom:e.paddingXS},[` - &-placement-bottomRight, - &-placement-bottomLeft - `]:{paddingTop:e.paddingXS},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:d},N(e)),T(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:p},[`${n}-submenu-title::after`]:{transition:`transform ${o} ${a}`}})}}),T(e)),{[`&-inline-collapsed ${n}-submenu-arrow, - &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${m})`},"&::after":{transform:`rotate(45deg) translateX(-${m})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(-${.2*h}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${m})`},"&::before":{transform:`rotate(45deg) translateX(${m})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]};var L=(e,t)=>{let n=(0,j.Z)("Menu",e=>{if(!1===t)return[];let{colorBgElevated:n,colorPrimary:r,colorTextLightSolid:o,controlHeightLG:i,fontSize:a,darkItemColor:l,darkDangerItemColor:s,darkItemBg:c,darkSubMenuItemBg:u,darkItemSelectedColor:f,darkItemSelectedBg:d,darkDangerItemSelectedBg:p,darkItemHoverBg:h,darkGroupTitleColor:m,darkItemHoverColor:g,darkItemDisabledColor:v,darkDangerItemHoverColor:y,darkDangerItemSelectedColor:b,darkDangerItemActiveBg:x}=e,w=a/7*5,C=(0,P.TS)(e,{menuArrowSize:w,menuHorizontalHeight:1.15*i,menuArrowOffset:`${.25*w}px`,menuPanelMaskInset:-7,menuSubMenuBg:n}),S=(0,P.TS)(C,{itemColor:l,itemHoverColor:g,groupTitleColor:m,itemSelectedColor:f,itemBg:c,popupBg:c,subMenuItemBg:u,itemActiveBg:"transparent",itemSelectedBg:d,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:h,itemDisabledColor:v,dangerItemColor:s,dangerItemHoverColor:y,dangerItemSelectedColor:b,dangerItemActiveBg:x,dangerItemSelectedBg:p,menuSubMenuBg:u,horizontalItemSelectedColor:o,horizontalItemSelectedBg:r});return[I(C),_(C),F(C),R(C,"light"),R(S,"dark"),Z(C),(0,$.Z)(C),(0,O.oN)(C,"slide-up"),(0,O.oN)(C,"slide-down"),(0,k._y)(C,"zoom-big")]},e=>{let{colorPrimary:t,colorError:n,colorTextDisabled:r,colorErrorBg:o,colorText:i,colorTextDescription:a,colorBgContainer:l,colorFillAlter:s,colorFillContent:c,lineWidth:u,lineWidthBold:f,controlItemBgActive:d,colorBgTextHover:p,controlHeightLG:h,lineHeight:m,colorBgElevated:g,marginXXS:v,padding:y,fontSize:b,controlHeightSM:x,fontSizeLG:w,colorTextLightSolid:C,colorErrorHover:E}=e,$=new S.C(C).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:i,itemColor:i,colorItemTextHover:i,itemHoverColor:i,colorItemTextHoverHorizontal:t,horizontalItemHoverColor:t,colorGroupTitle:a,groupTitleColor:a,colorItemTextSelected:t,itemSelectedColor:t,colorItemTextSelectedHorizontal:t,horizontalItemSelectedColor:t,colorItemBg:l,itemBg:l,colorItemBgHover:p,itemHoverBg:p,colorItemBgActive:c,itemActiveBg:d,colorSubItemBg:s,subMenuItemBg:s,colorItemBgSelected:d,itemSelectedBg:d,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:f,activeBarHeight:f,colorActiveBarBorderSize:u,activeBarBorderWidth:u,colorItemTextDisabled:r,itemDisabledColor:r,colorDangerItemText:n,dangerItemColor:n,colorDangerItemTextHover:n,dangerItemHoverColor:n,colorDangerItemTextSelected:n,dangerItemSelectedColor:n,colorDangerItemBgActive:o,dangerItemActiveBg:o,colorDangerItemBgSelected:o,dangerItemSelectedBg:o,itemMarginInline:e.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:h,groupTitleLineHeight:m,collapsedWidth:2*h,popupBg:g,itemMarginBlock:v,itemPaddingInline:y,horizontalLineHeight:`${1.15*h}px`,iconSize:b,iconMarginInlineEnd:x-b,collapsedIconSize:w,groupTitleFontSize:b,darkItemDisabledColor:new S.C(C).setAlpha(.25).toRgbString(),darkItemColor:$,darkDangerItemColor:n,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:C,darkItemSelectedBg:t,darkDangerItemSelectedBg:n,darkItemHoverBg:"transparent",darkGroupTitleColor:$,darkItemHoverColor:C,darkDangerItemHoverColor:E,darkDangerItemSelectedColor:C,darkDangerItemActiveBg:n}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]});return n(e)},B=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let z=(0,o.forwardRef)((e,t)=>{var n,i;let l;let c=o.useContext(w.Z),f=c||{},{getPrefixCls:p,getPopupContainer:S,direction:E,menu:$}=o.useContext(s.E_),O=p(),{prefixCls:k,className:j,style:P,theme:_="light",expandIcon:Z,_internalDisableMenuItemTitleTooltip:A,inlineCollapsed:R,siderCollapsed:M,items:F,children:N,rootClassName:T,mode:I,selectable:z,onClick:D,overflowedIndicatorPopupClassName:H}=e,V=B(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),U=(0,d.Z)(V,["collapsedWidth"]),W=o.useMemo(()=>F?function e(t){return(t||[]).map((t,n)=>{if(t&&"object"==typeof t){let{label:i,children:a,key:l,type:s}=t,c=C(t,["label","children","key","type"]),f=null!=l?l:`tmp-${n}`;return a||"group"===s?"group"===s?o.createElement(r.BW,Object.assign({key:f},c,{title:i}),e(a)):o.createElement(v,Object.assign({key:f},c,{title:i}),e(a)):"divider"===s?o.createElement(u,Object.assign({key:f},c)):o.createElement(g,Object.assign({key:f},c),i)}return null}).filter(e=>e)}(F):F,[F])||N;null===(n=f.validator)||void 0===n||n.call(f,{mode:I});let q=(0,b.Z)(function(){var e;null==D||D.apply(void 0,arguments),null===(e=f.onClick)||void 0===e||e.call(f)}),K=f.mode||I,G=null!=z?z:f.selectable,X=o.useMemo(()=>void 0!==M?M:R,[R,M]),Y={horizontal:{motionName:`${O}-slide-up`},inline:(0,x.Z)(O),other:{motionName:`${O}-zoom-big`}},J=p("menu",k||f.prefixCls),[Q,ee]=L(J,!c),et=a()(`${J}-${_}`,null==$?void 0:$.className,j);if("function"==typeof Z)l=Z;else{let e=Z||f.expandIcon;l=(0,h.Tm)(e,{className:a()(`${J}-submenu-expand-icon`,(0,h.l$)(e)?null===(i=e.props)||void 0===i?void 0:i.className:"")})}let en=o.useMemo(()=>({prefixCls:J,inlineCollapsed:X||!1,direction:E,firstLevel:!0,theme:_,mode:K,disableMenuItemTitleTooltip:A}),[J,X,E,A,_]);return Q(o.createElement(w.Z.Provider,{value:null},o.createElement(m.Provider,{value:en},o.createElement(r.ZP,Object.assign({getPopupContainer:S,overflowedIndicator:o.createElement(y.Z,null),overflowedIndicatorPopupClassName:a()(J,`${J}-${_}`,H),mode:K,selectable:G,onClick:q},U,{inlineCollapsed:X,style:Object.assign(Object.assign({},null==$?void 0:$.style),P),className:et,prefixCls:J,direction:E,defaultMotions:Y,expandIcon:l,ref:t,rootClassName:a()(T,ee)}),W))))}),D=(0,o.forwardRef)((e,t)=>{let n=(0,o.useRef)(null),r=o.useContext(l);return(0,o.useImperativeHandle)(t,()=>({menu:n.current,focus:e=>{var t;null===(t=n.current)||void 0===t||t.focus(e)}})),o.createElement(z,Object.assign({ref:n},e,r))});D.Item=g,D.SubMenu=v,D.Divider=u,D.ItemGroup=r.BW;var H=D},2453:function(e,t,n){"use strict";n.d(t,{ZP:function(){return z}});var r=n(74902),o=n(67294),i=n(38135),a=n(46735),l=n(89739),s=n(4340),c=n(21640),u=n(78860),f=n(50888),d=n(94184),p=n.n(d),h=n(86621),m=n(53124),g=n(23183),v=n(14747),y=n(67968),b=n(45503);let x=e=>{let{componentCls:t,iconCls:n,boxShadow:r,colorText:o,colorSuccess:i,colorError:a,colorWarning:l,colorInfo:s,fontSizeLG:c,motionEaseInOutCirc:u,motionDurationSlow:f,marginXS:d,paddingXS:p,borderRadiusLG:h,zIndexPopup:m,contentPadding:y,contentBg:b}=e,x=`${t}-notice`,w=new g.E4("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:p,transform:"translateY(0)",opacity:1}}),C=new g.E4("MessageMoveOut",{"0%":{maxHeight:e.height,padding:p,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),S={padding:p,textAlign:"center",[`${t}-custom-content > ${n}`]:{verticalAlign:"text-bottom",marginInlineEnd:d,fontSize:c},[`${x}-content`]:{display:"inline-block",padding:y,background:b,borderRadius:h,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:i},[`${t}-error > ${n}`]:{color:a},[`${t}-warning > ${n}`]:{color:l},[`${t}-info > ${n}, - ${t}-loading > ${n}`]:{color:s}};return[{[t]:Object.assign(Object.assign({},(0,v.Wf)(e)),{color:o,position:"fixed",top:d,width:"100%",pointerEvents:"none",zIndex:m,[`${t}-move-up`]:{animationFillMode:"forwards"},[` - ${t}-move-up-appear, - ${t}-move-up-enter - `]:{animationName:w,animationDuration:f,animationPlayState:"paused",animationTimingFunction:u},[` - ${t}-move-up-appear${t}-move-up-appear-active, - ${t}-move-up-enter${t}-move-up-enter-active - `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:C,animationDuration:f,animationPlayState:"paused",animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[x]:Object.assign({},S)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},S),{padding:0,textAlign:"start"})}]};var w=(0,y.Z)("Message",e=>{let t=(0,b.TS)(e,{height:150});return[x(t)]},e=>({zIndexPopup:e.zIndexPopupBase+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`})),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let S={info:o.createElement(u.Z,null),success:o.createElement(l.Z,null),error:o.createElement(s.Z,null),warning:o.createElement(c.Z,null),loading:o.createElement(f.Z,null)},E=e=>{let{prefixCls:t,type:n,icon:r,children:i}=e;return o.createElement("div",{className:p()(`${t}-custom-content`,`${t}-${n}`)},r||S[n],o.createElement("span",null,i))};var $=n(97937);function O(e){let t;let n=new Promise(n=>{t=e(()=>{n(!0)})}),r=()=>{null==t||t()};return r.then=(e,t)=>n.then(e,t),r.promise=n,r}var k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let j=e=>{let{children:t,prefixCls:n}=e,[,r]=w(n);return o.createElement(h.JB,{classNames:{list:r,notice:r}},t)},P=(e,t)=>{let{prefixCls:n,key:r}=t;return o.createElement(j,{prefixCls:n,key:r},e)},_=o.forwardRef((e,t)=>{let{top:n,prefixCls:r,getContainer:i,maxCount:a,duration:l=3,rtl:s,transitionName:c,onAllRemoved:u}=e,{getPrefixCls:f,getPopupContainer:d,message:g}=o.useContext(m.E_),v=r||f("message"),y=o.createElement("span",{className:`${v}-close-x`},o.createElement($.Z,{className:`${v}-close-icon`})),[b,x]=(0,h.lm)({prefixCls:v,style:()=>({left:"50%",transform:"translateX(-50%)",top:null!=n?n:8}),className:()=>p()({[`${v}-rtl`]:s}),motion:()=>({motionName:null!=c?c:`${v}-move-up`}),closable:!1,closeIcon:y,duration:l,getContainer:()=>(null==i?void 0:i())||(null==d?void 0:d())||document.body,maxCount:a,onAllRemoved:u,renderNotifications:P});return o.useImperativeHandle(t,()=>Object.assign(Object.assign({},b),{prefixCls:v,message:g})),x}),Z=0;function A(e){let t=o.useRef(null),n=o.useMemo(()=>{let e=e=>{var n;null===(n=t.current)||void 0===n||n.close(e)},n=n=>{if(!t.current){let e=()=>{};return e.then=()=>{},e}let{open:r,prefixCls:i,message:a}=t.current,l=`${i}-notice`,{content:s,icon:c,type:u,key:f,className:d,style:h,onClose:m}=n,g=k(n,["content","icon","type","key","className","style","onClose"]),v=f;return null==v&&(Z+=1,v=`antd-message-${Z}`),O(t=>(r(Object.assign(Object.assign({},g),{key:v,content:o.createElement(E,{prefixCls:i,type:u,icon:c},s),placement:"top",className:p()(u&&`${l}-${u}`,d,null==a?void 0:a.className),style:Object.assign(Object.assign({},null==a?void 0:a.style),h),onClose:()=>{null==m||m(),t()}})),()=>{e(v)}))},r={open:n,destroy:n=>{var r;void 0!==n?e(n):null===(r=t.current)||void 0===r||r.destroy()}};return["info","success","warning","error","loading"].forEach(e=>{r[e]=(t,r,o)=>{let i,a,l;i=t&&"object"==typeof t&&"content"in t?t:{content:t},"function"==typeof r?l=r:(a=r,l=o);let s=Object.assign(Object.assign({onClose:l,duration:a},i),{type:e});return n(s)}}),r},[]);return[n,o.createElement(_,Object.assign({key:"message-holder"},e,{ref:t}))]}let R=null,M=e=>e(),F=[],N={};function T(){let{prefixCls:e,getContainer:t,duration:n,rtl:r,maxCount:o,top:i}=N,l=null!=e?e:(0,a.w6)().getPrefixCls("message"),s=(null==t?void 0:t())||document.body;return{prefixCls:l,getContainer:()=>s,duration:n,rtl:r,maxCount:o,top:i}}let I=o.forwardRef((e,t)=>{let[n,r]=o.useState(T),[i,l]=A(n),s=(0,a.w6)(),c=s.getRootPrefixCls(),u=s.getIconPrefixCls(),f=s.getTheme(),d=()=>{r(T)};return o.useEffect(d,[]),o.useImperativeHandle(t,()=>{let e=Object.assign({},i);return Object.keys(e).forEach(t=>{e[t]=function(){return d(),i[t].apply(i,arguments)}}),{instance:e,sync:d}}),o.createElement(a.ZP,{prefixCls:c,iconPrefixCls:u,theme:f},l)});function L(){if(!R){let e=document.createDocumentFragment(),t={fragment:e};R=t,M(()=>{(0,i.s)(o.createElement(I,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,L())})}}),e)});return}R.instance&&(F.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case"open":M(()=>{let t=R.instance.open(Object.assign(Object.assign({},N),e.config));null==t||t.then(e.resolve),e.setCloseFn(t)});break;case"destroy":M(()=>{null==R||R.instance.destroy(e.key)});break;default:M(()=>{var n;let o=(n=R.instance)[t].apply(n,(0,r.Z)(e.args));null==o||o.then(e.resolve),e.setCloseFn(o)})}}),F=[])}let B={open:function(e){let t=O(t=>{let n;let r={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return F.push(r),()=>{n?M(()=>{n()}):r.skipped=!0}});return L(),t},destroy:function(e){F.push({type:"destroy",key:e}),L()},config:function(e){N=Object.assign(Object.assign({},N),e),M(()=>{var e;null===(e=null==R?void 0:R.sync)||void 0===e||e.call(R)})},useMessage:function(e){return A(e)},_InternalPanelDoNotUseOrYouWillBeFired:e=>{let{prefixCls:t,className:n,type:r,icon:i,content:a}=e,l=C(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=o.useContext(m.E_),c=t||s("message"),[,u]=w(c);return o.createElement(h.qX,Object.assign({},l,{prefixCls:c,className:p()(n,u,`${c}-notice-pure-panel`),eventKey:"pure",duration:null,content:o.createElement(E,{prefixCls:c,type:r,icon:i},a)}))}};["success","info","warning","error","loading"].forEach(e=>{B[e]=function(){for(var t=arguments.length,n=Array(t),r=0;r{let r;let o={type:e,args:t,resolve:n,setCloseFn:e=>{r=e}};return F.push(o),()=>{r?M(()=>{r()}):o.skipped=!0}});return L(),n}(e,n)}});var z=B},12069:function(e,t,n){"use strict";let r;n.d(t,{default:function(){return ee}});var o=n(74902),i=n(38135),a=n(67294),l=n(46735),s=n(89739),c=n(4340),u=n(21640),f=n(78860),d=n(94184),p=n.n(d),h=n(30470),m=n(71577),g=n(4026),v=e=>{let{type:t,children:n,prefixCls:r,buttonProps:o,close:i,autoFocus:l,emitEvent:s,isSilent:c,quitOnNullishReturnValue:u,actionFn:f}=e,d=a.useRef(!1),p=a.useRef(null),[v,y]=(0,h.Z)(!1),b=function(){null==i||i.apply(void 0,arguments)};a.useEffect(()=>{let e=null;return l&&(e=setTimeout(()=>{var e;null===(e=p.current)||void 0===e||e.focus()})),()=>{e&&clearTimeout(e)}},[]);let x=e=>{e&&e.then&&(y(!0),e.then(function(){y(!1,!0),b.apply(void 0,arguments),d.current=!1},e=>{if(y(!1,!0),d.current=!1,null==c||!c())return Promise.reject(e)}))};return a.createElement(m.ZP,Object.assign({},(0,g.n)(t),{onClick:e=>{let t;if(!d.current){if(d.current=!0,!f){b();return}if(s){var n;if(t=f(e),u&&!((n=t)&&n.then)){d.current=!1,b(e);return}}else if(f.length)t=f(i),d.current=!1;else if(!(t=f())){b();return}x(t)}},loading:v,prefixCls:r},o,{ref:p}),n)},y=n(33603),b=n(10110),x=n(97937),w=n(13328),C=n(69760),S=n(31808),E=n(53124),$=n(65223),O=n(4173),k=n(98866),j=n(83008);function P(e,t){return a.createElement("span",{className:`${e}-close-x`},t||a.createElement(x.Z,{className:`${e}-close-icon`}))}let _=e=>{let{okText:t,okType:n="primary",cancelText:r,confirmLoading:o,onOk:i,onCancel:l,okButtonProps:s,cancelButtonProps:c}=e,[u]=(0,b.Z)("Modal",(0,j.A)());return a.createElement(k.n,{disabled:!1},a.createElement(m.ZP,Object.assign({onClick:l},c),r||(null==u?void 0:u.cancelText)),a.createElement(m.ZP,Object.assign({},(0,g.n)(n),{loading:o,onClick:i},s),t||(null==u?void 0:u.okText)))};var Z=n(71194),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};(0,S.jD)()&&document.documentElement.addEventListener("click",e=>{r={x:e.pageX,y:e.pageY},setTimeout(()=>{r=null},100)},!0);var R=e=>{var t;let{getPopupContainer:n,getPrefixCls:o,direction:i,modal:l}=a.useContext(E.E_),s=t=>{let{onCancel:n}=e;null==n||n(t)},{prefixCls:c,className:u,rootClassName:f,open:d,wrapClassName:h,centered:m,getContainer:g,closeIcon:v,closable:b,focusTriggerAfterClose:S=!0,style:k,visible:j,width:R=520,footer:M}=e,F=A(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),N=o("modal",c),T=o(),[I,L]=(0,Z.Z)(N),B=p()(h,{[`${N}-centered`]:!!m,[`${N}-wrap-rtl`]:"rtl"===i}),z=void 0===M?a.createElement(_,Object.assign({},e,{onOk:t=>{let{onOk:n}=e;null==n||n(t)},onCancel:s})):M,[D,H]=(0,C.Z)(b,v,e=>P(N,e),a.createElement(x.Z,{className:`${N}-close-icon`}),!0);return I(a.createElement(O.BR,null,a.createElement($.Ux,{status:!0,override:!0},a.createElement(w.Z,Object.assign({width:R},F,{getContainer:void 0===g?n:g,prefixCls:N,rootClassName:p()(L,f),wrapClassName:B,footer:z,visible:null!=d?d:j,mousePosition:null!==(t=F.mousePosition)&&void 0!==t?t:r,onClose:s,closable:D,closeIcon:H,focusTriggerAfterClose:S,transitionName:(0,y.m)(T,"zoom",e.transitionName),maskTransitionName:(0,y.m)(T,"fade",e.maskTransitionName),className:p()(L,u,null==l?void 0:l.className),style:Object.assign(Object.assign({},null==l?void 0:l.style),k)})))))};function M(e){let{icon:t,onCancel:n,onOk:r,close:o,onConfirm:i,isSilent:l,okText:d,okButtonProps:p,cancelText:h,cancelButtonProps:m,confirmPrefixCls:g,rootPrefixCls:y,type:x,okCancel:w,footer:C,locale:S}=e,E=t;if(!t&&null!==t)switch(x){case"info":E=a.createElement(f.Z,null);break;case"success":E=a.createElement(s.Z,null);break;case"error":E=a.createElement(c.Z,null);break;default:E=a.createElement(u.Z,null)}let $=e.okType||"primary",O=null!=w?w:"confirm"===x,k=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),[j]=(0,b.Z)("Modal"),P=S||j,_=O&&a.createElement(v,{isSilent:l,actionFn:n,close:function(){null==o||o.apply(void 0,arguments),null==i||i(!1)},autoFocus:"cancel"===k,buttonProps:m,prefixCls:`${y}-btn`},h||(null==P?void 0:P.cancelText));return a.createElement("div",{className:`${g}-body-wrapper`},a.createElement("div",{className:`${g}-body`},E,void 0===e.title?null:a.createElement("span",{className:`${g}-title`},e.title),a.createElement("div",{className:`${g}-content`},e.content)),void 0===C?a.createElement("div",{className:`${g}-btns`},_,a.createElement(v,{isSilent:l,type:$,actionFn:r,close:function(){null==o||o.apply(void 0,arguments),null==i||i(!0)},autoFocus:"ok"===k,buttonProps:p,prefixCls:`${y}-btn`},d||(O?null==P?void 0:P.okText:null==P?void 0:P.justOkText))):C)}var F=e=>{let{close:t,zIndex:n,afterClose:r,visible:o,open:i,keyboard:s,centered:c,getContainer:u,maskStyle:f,direction:d,prefixCls:h,wrapClassName:m,rootPrefixCls:g,iconPrefixCls:v,theme:b,bodyStyle:x,closable:w=!1,closeIcon:C,modalRender:S,focusTriggerAfterClose:E}=e,$=`${h}-confirm`,O=e.width||416,k=e.style||{},j=void 0===e.mask||e.mask,P=void 0!==e.maskClosable&&e.maskClosable,_=p()($,`${$}-${e.type}`,{[`${$}-rtl`]:"rtl"===d},e.className);return a.createElement(l.ZP,{prefixCls:g,iconPrefixCls:v,direction:d,theme:b},a.createElement(R,{prefixCls:h,className:_,wrapClassName:p()({[`${$}-centered`]:!!e.centered},m),onCancel:()=>null==t?void 0:t({triggerCancel:!0}),open:i,title:"",footer:null,transitionName:(0,y.m)(g,"zoom",e.transitionName),maskTransitionName:(0,y.m)(g,"fade",e.maskTransitionName),mask:j,maskClosable:P,maskStyle:f,style:k,bodyStyle:x,width:O,zIndex:n,afterClose:r,keyboard:s,centered:c,getContainer:u,closable:w,closeIcon:C,modalRender:S,focusTriggerAfterClose:E},a.createElement(M,Object.assign({},e,{confirmPrefixCls:$}))))},N=[],T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let I="";function L(e){let t;let n=document.createDocumentFragment(),r=Object.assign(Object.assign({},e),{close:u,open:!0});function s(){for(var t=arguments.length,r=Array(t),a=0;ae&&e.triggerCancel);e.onCancel&&l&&e.onCancel.apply(e,[()=>{}].concat((0,o.Z)(r.slice(1))));for(let e=0;e{let e=(0,j.A)(),{getPrefixCls:t,getIconPrefixCls:f,getTheme:d}=(0,l.w6)(),p=t(void 0,I),h=s||`${p}-modal`,m=f(),g=d(),v=c;!1===v&&(v=void 0),(0,i.s)(a.createElement(F,Object.assign({},u,{getContainer:v,prefixCls:h,rootPrefixCls:p,iconPrefixCls:m,okText:r,locale:e,theme:g,cancelText:o||e.cancelText})),n)})}function u(){for(var t=arguments.length,n=Array(t),o=0;o{"function"==typeof e.afterClose&&e.afterClose(),s.apply(this,n)}})).visible&&delete r.visible,c(r)}return c(r),N.push(u),{destroy:u,update:function(e){c(r="function"==typeof e?e(r):Object.assign(Object.assign({},r),e))}}}function B(e){return Object.assign(Object.assign({},e),{type:"warning"})}function z(e){return Object.assign(Object.assign({},e),{type:"info"})}function D(e){return Object.assign(Object.assign({},e),{type:"success"})}function H(e){return Object.assign(Object.assign({},e),{type:"error"})}function V(e){return Object.assign(Object.assign({},e),{type:"confirm"})}var U=n(8745),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},q=(0,U.i)(e=>{let{prefixCls:t,className:n,closeIcon:r,closable:o,type:i,title:l,children:s}=e,c=W(e,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:u}=a.useContext(E.E_),f=u(),d=t||u("modal"),[,h]=(0,Z.Z)(d),m=`${d}-confirm`,g={};return g=i?{closable:null!=o&&o,title:"",footer:"",children:a.createElement(M,Object.assign({},e,{confirmPrefixCls:m,rootPrefixCls:f,content:s}))}:{closable:null==o||o,title:l,footer:void 0===e.footer?a.createElement(_,Object.assign({},e)):e.footer,children:s},a.createElement(w.s,Object.assign({prefixCls:d,className:p()(h,`${d}-pure-panel`,i&&m,i&&`${m}-${i}`,n)},c,{closeIcon:P(d,r),closable:o},g))}),K=n(88526),G=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},X=a.forwardRef((e,t)=>{var n,{afterClose:r,config:i}=e,l=G(e,["afterClose","config"]);let[s,c]=a.useState(!0),[u,f]=a.useState(i),{direction:d,getPrefixCls:p}=a.useContext(E.E_),h=p("modal"),m=p(),g=function(){c(!1);for(var e=arguments.length,t=Array(e),n=0;ne&&e.triggerCancel);u.onCancel&&r&&u.onCancel.apply(u,[()=>{}].concat((0,o.Z)(t.slice(1))))};a.useImperativeHandle(t,()=>({destroy:g,update:e=>{f(t=>Object.assign(Object.assign({},t),e))}}));let v=null!==(n=u.okCancel)&&void 0!==n?n:"confirm"===u.type,[y]=(0,b.Z)("Modal",K.Z.Modal);return a.createElement(F,Object.assign({prefixCls:h,rootPrefixCls:m},u,{close:g,open:s,afterClose:()=>{var e;r(),null===(e=u.afterClose)||void 0===e||e.call(u)},okText:u.okText||(v?null==y?void 0:y.okText:null==y?void 0:y.justOkText),direction:u.direction||d,cancelText:u.cancelText||(null==y?void 0:y.cancelText)},l))});let Y=0,J=a.memo(a.forwardRef((e,t)=>{let[n,r]=function(){let[e,t]=a.useState([]),n=a.useCallback(e=>(t(t=>[].concat((0,o.Z)(t),[e])),()=>{t(t=>t.filter(t=>t!==e))}),[]);return[e,n]}();return a.useImperativeHandle(t,()=>({patchElement:r}),[]),a.createElement(a.Fragment,null,n)}));function Q(e){return L(B(e))}R.useModal=function(){let e=a.useRef(null),[t,n]=a.useState([]);a.useEffect(()=>{if(t.length){let e=(0,o.Z)(t);e.forEach(e=>{e()}),n([])}},[t]);let r=a.useCallback(t=>function(r){var i;let l,s;Y+=1;let c=a.createRef(),u=new Promise(e=>{l=e}),f=!1,d=a.createElement(X,{key:`modal-${Y}`,config:t(r),ref:c,afterClose:()=>{null==s||s()},isSilent:()=>f,onConfirm:e=>{l(e)}});return(s=null===(i=e.current)||void 0===i?void 0:i.patchElement(d))&&N.push(s),{destroy:()=>{function e(){var e;null===(e=c.current)||void 0===e||e.destroy()}c.current?e():n(t=>[].concat((0,o.Z)(t),[e]))},update:e=>{function t(){var t;null===(t=c.current)||void 0===t||t.update(e)}c.current?t():n(e=>[].concat((0,o.Z)(e),[t]))},then:e=>(f=!0,u.then(e))}},[]),i=a.useMemo(()=>({info:r(z),success:r(D),error:r(H),warning:r(B),confirm:r(V)}),[]);return[i,a.createElement(J,{key:"modal-holder",ref:e})]},R.info=function(e){return L(z(e))},R.success=function(e){return L(D(e))},R.error=function(e){return L(H(e))},R.warning=Q,R.warn=Q,R.confirm=function(e){return L(V(e))},R.destroyAll=function(){for(;N.length;){let e=N.pop();e&&e()}},R.config=function(e){let{rootPrefixCls:t}=e;I=t},R._InternalPanelDoNotUseOrYouWillBeFired=q;var ee=R},83008:function(e,t,n){"use strict";n.d(t,{A:function(){return s},f:function(){return l}});var r=n(88526);let o=Object.assign({},r.Z.Modal),i=[],a=()=>i.reduce((e,t)=>Object.assign(Object.assign({},e),t),r.Z.Modal);function l(e){if(e){let t=Object.assign({},e);return i.push(t),o=a(),()=>{i=i.filter(e=>e!==t),o=a()}}o=Object.assign({},r.Z.Modal)}function s(){return o}},71194:function(e,t,n){"use strict";n.d(t,{Q:function(){return c}});var r=n(14747),o=n(16932),i=n(50438),a=n(67968),l=n(45503);function s(e){return{position:e,inset:0}}let c=e=>{let{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},s("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},s("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${t}${n}-zoom-enter), &:has(${t}${n}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${t}-root`]:(0,o.J$)(e)}]},u=e=>{let{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax})`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${e.marginXS} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},(0,r.Wf)(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${2*e.margin}px)`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`},[`${t}-close`]:Object.assign({position:"absolute",top:(e.modalHeaderHeight-e.modalCloseBtnSize)/2,insetInlineEnd:(e.modalHeaderHeight-e.modalCloseBtnSize)/2,zIndex:e.zIndexPopupBase+10,padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${e.modalCloseBtnSize}px`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalIconHoverColor,backgroundColor:e.wireframe?"transparent":e.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:e.wireframe?"transparent":e.colorFillContentHover}},(0,r.Qy)(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`,marginBottom:e.marginXS},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word"},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn:not(${e.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, - ${t}-body, - ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},f=e=>{let{componentCls:t}=e,n=`${t}-confirm`;return{[n]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${n}-body-wrapper`]:Object.assign({},(0,r.dF)()),[`${n}-body`]:{display:"flex",flexWrap:"wrap",alignItems:"center",[`${n}-title`]:{flex:"0 0 100%",display:"block",overflow:"hidden",color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,[`+ ${n}-content`]:{marginBlockStart:e.marginXS,flexBasis:"100%",maxWidth:`calc(100% - ${e.modalConfirmIconSize+e.marginSM}px)`}},[`${n}-content`]:{color:e.colorText,fontSize:e.fontSize},[`> ${e.iconCls}`]:{flex:"none",marginInlineEnd:e.marginSM,fontSize:e.modalConfirmIconSize,[`+ ${n}-title`]:{flex:1},[`+ ${n}-title + ${n}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.marginSM}}},[`${n}-btns`]:{textAlign:"end",marginTop:e.marginSM,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${n}-error ${n}-body > ${e.iconCls}`]:{color:e.colorError},[`${n}-warning ${n}-body > ${e.iconCls}, - ${n}-confirm ${n}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${n}-info ${n}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${n}-success ${n}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},d=e=>{let{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},p=e=>{let{componentCls:t,antCls:n}=e,r=`${t}-confirm`;return{[t]:{[`${t}-content`]:{padding:0},[`${t}-header`]:{padding:e.modalHeaderPadding,borderBottom:`${e.modalHeaderBorderWidth}px ${e.modalHeaderBorderStyle} ${e.modalHeaderBorderColorSplit}`,marginBottom:0},[`${t}-body`]:{padding:e.modalBodyPadding},[`${t}-footer`]:{padding:`${e.modalFooterPaddingVertical}px ${e.modalFooterPaddingHorizontal}px`,borderTop:`${e.modalFooterBorderWidth}px ${e.modalFooterBorderStyle} ${e.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`,marginTop:0}},[r]:{[`${n}-modal-body`]:{padding:`${2*e.padding}px ${2*e.padding}px ${e.paddingLG}px`},[`${r}-body`]:{[`> ${e.iconCls}`]:{marginInlineEnd:e.margin,[`+ ${r}-title + ${r}-content`]:{marginInlineStart:e.modalConfirmIconSize+e.margin}}},[`${r}-btns`]:{marginTop:e.marginLG}}}};t.Z=(0,a.Z)("Modal",e=>{let t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5,o=(0,l.TS)(e,{modalBodyPadding:e.paddingLG,modalHeaderPadding:`${t}px ${e.paddingLG}px`,modalHeaderBorderWidth:e.lineWidth,modalHeaderBorderStyle:e.lineType,modalHeaderBorderColorSplit:e.colorSplit,modalHeaderHeight:r*n+2*t,modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterPaddingVertical:e.paddingXS,modalFooterPaddingHorizontal:e.padding,modalFooterBorderWidth:e.lineWidth,modalIconHoverColor:e.colorIconHover,modalCloseIconColor:e.colorIcon,modalCloseBtnSize:e.fontSize*e.lineHeight,modalConfirmIconSize:e.fontSize*e.lineHeight});return[u(o),f(o),d(o),c(o),e.wireframe&&p(o),(0,i._y)(o,"zoom")]},e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading}))},4173:function(e,t,n){"use strict";n.d(t,{BR:function(){return p},ri:function(){return d}});var r=n(94184),o=n.n(r),i=n(50344),a=n(67294),l=n(53124),s=n(98675),c=n(51916),u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let f=a.createContext(null),d=(e,t)=>{let n=a.useContext(f),r=a.useMemo(()=>{if(!n)return"";let{compactDirection:r,isFirstItem:i,isLastItem:a}=n,l="vertical"===r?"-vertical-":"-";return o()(`${e}-compact${l}item`,{[`${e}-compact${l}first-item`]:i,[`${e}-compact${l}last-item`]:a,[`${e}-compact${l}item-rtl`]:"rtl"===t})},[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:r}},p=e=>{let{children:t}=e;return a.createElement(f.Provider,{value:null},t)},h=e=>{var{children:t}=e,n=u(e,["children"]);return a.createElement(f.Provider,{value:n},t)};t.ZP=e=>{let{getPrefixCls:t,direction:n}=a.useContext(l.E_),{size:r,direction:d,block:p,prefixCls:m,className:g,rootClassName:v,children:y}=e,b=u(e,["size","direction","block","prefixCls","className","rootClassName","children"]),x=(0,s.Z)(e=>null!=r?r:e),w=t("space-compact",m),[C,S]=(0,c.Z)(w),E=o()(w,S,{[`${w}-rtl`]:"rtl"===n,[`${w}-block`]:p,[`${w}-vertical`]:"vertical"===d},g,v),$=a.useContext(f),O=(0,i.Z)(y),k=a.useMemo(()=>O.map((e,t)=>{let n=e&&e.key||`${w}-item-${t}`;return a.createElement(h,{key:n,compactSize:x,compactDirection:d,isFirstItem:0===t&&(!$||(null==$?void 0:$.isFirstItem)),isLastItem:t===O.length-1&&(!$||(null==$?void 0:$.isLastItem))},e)}),[r,O,$]);return 0===O.length?null:C(a.createElement("div",Object.assign({className:E},b),k))}},42075:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(94184),o=n.n(r),i=n(50344),a=n(67294),l=n(98082),s=n(53124),c=n(4173);let u=a.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1}),f=u.Provider;var d=e=>{let{className:t,direction:n,index:r,marginDirection:o,children:i,split:l,wrap:s,style:c}=e,{horizontalSize:f,verticalSize:d,latestIndex:p,supportFlexGap:h}=a.useContext(u),m={};return(!h&&("vertical"===n?rt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let m={small:8,middle:16,large:24},g=a.forwardRef((e,t)=>{var n,r;let{getPrefixCls:c,space:u,direction:g}=a.useContext(s.E_),{size:v=(null==u?void 0:u.size)||"small",align:y,className:b,rootClassName:x,children:w,direction:C="horizontal",prefixCls:S,split:E,style:$,wrap:O=!1,classNames:k,styles:j}=e,P=h(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),_=(0,l.Z)(),[Z,A]=a.useMemo(()=>(Array.isArray(v)?v:[v,v]).map(e=>"string"==typeof e?m[e]:e||0),[v]),R=(0,i.Z)(w,{keepEmpty:!0}),M=void 0===y&&"horizontal"===C?"center":y,F=c("space",S),[N,T]=(0,p.Z)(F),I=o()(F,null==u?void 0:u.className,T,`${F}-${C}`,{[`${F}-rtl`]:"rtl"===g,[`${F}-align-${M}`]:M},b,x),L=o()(`${F}-item`,null!==(n=null==k?void 0:k.item)&&void 0!==n?n:null===(r=null==u?void 0:u.classNames)||void 0===r?void 0:r.item),B="rtl"===g?"marginLeft":"marginRight",z=0,D=R.map((e,t)=>{var n,r;null!=e&&(z=t);let o=e&&e.key||`${L}-${t}`;return a.createElement(d,{className:L,key:o,direction:C,index:t,marginDirection:B,split:E,wrap:O,style:null!==(n=null==j?void 0:j.item)&&void 0!==n?n:null===(r=null==u?void 0:u.styles)||void 0===r?void 0:r.item},e)}),H=a.useMemo(()=>({horizontalSize:Z,verticalSize:A,latestIndex:z,supportFlexGap:_}),[Z,A,z,_]);if(0===R.length)return null;let V={};return O&&(V.flexWrap="wrap",_||(V.marginBottom=-A)),_&&(V.columnGap=Z,V.rowGap=A),N(a.createElement("div",Object.assign({ref:t,className:I,style:Object.assign(Object.assign(Object.assign({},V),null==u?void 0:u.style),$)},P),a.createElement(f,{value:H},D)))});g.Compact=c.ZP;var v=g},51916:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(67968),o=e=>{let{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}};let i=e=>{let{componentCls:t}=e;return{[t]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${t}-item:empty`]:{display:"none"}}}};var a=(0,r.Z)("Space",e=>[i(e),o(e)],()=>({}),{resetStyle:!1})},80110:function(e,t,n){"use strict";function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0},{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},function(e,t,n){let{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",l=["hover",o?"focus":null,"active"].filter(Boolean).map(e=>`&:${e} ${a}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:-e.lineWidth},"&-item":Object.assign(Object.assign({[l]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}(e,r,t)),function(e,t,n){let{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}(n,r,t))}}n.d(t,{c:function(){return r}})},14747:function(e,t,n){"use strict";n.d(t,{Lx:function(){return l},Qy:function(){return u},Ro:function(){return i},Wf:function(){return o},dF:function(){return a},du:function(){return s},oN:function(){return c},vS:function(){return r}});let r={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},o=e=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:e.fontFamily}),i=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),a=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),l=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},[`&:active, - &:hover`]:{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),s=(e,t)=>{let{fontFamily:n,fontSize:r}=e,o=`[class^="${t}"], [class*=" ${t}"]`;return{[o]:{fontFamily:n,fontSize:r,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[o]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},c=e=>({outline:`${e.lineWidthFocus}px solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),u=e=>({"&:focus-visible":Object.assign({},c(e))})},33507:function(e,t){"use strict";t.Z=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},16932:function(e,t,n){"use strict";n.d(t,{J$:function(){return l}});var r=n(23183),o=n(93590);let i=new r.E4("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),a=new r.E4("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),l=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{antCls:n}=e,r=`${n}-fade`,l=t?"&":"";return[(0,o.R)(r,i,a,e.motionDurationMid,t),{[` - ${l}${r}-enter, - ${l}${r}-appear - `]:{opacity:0,animationTimingFunction:"linear"},[`${l}${r}-leave`]:{animationTimingFunction:"linear"}}]}},93590:function(e,t,n){"use strict";n.d(t,{R:function(){return i}});let r=e=>({animationDuration:e,animationFillMode:"both"}),o=e=>({animationDuration:e,animationFillMode:"both"}),i=function(e,t,n,i){let a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l=a?"&":"";return{[` - ${l}${e}-enter, - ${l}${e}-appear - `]:Object.assign(Object.assign({},r(i)),{animationPlayState:"paused"}),[`${l}${e}-leave`]:Object.assign(Object.assign({},o(i)),{animationPlayState:"paused"}),[` - ${l}${e}-enter${e}-enter-active, - ${l}${e}-appear${e}-appear-active - `]:{animationName:t,animationPlayState:"running"},[`${l}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}}},33297:function(e,t,n){"use strict";n.d(t,{Fm:function(){return h}});var r=n(23183),o=n(93590);let i=new r.E4("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),a=new r.E4("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),l=new r.E4("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s=new r.E4("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),c=new r.E4("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),u=new r.E4("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),f=new r.E4("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),d=new r.E4("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),p={"move-up":{inKeyframes:f,outKeyframes:d},"move-down":{inKeyframes:i,outKeyframes:a},"move-left":{inKeyframes:l,outKeyframes:s},"move-right":{inKeyframes:c,outKeyframes:u}},h=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=p[t];return[(0,o.R)(r,i,a,e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},67771:function(e,t,n){"use strict";n.d(t,{Qt:function(){return l},Uw:function(){return a},fJ:function(){return i},ly:function(){return s},oN:function(){return h}});var r=n(23183),o=n(93590);let i=new r.E4("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),a=new r.E4("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),l=new r.E4("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),s=new r.E4("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),c=new r.E4("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),u=new r.E4("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),f=new r.E4("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),d=new r.E4("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),p={"slide-up":{inKeyframes:i,outKeyframes:a},"slide-down":{inKeyframes:l,outKeyframes:s},"slide-left":{inKeyframes:c,outKeyframes:u},"slide-right":{inKeyframes:f,outKeyframes:d}},h=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=p[t];return[(0,o.R)(r,i,a,e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]}},50438:function(e,t,n){"use strict";n.d(t,{_y:function(){return y},kr:function(){return i}});var r=n(23183),o=n(93590);let i=new r.E4("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),a=new r.E4("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),l=new r.E4("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),s=new r.E4("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),c=new r.E4("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),u=new r.E4("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),f=new r.E4("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),d=new r.E4("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),p=new r.E4("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),h=new r.E4("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),m=new r.E4("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),g=new r.E4("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),v={zoom:{inKeyframes:i,outKeyframes:a},"zoom-big":{inKeyframes:l,outKeyframes:s},"zoom-big-fast":{inKeyframes:l,outKeyframes:s},"zoom-left":{inKeyframes:f,outKeyframes:d},"zoom-right":{inKeyframes:p,outKeyframes:h},"zoom-up":{inKeyframes:c,outKeyframes:u},"zoom-down":{inKeyframes:m,outKeyframes:g}},y=(e,t)=>{let{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=v[t];return[(0,o.R)(r,i,a,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},77786:function(e,t,n){"use strict";n.d(t,{qN:function(){return o},ZP:function(){return a},fS:function(){return i}});let r=(e,t,n,r,o)=>{let i=e/2,a=1*n/Math.sqrt(2),l=i-n*(1-1/Math.sqrt(2)),s=i-t*(1/Math.sqrt(2)),c=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),u=i*Math.sqrt(2)+n*(Math.sqrt(2)-2),f=n*(Math.sqrt(2)-1);return{pointerEvents:"none",width:e,height:e,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:e,height:e/2,background:r,clipPath:{_multi_value_:!0,value:[`polygon(${f}px 100%, 50% ${f}px, ${2*i-f}px 100%, ${f}px 100%)`,`path('M 0 ${i} A ${n} ${n} 0 0 0 ${a} ${l} L ${s} ${c} A ${t} ${t} 0 0 1 ${2*i-s} ${c} L ${2*i-a} ${l} A ${n} ${n} 0 0 0 ${2*i-0} ${i} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:u,height:u,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${t}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:o,zIndex:0,background:"transparent"}}},o=8;function i(e){let{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{dropdownArrowOffset:r,dropdownArrowOffsetVertical:n?o:r}}function a(e,t){var n,o,a,l,s,c,u,f;let{componentCls:d,sizePopupArrow:p,borderRadiusXS:h,borderRadiusOuter:m,boxShadowPopoverArrow:g}=e,{colorBg:v,contentRadius:y=e.borderRadiusLG,limitVerticalRadius:b,arrowDistance:x=0,arrowPlacement:w={left:!0,right:!0,top:!0,bottom:!0}}=t,{dropdownArrowOffsetVertical:C,dropdownArrowOffset:S}=i({contentRadius:y,limitVerticalRadius:b});return{[d]:Object.assign(Object.assign(Object.assign(Object.assign({[`${d}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},r(p,h,m,v,g)),{"&:before":{background:v}})]},(n=!!w.top,o={[`&-placement-top ${d}-arrow,&-placement-topLeft ${d}-arrow,&-placement-topRight ${d}-arrow`]:{bottom:x,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${d}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${d}-arrow`]:{left:{_skip_check_:!0,value:S}},[`&-placement-topRight ${d}-arrow`]:{right:{_skip_check_:!0,value:S}}},n?o:{})),(a=!!w.bottom,l={[`&-placement-bottom ${d}-arrow,&-placement-bottomLeft ${d}-arrow,&-placement-bottomRight ${d}-arrow`]:{top:x,transform:"translateY(-100%)"},[`&-placement-bottom ${d}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${d}-arrow`]:{left:{_skip_check_:!0,value:S}},[`&-placement-bottomRight ${d}-arrow`]:{right:{_skip_check_:!0,value:S}}},a?l:{})),(s=!!w.left,c={[`&-placement-left ${d}-arrow,&-placement-leftTop ${d}-arrow,&-placement-leftBottom ${d}-arrow`]:{right:{_skip_check_:!0,value:x},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${d}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${d}-arrow`]:{top:C},[`&-placement-leftBottom ${d}-arrow`]:{bottom:C}},s?c:{})),(u=!!w.right,f={[`&-placement-right ${d}-arrow,&-placement-rightTop ${d}-arrow,&-placement-rightBottom ${d}-arrow`]:{left:{_skip_check_:!0,value:x},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${d}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${d}-arrow`]:{top:C},[`&-placement-rightBottom ${d}-arrow`]:{bottom:C}},u?f:{}))}}},33083:function(e,t,n){"use strict";n.d(t,{Mj:function(){return c},uH:function(){return l},u_:function(){return s}});var r=n(23183),o=n(67294),i=n(67164),a=n(2790);let l=(0,r.jG)(i.Z),s={token:a.Z,hashed:!0},c=o.createContext(s)},9361:function(e,t,n){"use strict";n.d(t,{default:function(){return y}});var r=n(23183),o=n(67164),i=n(2790),a=n(1393),l=n(25976),s=n(33083),c=n(372),u=n(98378),f=n(16397),d=n(57),p=n(10274);let h=(e,t)=>new p.C(e).setAlpha(t).toRgbString(),m=(e,t)=>{let n=new p.C(e);return n.lighten(t).toHexString()},g=e=>{let t=(0,f.generate)(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},v=(e,t)=>{let n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:h(r,.85),colorTextSecondary:h(r,.65),colorTextTertiary:h(r,.45),colorTextQuaternary:h(r,.25),colorFill:h(r,.18),colorFillSecondary:h(r,.12),colorFillTertiary:h(r,.08),colorFillQuaternary:h(r,.04),colorBgElevated:m(n,12),colorBgContainer:m(n,8),colorBgLayout:m(n,0),colorBgSpotlight:m(n,26),colorBorder:m(n,26),colorBorderSecondary:m(n,19)}};var y={defaultConfig:s.u_,defaultSeed:s.u_.token,useToken:function(){let[e,t,n]=(0,l.Z)();return{theme:e,token:t,hashId:n}},defaultAlgorithm:o.Z,darkAlgorithm:(e,t)=>{let n=Object.keys(i.M).map(t=>{let n=(0,f.generate)(e[t],{theme:"dark"});return Array(10).fill(1).reduce((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e),{})}).reduce((e,t)=>e=Object.assign(Object.assign({},e),t),{}),r=null!=t?t:(0,o.Z)(e);return Object.assign(Object.assign(Object.assign({},r),n),(0,d.Z)(e,{generateColorPalettes:g,generateNeutralColorPalettes:v}))},compactAlgorithm:(e,t)=>{let n=null!=t?t:(0,o.Z)(e),r=n.fontSizeSM,i=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),function(e){let{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}(null!=t?t:e)),(0,u.Z)(r)),{controlHeight:i}),(0,c.Z)(Object.assign(Object.assign({},n),{controlHeight:i})))},getDesignToken:e=>{let t=(null==e?void 0:e.algorithm)?(0,r.jG)(e.algorithm):(0,r.jG)(o.Z),n=Object.assign(Object.assign({},i.Z),null==e?void 0:e.token);return(0,r.t2)(n,{override:null==e?void 0:e.token},t,a.Z)}}},8796:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});let r=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},67164:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(16397),o=n(372),i=n(2790),a=n(57),l=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e>16?16:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}},s=n(10274);let c=(e,t)=>new s.C(e).setAlpha(t).toRgbString(),u=(e,t)=>{let n=new s.C(e);return n.darken(t).toHexString()},f=e=>{let t=(0,r.generate)(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},d=(e,t)=>{let n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:c(r,.88),colorTextSecondary:c(r,.65),colorTextTertiary:c(r,.45),colorTextQuaternary:c(r,.25),colorFill:c(r,.15),colorFillSecondary:c(r,.06),colorFillTertiary:c(r,.04),colorFillQuaternary:c(r,.02),colorBgLayout:u(n,4),colorBgContainer:u(n,0),colorBgElevated:u(n,0),colorBgSpotlight:c(r,.85),colorBorder:u(n,15),colorBorderSecondary:u(n,6)}};var p=n(98378);function h(e){let t=Object.keys(i.M).map(t=>{let n=(0,r.generate)(e[t]);return Array(10).fill(1).reduce((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e),{})}).reduce((e,t)=>e=Object.assign(Object.assign({},e),t),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),(0,a.Z)(e,{generateColorPalettes:f,generateNeutralColorPalettes:d})),(0,p.Z)(e.fontSize)),function(e){let{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),(0,o.Z)(e)),function(e){let{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:o+1},l(r))}(e))}},2790:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});let r={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},o=Object.assign(Object.assign({},r),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, -'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', -'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});t.Z=o},57:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(10274);function o(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:o}=t,{colorSuccess:i,colorWarning:a,colorError:l,colorInfo:s,colorPrimary:c,colorBgBase:u,colorTextBase:f}=e,d=n(c),p=n(i),h=n(a),m=n(l),g=n(s),v=o(u,f),y=e.colorLink||e.colorInfo,b=n(y);return Object.assign(Object.assign({},v),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new r.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}},372:function(e,t){"use strict";t.Z=e=>{let{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}}},98378:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=e=>{let t=function(e){let t=Array(10).fill(null).map((t,n)=>{let r=e*Math.pow(2.71828,(n-1)/5);return 2*Math.floor((n>1?Math.floor(r):Math.ceil(r))/2)});return t[1]=e,t.map(e=>({size:e,lineHeight:(e+8)/e}))}(e),n=t.map(e=>e.size),r=t.map(e=>e.lineHeight);return{fontSizeSM:n[0],fontSize:n[1],fontSizeLG:n[2],fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:r[1],lineHeightLG:r[2],lineHeightSM:r[0],lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}}},25976:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(23183),o=n(67294),i=n(33083),a=n(2790),l=n(1393),s=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let c=(e,t,n)=>{let r=n.getDerivativeToken(e),{override:o}=t,i=s(t,["override"]),a=Object.assign(Object.assign({},r),{override:o});return a=(0,l.Z)(a),i&&Object.entries(i).forEach(e=>{let[t,n]=e,{theme:r}=n,o=s(n,["theme"]),i=o;r&&(i=c(Object.assign(Object.assign({},a),o),{override:o},r)),a[t]=i}),a};function u(){let{token:e,hashed:t,theme:n,components:s}=o.useContext(i.Mj),u=`5.8.6-${t||""}`,f=n||i.uH,[d,p]=(0,r.fp)(f,[a.Z,e],{salt:u,override:Object.assign({override:e},s),getComputedToken:c,formatToken:l.Z});return[f,d,t?p:""]}},1393:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(10274),o=n(2790);function i(e){return e>=0&&e<=255}var a=function(e,t){let{r:n,g:o,b:a,a:l}=new r.C(e).toRgb();if(l<1)return e;let{r:s,g:c,b:u}=new r.C(t).toRgb();for(let e=.01;e<=1;e+=.01){let t=Math.round((n-s*(1-e))/e),l=Math.round((o-c*(1-e))/e),f=Math.round((a-u*(1-e))/e);if(i(t)&&i(l)&&i(f))return new r.C({r:t,g:l,b:f,a:Math.round(100*e)/100}).toRgbString()}return new r.C({r:n,g:o,b:a,a:1}).toRgbString()},l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function s(e){let{override:t}=e,n=l(e,["override"]),i=Object.assign({},t);Object.keys(o.Z).forEach(e=>{delete i[e]});let s=Object.assign(Object.assign({},n),i);!1===s.motion&&(s.motionDurationFast="0s",s.motionDurationMid="0s",s.motionDurationSlow="0s");let c=Object.assign(Object.assign(Object.assign({},s),{colorFillContent:s.colorFillSecondary,colorFillContentHover:s.colorFill,colorFillAlter:s.colorFillQuaternary,colorBgContainerDisabled:s.colorFillTertiary,colorBorderBg:s.colorBgContainer,colorSplit:a(s.colorBorderSecondary,s.colorBgContainer),colorTextPlaceholder:s.colorTextQuaternary,colorTextDisabled:s.colorTextQuaternary,colorTextHeading:s.colorText,colorTextLabel:s.colorTextSecondary,colorTextDescription:s.colorTextTertiary,colorTextLightSolid:s.colorWhite,colorHighlight:s.colorError,colorBgTextHover:s.colorFillSecondary,colorBgTextActive:s.colorFill,colorIcon:s.colorTextTertiary,colorIconHover:s.colorText,colorErrorOutline:a(s.colorErrorBg,s.colorBgContainer),colorWarningOutline:a(s.colorWarningBg,s.colorBgContainer),fontSizeIcon:s.fontSizeSM,lineWidthFocus:4*s.lineWidth,lineWidth:s.lineWidth,controlOutlineWidth:2*s.lineWidth,controlInteractiveSize:s.controlHeight/2,controlItemBgHover:s.colorFillTertiary,controlItemBgActive:s.colorPrimaryBg,controlItemBgActiveHover:s.colorPrimaryBgHover,controlItemBgActiveDisabled:s.colorFill,controlTmpOutline:s.colorFillQuaternary,controlOutline:a(s.colorPrimaryBg,s.colorBgContainer),lineType:s.lineType,borderRadius:s.borderRadius,borderRadiusXS:s.borderRadiusXS,borderRadiusSM:s.borderRadiusSM,borderRadiusLG:s.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:s.sizeXXS,paddingXS:s.sizeXS,paddingSM:s.sizeSM,padding:s.size,paddingMD:s.sizeMD,paddingLG:s.sizeLG,paddingXL:s.sizeXL,paddingContentHorizontalLG:s.sizeLG,paddingContentVerticalLG:s.sizeMS,paddingContentHorizontal:s.sizeMS,paddingContentVertical:s.sizeSM,paddingContentHorizontalSM:s.size,paddingContentVerticalSM:s.sizeXS,marginXXS:s.sizeXXS,marginXS:s.sizeXS,marginSM:s.sizeSM,margin:s.size,marginMD:s.sizeMD,marginLG:s.sizeLG,marginXL:s.sizeXL,marginXXL:s.sizeXXL,boxShadow:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowSecondary:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTertiary:` - 0 1px 2px 0 rgba(0, 0, 0, 0.03), - 0 1px 6px -1px rgba(0, 0, 0, 0.02), - 0 2px 4px 0 rgba(0, 0, 0, 0.02) - `,screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:1200,screenXLMin:1200,screenXLMax:1599,screenXXL:1600,screenXXLMin:1600,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` - 0 1px 2px -2px ${new r.C("rgba(0, 0, 0, 0.16)").toRgbString()}, - 0 3px 6px 0 ${new r.C("rgba(0, 0, 0, 0.12)").toRgbString()}, - 0 5px 12px 4px ${new r.C("rgba(0, 0, 0, 0.09)").toRgbString()} - `,boxShadowDrawerRight:` - -6px 0 16px 0 rgba(0, 0, 0, 0.08), - -3px 0 6px -4px rgba(0, 0, 0, 0.12), - -9px 0 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerLeft:` - 6px 0 16px 0 rgba(0, 0, 0, 0.08), - 3px 0 6px -4px rgba(0, 0, 0, 0.12), - 9px 0 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerUp:` - 0 6px 16px 0 rgba(0, 0, 0, 0.08), - 0 3px 6px -4px rgba(0, 0, 0, 0.12), - 0 9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerDown:` - 0 -6px 16px 0 rgba(0, 0, 0, 0.08), - 0 -3px 6px -4px rgba(0, 0, 0, 0.12), - 0 -9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),i);return c}},67968:function(e,t,n){"use strict";n.d(t,{Z:function(){return u},b:function(){return f}});var r=n(67294),o=n(23183);n(56790);var i=n(53124),a=n(14747),l=n(25976),s=n(45503),c=n(53269);function u(e,t,n){let u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},f=Array.isArray(e)?e:[e,e],[d]=f,p=f.join("-");return e=>{let[f,h,m]=(0,l.Z)(),{getPrefixCls:g,iconPrefixCls:v,csp:y}=(0,r.useContext)(i.E_),b=g(),x={theme:f,token:h,hashId:m,nonce:()=>null==y?void 0:y.nonce,clientOnly:u.clientOnly,order:u.order||-999};return(0,o.xy)(Object.assign(Object.assign({},x),{clientOnly:!1,path:["Shared",b]}),()=>[{"&":(0,a.Lx)(h)}]),(0,c.Z)(v),[(0,o.xy)(Object.assign(Object.assign({},x),{path:[p,e,v]}),()=>{let{token:r,flush:o}=(0,s.ZP)(h),i=Object.assign({},h[d]);if(u.deprecatedTokens){let{deprecatedTokens:e}=u;e.forEach(e=>{var t;let[n,r]=e;((null==i?void 0:i[n])||(null==i?void 0:i[r]))&&(null!==(t=i[r])&&void 0!==t||(i[r]=null==i?void 0:i[n]))})}let l="function"==typeof n?n((0,s.TS)(r,null!=i?i:{})):n,c=Object.assign(Object.assign({},l),i),f=`.${e}`,p=(0,s.TS)(r,{componentCls:f,prefixCls:e,iconCls:`.${v}`,antCls:`.${b}`},c),g=t(p,{hashId:m,prefixCls:e,rootPrefixCls:b,iconPrefixCls:v,overrideComponentToken:i});return o(d,c),[!1===u.resetStyle?null:(0,a.du)(h,e),g]}),m]}}let f=(e,t,n,r)=>{let o=u(e,t,n,Object.assign({resetStyle:!1,order:-998},r));return e=>{let{prefixCls:t}=e;return o(t),null}}},98719:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(8796);function o(e,t){return r.i.reduce((n,r)=>{let o=e[`${r}1`],i=e[`${r}3`],a=e[`${r}6`],l=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:o,lightBorderColor:i,darkColor:a,textColor:l}))},{})}},45503:function(e,t,n){"use strict";n.d(t,{TS:function(){return i},ZP:function(){return s}});let r="undefined"!=typeof CSSINJS_STATISTIC,o=!0;function i(){for(var e=arguments.length,t=Array(e),n=0;n{let t=Object.keys(e);t.forEach(t=>{Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:()=>e[t]})})}),o=!0,i}let a={};function l(){}function s(e){let t;let n=e,i=l;return r&&(t=new Set,n=new Proxy(e,{get:(e,n)=>(o&&t.add(n),e[n])}),i=(e,n)=>{var r;a[e]={global:Array.from(t),component:Object.assign(Object.assign({},null===(r=a[e])||void 0===r?void 0:r.component),n)}}),{token:n,keys:t,flush:i}}},53269:function(e,t,n){"use strict";var r=n(23183),o=n(14747),i=n(25976);t.Z=(e,t)=>{let[n,a]=(0,i.Z)();return(0,r.xy)({theme:n,token:a,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce},()=>[{[`.${e}`]:Object.assign(Object.assign({},(0,o.Ro)()),{[`.${e} .${e}-icon`]:{display:"block"}})}])}},83062:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});var r=n(94184),o=n.n(r),i=n(92419),a=n(21770),l=n(67294),s=n(33603),c=n(80636),u=n(96159),f=n(53124),d=n(4173),p=n(9361),h=n(14747),m=n(50438),g=n(77786),v=n(98719),y=n(45503),b=n(67968);let x=e=>{let{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:o,tooltipBorderRadius:i,zIndexPopup:a,controlHeight:l,boxShadowSecondary:s,paddingSM:c,paddingXS:u,tooltipRadiusOuter:f}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,h.Wf)(e)),{position:"absolute",zIndex:a,display:"block",width:"max-content",maxWidth:n,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${t}-inner`]:{minWidth:l,minHeight:l,padding:`${c/2}px ${u}px`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:i,boxShadow:s,boxSizing:"border-box"},"&-placement-left,&-placement-leftTop,&-placement-leftBottom,&-placement-right,&-placement-rightTop,&-placement-rightBottom":{[`${t}-inner`]:{borderRadius:Math.min(i,g.qN)}},[`${t}-content`]:{position:"relative"}}),(0,v.Z)(e,(e,n)=>{let{darkColor:r}=n;return{[`&${t}-${e}`]:{[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{"--antd-arrow-background-color":r}}}})),{"&-rtl":{direction:"rtl"}})},(0,g.ZP)((0,y.TS)(e,{borderRadiusOuter:f}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:i,limitVerticalRadius:!0}),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]};var w=(e,t)=>{let n=(0,b.Z)("Tooltip",e=>{if(!1===t)return[];let{borderRadius:n,colorTextLightSolid:r,colorBgDefault:o,borderRadiusOuter:i}=e,a=(0,y.TS)(e,{tooltipMaxWidth:250,tooltipColor:r,tooltipBorderRadius:n,tooltipBg:o,tooltipRadiusOuter:i>4?4:i});return[x(a),(0,m._y)(e,"zoom-big-fast")]},e=>{let{zIndexPopupBase:t,colorBgSpotlight:n}=e;return{zIndexPopup:t+70,colorBgDefault:n}},{resetStyle:!1});return n(e)},C=n(98787);function S(e,t){let n=(0,C.o2)(t),r=o()({[`${e}-${t}`]:t&&n}),i={},a={};return t&&!n&&(i.background=t,a["--antd-arrow-background-color"]=t),{className:r,overlayStyle:i,arrowStyle:a}}var E=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let{useToken:$}=p.default,O=(e,t)=>{let n={},r=Object.assign({},e);return t.forEach(t=>{e&&t in e&&(n[t]=e[t],delete r[t])}),{picked:n,omitted:r}},k=l.forwardRef((e,t)=>{var n,r;let{prefixCls:p,openClassName:h,getTooltipContainer:m,overlayClassName:g,color:v,overlayInnerStyle:y,children:b,afterOpenChange:x,afterVisibleChange:C,destroyTooltipOnHide:k,arrow:j=!0,title:P,overlay:_,builtinPlacements:Z,arrowPointAtCenter:A=!1,autoAdjustOverflow:R=!0}=e,M=!!j,{token:F}=$(),{getPopupContainer:N,getPrefixCls:T,direction:I}=l.useContext(f.E_),L=l.useRef(null),B=()=>{var e;null===(e=L.current)||void 0===e||e.forceAlign()};l.useImperativeHandle(t,()=>({forceAlign:B,forcePopupAlign:()=>{B()}}));let[z,D]=(0,a.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(r=e.defaultOpen)&&void 0!==r?r:e.defaultVisible}),H=!P&&!_&&0!==P,V=l.useMemo(()=>{var e,t;let n=A;return"object"==typeof j&&(n=null!==(t=null!==(e=j.pointAtCenter)&&void 0!==e?e:j.arrowPointAtCenter)&&void 0!==t?t:A),Z||(0,c.Z)({arrowPointAtCenter:n,autoAdjustOverflow:R,arrowWidth:M?F.sizePopupArrow:0,borderRadius:F.borderRadius,offset:F.marginXXS,visibleFirst:!0})},[A,j,Z,F]),U=l.useMemo(()=>0===P?P:_||P||"",[_,P]),W=l.createElement(d.BR,null,"function"==typeof U?U():U),{getPopupContainer:q,placement:K="top",mouseEnterDelay:G=.1,mouseLeaveDelay:X=.1,overlayStyle:Y,rootClassName:J}=e,Q=E(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),ee=T("tooltip",p),et=T(),en=e["data-popover-inject"],er=z;"open"in e||"visible"in e||!H||(er=!1);let eo=function(e,t){let n=e.type;if((!0===n.__ANT_BUTTON||"button"===e.type)&&e.props.disabled||!0===n.__ANT_SWITCH&&(e.props.disabled||e.props.loading)||!0===n.__ANT_RADIO&&e.props.disabled){let{picked:n,omitted:r}=O(e.props.style,["position","left","right","top","bottom","float","display","zIndex"]),i=Object.assign(Object.assign({display:"inline-block"},n),{cursor:"not-allowed",width:e.props.block?"100%":void 0}),a=Object.assign(Object.assign({},r),{pointerEvents:"none"}),s=(0,u.Tm)(e,{style:a,className:null});return l.createElement("span",{style:i,className:o()(e.props.className,`${t}-disabled-compatible-wrapper`)},s)}return e}((0,u.l$)(b)&&!(0,u.M2)(b)?b:l.createElement("span",null,b),ee),ei=eo.props,ea=ei.className&&"string"!=typeof ei.className?ei.className:o()(ei.className,h||`${ee}-open`),[el,es]=w(ee,!en),ec=S(ee,v),eu=ec.arrowStyle,ef=Object.assign(Object.assign({},y),ec.overlayStyle),ed=o()(g,{[`${ee}-rtl`]:"rtl"===I},ec.className,J,es);return el(l.createElement(i.Z,Object.assign({},Q,{showArrow:M,placement:K,mouseEnterDelay:G,mouseLeaveDelay:X,prefixCls:ee,overlayClassName:ed,overlayStyle:Object.assign(Object.assign({},eu),Y),getTooltipContainer:q||m||N,ref:L,builtinPlacements:V,overlay:W,visible:er,onVisibleChange:t=>{var n,r;D(!H&&t),H||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(r=e.onVisibleChange)||void 0===r||r.call(e,t))},afterVisibleChange:null!=x?x:C,overlayInnerStyle:ef,arrowContent:l.createElement("span",{className:`${ee}-arrow-content`}),motion:{motionName:(0,s.m)(et,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!k}),er?(0,u.Tm)(eo,{className:ea}):eo))});k._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,className:n,placement:r="top",title:a,color:s,overlayInnerStyle:c}=e,{getPrefixCls:u}=l.useContext(f.E_),d=u("tooltip",t),[p,h]=w(d,!0),m=S(d,s),g=m.arrowStyle,v=Object.assign(Object.assign({},c),m.overlayStyle),y=o()(h,d,`${d}-pure`,`${d}-placement-${r}`,n,m.className);return p(l.createElement("div",{className:y,style:g},l.createElement("div",{className:`${d}-arrow`}),l.createElement(i.G,Object.assign({},e,{className:h,prefixCls:d,overlayInnerStyle:v}),a)))};var j=k},1028:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(25633)).default;t.default=o},80037:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(5584)).default;t.default=o},25633:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27590)),i=r(n(52040));let a={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},o.default),timePickerLocale:Object.assign({},i.default)};t.default=a},5584:function(e,t,n){"use strict";var r=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(85369)),i=r(n(15704));let a={lang:Object.assign({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},o.default),timePickerLocale:Object.assign({},i.default)};a.lang.ok="确定",t.default=a},18253:function(e,t,n){"use strict";var r=n(64836).default;t.Z=void 0;var o=r(n(62273)),i=r(n(1028)),a=r(n(25633)),l=r(n(52040));let s="${label} is not a valid ${type}",c={locale:"en",Pagination:o.default,DatePicker:a.default,TimePicker:l.default,Calendar:i.default,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:s,method:s,array:s,object:s,number:s,date:s,boolean:s,integer:s,float:s,regexp:s,email:s,url:s,hex:s},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh"},ColorPicker:{presetEmpty:"Empty"}};t.Z=c},82925:function(e,t,n){"use strict";var r=n(64836).default;t.Z=void 0;var o=r(n(74219)),i=r(n(80037)),a=r(n(5584)),l=r(n(15704));let s="${label}不是一个有效的${type}",c={locale:"zh-cn",Pagination:o.default,DatePicker:a.default,TimePicker:l.default,Calendar:i.default,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:s,method:s,array:s,object:s,number:s,date:s,boolean:s,integer:s,float:s,regexp:s,email:s,url:s,hex:s},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码过期",refresh:"点击刷新"},ColorPicker:{presetEmpty:"暂无"}};t.Z=c},52040:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},15704:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]}},94184:function(e,t){var n;/*! - Copyright (c) 2018 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t=t||n<0||g&&r>=u}function x(){var e,n,r,i=o();if(b(i))return w(i);d=setTimeout(x,(e=i-p,n=i-h,r=t-e,g?l(r,u-n):r))}function w(e){return(d=void 0,v&&s)?y(e):(s=c=void 0,f)}function C(){var e,n=o(),r=b(n);if(s=arguments,c=this,p=n,r){if(void 0===d)return h=e=p,d=setTimeout(x,t),m?y(e):f;if(g)return clearTimeout(d),d=setTimeout(x,t),y(p)}return void 0===d&&(d=setTimeout(x,t)),f}return t=i(t)||0,r(n)&&(m=!!n.leading,u=(g="maxWait"in n)?a(i(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),C.cancel=function(){void 0!==d&&clearTimeout(d),h=0,s=p=c=d=void 0},C.flush=function(){return void 0===d?f:w(o())},C}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},33448:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},7771:function(e,t,n){var r=n(55639);e.exports=function(){return r.Date.now()}},23493:function(e,t,n){var r=n(23279),o=n(13218);e.exports=function(e,t,n){var i=!0,a=!0;if("function"!=typeof e)throw TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(e,t,{leading:i,maxWait:t,trailing:a})}},14841:function(e,t,n){var r=n(27561),o=n(13218),i=n(33448),a=0/0,l=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):l.test(e)?a:+e}},83454:function(e,t,n){"use strict";var r,o;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(o=n.g.process)?void 0:o.env)?n.g.process:n(77663)},6840:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(48271)}])},41468:function(e,t,n){"use strict";n.d(t,{R:function(){return u},p:function(){return c}});var r=n(85893),o=n(67294),i=n(50489),a=n(577),l=n(39332),s=n(98399);let c=(0,o.createContext)({mode:"light",scene:"",chatId:"",modelList:[],model:"",dbParam:void 0,dialogueList:[],agent:"",setAgent:()=>{},setModel:()=>{},setIsContract:()=>{},setIsMenuExpand:()=>{},setDbParam:()=>void 0,queryDialogueList:()=>{},refreshDialogList:()=>{},setMode:()=>void 0,history:[],setHistory:()=>{},docId:void 0,setDocId:()=>{}}),u=e=>{var t,n,u;let{children:f}=e,d=(0,l.useSearchParams)(),p=null!==(t=null==d?void 0:d.get("id"))&&void 0!==t?t:"",h=null!==(n=null==d?void 0:d.get("scene"))&&void 0!==n?n:"",m=null!==(u=null==d?void 0:d.get("db_param"))&&void 0!==u?u:"",[g,v]=(0,o.useState)(!1),[y,b]=(0,o.useState)(""),[x,w]=(0,o.useState)("chat_dashboard"!==h),[C,S]=(0,o.useState)(m),[E,$]=(0,o.useState)(""),[O,k]=(0,o.useState)([]),[j,P]=(0,o.useState)(),[_,Z]=(0,o.useState)("light"),{run:A,data:R=[],refresh:M}=(0,a.Z)(async()=>{let[,e]=await (0,i.Vx)((0,i.iP)());return null!=e?e:[]},{manual:!0});(0,o.useEffect)(()=>{if(R.length&&"chat_agent"===h){var e;let t=null===(e=R.find(e=>e.conv_uid===p))||void 0===e?void 0:e.select_param;t&&$(t)}},[R,h,p]);let{data:F=[]}=(0,a.Z)(async()=>{let[,e]=await (0,i.Vx)((0,i.Vw)());return null!=e?e:[]});(0,o.useEffect)(()=>{Z(function(){let e=localStorage.getItem(s.he);return e||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")}())},[]),(0,o.useEffect)(()=>{b(F[0])},[F,null==F?void 0:F.length]);let N=(0,o.useMemo)(()=>R.find(e=>e.conv_uid===p),[p,R]);return(0,r.jsx)(c.Provider,{value:{isContract:g,isMenuExpand:x,scene:h,chatId:p,modelList:F,model:y,dbParam:C||m,dialogueList:R,agent:E,setAgent:$,mode:_,setMode:Z,setModel:b,setIsContract:v,setIsMenuExpand:w,setDbParam:S,queryDialogueList:A,refreshDialogList:M,currentDialogue:N,history:O,setHistory:k,docId:j,setDocId:P},children:f})}},58989:function(e,t,n){"use strict";n.d(t,{Z:function(){return z}});let r={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class o{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||r,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=Array(e),n=0;n{this.observers[e]=this.observers[e]||[],this.observers[e].push(t)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e]=this.observers[e].filter(e=>e!==t)}}emit(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r{e(...n)})}if(this.observers["*"]){let t=[].concat(this.observers["*"]);t.forEach(t=>{t.apply(t,[e,...n])})}}}function l(){let e,t;let n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}function s(e){return null==e?"":""+e}function c(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}let i="string"!=typeof t?[].concat(t):t.split(".");for(;i.length>1;){if(o())return{};let t=r(i.shift());!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function u(e,t,n){let{obj:r,k:o}=c(e,t,Object);r[o]=n}function f(e,t){let{obj:n,k:r}=c(e,t);if(n)return n[r]}function d(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var p={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function h(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,e=>p[e]):e}let m=[" ",",","?","!",";"];function g(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];let r=t.split(n),o=e;for(let e=0;ee+i;)i++,l=o[a=r.slice(e,e+i).join(n)];if(void 0===l)return;if(null===l)return null;if(t.endsWith(a)){if("string"==typeof l)return l;if(a&&"string"==typeof l[a])return l[a]}let s=r.slice(e+i).join(n);if(s)return g(l,s,n);return}o=o[r[e]]}return o}function v(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}class y extends a{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."));let l=f(this.data,a);return l||!i||"string"!=typeof n?l:g(this.data&&this.data[e]&&this.data[e][t],n,o)}addResource(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),u(this.data,a,r),o.silent||this.emit("added",e,t,n,r)}addResources(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(let r in n)("string"==typeof n[r]||"[object Array]"===Object.prototype.toString.apply(n[r]))&&this.addResource(e,t,r,n[r],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);let l=f(this.data,a)||{};r?function e(t,n,r){for(let o in n)"__proto__"!==o&&"constructor"!==o&&(o in t?"string"==typeof t[o]||t[o]instanceof String||"string"==typeof n[o]||n[o]instanceof String?r&&(t[o]=n[o]):e(t[o],n[o],r):t[o]=n[o]);return t}(l,n,o):l={...l,...n},u(this.data,a,l),i.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return(t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e),n=t&&Object.keys(t)||[];return!!n.find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var b={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,o){return e.forEach(e=>{this.processors[e]&&(t=this.processors[e].process(t,n,r,o))}),t}};let x={};class w extends a{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),function(e,t,n){e.forEach(e=>{t[e]&&(n[e]=t[e])})}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=i.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;let n=this.resolve(e,t);return n&&void 0!==n.res}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");let r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],i=n&&e.indexOf(n)>-1,a=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!function(e,t,n){t=t||"",n=n||"";let r=m.filter(e=>0>t.indexOf(e)&&0>n.indexOf(e));if(0===r.length)return!0;let o=RegExp(`(${r.map(e=>"?"===e?"\\?":e).join("|")})`),i=!o.test(e);if(!i){let t=e.indexOf(n);t>0&&!o.test(e.substring(0,t))&&(i=!0)}return i}(e,n,r);if(i&&!a){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:o};let i=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(i[0])>-1)&&(o=i.shift()),e=i.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}translate(e,t,n){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);let r=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:i,namespaces:a}=this.extractFromKey(e[e.length-1],t),l=a[a.length-1],s=t.lng||this.language,c=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(s&&"cimode"===s.toLowerCase()){if(c){let e=t.nsSeparator||this.options.nsSeparator;return r?{res:`${l}${e}${i}`,usedKey:i,exactUsedKey:i,usedLng:s,usedNS:l}:`${l}${e}${i}`}return r?{res:i,usedKey:i,exactUsedKey:i,usedLng:s,usedNS:l}:i}let u=this.resolve(e,t),f=u&&u.res,d=u&&u.usedKey||i,p=u&&u.exactUsedKey||i,h=Object.prototype.toString.apply(f),m=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,g=!this.i18nFormat||this.i18nFormat.handleAsObject,v="string"!=typeof f&&"boolean"!=typeof f&&"number"!=typeof f;if(g&&f&&v&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(h)&&!("string"==typeof m&&"[object Array]"===h)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(d,f,{...t,ns:a}):`key '${i} (${this.language})' returned an object instead of string.`;return r?(u.res=e,u):e}if(o){let e="[object Array]"===h,n=e?[]:{},r=e?p:d;for(let e in f)if(Object.prototype.hasOwnProperty.call(f,e)){let i=`${r}${o}${e}`;n[e]=this.translate(i,{...t,joinArrays:!1,ns:a}),n[e]===i&&(n[e]=f[e])}f=n}}else if(g&&"string"==typeof m&&"[object Array]"===h)(f=f.join(m))&&(f=this.extendTranslation(f,e,t,n));else{let r=!1,a=!1,c=void 0!==t.count&&"string"!=typeof t.count,d=w.hasDefaultValue(t),p=c?this.pluralResolver.getSuffix(s,t.count,t):"",h=t.ordinal&&c?this.pluralResolver.getSuffix(s,t.count,{ordinal:!1}):"",m=t[`defaultValue${p}`]||t[`defaultValue${h}`]||t.defaultValue;!this.isValidLookup(f)&&d&&(r=!0,f=m),this.isValidLookup(f)||(a=!0,f=i);let g=t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,v=g&&a?void 0:f,y=d&&m!==f&&this.options.updateMissing;if(a||r||y){if(this.logger.log(y?"updateKey":"missingKey",s,l,i,y?m:f),o){let e=this.resolve(i,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let t=0;t{let o=d&&r!==f?r:v;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,n,o,y,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,l,n,o,y,t),this.emit("missingKey",e,l,n,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&c?e.forEach(e=>{this.pluralResolver.getSuffixes(e,t).forEach(n=>{r([e],i+n,t[`defaultValue${n}`]||m)})}):r(e,i,m))}f=this.extendTranslation(f,e,t,u,n),a&&f===i&&this.options.appendNamespaceToMissingKey&&(f=`${l}:${i}`),(a||r)&&this.options.parseMissingKeyHandler&&(f="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${i}`:i,r?f:void 0):this.options.parseMissingKeyHandler(f))}return r?(u.res=f,u):f}extendTranslation(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){let a;n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});let l="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(l){let t=e.match(this.interpolator.nestingRegexp);a=t&&t.length}let s=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,n.lng||this.language,n),l){let t=e.match(this.interpolator.nestingRegexp),r=t&&t.length;a1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(t))return;let l=this.extractFromKey(e,a),s=l.key;n=s;let c=l.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));let u=void 0!==a.count&&"string"!=typeof a.count,f=u&&!a.ordinal&&0===a.count&&this.pluralResolver.shouldUseIntlApi(),d=void 0!==a.context&&("string"==typeof a.context||"number"==typeof a.context)&&""!==a.context,p=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);c.forEach(e=>{this.isValidLookup(t)||(i=e,!x[`${p[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(i)&&(x[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${p.join(", ")}" won't get resolved as namespace "${i}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach(n=>{let i;if(this.isValidLookup(t))return;o=n;let l=[s];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(l,s,n,e,a);else{let e;u&&(e=this.pluralResolver.getSuffix(n,a.count,a));let t=`${this.options.pluralSeparator}zero`,r=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(l.push(s+e),a.ordinal&&0===e.indexOf(r)&&l.push(s+e.replace(r,this.options.pluralSeparator)),f&&l.push(s+t)),d){let n=`${s}${this.options.contextSeparator}${a.context}`;l.push(n),u&&(l.push(n+e),a.ordinal&&0===e.indexOf(r)&&l.push(n+e.replace(r,this.options.pluralSeparator)),f&&l.push(n+t))}}for(;i=l.pop();)this.isValidLookup(t)||(r=i,t=this.getResource(n,e,i,a))}))})}),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}static hasDefaultValue(e){let t="defaultValue";for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&void 0!==e[n])return!0;return!1}}function C(e){return e.charAt(0).toUpperCase()+e.slice(1)}class S{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=i.create("languageUtils")}getScriptPartFromCode(e){if(!(e=v(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=v(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"==typeof e&&e.indexOf("-")>-1){let t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(e=>e.toLowerCase()):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=C(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=C(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=C(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let n=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(e=>{if(e===n||!(0>e.indexOf("-")&&0>n.indexOf("-"))&&0===e.indexOf(n))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){let n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],o=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return"string"==typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),n.forEach(e=>{0>r.indexOf(e)&&o(this.formatLanguageCode(e))}),r}}let E=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],$={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},O=["v1","v2","v3"],k=["v4"],j={zero:0,one:1,two:2,few:3,many:4,other:5};class P{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=i.create("pluralResolver"),(!this.options.compatibilityJSON||k.includes(this.options.compatibilityJSON))&&("undefined"==typeof Intl||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){let e={};return E.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:$[t.fc]}})}),e}()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(v(e),{type:t.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((e,t)=>j[e]-j[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):n.numbers.map(n=>this.getSuffix(e,n,t)):[]}getSuffix(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:this.getSuffixRetroCompatible(r,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){let n=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),r=e.numbers[n];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===r?r="plural":1===r&&(r=""));let o=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return"v1"===this.options.compatibilityJSON?1===r?"":"number"==typeof r?`_plural_${r.toString()}`:o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?o():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!O.includes(this.options.compatibilityJSON)}}function _(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4)||void 0===arguments[4]||arguments[4],i=function(e,t,n){let r=f(e,n);return void 0!==r?r:f(t,n)}(e,t,n);return!i&&o&&"string"==typeof n&&void 0===(i=g(e,n,r))&&(i=g(t,n,r)),i}class Z{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=i.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});let t=e.interpolation;this.escape=void 0!==t.escape?t.escape:h,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?d(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?d(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?d(t.nestingPrefix):t.nestingPrefixEscaped||d("$t("),this.nestingSuffix=t.nestingSuffix?d(t.nestingSuffix):t.nestingSuffixEscaped||d(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=`${this.prefix}(.+?)${this.suffix}`;this.regexp=RegExp(e,"g");let t=`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`;this.regexpUnescape=RegExp(t,"g");let n=`${this.nestingPrefix}(.+?)${this.nestingSuffix}`;this.nestingRegexp=RegExp(n,"g")}interpolate(e,t,n,r){let o,i,a;let l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(e){return e.replace(/\$/g,"$$$$")}let u=e=>{if(0>e.indexOf(this.formatSeparator)){let o=_(t,l,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(o,void 0,n,{...r,...t,interpolationkey:e}):o}let o=e.split(this.formatSeparator),i=o.shift().trim(),a=o.join(this.formatSeparator).trim();return this.format(_(t,l,i,this.options.keySeparator,this.options.ignoreJSONStructure),a,n,{...r,...t,interpolationkey:i})};this.resetRegExp();let f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,p=[{regex:this.regexpUnescape,safeValue:e=>c(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?c(this.escape(e)):c(e)}];return p.forEach(t=>{for(a=0;o=t.regex.exec(e);){let n=o[1].trim();if(void 0===(i=u(n))){if("function"==typeof f){let t=f(e,o,r);i="string"==typeof t?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))i="";else if(d){i=o[0];continue}else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),i=""}else"string"==typeof i||this.useRawValueToEscape||(i=s(i));let l=t.safeValue(i);if(e=e.replace(o[0],l),d?(t.regex.lastIndex+=i.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=this.maxReplaces)break}}),e}nest(e,t){let n,r,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function a(e,t){let n=this.nestingOptionsSeparator;if(0>e.indexOf(n))return e;let r=e.split(RegExp(`${n}[ ]*{`)),i=`{${r[1]}`;e=r[0],i=this.interpolate(i,o);let a=i.match(/'/g),l=i.match(/"/g);(a&&a.length%2==0&&!l||l.length%2!=0)&&(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),t&&(o={...t,...o})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${n}${i}`}return delete o.defaultValue,e}for(;n=this.nestingRegexp.exec(e);){let l=[];(o=(o={...i}).replace&&"string"!=typeof o.replace?o.replace:o).applyPostProcessor=!1,delete o.defaultValue;let c=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){let e=n[1].split(this.formatSeparator).map(e=>e.trim());n[1]=e.shift(),l=e,c=!0}if((r=t(a.call(this,n[1].trim(),o),o))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=s(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),c&&(r=l.reduce((e,t)=>this.format(e,t,i.lng,{...i,interpolationkey:n[1].trim()}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}function A(e){let t={};return function(n,r,o){let i=r+JSON.stringify(o),a=t[i];return a||(a=e(v(r),o),t[i]=a),a(n)}}class R{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=i.create("formatter"),this.options=e,this.formats={number:A((e,t)=>{let n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:A((e,t)=>{let n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)}),datetime:A((e,t)=>{let n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:A((e,t)=>{let n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")}),list:A((e,t)=>{let n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=t.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=A(t)}format(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=t.split(this.formatSeparator),i=o.reduce((e,t)=>{let{formatName:o,formatOptions:i}=function(e){let t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){let r=e.split("(");t=r[0].toLowerCase().trim();let o=r[1].substring(0,r[1].length-1);if("currency"===t&&0>o.indexOf(":"))n.currency||(n.currency=o.trim());else if("relativetime"===t&&0>o.indexOf(":"))n.range||(n.range=o.trim());else{let e=o.split(";");e.forEach(e=>{if(!e)return;let[t,...r]=e.split(":"),o=r.join(":").trim().replace(/^'+|'+$/g,"");n[t.trim()]||(n[t.trim()]=o),"false"===o&&(n[t.trim()]=!1),"true"===o&&(n[t.trim()]=!0),isNaN(o)||(n[t.trim()]=parseInt(o,10))})}}return{formatName:t,formatOptions:n}}(t);if(this.formats[o]){let t=e;try{let a=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},l=a.locale||a.lng||r.locale||r.lng||n;t=this.formats[o](e,l,{...i,...r,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${o}`),e},e);return i}}class M extends a{constructor(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=i.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,r.backend,r)}queueLoad(e,t,n,r){let o={},i={},a={},l={};return e.forEach(e=>{let r=!0;t.forEach(t=>{let a=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===i[a]&&(i[a]=!0):(this.state[a]=1,r=!1,void 0===i[a]&&(i[a]=!0),void 0===o[a]&&(o[a]=!0),void 0===l[t]&&(l[t]=!0)))}),r||(a[e]=!0)}),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(l)}}loaded(e,t,n){let r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n),this.state[e]=t?-1:2;let a={};this.queue.forEach(n=>{(function(e,t,n,r){let{obj:o,k:i}=c(e,t,Object);o[i]=o[i]||[],r&&(o[i]=o[i].concat(n)),r||o[i].push(n)})(n.loaded,[o],i),void 0!==n.pending[e]&&(delete n.pending[e],n.pendingCount--),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(e=>{a[e]||(a[e]={});let t=n.loaded[e];t.length&&t.forEach(t=>{void 0===a[e][t]&&(a[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!e.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:o,callback:i});return}this.readingCalls++;let a=(a,l)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(a&&l&&r{this.read.call(this,e,t,n,r+1,2*o,i)},o);return}i(a,l)},l=this.backend[n].bind(this.backend);if(2===l.length){try{let n=l(e,t);n&&"function"==typeof n.then?n.then(e=>a(null,e)).catch(a):a(null,n)}catch(e){a(e)}return}return l(e,t,a)}prepareLoading(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);let o=this.queueLoad(e,t,n,r);if(!o.toLoad.length)return o.pending.length||r(),null;o.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.split("|"),r=n[0],o=n[1];this.read(r,o,"read",void 0,void 0,(n,i)=>{n&&this.logger.warn(`${t}loading namespace ${o} for language ${r} failed`,n),!n&&i&&this.logger.log(`${t}loaded namespace ${o} for language ${r}`,i),this.loaded(e,n,i)})}saveMissing(e,t,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(null!=n&&""!==n){if(this.backend&&this.backend.create){let l={...i,isUpdate:o},s=this.backend.create.bind(this.backend);if(s.length<6)try{let o;(o=5===s.length?s(e,t,n,r,l):s(e,t,n,r))&&"function"==typeof o.then?o.then(e=>a(null,e)).catch(a):a(null,o)}catch(e){a(e)}else s(e,t,n,r,a,l)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}}function F(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:(e,t,n,r)=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function N(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function T(){}class I extends a{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=N(e),this.services={},this.logger=i,this.modules={external:[]},!function(e){let t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})}(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));let r=F();function o(e){return e?"function"==typeof e?new e:e:null}if(this.options={...r,...this.options,...N(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...r.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){let t;this.modules.logger?i.init(o(this.modules.logger),this.options):i.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=R);let n=new S(this.options);this.store=new y(this.options.resources,this.options);let a=this.services;a.logger=i,a.resourceStore=this.store,a.languageUtils=n,a.pluralResolver=new P(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),t&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(a.formatter=o(t),a.formatter.init(a,this.options),this.options.interpolation.format=a.formatter.format.bind(a.formatter)),a.interpolator=new Z(this.options),a.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},a.backendConnector=new M(o(this.modules.backend),a.resourceStore,a,this.options),a.backendConnector.on("*",function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o1?n-1:0),o=1;o{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,n||(n=T),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(t=>{this[t]=function(){return e.store[t](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(t=>{this[t]=function(){return e.store[t](...arguments),e}});let a=l(),s=()=>{let e=(e,t)=>{this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(t),n(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?s():setTimeout(s,0),a}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T,n=t,r="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return n();let e=[],t=t=>{if(!t||"cimode"===t)return;let n=this.services.languageUtils.toResolveHierarchy(t);n.forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};if(r)t(r);else{let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.forEach(e=>t(e))}this.options.preload&&this.options.preload.forEach(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){let r=l();return e||(e=this.languages),t||(t=this.options.ns),n||(n=T),this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&b.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;let r=l();this.emit("languageChanging",e);let o=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(e,i)=>{i?(o(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,r.resolve(function(){return n.t(...arguments)}),t&&t(e,function(){return n.t(...arguments)})},a=t=>{e||t||!this.services.languageDetector||(t=[]);let n="string"==typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);n&&(this.language||o(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,e=>{i(e,n)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}getFixedT(e,t,n){var r=this;let o=function(e,t){let i,a;if("object"!=typeof t){for(var l=arguments.length,s=Array(l>2?l-2:0),c=2;c`${i.keyPrefix}${u}${e}`):i.keyPrefix?`${i.keyPrefix}${u}${e}`:e,r.t(a,i)};return"string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;let i=(e,t)=>{let n=this.services.backendConnector.state[`${e}|${t}`];return -1===n||2===n};if(t.precheck){let e=t.precheck(this,i);if(void 0!==e)return e}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(n,e)&&(!r||i(o,e)))}loadNamespaces(e,t){let n=l();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){let n=l();"string"==typeof e&&(e=[e]);let r=this.options.preload||[],o=e.filter(e=>0>r.indexOf(e));return o.length?(this.options.preload=r.concat(o),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";let t=this.services&&this.services.languageUtils||new S(F());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new I(e,t)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T,n=e.forkResourceStore;n&&delete e.forkResourceStore;let r={...this.options,...e,isClone:!0},o=new I(r);return(void 0!==e.debug||void 0!==e.prefix)&&(o.logger=o.logger.clone(e)),["store","services","language"].forEach(e=>{o[e]=this[e]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},n&&(o.store=new y(this.store.data,r),o.services.resourceStore=o.store),o.translator=new w(o.services,r),o.translator.on("*",function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r{let{componentCls:t,width:n,notificationMarginEdge:r}=e,o=new y.E4("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),i=new y.E4("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),a=new y.E4("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:n},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${t}-top, &${t}-bottom`]:{marginInline:0},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:o}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:i}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:r,[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}}}};let S=e=>{let{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:o,notificationMarginBottom:i,borderRadiusLG:a,colorSuccess:l,colorInfo:s,colorWarning:c,colorError:u,colorTextHeading:f,notificationBg:d,notificationPadding:p,notificationMarginEdge:h,motionDurationMid:m,motionEaseInOut:g,fontSize:v,lineHeight:x,width:w,notificationIconSize:S,colorText:E}=e,$=`${n}-notice`,O=new y.E4("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:w},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),k=new y.E4("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:i,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),j={position:"relative",width:w,maxWidth:`calc(100vw - ${2*h}px)`,marginBottom:i,marginInlineStart:"auto",padding:p,overflow:"hidden",lineHeight:x,wordWrap:"break-word",background:d,borderRadius:a,boxShadow:r,[`${n}-close-icon`]:{fontSize:v,cursor:"pointer"},[`${$}-message`]:{marginBottom:e.marginXS,color:f,fontSize:o,lineHeight:e.lineHeightLG},[`${$}-description`]:{fontSize:v,color:E},[`&${$}-closable ${$}-message`]:{paddingInlineEnd:e.paddingLG},[`${$}-with-icon ${$}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.marginSM+S,fontSize:o},[`${$}-with-icon ${$}-description`]:{marginInlineStart:e.marginSM+S,fontSize:v},[`${$}-icon`]:{position:"absolute",fontSize:S,lineHeight:0,[`&-success${t}`]:{color:l},[`&-info${t}`]:{color:s},[`&-warning${t}`]:{color:c},[`&-error${t}`]:{color:u}},[`${$}-close`]:{position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.wireframe?"transparent":e.colorFillContent}},[`${$}-btn`]:{float:"right",marginTop:e.marginSM}};return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,b.Wf)(e)),{position:"fixed",zIndex:e.zIndexPopup,marginInlineEnd:h,[`${n}-hook-holder`]:{position:"relative"},[`&${n}-top, &${n}-bottom`]:{[$]:{marginInline:"auto auto"}},[`&${n}-topLeft, &${n}-bottomLeft`]:{[$]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${n}-fade-enter, ${n}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:g,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${n}-fade-leave`]:{animationTimingFunction:g,animationFillMode:"both",animationDuration:m,animationPlayState:"paused"},[`${n}-fade-enter${n}-fade-enter-active, ${n}-fade-appear${n}-fade-appear-active`]:{animationName:O,animationPlayState:"running"},[`${n}-fade-leave${n}-fade-leave-active`]:{animationName:k,animationPlayState:"running"}}),C(e)),{"&-rtl":{direction:"rtl",[`${$}-btn`]:{float:"left"}}})},{[n]:{[$]:Object.assign({},j)}},{[`${$}-pure-panel`]:Object.assign(Object.assign({},j),{margin:0})}]};var E=(0,x.Z)("Notification",e=>{let t=e.paddingMD,n=e.paddingLG,r=(0,w.TS)(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.fontSizeLG*e.lineHeightLG,notificationCloseButtonSize:.55*e.controlHeightLG,notificationMarginBottom:e.margin,notificationPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`,notificationMarginEdge:e.marginLG,animationMaxHeight:150});return[S(r)]},e=>({zIndexPopup:e.zIndexPopupBase+50,width:384})),$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};function O(e,t){return null===t||!1===t?null:t||i.createElement("span",{className:`${e}-close-x`},i.createElement(u.Z,{className:`${e}-close-icon`}))}d.Z,s.Z,c.Z,f.Z,p.Z;let k={success:s.Z,info:d.Z,error:c.Z,warning:f.Z},j=e=>{let{prefixCls:t,icon:n,type:r,message:o,description:a,btn:l,role:s="alert"}=e,c=null;return n?c=i.createElement("span",{className:`${t}-icon`},n):r&&(c=i.createElement(k[r]||null,{className:m()(`${t}-icon`,`${t}-icon-${r}`)})),i.createElement("div",{className:m()({[`${t}-with-icon`]:c}),role:s},c,i.createElement("div",{className:`${t}-message`},o),i.createElement("div",{className:`${t}-description`},a),l&&i.createElement("div",{className:`${t}-btn`},l))};var P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let _=e=>{let{children:t,prefixCls:n}=e,[,r]=E(n);return i.createElement(g.JB,{classNames:{list:r,notice:r}},t)},Z=(e,t)=>{let{prefixCls:n,key:r}=t;return i.createElement(_,{prefixCls:n,key:r},e)},A=i.forwardRef((e,t)=>{let{top:n,bottom:r,prefixCls:o,getContainer:a,maxCount:l,rtl:s,onAllRemoved:c}=e,{getPrefixCls:u,getPopupContainer:f,notification:d}=i.useContext(v.E_),p=o||u("notification"),[h,y]=(0,g.lm)({prefixCls:p,style:e=>(function(e,t,n){let r;switch(e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n}}return r})(e,null!=n?n:24,null!=r?r:24),className:()=>m()({[`${p}-rtl`]:s}),motion:()=>({motionName:`${p}-fade`}),closable:!0,closeIcon:O(p),duration:4.5,getContainer:()=>(null==a?void 0:a())||(null==f?void 0:f())||document.body,maxCount:l,onAllRemoved:c,renderNotifications:Z});return i.useImperativeHandle(t,()=>Object.assign(Object.assign({},h),{prefixCls:p,notification:d})),y});function R(e){let t=i.useRef(null),n=i.useMemo(()=>{let n=n=>{var r;if(!t.current)return;let{open:o,prefixCls:a,notification:l}=t.current,s=`${a}-notice`,{message:c,description:u,icon:f,type:d,btn:p,className:h,style:g,role:v="alert",closeIcon:y}=n,b=P(n,["message","description","icon","type","btn","className","style","role","closeIcon"]),x=O(s,y);return o(Object.assign(Object.assign({placement:null!==(r=null==e?void 0:e.placement)&&void 0!==r?r:"topRight"},b),{content:i.createElement(j,{prefixCls:s,icon:f,type:d,message:c,description:u,btn:p,role:v}),className:m()(d&&`${s}-${d}`,h,null==l?void 0:l.className),style:Object.assign(Object.assign({},null==l?void 0:l.style),g),closeIcon:x,closable:!!x}))},r={open:n,destroy:e=>{var n,r;void 0!==e?null===(n=t.current)||void 0===n||n.close(e):null===(r=t.current)||void 0===r||r.destroy()}};return["success","info","warning","error"].forEach(e=>{r[e]=t=>n(Object.assign(Object.assign({},t),{type:e}))}),r},[]);return[n,i.createElement(A,Object.assign({key:"notification-holder"},e,{ref:t}))]}let M=null,F=e=>e(),N=[],T={};function I(){let{prefixCls:e,getContainer:t,rtl:n,maxCount:r,top:o,bottom:i}=T,a=null!=e?e:(0,l.w6)().getPrefixCls("notification"),s=(null==t?void 0:t())||document.body;return{prefixCls:a,getContainer:()=>s,rtl:n,maxCount:r,top:o,bottom:i}}let L=i.forwardRef((e,t)=>{let[n,r]=i.useState(I),[o,a]=R(n),s=(0,l.w6)(),c=s.getRootPrefixCls(),u=s.getIconPrefixCls(),f=s.getTheme(),d=()=>{r(I)};return i.useEffect(d,[]),i.useImperativeHandle(t,()=>{let e=Object.assign({},o);return Object.keys(e).forEach(t=>{e[t]=function(){return d(),o[t].apply(o,arguments)}}),{instance:e,sync:d}}),i.createElement(l.ZP,{prefixCls:c,iconPrefixCls:u,theme:f},a)});function B(){if(!M){let e=document.createDocumentFragment(),t={fragment:e};M=t,F(()=>{(0,a.s)(i.createElement(L,{ref:e=>{let{instance:n,sync:r}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=r,B())})}}),e)});return}M.instance&&(N.forEach(e=>{switch(e.type){case"open":F(()=>{M.instance.open(Object.assign(Object.assign({},T),e.config))});break;case"destroy":F(()=>{null==M||M.instance.destroy(e.key)})}}),N=[])}function z(e){N.push({type:"open",config:e}),B()}let D={open:z,destroy:function(e){N.push({type:"destroy",key:e}),B()},config:function(e){T=Object.assign(Object.assign({},T),e),F(()=>{var e;null===(e=null==M?void 0:M.sync)||void 0===e||e.call(M)})},useNotification:function(e){return R(e)},_InternalPanelDoNotUseOrYouWillBeFired:e=>{let{prefixCls:t,className:n,icon:r,type:o,message:a,description:l,btn:s,closable:c=!0,closeIcon:u}=e,f=$(e,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:d}=i.useContext(v.E_),p=t||d("notification"),h=`${p}-notice`,[,y]=E(p);return i.createElement(g.qX,Object.assign({},f,{prefixCls:p,className:m()(n,y,`${h}-pure-panel`),eventKey:"pure",duration:null,closable:c,closeIcon:O(p,u),content:i.createElement(j,{prefixCls:h,icon:r,type:o,message:a,description:l,btn:s})}))}};["success","info","warning","error"].forEach(e=>{D[e]=t=>z(Object.assign(Object.assign({},t),{type:e}))});let H=(e,t)=>e.then(e=>{let{data:n}=e;if(!n)throw Error("Network Error!");if(!n.success){if("*"===t||n.err_code&&t&&t.includes(n.err_code));else{var r;D.error({message:"Request error",description:null!==(r=null==n?void 0:n.err_msg)&&void 0!==r?r:"The interface is abnormal. Please try again later"})}}return[null,n.data,n,e]}).catch(e=>(D.error({message:"Request error",description:e.message}),[e,null,null,null])),V=()=>eI("/api/v1/chat/dialogue/scenes"),U=e=>eI("/api/v1/chat/dialogue/new",e),W=()=>eT("/api/v1/chat/db/list"),q=()=>eT("/api/v1/chat/db/support/type"),K=e=>eI("/api/v1/chat/db/delete?db_name=".concat(e)),G=e=>eI("/api/v1/chat/db/edit",e),X=e=>eI("/api/v1/chat/db/add",e),Y=e=>eI("/api/v1/chat/db/test/connect",e),J=()=>eT("/api/v1/chat/dialogue/list"),Q=()=>eT("/api/v1/model/types"),ee=e=>eI("/api/v1/chat/mode/params/list?chat_mode=".concat(e)),et=e=>eT("/api/v1/chat/dialogue/messages/history?con_uid=".concat(e)),en=e=>{let{convUid:t,chatMode:n,data:r,config:o,model:i}=e;return eI("/api/v1/chat/mode/params/file/load?conv_uid=".concat(t,"&chat_mode=").concat(n,"&model_name=").concat(i),r,{headers:{"Content-Type":"multipart/form-data"},...o})},er=e=>eI("/api/v1/chat/dialogue/delete?con_uid=".concat(e)),eo=e=>eI("/knowledge/".concat(e,"/arguments"),{}),ei=(e,t)=>eI("/knowledge/".concat(e,"/argument/save"),t),ea=()=>eI("/knowledge/space/list",{}),el=(e,t)=>eI("/knowledge/".concat(e,"/document/list"),t),es=(e,t)=>eI("/knowledge/".concat(e,"/document/add"),t),ec=e=>eI("/knowledge/space/add",e),eu=()=>eT("/knowledge/document/chunkstrategies"),ef=(e,t)=>eI("/knowledge/".concat(e,"/document/sync"),t),ed=(e,t)=>eI("/knowledge/".concat(e,"/document/sync_batch"),t),ep=(e,t)=>eI("/knowledge/".concat(e,"/document/upload"),t),eh=(e,t)=>eI("/knowledge/".concat(e,"/chunk/list"),t),em=(e,t)=>eI("/knowledge/".concat(e,"/document/delete"),t),eg=e=>eI("/knowledge/space/delete",e),ev=()=>eT("/api/v1/worker/model/list"),ey=e=>eI("/api/v1/worker/model/stop",e),eb=e=>eI("/api/v1/worker/model/start",e),ex=()=>eT("/api/v1/worker/model/params"),ew=e=>eI("/api/v1/agent/query",e),eC=e=>eI("/api/v1/agent/hub/update",null!=e?e:{channel:"",url:"",branch:"",authorization:""}),eS=e=>eI("/api/v1/agent/my",void 0,{params:{user:e}}),eE=(e,t)=>eI("/api/v1/agent/install",void 0,{params:{plugin_name:e,user:t},timeout:6e4}),e$=(e,t)=>eI("/api/v1/agent/uninstall",void 0,{params:{plugin_name:e,user:t},timeout:6e4}),eO=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return eI("/api/v1/personal/agent/upload",t,{params:{user:e},headers:{"Content-Type":"multipart/form-data"},...n})},ek=()=>eT("/api/v1/dbgpts/list"),ej=()=>eT("/api/v1/feedback/select",void 0),eP=(e,t)=>eT("/api/v1/feedback/find?conv_uid=".concat(e,"&conv_index=").concat(t),void 0),e_=e=>{let{data:t,config:n}=e;return eI("/api/v1/feedback/commit",t,{headers:{"Content-Type":"application/json"},...n})},eZ=e=>eI("/prompt/list",e),eA=e=>eI("/prompt/update",e),eR=e=>eI("/prompt/add",e);var eM=n(83454);let eF=o.Z.create({baseURL:null!==(r=eM.env.API_BASE_URL)&&void 0!==r?r:""}),eN=["/db/add","/db/test/connect","/db/summary","/params/file/load","/chat/prepare","/model/start","/model/stop","/editor/sql/run","/sql/editor/submit","/editor/chart/run","/chart/editor/submit","/document/upload","/document/sync","/agent/install","/agent/uninstall","/personal/agent/upload"];eF.interceptors.request.use(e=>{let t=eN.some(t=>e.url&&e.url.indexOf(t)>=0);return e.timeout||(e.timeout=t?6e4:1e4),e});let eT=(e,t,n)=>eF.get(e,{params:t,...n}),eI=(e,t,n)=>eF.post(e,t,n)},1051:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(85893);function o(){return(0,r.jsx)("svg",{className:"mr-1",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"6058",width:"1.5em",height:"1.5em",children:(0,r.jsx)("path",{d:"M688 312c0 4.4-3.6 8-8 8H296c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h384c4.4 0 8 3.6 8 8v48z m-392 88h184c4.4 0 8 3.6 8 8v48c0 4.4-3.6 8-8 8H296c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8z m376 116c119.3 0 216 96.7 216 216s-96.7 216-216 216-216-96.7-216-216 96.7-216 216-216z m107.5 323.5C808.2 810.8 824 772.6 824 732s-15.8-78.8-44.5-107.5S712.6 580 672 580s-78.8 15.8-107.5 44.5S520 691.4 520 732s15.8 78.8 44.5 107.5S631.4 884 672 884s78.8-15.8 107.5-44.5zM440 852c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H168c-17.7 0-32-14.3-32-32V108c0-17.7 14.3-32 32-32h640c17.7 0 32 14.3 32 32v384c0 4.4-3.6 8-8 8h-56c-4.4 0-8-3.6-8-8V148H208v704h232z m232-76.06l-20.56 28.43c-1.5 2.1-3.9 3.3-6.5 3.3h-44.3c-6.5 0-10.3-7.4-6.4-12.7l45.75-63.3-45.75-63.3c-3.9-5.3-0.1-12.7 6.4-12.7h44.3c2.6 0 5 1.2 6.5 3.3L672 687.4l20.56-28.43c1.5-2.1 3.9-3.3 6.5-3.3h44.3c6.5 0 10.3 7.4 6.4 12.7l-45.75 63.3 45.75 63.3c3.9 5.3 0.1 12.7-6.4 12.7h-44.3c-2.6 0-5-1.2-6.5-3.3L672 775.94z",fill:"#d81e06","p-id":"6059"})})}n(67294)},82353:function(e,t,n){"use strict";n.d(t,{O7:function(){return u},RD:function(){return a},In:function(){return o},zM:function(){return i},je:function(){return l},DL:function(){return s},si:function(){return c},FD:function(){return f},qw:function(){return b},s2:function(){return m},FE:function(){return x.Z},Rp:function(){return g},IN:function(){return d},tu:function(){return v},ig:function(){return p},ol:function(){return h},bn:function(){return y}});var r=n(85893),o=function(){return(0,r.jsxs)("svg",{viewBox:"0 0 1116 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1581",className:"w-full h-full",children:[(0,r.jsx)("path",{d:"M80.75 80.75m67.14674945 0l805.76099677 0q67.14674945 0 67.14674947 67.14674945l0 604.32074759q0 67.14674945-67.14674947 67.14674945l-805.76099677 0q-67.14674945 0-67.14674945-67.14674945l0-604.32074759q0-67.14674945 67.14674945-67.14674945Z",fill:"#36CFC9","p-id":"1582"}),(0,r.jsx)("path",{d:"M1020.80449568 685.07074759v67.14674945a67.14674945 67.14674945 0 0 1-67.14674946 67.14674945h-308.20358111l91.3195796 100.72012459-24.84429735 22.49416172L600.46584251 819.36424649h-100.72012459L389.62504831 943.25 364.78075097 920.08437108l91.31957961-100.72012459H147.89674945a67.14674945 67.14674945 0 0 1-67.14674945-67.14674945v-67.14674946z",fill:"#08979C","p-id":"1583"}),(0,r.jsx)("path",{d:"M416.48374894 282.19024919v335.7337481H315.76362434V282.19024919z m167.86687404 134.29349975v201.44024834h-100.72012459v-201.44024834z m167.86687406 67.14674945v134.2934989h-100.7201246v-134.2934989z m-225.94881252-302.16037379v141.34390829h201.4402492V272.11823698L819.36424649 341.27938889l-91.3195796 63.45367858V356.38740719h-239.71389641V215.04349975H315.76362434V181.4701246z",fill:"#B5F5EC","p-id":"1584"}),(0,r.jsx)("path",{d:"M550.77724783 752.21749704m-33.57337513 0a33.57337515 33.57337515 0 1 0 67.14675028 0 33.57337515 33.57337515 0 1 0-67.14675028 0Z",fill:"#FFFFFF","p-id":"1585"})]})},i=function(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1722",className:"w-full h-full",children:[(0,r.jsx)("path",{d:"M207.83 962c-5.4 0-10.88-1.17-16.08-3.67-18.55-8.89-26.39-31.13-17.5-49.69l77.22-161.26c8.9-18.58 31.14-26.41 49.7-17.51 18.55 8.89 26.39 31.13 17.5 49.69l-77.22 161.26c-6.4 13.38-19.74 21.18-33.62 21.18zM821.57 962c-13.88 0-27.21-7.8-33.62-21.17l-77.24-161.26c-8.9-18.55-1.06-40.8 17.5-49.69 18.57-8.87 40.8-1.07 49.7 17.51l77.24 161.26c8.9 18.55 1.06 40.8-17.5 49.69a37.266 37.266 0 0 1-16.08 3.66z",fill:"#12926E","p-id":"1723"}),(0,r.jsx)("path",{d:"M156.74 105.14h710.51c50.7 0 91.8 41.1 91.8 91.8v525.82c0 50.7-41.1 91.8-91.8 91.8H156.74c-50.7 0-91.8-41.1-91.8-91.8V196.93c0.01-50.69 41.11-91.79 91.8-91.79z",fill:"#39E2A0","p-id":"1724"}),(0,r.jsx)("path",{d:"M835.65 686.01h-614.7c-5.14 0-9.31-4.17-9.31-9.31 0-5.14 4.17-9.31 9.31-9.31h614.7c5.14 0 9.31 4.17 9.31 9.31 0 5.14-4.17 9.31-9.31 9.31z",fill:"#D3F8EA","p-id":"1725"}),(0,r.jsx)("path",{d:"M699.31 631.94H624.8V454.95c0-11.28 9.14-20.42 20.42-20.42h33.67c11.28 0 20.42 9.14 20.42 20.42v176.99zM846.22 631.94h-74.51V346.76c0-11.28 9.14-20.42 20.42-20.42h33.67c11.28 0 20.42 9.14 20.42 20.42v285.18zM289.51 631.94H215V417.69c0-11.28 9.14-20.42 20.42-20.42h33.67c11.28 0 20.42 9.14 20.42 20.42v214.25zM436.42 631.94h-74.51V495.77c0-11.28 9.14-20.42 20.42-20.42H416c11.28 0 20.42 9.14 20.42 20.42v136.17z",fill:"#FFFFFF","p-id":"1726"}),(0,r.jsx)("path",{d:"M715.4 173.76H308.6c-11.11 0-20.12-9.01-20.12-20.12V82.12c0-11.11 9.01-20.12 20.12-20.12h406.8c11.11 0 20.12 9.01 20.12 20.12v71.52c0.01 11.11-9 20.12-20.12 20.12z",fill:"#12926E","p-id":"1727"})]})},a=function(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1129",className:"w-full h-full",children:[(0,r.jsx)("path",{d:"M226.3 70.4C151.1 91.6 91.6 151.1 70.4 226.3L226.3 70.4z",fill:"#FFA65A","p-id":"1130"}),(0,r.jsx)("path",{d:"M277.9 62.2c-116.5 4.7-211 99.1-215.7 215.7L277.9 62.2z",fill:"#FFA659","p-id":"1131"}),(0,r.jsx)("path",{d:"M321.5 62H287C163.3 62 62 163.3 62 287v34.5L321.5 62z",fill:"#FFA558","p-id":"1132"}),(0,r.jsx)("path",{d:"M365 62h-78C163.3 62 62 163.3 62 287v78L365 62z",fill:"#FFA557","p-id":"1133"}),(0,r.jsx)("path",{d:"M408.4 62H287C163.3 62 62 163.3 62 287v121.4L408.4 62z",fill:"#FFA556","p-id":"1134"}),(0,r.jsx)("path",{d:"M451.8 62H287c-35.9 0-69.8 8.5-100 23.6L85.6 187C70.5 217.2 62 251.1 62 287v164.8L451.8 62z",fill:"#FFA555","p-id":"1135"}),(0,r.jsx)("path",{d:"M495.3 62H287c-12.2 0-24.2 1-35.9 2.9L64.9 251.1C63 262.8 62 274.8 62 287v208.3L495.3 62z",fill:"#FFA454","p-id":"1136"}),(0,r.jsx)("path",{d:"M62 538.7L538.7 62H297.5L62 297.5z",fill:"#FFA453","p-id":"1137"}),(0,r.jsx)("path",{d:"M62 582.1L582.1 62H340.9L62 340.9z",fill:"#FFA452","p-id":"1138"}),(0,r.jsx)("path",{d:"M62 625.6L625.6 62H384.3L62 384.3z",fill:"#FFA451","p-id":"1139"}),(0,r.jsx)("path",{d:"M62 427.8V669L669 62H427.8z",fill:"#FFA450","p-id":"1140"}),(0,r.jsx)("path",{d:"M62 471.2v241.2L712.4 62H471.2z",fill:"#FFA34F","p-id":"1141"}),(0,r.jsx)("path",{d:"M737 62H514.6L62 514.6V737c0 6.1 0.3 12.1 0.7 18.1L755.1 62.7c-6-0.4-12-0.7-18.1-0.7z",fill:"#FFA34E","p-id":"1142"}),(0,r.jsx)("path",{d:"M737 62H558.1L62 558.1V737c0 19.1 2.4 37.6 6.9 55.4L792.4 68.9C774.6 64.4 756.1 62 737 62z",fill:"#FFA34D","p-id":"1143"}),(0,r.jsx)("path",{d:"M737 62H601.5L62 601.5V737c0 31.1 6.4 60.8 17.9 87.8L824.8 79.9C797.8 68.4 768.1 62 737 62z",fill:"#FFA34C","p-id":"1144"}),(0,r.jsx)("path",{d:"M853.5 94.7C819.4 74 779.5 62 737 62h-92.1L62 644.9V737c0 42.5 12 82.4 32.7 116.5L853.5 94.7z",fill:"#FFA24B","p-id":"1145"}),(0,r.jsx)("path",{d:"M878.9 112.7C840.1 81.1 790.7 62 737 62h-48.6L62 688.4V737c0 53.7 19.1 103.1 50.7 141.9l766.2-766.2z",fill:"#FFA24A","p-id":"1146"}),(0,r.jsx)("path",{d:"M737 62h-5.2L62 731.8v5.2c0 64.7 27.7 123.2 71.7 164.3l767.6-767.6C860.2 89.7 801.7 62 737 62z",fill:"#FFA249","p-id":"1147"}),(0,r.jsx)("path",{d:"M64.8 772.4c9.8 61 44.3 114.1 92.8 148.4l763.2-763.2c-34.3-48.6-87.4-83.1-148.4-92.8L64.8 772.4z",fill:"#FFA248","p-id":"1148"}),(0,r.jsx)("path",{d:"M73.3 807.3c18.7 56.4 59.2 103 111.3 129.9l752.6-752.6C910.4 132.5 863.7 92 807.3 73.3l-734 734z",fill:"#FFA247","p-id":"1149"}),(0,r.jsx)("path",{d:"M86.1 838c26.5 52.3 72.9 93.1 129.1 112.2l735-735C931.1 159 890.3 112.6 838 86.1L86.1 838z",fill:"#FFA147","p-id":"1150"}),(0,r.jsx)("path",{d:"M102.4 865.2c34 48.7 86.7 83.5 147.5 93.7l709-709c-10.2-60.8-45-113.5-93.7-147.5L102.4 865.2z",fill:"#FFA146","p-id":"1151"}),(0,r.jsx)("path",{d:"M962 287c0-65.2-28.1-124.1-72.7-165.3L121.7 889.3C162.9 933.9 221.8 962 287 962h3.2L962 290.2V287z",fill:"#FFA145","p-id":"1152"}),(0,r.jsx)("path",{d:"M962 287c0-54.2-19.4-104-51.6-143L144 910.4c39 32.2 88.8 51.6 143 51.6h46.6L962 333.6V287z",fill:"#FFA144","p-id":"1153"}),(0,r.jsx)("path",{d:"M962 287c0-43.1-12.3-83.4-33.5-117.7L169.3 928.5C203.6 949.7 243.9 962 287 962h90.1L962 377.1V287z",fill:"#FFA143","p-id":"1154"}),(0,r.jsx)("path",{d:"M287 962h133.5L962 420.5V287c0-31.6-6.6-61.8-18.5-89.2L197.8 943.4c27.4 12 57.6 18.6 89.2 18.6z",fill:"#FFA042","p-id":"1155"}),(0,r.jsx)("path",{d:"M287 962h176.9L962 463.9V287c0-19.7-2.6-38.7-7.4-56.9L230.1 954.6c18.2 4.8 37.2 7.4 56.9 7.4z",fill:"#FFA041","p-id":"1156"}),(0,r.jsx)("path",{d:"M287 962h220.4L962 507.4V287c0-6.7-0.3-13.4-0.9-20L267 961.1c6.6 0.6 13.3 0.9 20 0.9z",fill:"#FFA040","p-id":"1157"}),(0,r.jsx)("path",{d:"M550.8 962L962 550.8V309.6L309.6 962z",fill:"#FFA03F","p-id":"1158"}),(0,r.jsx)("path",{d:"M594.2 962L962 594.2V353L353 962z",fill:"#FF9F3E","p-id":"1159"}),(0,r.jsx)("path",{d:"M637.7 962L962 637.7V396.4L396.4 962z",fill:"#FF9F3D","p-id":"1160"}),(0,r.jsx)("path",{d:"M681.1 962L962 681.1V439.9L439.9 962z",fill:"#FF9F3C","p-id":"1161"}),(0,r.jsx)("path",{d:"M724.5 962L962 724.5V483.3L483.3 962z",fill:"#FF9F3B","p-id":"1162"}),(0,r.jsx)("path",{d:"M962 737V526.7L526.7 962H737c11.4 0 22.5-0.9 33.5-2.5l189-189c1.6-11 2.5-22.1 2.5-33.5z",fill:"#FF9F3A","p-id":"1163"}),(0,r.jsx)("path",{d:"M962 737V570.2L570.2 962H737c34.3 0 66.9-7.8 96.1-21.7l107.2-107.2c13.9-29.2 21.7-61.8 21.7-96.1z",fill:"#FF9E39","p-id":"1164"}),(0,r.jsx)("path",{d:"M962 613.6L613.6 962H737c123.8 0 225-101.3 225-225V613.6z",fill:"#FF9E38","p-id":"1165"}),(0,r.jsx)("path",{d:"M962 657L657 962h80c123.8 0 225-101.3 225-225v-80z",fill:"#FF9E37","p-id":"1166"}),(0,r.jsx)("path",{d:"M962 700.5L700.5 962H737c123.8 0 225-101.3 225-225v-36.5z",fill:"#FF9E36","p-id":"1167"}),(0,r.jsx)("path",{d:"M961.9 744L744 961.9c118.2-3.7 214.2-99.7 217.9-217.9z",fill:"#FF9D35","p-id":"1168"}),(0,r.jsx)("path",{d:"M954.4 795L795 954.4c77.4-20.8 138.6-82 159.4-159.4z",fill:"#FF9D34","p-id":"1169"}),(0,r.jsx)("path",{d:"M736.3 622.9L523.5 747.3c-5.6 3.3-12.4 3.3-18 0.1L287.8 622.6c-12.2-7-12-24.6 0.3-31.4l212.8-116.7c5.3-2.9 11.8-3 17.2-0.1l217.7 117c12.3 6.7 12.6 24.4 0.5 31.5z",fill:"#FFD9C0","p-id":"1170"}),(0,r.jsx)("path",{d:"M736.3 523.9L523.5 648.3c-5.6 3.3-12.4 3.3-18 0.1L287.8 523.6c-12.2-7-12-24.6 0.3-31.4l212.8-116.7c5.3-2.9 11.8-3 17.2-0.1l217.7 117c12.3 6.7 12.6 24.4 0.5 31.5z",fill:"#FFE8D9","p-id":"1171"}),(0,r.jsx)("path",{d:"M736.3 424.9L523.5 549.3c-5.6 3.3-12.4 3.3-18 0.1L287.8 424.6c-12.2-7-12-24.6 0.3-31.4l212.8-116.7c5.3-2.9 11.8-3 17.2-0.1l217.7 117c12.3 6.7 12.6 24.4 0.5 31.5z",fill:"#FFF6F0","p-id":"1172"})]})},l=function(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1300",className:"w-full h-full",children:[(0,r.jsx)("path",{d:"M197.99492187 62v900h-34.18066406C124.57285156 962 92.76171875 930.18886719 92.76171875 890.94746094V133.05253906C92.76171875 93.81113281 124.57285156 62 163.81425781 62h34.18066406z m662.19082032 0C899.42714844 62 931.23828125 93.81113281 931.23828125 133.05253906v757.89492188c0 39.24140625-31.81113281 71.05253906-71.05253906 71.05253906H276.92070312V62h583.26503907z",fill:"#19A05F","p-id":"1301"}),(0,r.jsx)("path",{d:"M577.0390625 62l0.33222656 220.3875 111.2475586-108.80771484L800.19951172 284.36328125V62zM425.40224609 508.18554688h377.05078125v50.94404296h-377.05078125V508.18554688z m0 101.88720703h377.05078125v50.94316406h-377.05078125v-50.94316406z",fill:"#FFFFFF","p-id":"1302"})]})},s=function(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2006",className:"w-full h-full",children:[(0,r.jsx)("path",{d:"M701.95942066 37.1014489H250.80579673a142.46956521 142.46956521 0 0 0-142.46956522 142.46956523v664.85797174a142.46956521 142.46956521 0 0 0 142.46956522 142.46956523h522.38840654a142.46956521 142.46956521 0 0 0 142.46956522-142.46956523V274.55072501L701.95942066 37.1014489z",fill:"#53D39C","p-id":"2007"}),(0,r.jsx)("path",{d:"M444.2794663 392.18309566l69.64387283 117.72735109h2.70692174l69.97630108-117.70360654h82.4661337l-105.40373371 172.67311305 107.77822609 172.6968587h-83.98580869l-70.83111847-117.89356521h-2.70692174L443.09222066 737.57681196h-83.65338045l108.11065544-172.6968587-106.09233586-172.6968576h82.82230651z",fill:"#25BF79","p-id":"2008"}),(0,r.jsx)("path",{d:"M444.2794663 380.31063151l69.64387283 117.7273511h2.70692174l69.97630108-117.70360543h82.4661337l-105.40373371 172.67311305L671.44718803 725.70434783h-83.98580869l-70.83111847-117.89356522h-2.70692174L443.09222066 725.70434783h-83.65338045l108.11065544-172.6968576-106.09233586-172.69685872h82.82230651z",fill:"#FFFFFF","p-id":"2009"}),(0,r.jsx)("path",{d:"M701.95942066 37.1014489l160.27826087 178.08695653L915.66376849 274.55072501h-142.46956522a71.23478261 71.23478261 0 0 1-71.23478261-71.23478261V37.1014489z",fill:"#25BF79","p-id":"2010"})]})},c=function(){return(0,r.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2147",className:"w-full h-full",children:(0,r.jsx)("path",{d:"M688.51536688 447.75428656l-2.39993719 1.25996719a200.75473031 200.75473031 0 0 1-7.19981156 38.03900156l-47.33875688 166.43563031 110.45710031-59.63843437-47.03876531-114.41699625a108.2971575 108.2971575 0 0 1-6.47982937-31.67916844z m194.87488406-200.99472375l-96.35747063-58.55846344-354.77068687 217.43429251a70.01816156 70.01816156 0 0 0-32.51914688 59.57843624v193.97490844l-158.99582625-98.09742562V362.67651969a69.4181775 69.4181775 0 0 1 33.95910844-60.41841375l358.67058469-206.99456625 13.55964469 7.97979L544.75914031 41.26495719a62.75835281 62.75835281 0 0 0-65.63827687 0L140.54975094 246.75956281a69.89816531 69.89816531 0 0 0-32.81913844 59.75843063v410.98921218c-0.11999719 24.47935781 12.2996775 47.1587625 32.81913844 59.81842969l338.5711125 205.49460563c20.21946937 12.23967844 45.35880937 12.23967844 65.63827687 0l338.69110875-205.49460563c20.33946563-12.41967375 32.87913656-35.09907844 32.8791375-59.81842968v-410.98921219a69.77816813 69.77816813 0 0 0-32.93913562-59.75843063z m-89.51764969 477.88745532l-31.01918625-75.65801438-150.53604844 81.35786438-30.47919937 108.95713968-95.81748563 51.7186425 151.61602032-485.20726312 103.79727562-56.09852719 148.73609531 322.97152219-96.29747156 51.95863594z m0-1e-8",fill:"#0F6CF9","p-id":"2148"})})},u=function(){return(0,r.jsxs)("svg",{className:"w-full h-full",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M416.9549913 314.32347826h297.42302609a119.56758261 119.56758261 0 0 1 119.56758261 119.56758261v179.19109565a196.71485217 196.71485217 0 0 1-196.71485217 196.71485218H416.9549913a119.56758261 119.56758261 0 0 1-119.5675826-119.56758261v-256.44521739A119.56758261 119.56758261 0 0 1 416.9549913 314.32347826z",fill:"#F5384A","p-id":"1186"}),(0,r.jsx)("path",{d:"M716.24793043 314.32347826H415.03165217a117.5373913 117.5373913 0 0 0-117.5373913 117.53739131v260.18504347c0 3.84667826 0 7.69335652 0.58768696 11.43318261a345.7202087 345.7202087 0 0 0 502.9531826-353.19986087A117.1634087 117.1634087 0 0 0 716.24793043 314.32347826z",fill:"#F54F5C","p-id":"1187"}),(0,r.jsx)("path",{d:"M318.91812174 594.54330435a345.7202087 345.7202087 0 0 0 420.73043478-249.07241739c2.35074783-9.18928696 4.22066087-18.432 5.82344348-27.67471305a117.10998261 117.10998261 0 0 0-29.22406957-3.63297391H415.03165217a117.5373913 117.5373913 0 0 0-117.5373913 117.5373913v156.43158261c6.9453913 2.35074783 14.10448696 4.54121739 21.42386087 6.41113044z",fill:"#F66C73","p-id":"1188"}),(0,r.jsx)("path",{d:"M630.17850435 314.32347826H415.03165217a117.5373913 117.5373913 0 0 0-117.5373913 117.53739131v48.08347826a346.14761739 346.14761739 0 0 0 332.68424348-165.62086957z",fill:"#F78989","p-id":"1189"}),(0,r.jsx)("path",{d:"M859.85725217 354.76702609h-25.53766956C802.26393043 200.52591304 669.92751304 84.59130435 512 84.59130435S221.73606957 200.52591304 189.68041739 354.76702609h-25.53766956a139.6557913 139.6557913 0 0 0-139.44208696 139.49551304v79.872a139.6557913 139.6557913 0 0 0 139.44208696 139.49551304h27.62128695a54.65488696 54.65488696 0 0 0 54.60146087-54.60146087V427.10594783C246.36549565 273.6128 365.50566957 148.7026087 512 148.7026087s265.63450435 124.9101913 265.63450435 278.40333913v159.3165913c0 116.09488696-74.79652174 219.47436522-181.38156522 251.42316522a30.23916522 30.23916522 0 0 0-3.09871304 1.06852174 60.15777391 60.15777391 0 1 0 18.05801739 61.06601739 23.50747826 23.50747826 0 0 0 3.36584348-0.69453913c93.12166957-27.88841739 166.63596522-98.67798261 203.01913043-187.79269565a54.92201739 54.92201739 0 0 0 14.90587826 2.13704347h27.62128696a139.6557913 139.6557913 0 0 0 139.44208696-139.49551304V494.26253913a139.6557913 139.6557913 0 0 0-139.7092174-139.49551304zM182.2541913 649.51874783h-18.11144347a75.43763478 75.43763478 0 0 1-75.33078261-75.3842087V494.26253913a75.43763478 75.43763478 0 0 1 75.33078261-75.3842087h18.11144347v230.6404174z m752.93384348-75.3842087a75.43763478 75.43763478 0 0 1-75.33078261 75.3842087h-18.11144347V418.87833043h18.11144347a75.43763478 75.43763478 0 0 1 75.33078261 75.3842087z",fill:"#444444","p-id":"1190"})]})},f=function(){return(0,r.jsx)("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",children:(0,r.jsx)("path",{d:"M593.054 120.217C483.656 148.739 402.91 248.212 402.91 366.546c0 140.582 113.962 254.544 254.544 254.544 118.334 0 217.808-80.746 246.328-190.144C909.17 457.12 912 484.23 912 512c0 220.914-179.086 400-400 400S112 732.914 112 512s179.086-400 400-400c27.77 0 54.88 2.83 81.054 8.217z","p-id":"5941"})})},d=function(){return(0,r.jsx)("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",version:"1.1",children:(0,r.jsx)("path",{d:"M513.89 950.72c-5.5 0-11-1.4-15.99-4.2L143.84 743c-9.85-5.73-15.99-16.17-15.99-27.64V308.58c0-11.33 6.14-21.91 15.99-27.64L497.9 77.43c9.85-5.73 22.14-5.73 31.99 0l354.06 203.52c9.85 5.73 15.99 16.17 15.99 27.64V715.5c0 11.33-6.14 21.91-15.99 27.64L529.89 946.52c-4.99 2.8-10.49 4.2-16 4.2zM191.83 697.15L513.89 882.2l322.07-185.05V326.92L513.89 141.87 191.83 326.92v370.23z m322.06-153.34c-5.37 0-10.88-1.4-15.99-4.33L244.29 393.91c-15.35-8.79-20.6-28.27-11.77-43.56 8.83-15.28 28.41-20.5 43.76-11.72l253.61 145.7c15.35 8.79 20.6 28.27 11.77 43.56-6.01 10.32-16.76 15.92-27.77 15.92z m0 291.52c-17.66 0-31.99-14.26-31.99-31.84V530.44L244.55 393.91s-0.13 0-0.13-0.13l-100.45-57.69c-15.35-8.79-20.6-28.27-11.77-43.56s28.41-20.5 43.76-11.72l354.06 203.52c9.85 5.73 15.99 16.17 15.99 27.64v291.39c-0.13 17.71-14.46 31.97-32.12 31.97z m0 115.39c-17.66 0-31.99-14.26-31.99-31.84V511.97c0-17.58 14.33-31.84 31.99-31.84s31.99 14.26 31.99 31.84v406.91c0 17.7-14.33 31.84-31.99 31.84z m0-406.91c-11 0-21.75-5.73-27.77-15.92-8.83-15.28-3.58-34.64 11.77-43.56l354.06-203.52c15.35-8.79 34.8-3.57 43.76 11.72 8.83 15.28 3.58 34.64-11.77 43.56L529.89 539.61c-4.99 2.93-10.49 4.2-16 4.2z"})})},p=function(){return(0,r.jsx)("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",version:"1.1",children:(0,r.jsx)("path",{d:"M602.24 246.72a17.28 17.28 0 0 0-11.84-16.32l-42.88-14.4A90.56 90.56 0 0 1 490.24 160l-14.4-42.88a17.28 17.28 0 0 0-32 0L428.8 160a90.56 90.56 0 0 1-57.28 57.28l-42.88 14.4a17.28 17.28 0 0 0 0 32l42.88 14.4a90.56 90.56 0 0 1 57.28 57.28l14.4 42.88a17.28 17.28 0 0 0 32 0l14.4-42.88a90.56 90.56 0 0 1 57.28-57.28l42.88-14.4a17.28 17.28 0 0 0 12.48-16.96z m301.12 221.76l-48.32-16a101.44 101.44 0 0 1-64-64l-16-48.32a19.2 19.2 0 0 0-36.8 0l-16 48.32a101.44 101.44 0 0 1-64 64l-48.32 16a19.2 19.2 0 0 0 0 36.8l48.32 16a101.44 101.44 0 0 1 64 64l16 48.32a19.2 19.2 0 0 0 36.8 0l16-48.32a101.44 101.44 0 0 1 64-64l48.32-16a19.2 19.2 0 0 0 0-36.8z m-376.64 195.52l-64-20.8a131.84 131.84 0 0 1-83.52-83.52l-20.8-64a25.28 25.28 0 0 0-47.68 0l-20.8 64a131.84 131.84 0 0 1-82.24 83.52l-64 20.8a25.28 25.28 0 0 0 0 47.68l64 20.8a131.84 131.84 0 0 1 83.52 83.84l20.8 64a25.28 25.28 0 0 0 47.68 0l20.8-64a131.84 131.84 0 0 1 83.52-83.52l64-20.8a25.28 25.28 0 0 0 0-47.68z","p-id":"3992"})})},h=function(){return(0,r.jsx)("svg",{width:"1em",height:"1em",fill:"currentColor",viewBox:"0 0 1024 1024",children:(0,r.jsx)("path",{d:"M554.6 64h-85.4v128h85.4V64z m258.2 87.4L736 228.2l59.8 59.8 76.8-76.8-59.8-59.8z m-601.6 0l-59.8 59.8 76.8 76.8 59.8-59.8-76.8-76.8zM512 256c-140.8 0-256 115.2-256 256s115.2 256 256 256 256-115.2 256-256-115.2-256-256-256z m448 213.4h-128v85.4h128v-85.4z m-768 0H64v85.4h128v-85.4zM795.8 736L736 795.8l76.8 76.8 59.8-59.8-76.8-76.8z m-567.6 0l-76.8 76.8 59.8 59.8 76.8-76.8-59.8-59.8z m326.4 96h-85.4v128h85.4v-128z","p-id":"7802"})})};function m(){return(0,r.jsxs)("svg",{className:"mr-1",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4602",width:"1.5em",height:"1.5em",children:[(0,r.jsx)("path",{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zM296 400c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zM672 516c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216z m107.5 323.5C750.8 868.2 712.6 884 672 884s-78.8-15.8-107.5-44.5C535.8 810.8 520 772.6 520 732s15.8-78.8 44.5-107.5C593.2 595.8 631.4 580 672 580s78.8 15.8 107.5 44.5C808.2 653.2 824 691.4 824 732s-15.8 78.8-44.5 107.5z","p-id":"4603",fill:"#87d068"}),(0,r.jsx)("path",{d:"M761 656h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-23.1-31.9c-1.5-2.1-3.9-3.3-6.5-3.3H573c-6.5 0-10.3 7.4-6.5 12.7l73.8 102.1c3.2 4.4 9.7 4.4 12.9 0l114.2-158c3.9-5.3 0.1-12.7-6.4-12.7z","p-id":"4604",fill:"#87d068"}),(0,r.jsx)("path",{d:"M440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z","p-id":"4605",fill:"#87d068"})]})}function g(){return(0,r.jsxs)("svg",{className:"mr-1",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4838",width:"1.5em",height:"1.5em",children:[(0,r.jsx)("path",{d:"M296 256c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zM488 456v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8z","p-id":"4839",fill:"#2db7f5"}),(0,r.jsx)("path",{d:"M440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z","p-id":"4840",fill:"#2db7f5"}),(0,r.jsx)("path",{d:"M544.1 736.4c1.8-34.5 16.2-66.8 40.8-91.4 26.2-26.2 62-41 99.1-41 37.4 0 72.6 14.6 99.1 41 3.2 3.2 6.3 6.6 9.2 10.1L769.2 673c-5.3 4.1-3.5 12.5 3 14.1l93.3 22.5c5 1.2 9.8-2.6 9.9-7.7l0.6-95.4c0-6.7-7.6-10.5-12.9-6.4l-20.3 15.8C805.4 569.6 748.1 540 684 540c-109.9 0-199.6 86.9-204 195.7-0.2 4.5 3.5 8.3 8 8.3h48.1c4.3 0 7.8-3.3 8-7.6zM880 744h-48.1c-4.3 0-7.8 3.3-8 7.6-1.8 34.5-16.2 66.8-40.8 91.4-26.2 26.2-62 41-99.1 41-37.4 0-72.6-14.6-99.1-41-3.2-3.2-6.3-6.6-9.2-10.1l23.1-17.9c5.3-4.1 3.5-12.5-3-14.1l-93.3-22.5c-5-1.2-9.8 2.6-9.9 7.7l-0.6 95.4c0 6.7 7.6 10.5 12.9 6.4l20.3-15.8C562.6 918.4 619.9 948 684 948c109.9 0 199.6-86.9 204-195.7 0.2-4.5-3.5-8.3-8-8.3z","p-id":"4841",fill:"#2db7f5"})]})}function v(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4260",width:"1.5em",height:"1.5em",children:[(0,r.jsx)("path",{d:"M114.5856 951.04h298.24v-71.68H186.2656v-747.52h593.92v271.36h71.68v-343.04h-737.28v890.88z",fill:"#747690","p-id":"4261"}),(0,r.jsx)("path",{d:"M662.4256 311.04h-358.4v-71.68h358.4v71.68zM508.8256 490.24h-204.8v-71.68h204.8v71.68zM668.8256 554.24a168.96 168.96 0 1 0 0 337.92 168.96 168.96 0 0 0 0-337.92z m-240.64 168.96a240.64 240.64 0 1 1 481.28 0 240.64 240.64 0 0 1-481.28 0z",fill:"#747690","p-id":"4262"}),(0,r.jsx)("path",{d:"M629.76 588.8h71.68v131.4304l82.5856 41.3184-32.0512 64.1024-122.2144-61.0816V588.8z",fill:"#747690","p-id":"4263"})]})}function y(){return(0,r.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9211",width:"1.5em",height:"1.5em",children:(0,r.jsx)("path",{d:"M151.5 586.2c-5-24.2-7.5-49.2-7.5-74.2s2.5-50 7.5-74.2c4.8-23.6 12-46.8 21.4-69 9.2-21.8 20.6-42.8 33.9-62.5 13.2-19.5 28.3-37.8 45-54.5s35-31.8 54.5-45c19.7-13.3 40.7-24.7 62.5-33.9 22.2-9.4 45.4-16.6 69-21.4 48.5-9.9 99.9-9.9 148.4 0 23.6 4.8 46.8 12 69 21.4 21.8 9.2 42.8 20.6 62.5 33.9 19.5 13.2 37.8 28.3 54.5 45 1.4 1.4 2.8 2.8 4.1 4.2H688c-17.7 0-32 14.3-32 32s14.3 32 32 32h160c17.7 0 32-14.3 32-32V128c0-17.7-14.3-32-32-32s-32 14.3-32 32v77.1c-19.2-19-40.1-36.2-62.4-51.3-23.1-15.6-47.8-29-73.4-39.8-26.1-11-53.4-19.5-81.1-25.2-56.9-11.6-117.1-11.6-174.1 0-27.8 5.7-55.1 14.2-81.1 25.2-25.6 10.8-50.3 24.2-73.4 39.8-22.9 15.4-44.4 33.2-63.9 52.7s-37.3 41-52.7 63.9c-15.6 23.1-29 47.8-39.8 73.4-11 26.1-19.5 53.4-25.2 81.1C83 453.4 80 482.7 80 512s3 58.6 8.8 87c3.1 15.2 16.4 25.6 31.3 25.6 2.1 0 4.3-0.2 6.4-0.7 17.4-3.5 28.5-20.4 25-37.7zM935.2 425c-3.5-17.3-20.5-28.5-37.8-24.9-17.3 3.5-28.5 20.5-24.9 37.8 5 24.2 7.5 49.2 7.5 74.2s-2.5 50-7.5 74.2c-4.8 23.6-12 46.8-21.4 69-9.2 21.8-20.6 42.8-33.9 62.5-13.2 19.5-28.3 37.8-45 54.5s-35 31.8-54.5 45C698 830.6 677 842 655.2 851.2c-22.2 9.4-45.4 16.6-69 21.4-48.5 9.9-99.9 9.9-148.4 0-23.6-4.8-46.8-12-69-21.4-21.8-9.2-42.8-20.6-62.5-33.9-19.5-13.2-37.8-28.3-54.5-45-1.4-1.4-2.8-2.8-4.1-4.2H336c17.7 0 32-14.3 32-32s-14.3-32-32-32H176c-17.7 0-32 14.3-32 32v160c0 17.7 14.3 32 32 32s32-14.3 32-32V819c19.2 19 40.1 36.2 62.4 51.3 23.1 15.6 47.8 29 73.4 39.8 26.1 11 53.4 19.5 81.1 25.2 28.5 5.8 57.7 8.8 87 8.8s58.6-3 87-8.8c27.8-5.7 55-14.2 81.1-25.2 25.6-10.8 50.3-24.2 73.4-39.8 22.9-15.5 44.4-33.2 63.9-52.7s37.3-41 52.7-63.9c15.6-23.1 29-47.8 39.8-73.4 11-26.1 19.5-53.4 25.2-81.1 5.8-28.5 8.8-57.7 8.8-87 0.2-29.5-2.8-58.8-8.6-87.2z",fill:"#1875F0","p-id":"9212"})})}function b(){return(0,r.jsxs)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3205",width:"1.5em",height:"1.5em",children:[(0,r.jsx)("path",{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zM296 400c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zM672 516c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216z m107.5 323.5C750.8 868.2 712.6 884 672 884s-78.8-15.8-107.5-44.5C535.8 810.8 520 772.6 520 732s15.8-78.8 44.5-107.5C593.2 595.8 631.4 580 672 580s78.8 15.8 107.5 44.5C808.2 653.2 824 691.4 824 732s-15.8 78.8-44.5 107.5z","p-id":"3206",fill:"#1afa29"}),(0,r.jsx)("path",{d:"M761 656h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-23.1-31.9c-1.5-2.1-3.9-3.3-6.5-3.3H573c-6.5 0-10.3 7.4-6.5 12.7l73.8 102.1c3.2 4.4 9.7 4.4 12.9 0l114.2-158c3.9-5.3 0.1-12.7-6.4-12.7z","p-id":"3207",fill:"#1afa29"}),(0,r.jsx)("path",{d:"M440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z","p-id":"3208",fill:"#1afa29"})]})}n(67294);var x=n(1051)},32665:function(e,t,n){"use strict";function r(e){}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"clientHookInServerComponentError",{enumerable:!0,get:function(){return r}}),n(38754),n(67294),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},41219:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return p},useSearchParams:function(){return h},usePathname:function(){return m},ServerInsertedHTMLContext:function(){return s.ServerInsertedHTMLContext},useServerInsertedHTML:function(){return s.useServerInsertedHTML},useRouter:function(){return g},useParams:function(){return v},useSelectedLayoutSegments:function(){return y},useSelectedLayoutSegment:function(){return b},redirect:function(){return c.redirect},notFound:function(){return u.notFound}});let r=n(67294),o=n(27473),i=n(35802),a=n(32665),l=n(43512),s=n(98751),c=n(96885),u=n(86323),f=Symbol("internal for urlsearchparams readonly");function d(){return Error("ReadonlyURLSearchParams cannot be modified")}class p{[Symbol.iterator](){return this[f][Symbol.iterator]()}append(){throw d()}delete(){throw d()}set(){throw d()}sort(){throw d()}constructor(e){this[f]=e,this.entries=e.entries.bind(e),this.forEach=e.forEach.bind(e),this.get=e.get.bind(e),this.getAll=e.getAll.bind(e),this.has=e.has.bind(e),this.keys=e.keys.bind(e),this.values=e.values.bind(e),this.toString=e.toString.bind(e)}}function h(){(0,a.clientHookInServerComponentError)("useSearchParams");let e=(0,r.useContext)(i.SearchParamsContext),t=(0,r.useMemo)(()=>e?new p(e):null,[e]);return t}function m(){return(0,a.clientHookInServerComponentError)("usePathname"),(0,r.useContext)(i.PathnameContext)}function g(){(0,a.clientHookInServerComponentError)("useRouter");let e=(0,r.useContext)(o.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function v(){(0,a.clientHookInServerComponentError)("useParams");let e=(0,r.useContext)(o.GlobalLayoutRouterContext);return e?function e(t,n){void 0===n&&(n={});let r=t[1];for(let t of Object.values(r)){let r=t[0],o=Array.isArray(r),i=o?r[1]:r;!i||i.startsWith("__PAGE__")||(o&&(n[r[0]]=r[1]),n=e(t,n))}return n}(e.tree):null}function y(e){void 0===e&&(e="children"),(0,a.clientHookInServerComponentError)("useSelectedLayoutSegments");let{tree:t}=(0,r.useContext)(o.LayoutRouterContext);return function e(t,n,r,o){let i;if(void 0===r&&(r=!0),void 0===o&&(o=[]),r)i=t[1][n];else{var a;let e=t[1];i=null!=(a=e.children)?a:Object.values(e)[0]}if(!i)return o;let s=i[0],c=(0,l.getSegmentValue)(s);return!c||c.startsWith("__PAGE__")?o:(o.push(c),e(i,n,!1,o))}(t,e)}function b(e){void 0===e&&(e="children"),(0,a.clientHookInServerComponentError)("useSelectedLayoutSegment");let t=y(e);return 0===t.length?null:t[0]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},86323:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{notFound:function(){return r},isNotFoundError:function(){return o}});let n="NEXT_NOT_FOUND";function r(){let e=Error(n);throw e.digest=n,e}function o(e){return(null==e?void 0:e.digest)===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96885:function(e,t,n){"use strict";var r,o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RedirectType:function(){return r},getRedirectError:function(){return l},redirect:function(){return s},isRedirectError:function(){return c},getURLFromRedirectError:function(){return u},getRedirectTypeFromError:function(){return f}});let i=n(68214),a="NEXT_REDIRECT";function l(e,t){let n=Error(a);n.digest=a+";"+t+";"+e;let r=i.requestAsyncStorage.getStore();return r&&(n.mutableCookies=r.mutableCookies),n}function s(e,t){throw void 0===t&&(t="replace"),l(e,t)}function c(e){if("string"!=typeof(null==e?void 0:e.digest))return!1;let[t,n,r]=e.digest.split(";",3);return t===a&&("replace"===n||"push"===n)&&"string"==typeof r}function u(e){return c(e)?e.digest.split(";",3)[2]:null}function f(e){if(!c(e))throw Error("Not a redirect error");return e.digest.split(";",3)[1]}(o=r||(r={})).push="push",o.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},43512:function(e,t){"use strict";function n(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},29382:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PrefetchKind:function(){return n},ACTION_REFRESH:function(){return o},ACTION_NAVIGATE:function(){return i},ACTION_RESTORE:function(){return a},ACTION_SERVER_PATCH:function(){return l},ACTION_PREFETCH:function(){return s},ACTION_FAST_REFRESH:function(){return c},ACTION_SERVER_ACTION:function(){return u}});let o="refresh",i="navigate",a="restore",l="server-patch",s="prefetch",c="fast-refresh",u="server-action";(r=n||(n={})).AUTO="auto",r.FULL="full",r.TEMPORARY="temporary",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},75476:function(e,t){"use strict";function n(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69873:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});let r=n(38754),o=n(61757),i=o._(n(67294)),a=r._(n(68965)),l=n(38083),s=n(2478),c=n(76226);n(59941);let u=r._(n(31720)),f={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function d(e){return void 0!==e.default}function p(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function h(e,t,n,r,o,i,a){if(!e||e["data-loaded-src"]===t)return;e["data-loaded-src"]=t;let l="decode"in e?e.decode():Promise.resolve();l.catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("blur"===n&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,o=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{o=!0,t.stopPropagation()}})}(null==o?void 0:o.current)&&o.current(e)}})}function m(e){let[t,n]=i.version.split("."),r=parseInt(t,10),o=parseInt(n,10);return r>18||18===r&&o>=3?{fetchPriority:e}:{fetchpriority:e}}let g=(0,i.forwardRef)((e,t)=>{let{imgAttributes:n,heightInt:r,widthInt:o,qualityInt:a,className:l,imgStyle:s,blurStyle:c,isLazy:u,fetchPriority:f,fill:d,placeholder:p,loading:g,srcString:v,config:y,unoptimized:b,loader:x,onLoadRef:w,onLoadingCompleteRef:C,setBlurComplete:S,setShowAltText:E,onLoad:$,onError:O,...k}=e;return g=u?"lazy":g,i.default.createElement("img",{...k,...m(f),loading:g,width:o,height:r,decoding:"async","data-nimg":d?"fill":"1",className:l,style:{...s,...c},...n,ref:(0,i.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(O&&(e.src=e.src),e.complete&&h(e,v,p,w,C,S,b))},[v,p,w,C,S,O,b,t]),onLoad:e=>{let t=e.currentTarget;h(t,v,p,w,C,S,b)},onError:e=>{E(!0),"blur"===p&&S(!0),O&&O(e)}})}),v=(0,i.forwardRef)((e,t)=>{var n;let r,o,{src:h,sizes:v,unoptimized:y=!1,priority:b=!1,loading:x,className:w,quality:C,width:S,height:E,fill:$,style:O,onLoad:k,onLoadingComplete:j,placeholder:P="empty",blurDataURL:_,fetchPriority:Z,layout:A,objectFit:R,objectPosition:M,lazyBoundary:F,lazyRoot:N,...T}=e,I=(0,i.useContext)(c.ImageConfigContext),L=(0,i.useMemo)(()=>{let e=f||I||s.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[I]),B=T.loader||u.default;delete T.loader;let z="__next_img_default"in B;if(z){if("custom"===L.loader)throw Error('Image with src "'+h+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=B;B=t=>{let{config:n,...r}=t;return e(r)}}if(A){"fill"===A&&($=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[A];e&&(O={...O,...e});let t={responsive:"100vw",fill:"100vw"}[A];t&&!v&&(v=t)}let D="",H=p(S),V=p(E);if("object"==typeof(n=h)&&(d(n)||void 0!==n.src)){let e=d(h)?h.default:h;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(r=e.blurWidth,o=e.blurHeight,_=_||e.blurDataURL,D=e.src,!$){if(H||V){if(H&&!V){let t=H/e.width;V=Math.round(e.height*t)}else if(!H&&V){let t=V/e.height;H=Math.round(e.width*t)}}else H=e.width,V=e.height}}let U=!b&&("lazy"===x||void 0===x);(!(h="string"==typeof h?h:D)||h.startsWith("data:")||h.startsWith("blob:"))&&(y=!0,U=!1),L.unoptimized&&(y=!0),z&&h.endsWith(".svg")&&!L.dangerouslyAllowSVG&&(y=!0),b&&(Z="high");let[W,q]=(0,i.useState)(!1),[K,G]=(0,i.useState)(!1),X=p(C),Y=Object.assign($?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:R,objectPosition:M}:{},K?{}:{color:"transparent"},O),J="blur"===P&&_&&!W?{backgroundSize:Y.objectFit||"cover",backgroundPosition:Y.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:'url("data:image/svg+xml;charset=utf-8,'+(0,l.getImageBlurSvg)({widthInt:H,heightInt:V,blurWidth:r,blurHeight:o,blurDataURL:_,objectFit:Y.objectFit})+'")'}:{},Q=function(e){let{config:t,src:n,unoptimized:r,width:o,quality:i,sizes:a,loader:l}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};let{widths:s,kind:c}=function(e,t,n){let{deviceSizes:r,allSizes:o}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:o.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:o,kind:"w"}}if("number"!=typeof t)return{widths:r,kind:"w"};let i=[...new Set([t,2*t].map(e=>o.find(t=>t>=e)||o[o.length-1]))];return{widths:i,kind:"x"}}(t,o,a),u=s.length-1;return{sizes:a||"w"!==c?a:"100vw",srcSet:s.map((e,r)=>l({config:t,src:n,quality:i,width:e})+" "+("w"===c?e:r+1)+c).join(", "),src:l({config:t,src:n,quality:i,width:s[u]})}}({config:L,src:h,unoptimized:y,width:H,quality:X,sizes:v,loader:B}),ee=h,et=(0,i.useRef)(k);(0,i.useEffect)(()=>{et.current=k},[k]);let en=(0,i.useRef)(j);(0,i.useEffect)(()=>{en.current=j},[j]);let er={isLazy:U,imgAttributes:Q,heightInt:V,widthInt:H,qualityInt:X,className:w,imgStyle:Y,blurStyle:J,loading:x,config:L,fetchPriority:Z,fill:$,unoptimized:y,placeholder:P,loader:B,srcString:ee,onLoadRef:et,onLoadingCompleteRef:en,setBlurComplete:q,setShowAltText:G,...T};return i.default.createElement(i.default.Fragment,null,i.default.createElement(g,{...er,ref:t}),b?i.default.createElement(a.default,null,i.default.createElement("link",{key:"__nimg-"+Q.src+Q.srcSet+Q.sizes,rel:"preload",as:"image",href:Q.srcSet?void 0:Q.src,imageSrcSet:Q.srcSet,imageSizes:Q.sizes,crossOrigin:T.crossOrigin,referrerPolicy:T.referrerPolicy,...m(Z)})):null)}),y=v;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9940:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});let r=n(38754),o=r._(n(67294)),i=n(65722),a=n(65723),l=n(28904),s=n(95514),c=n(27521),u=n(44293),f=n(27473),d=n(81307),p=n(75476),h=n(66318),m=n(29382),g=new Set;function v(e,t,n,r,o,i){if(!i&&!(0,a.isLocalURL)(t))return;if(!r.bypassPrefetchedCheck){let o=void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0,i=t+"%"+n+"%"+o;if(g.has(i))return;g.add(i)}let l=i?e.prefetch(t,o):e.prefetch(t,n,r);Promise.resolve(l).catch(e=>{})}function y(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let b=o.default.forwardRef(function(e,t){let n,r;let{href:l,as:g,children:b,prefetch:x=null,passHref:w,replace:C,shallow:S,scroll:E,locale:$,onClick:O,onMouseEnter:k,onTouchStart:j,legacyBehavior:P=!1,..._}=e;n=b,P&&("string"==typeof n||"number"==typeof n)&&(n=o.default.createElement("a",null,n));let Z=!1!==x,A=null===x?m.PrefetchKind.AUTO:m.PrefetchKind.FULL,R=o.default.useContext(u.RouterContext),M=o.default.useContext(f.AppRouterContext),F=null!=R?R:M,N=!R,{href:T,as:I}=o.default.useMemo(()=>{if(!R){let e=y(l);return{href:e,as:g?y(g):e}}let[e,t]=(0,i.resolveHref)(R,l,!0);return{href:e,as:g?(0,i.resolveHref)(R,g):t||e}},[R,l,g]),L=o.default.useRef(T),B=o.default.useRef(I);P&&(r=o.default.Children.only(n));let z=P?r&&"object"==typeof r&&r.ref:t,[D,H,V]=(0,d.useIntersection)({rootMargin:"200px"}),U=o.default.useCallback(e=>{(B.current!==I||L.current!==T)&&(V(),B.current=I,L.current=T),D(e),z&&("function"==typeof z?z(e):"object"==typeof z&&(z.current=e))},[I,z,T,V,D]);o.default.useEffect(()=>{F&&H&&Z&&v(F,T,I,{locale:$},{kind:A},N)},[I,T,H,$,Z,null==R?void 0:R.locale,F,N,A]);let W={ref:U,onClick(e){P||"function"!=typeof O||O(e),P&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),F&&!e.defaultPrevented&&function(e,t,n,r,i,l,s,c,u,f){let{nodeName:d}=e.currentTarget,p="A"===d.toUpperCase();if(p&&(function(e){let t=e.currentTarget,n=t.getAttribute("target");return n&&"_self"!==n||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!u&&!(0,a.isLocalURL)(n)))return;e.preventDefault();let h=()=>{"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:l,locale:c,scroll:s}):t[i?"replace":"push"](r||n,{forceOptimisticNavigation:!f})};u?o.default.startTransition(h):h()}(e,F,T,I,C,S,E,$,N,Z)},onMouseEnter(e){P||"function"!=typeof k||k(e),P&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),F&&(Z||!N)&&v(F,T,I,{locale:$,priority:!0,bypassPrefetchedCheck:!0},{kind:A},N)},onTouchStart(e){P||"function"!=typeof j||j(e),P&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),F&&(Z||!N)&&v(F,T,I,{locale:$,priority:!0,bypassPrefetchedCheck:!0},{kind:A},N)}};if((0,s.isAbsoluteUrl)(I))W.href=I;else if(!P||w||"a"===r.type&&!("href"in r.props)){let e=void 0!==$?$:null==R?void 0:R.locale,t=(null==R?void 0:R.isLocaleDomain)&&(0,p.getDomainLocale)(I,e,null==R?void 0:R.locales,null==R?void 0:R.domainLocales);W.href=t||(0,h.addBasePath)((0,c.addLocale)(I,e,null==R?void 0:R.defaultLocale))}return P?o.default.cloneElement(r,W):o.default.createElement("a",{..._,...W},n)}),x=b;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81307:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return s}});let r=n(67294),o=n(82997),i="function"==typeof IntersectionObserver,a=new Map,l=[];function s(e){let{rootRef:t,rootMargin:n,disabled:s}=e,c=s||!i,[u,f]=(0,r.useState)(!1),d=(0,r.useRef)(null),p=(0,r.useCallback)(e=>{d.current=e},[]);(0,r.useEffect)(()=>{if(i){if(c||u)return;let e=d.current;if(e&&e.tagName){let r=function(e,t,n){let{id:r,observer:o,elements:i}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=l.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let o=new Map,i=new IntersectionObserver(e=>{e.forEach(e=>{let t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e);return t={id:n,observer:i,elements:o},l.push(n),a.set(n,t),t}(n);return i.set(e,t),o.observe(e),function(){if(i.delete(e),o.unobserve(e),0===i.size){o.disconnect(),a.delete(r);let e=l.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&l.splice(e,1)}}}(e,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:n});return r}}else if(!u){let e=(0,o.requestIdleCallback)(()=>f(!0));return()=>(0,o.cancelIdleCallback)(e)}},[c,n,t,u,d.current]);let h=(0,r.useCallback)(()=>{f(!1)},[]);return[p,u,h]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},38083:function(e,t){"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:o,blurDataURL:i,objectFit:a}=e,l=r||t,s=o||n,c=i.startsWith("data:image/jpeg")?"%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%":"";return l&&s?"%3Csvg xmlns='http%3A//www.w3.org/2000/svg' viewBox='0 0 "+l+" "+s+"'%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='"+(r&&o?"1":"20")+"'/%3E"+c+"%3C/filter%3E%3Cimage preserveAspectRatio='none' filter='url(%23b)' x='0' y='0' height='100%25' width='100%25' href='"+i+"'/%3E%3C/svg%3E":"%3Csvg xmlns='http%3A//www.w3.org/2000/svg'%3E%3Cimage style='filter:blur(20px)' preserveAspectRatio='"+("contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' x='0' y='0' height='100%25' width='100%25' href='"+i+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},31720:function(e,t){"use strict";function n(e){let{config:t,src:n,width:r,quality:o}=e;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+(o||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}}),n.__next_img_default=!0;let r=n},98751:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ServerInsertedHTMLContext:function(){return i},useServerInsertedHTML:function(){return a}});let r=n(61757),o=r._(n(67294)),i=o.default.createContext(null);function a(e){let t=(0,o.useContext)(i);t&&t(e)}},48271:function(e,t,n){"use strict";let r,o;n.r(t),n.d(t,{default:function(){return eT}});var i=n(85893),a=n(67294),l=n(41468),s=n(50489),c=n(98399),u=n(82353),f=n(87462),d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z"}}]},name:"message",theme:"outlined"},p=n(84089),h=a.forwardRef(function(e,t){return a.createElement(p.Z,(0,f.Z)({},e,{ref:t,icon:d}))}),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M301.3 496.7c-23.8 0-40.2-10.5-41.6-26.9H205c.9 43.4 36.9 70.3 93.9 70.3 59.1 0 95-28.4 95-75.5 0-35.8-20-55.9-64.5-64.5l-29.1-5.6c-23.8-4.7-33.8-11.9-33.8-24.2 0-15 13.3-24.5 33.4-24.5 20.1 0 35.3 11.1 36.6 27h53c-.9-41.7-37.5-70.3-90.3-70.3-54.4 0-89.7 28.9-89.7 73 0 35.5 21.2 58 62.5 65.8l29.7 5.9c25.8 5.2 35.6 11.9 35.6 24.4.1 14.7-14.5 25.1-36 25.1z"}},{tag:"path",attrs:{d:"M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z"}},{tag:"path",attrs:{d:"M828.5 486.7h-95.8V308.5h-57.4V534h153.2zm-298.6 53.4c14.1 0 27.2-2 39.1-5.8l13.3 20.3h53.3L607.9 511c21.1-20 33-51.1 33-89.8 0-73.3-43.3-118.8-110.9-118.8s-111.2 45.3-111.2 118.8c-.1 73.7 43 118.9 111.1 118.9zm0-190c31.6 0 52.7 27.7 52.7 71.1 0 16.7-3.6 30.6-10 40.5l-5.2-6.9h-48.8L542 491c-3.9.9-8 1.4-12.2 1.4-31.7 0-52.8-27.5-52.8-71.2.1-43.6 21.2-71.1 52.9-71.1z"}}]},name:"console-sql",theme:"outlined"},g=a.forwardRef(function(e,t){return a.createElement(p.Z,(0,f.Z)({},e,{ref:t,icon:m}))}),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M640.6 429.8h257.1c7.9 0 14.3-6.4 14.3-14.3V158.3c0-7.9-6.4-14.3-14.3-14.3H640.6c-7.9 0-14.3 6.4-14.3 14.3v92.9H490.6c-3.9 0-7.1 3.2-7.1 7.1v221.5h-85.7v-96.5c0-7.9-6.4-14.3-14.3-14.3H126.3c-7.9 0-14.3 6.4-14.3 14.3v257.2c0 7.9 6.4 14.3 14.3 14.3h257.1c7.9 0 14.3-6.4 14.3-14.3V544h85.7v221.5c0 3.9 3.2 7.1 7.1 7.1h135.7v92.9c0 7.9 6.4 14.3 14.3 14.3h257.1c7.9 0 14.3-6.4 14.3-14.3v-257c0-7.9-6.4-14.3-14.3-14.3h-257c-7.9 0-14.3 6.4-14.3 14.3v100h-78.6v-393h78.6v100c0 7.9 6.4 14.3 14.3 14.3zm53.5-217.9h150V362h-150V211.9zM329.9 587h-150V437h150v150zm364.2 75.1h150v150.1h-150V662.1z"}}]},name:"partition",theme:"outlined"},y=a.forwardRef(function(e,t){return a.createElement(p.Z,(0,f.Z)({},e,{ref:t,icon:v}))}),b=n(16165),x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zm-504 68h200v200H412V278zm-68 468H144V546h200v200zm268 0H412V546h200v200zm268-268H680V278h200v200z"}}]},name:"build",theme:"outlined"},w=a.forwardRef(function(e,t){return a.createElement(p.Z,(0,f.Z)({},e,{ref:t,icon:x}))}),C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z"}}]},name:"global",theme:"outlined"},S=a.forwardRef(function(e,t){return a.createElement(p.Z,(0,f.Z)({},e,{ref:t,icon:C}))}),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM115.4 518.9L271.7 642c5.8 4.6 14.4.5 14.4-6.9V388.9c0-7.4-8.5-11.5-14.4-6.9L115.4 505.1a8.74 8.74 0 000 13.8z"}}]},name:"menu-fold",theme:"outlined"},$=a.forwardRef(function(e,t){return a.createElement(p.Z,(0,f.Z)({},e,{ref:t,icon:E}))}),O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 000-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0014.4 7z"}}]},name:"menu-unfold",theme:"outlined"},k=a.forwardRef(function(e,t){return a.createElement(p.Z,(0,f.Z)({},e,{ref:t,icon:O}))}),j=n(24969),P={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},_=a.forwardRef(function(e,t){return a.createElement(p.Z,(0,f.Z)({},e,{ref:t,icon:P}))}),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},A=a.forwardRef(function(e,t){return a.createElement(p.Z,(0,f.Z)({},e,{ref:t,icon:Z}))}),R={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 000-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"}}]},name:"share-alt",theme:"outlined"},M=a.forwardRef(function(e,t){return a.createElement(p.Z,(0,f.Z)({},e,{ref:t,icon:R}))}),F=n(48689),N=n(12069),T=n(2453),I=n(83062),L=n(85418),B=n(20640),z=n.n(B),D=n(25675),H=n.n(D),V=n(41664),U=n.n(V),W=n(11163),q=n.n(W),K=n(67421);function G(e){return"flex items-center h-12 hover:bg-[#F1F5F9] dark:hover:bg-theme-dark text-base w-full transition-colors whitespace-nowrap px-4 ".concat(e?"bg-[#F1F5F9] dark:bg-theme-dark":"")}function X(e){return"flex items-center justify-center mx-auto rounded w-14 h-14 text-xl hover:bg-[#F1F5F9] dark:hover:bg-theme-dark transition-colors cursor-pointer ".concat(e?"bg-[#F1F5F9] dark:bg-theme-dark":"")}var Y=function(){let{chatId:e,scene:t,isMenuExpand:n,dialogueList:r,queryDialogueList:o,refreshDialogList:f,setIsMenuExpand:d,setAgent:p,mode:m,setMode:v}=(0,a.useContext)(l.p),{pathname:x,replace:C}=(0,W.useRouter)(),{t:E,i18n:O}=(0,K.$G)(),[P,Z]=(0,a.useState)("/LOGO_1.png"),R=(0,a.useMemo)(()=>{let e=[{key:"prompt",name:E("Prompt"),icon:(0,i.jsx)(h,{}),path:"/prompt"},{key:"database",name:E("Database"),icon:(0,i.jsx)(g,{}),path:"/database"},{key:"knowledge",name:E("Knowledge_Space"),icon:(0,i.jsx)(y,{}),path:"/knowledge"},{key:"models",name:E("model_manage"),path:"/models",icon:(0,i.jsx)(b.Z,{component:u.IN})},{key:"agent",name:E("Plugins"),path:"/agent",icon:(0,i.jsx)(w,{})}];return e},[O.language]),B=()=>{d(!n)},D=(0,a.useCallback)(()=>{let e="light"===m?"dark":"light";v(e),localStorage.setItem(c.he,e)},[m]),V=(0,a.useCallback)(()=>{let e="en"===O.language?"zh":"en";O.changeLanguage(e),localStorage.setItem(c.Yl,e)},[O.language,O.changeLanguage]),q=(0,a.useMemo)(()=>{let e=[{key:"theme",name:E("Theme"),icon:"dark"===m?(0,i.jsx)(b.Z,{component:u.FD}):(0,i.jsx)(b.Z,{component:u.ol}),onClick:D},{key:"language",name:E("language"),icon:(0,i.jsx)(S,{}),onClick:V},{key:"fold",name:E(n?"Close_Sidebar":"Show_Sidebar"),icon:n?(0,i.jsx)($,{}):(0,i.jsx)(k,{}),onClick:B,noDropdownItem:!0}];return e},[m,V,B,V]),Y=(0,a.useMemo)(()=>R.map(e=>({key:e.key,label:(0,i.jsxs)(U(),{href:e.path,className:"text-base",children:[e.icon,(0,i.jsx)("span",{className:"ml-2 text-sm",children:e.name})]})})),[R]),J=(0,a.useMemo)(()=>q.filter(e=>!e.noDropdownItem).map(e=>({key:e.key,label:(0,i.jsxs)("div",{className:"text-base",onClick:e.onClick,children:[e.icon,(0,i.jsx)("span",{className:"ml-2 text-sm",children:e.name})]})})),[q]),Q=(0,a.useCallback)(n=>{N.default.confirm({title:"Delete Chat",content:"Are you sure delete this chat?",width:"276px",centered:!0,onOk:()=>new Promise(async(r,o)=>{try{let[i]=await (0,s.Vx)((0,s.MX)(n.conv_uid));if(i){o();return}T.ZP.success("success"),f(),n.chat_mode===t&&n.conv_uid===e&&C("/"),r()}catch(e){o()}})})},[f]),ee=e=>{"chat_agent"===e.chat_mode&&e.select_param&&(null==p||p(e.select_param))},et=(0,a.useCallback)(e=>{let t=z()("".concat(location.origin,"/chat?scene=").concat(e.chat_mode,"&id=").concat(e.conv_uid));T.ZP[t?"success":"error"](t?"Copy success":"Copy failed")},[]);return((0,a.useEffect)(()=>{o()},[]),(0,a.useEffect)(()=>{Z("dark"===m?"/WHITE_LOGO.png":"/LOGO_1.png")},[m]),n)?(0,i.jsxs)("div",{className:"flex flex-col h-screen bg-white dark:bg-[#232734]",children:[(0,i.jsx)(U(),{href:"/",className:"p-2",children:(0,i.jsx)(H(),{src:P,alt:"DB-GPT",width:239,height:60,className:"w-full h-full"})}),(0,i.jsxs)(U(),{href:"/",className:"flex items-center justify-center mb-4 mx-4 h-11 bg-theme-primary rounded text-white",children:[(0,i.jsx)(j.Z,{className:"mr-2"}),(0,i.jsx)("span",{children:E("new_chat")})]}),(0,i.jsx)("div",{className:"flex-1 overflow-y-scroll",children:null==r?void 0:r.map(n=>{let r=n.conv_uid===e&&n.chat_mode===t;return(0,i.jsxs)(U(),{href:"/chat?scene=".concat(n.chat_mode,"&id=").concat(n.conv_uid),className:"group/item ".concat(G(r)),onClick:()=>{ee(n)},children:[(0,i.jsx)(h,{className:"text-base"}),(0,i.jsx)("div",{className:"flex-1 line-clamp-1 mx-2 text-sm",children:n.user_name||n.user_input}),(0,i.jsx)("div",{className:"group-hover/item:opacity-100 cursor-pointer opacity-0 mr-1",onClick:e=>{e.preventDefault(),et(n)},children:(0,i.jsx)(M,{})}),(0,i.jsx)("div",{className:"group-hover/item:opacity-100 cursor-pointer opacity-0",onClick:e=>{e.preventDefault(),Q(n)},children:(0,i.jsx)(F.Z,{})})]},n.conv_uid)})}),(0,i.jsxs)("div",{className:"pt-4",children:[(0,i.jsx)("div",{className:"max-h-52 overflow-y-auto",children:R.map(e=>(0,i.jsx)(U(),{href:e.path,className:"".concat(G(x===e.path)," overflow-hidden"),children:(0,i.jsxs)(i.Fragment,{children:[e.icon,(0,i.jsx)("span",{className:"ml-3 text-sm",children:e.name})]})},e.key))}),(0,i.jsx)("div",{className:"flex items-center justify-around py-4 mt-2",children:q.map(e=>(0,i.jsx)(I.Z,{title:e.name,children:(0,i.jsx)("div",{className:"flex-1 flex items-center justify-center cursor-pointer text-xl",onClick:e.onClick,children:e.icon})},e.key))})]})]}):(0,i.jsxs)("div",{className:"flex flex-col justify-between h-screen bg-white dark:bg-[#232734] animate-fade animate-duration-300",children:[(0,i.jsx)(U(),{href:"/",className:"px-2 py-3",children:(0,i.jsx)(H(),{src:"/LOGO_SMALL.png",alt:"DB-GPT",width:63,height:46,className:"w-[63px] h-[46px]"})}),(0,i.jsx)("div",{children:(0,i.jsx)(U(),{href:"/",className:"flex items-center justify-center my-4 mx-auto w-12 h-12 bg-theme-primary rounded-full text-white",children:(0,i.jsx)(j.Z,{className:"text-lg"})})}),(0,i.jsx)("div",{className:"flex-1 overflow-y-scroll py-4 space-y-2",children:null==r?void 0:r.map(n=>{let r=n.conv_uid===e&&n.chat_mode===t;return(0,i.jsx)(I.Z,{title:n.user_name||n.user_input,placement:"right",children:(0,i.jsx)(U(),{href:"/chat?scene=".concat(n.chat_mode,"&id=").concat(n.conv_uid),className:X(r),onClick:()=>{ee(n)},children:(0,i.jsx)(h,{})})},n.conv_uid)})}),(0,i.jsxs)("div",{className:"py-4",children:[(0,i.jsx)(L.Z,{menu:{items:Y},placement:"topRight",children:(0,i.jsx)("div",{className:X(),children:(0,i.jsx)(_,{})})}),(0,i.jsx)(L.Z,{menu:{items:J},placement:"topRight",children:(0,i.jsx)("div",{className:X(),children:(0,i.jsx)(A,{})})}),q.filter(e=>e.noDropdownItem).map(e=>(0,i.jsx)(I.Z,{title:e.name,placement:"right",children:(0,i.jsx)("div",{className:X(),onClick:e.onClick,children:e.icon})},e.key))]})]})},J=n(74865),Q=n.n(J);let ee=0;function et(){"loading"!==o&&(o="loading",r=setTimeout(function(){Q().start()},250))}function en(){ee>0||(o="stop",clearTimeout(r),Q().done())}if(q().events.on("routeChangeStart",et),q().events.on("routeChangeComplete",en),q().events.on("routeChangeError",en),"function"==typeof(null==window?void 0:window.fetch)){let e=window.fetch;window.fetch=async function(){for(var t=arguments.length,n=Array(t),r=0;rt(null==e||0===Object.keys(e).length?n:e):t;return(0,i.jsx)(ep.xB,{styles:r})}var em=n(56760),eg=n(71927);let ev="mode",ey="color-scheme",eb="data-color-scheme";function ex(e){if("undefined"!=typeof window&&"system"===e){let e=window.matchMedia("(prefers-color-scheme: dark)");return e.matches?"dark":"light"}}function ew(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function eC(e,t){let n;if("undefined"!=typeof window){try{(n=localStorage.getItem(e)||void 0)||localStorage.setItem(e,t)}catch(e){}return n||t}}let eS=["colorSchemes","components","generateCssVars","cssVarPrefix"];var eE=n(1812),e$=n(13951),eO=n(2548);let{CssVarsProvider:ek,useColorScheme:ej,getInitColorSchemeScript:eP}=function(e){let{themeId:t,theme:n={},attribute:r=eb,modeStorageKey:o=ev,colorSchemeStorageKey:l=ey,defaultMode:s="light",defaultColorScheme:c,disableTransitionOnChange:u=!1,resolveTheme:d,excludeVariablesFromRoot:p}=e;n.colorSchemes&&("string"!=typeof c||n.colorSchemes[c])&&("object"!=typeof c||n.colorSchemes[null==c?void 0:c.light])&&("object"!=typeof c||n.colorSchemes[null==c?void 0:c.dark])||console.error(`MUI: \`${c}\` does not exist in \`theme.colorSchemes\`.`);let h=a.createContext(void 0),m="string"==typeof c?c:c.light,g="string"==typeof c?c:c.dark;return{CssVarsProvider:function({children:e,theme:m=n,modeStorageKey:g=o,colorSchemeStorageKey:v=l,attribute:y=r,defaultMode:b=s,defaultColorScheme:x=c,disableTransitionOnChange:w=u,storageWindow:C="undefined"==typeof window?void 0:window,documentNode:S="undefined"==typeof document?void 0:document,colorSchemeNode:E="undefined"==typeof document?void 0:document.documentElement,colorSchemeSelector:$=":root",disableNestedContext:O=!1,disableStyleSheetGeneration:k=!1}){let j=a.useRef(!1),P=(0,em.Z)(),_=a.useContext(h),Z=!!_&&!O,A=m[t],R=A||m,{colorSchemes:M={},components:F={},generateCssVars:N=()=>({vars:{},css:{}}),cssVarPrefix:T}=R,I=(0,ef.Z)(R,eS),L=Object.keys(M),B="string"==typeof x?x:x.light,z="string"==typeof x?x:x.dark,{mode:D,setMode:H,systemMode:V,lightColorScheme:U,darkColorScheme:W,colorScheme:q,setColorScheme:K}=function(e){let{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:o=[],modeStorageKey:i=ev,colorSchemeStorageKey:l=ey,storageWindow:s="undefined"==typeof window?void 0:window}=e,c=o.join(","),[u,d]=a.useState(()=>{let e=eC(i,t),o=eC(`${l}-light`,n),a=eC(`${l}-dark`,r);return{mode:e,systemMode:ex(e),lightColorScheme:o,darkColorScheme:a}}),p=ew(u,e=>"light"===e?u.lightColorScheme:"dark"===e?u.darkColorScheme:void 0),h=a.useCallback(e=>{d(n=>{if(e===n.mode)return n;let r=e||t;try{localStorage.setItem(i,r)}catch(e){}return(0,f.Z)({},n,{mode:r,systemMode:ex(r)})})},[i,t]),m=a.useCallback(e=>{e?"string"==typeof e?e&&!c.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):d(t=>{let n=(0,f.Z)({},t);return ew(t,t=>{try{localStorage.setItem(`${l}-${t}`,e)}catch(e){}"light"===t&&(n.lightColorScheme=e),"dark"===t&&(n.darkColorScheme=e)}),n}):d(t=>{let o=(0,f.Z)({},t),i=null===e.light?n:e.light,a=null===e.dark?r:e.dark;if(i){if(c.includes(i)){o.lightColorScheme=i;try{localStorage.setItem(`${l}-light`,i)}catch(e){}}else console.error(`\`${i}\` does not exist in \`theme.colorSchemes\`.`)}if(a){if(c.includes(a)){o.darkColorScheme=a;try{localStorage.setItem(`${l}-dark`,a)}catch(e){}}else console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`)}return o}):d(e=>{try{localStorage.setItem(`${l}-light`,n),localStorage.setItem(`${l}-dark`,r)}catch(e){}return(0,f.Z)({},e,{lightColorScheme:n,darkColorScheme:r})})},[c,l,n,r]),g=a.useCallback(e=>{"system"===u.mode&&d(t=>(0,f.Z)({},t,{systemMode:null!=e&&e.matches?"dark":"light"}))},[u.mode]),v=a.useRef(g);return v.current=g,a.useEffect(()=>{let e=(...e)=>v.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>t.removeListener(e)},[]),a.useEffect(()=>{let e=e=>{let n=e.newValue;"string"==typeof e.key&&e.key.startsWith(l)&&(!n||c.match(n))&&(e.key.endsWith("light")&&m({light:n}),e.key.endsWith("dark")&&m({dark:n})),e.key===i&&(!n||["light","dark","system"].includes(n))&&h(n||t)};if(s)return s.addEventListener("storage",e),()=>s.removeEventListener("storage",e)},[m,h,i,l,c,t,s]),(0,f.Z)({},u,{colorScheme:p,setMode:h,setColorScheme:m})}({supportedColorSchemes:L,defaultLightColorScheme:B,defaultDarkColorScheme:z,modeStorageKey:g,colorSchemeStorageKey:v,defaultMode:b,storageWindow:C}),G=D,X=q;Z&&(G=_.mode,X=_.colorScheme);let Y=G||("system"===b?s:b),J=X||("dark"===Y?z:B),{css:Q,vars:ee}=N(),et=(0,f.Z)({},I,{components:F,colorSchemes:M,cssVarPrefix:T,vars:ee,getColorSchemeSelector:e=>`[${y}="${e}"] &`}),en={},er={};Object.entries(M).forEach(([e,t])=>{let{css:n,vars:r}=N(e);et.vars=(0,eu.Z)(et.vars,r),e===J&&(Object.keys(t).forEach(e=>{t[e]&&"object"==typeof t[e]?et[e]=(0,f.Z)({},et[e],t[e]):et[e]=t[e]}),et.palette&&(et.palette.colorScheme=e));let o="string"==typeof x?x:"dark"===b?x.dark:x.light;if(e===o){if(p){let t={};p(T).forEach(e=>{t[e]=n[e],delete n[e]}),en[`[${y}="${e}"]`]=t}en[`${$}, [${y}="${e}"]`]=n}else er[`${":root"===$?"":$}[${y}="${e}"]`]=n}),et.vars=(0,eu.Z)(et.vars,ee),a.useEffect(()=>{X&&E&&E.setAttribute(y,X)},[X,y,E]),a.useEffect(()=>{let e;if(w&&j.current&&S){let t=S.createElement("style");t.appendChild(S.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),S.head.appendChild(t),window.getComputedStyle(S.body),e=setTimeout(()=>{S.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[X,w,S]),a.useEffect(()=>(j.current=!0,()=>{j.current=!1}),[]);let eo=a.useMemo(()=>({mode:G,systemMode:V,setMode:H,lightColorScheme:U,darkColorScheme:W,colorScheme:X,setColorScheme:K,allColorSchemes:L}),[L,X,W,U,G,K,H,V]),ei=!0;(k||Z&&(null==P?void 0:P.cssVarPrefix)===T)&&(ei=!1);let ea=(0,i.jsxs)(a.Fragment,{children:[ei&&(0,i.jsxs)(a.Fragment,{children:[(0,i.jsx)(eh,{styles:{[$]:Q}}),(0,i.jsx)(eh,{styles:en}),(0,i.jsx)(eh,{styles:er})]}),(0,i.jsx)(eg.Z,{themeId:A?t:void 0,theme:d?d(et):et,children:e})]});return Z?ea:(0,i.jsx)(h.Provider,{value:eo,children:ea})},useColorScheme:()=>{let e=a.useContext(h);if(!e)throw Error((0,ed.Z)(19));return e},getInitColorSchemeScript:e=>(function(e){let{defaultMode:t="light",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:o=ev,colorSchemeStorageKey:a=ey,attribute:l=eb,colorSchemeNode:s="document.documentElement"}=e||{};return(0,i.jsx)("script",{dangerouslySetInnerHTML:{__html:`(function() { try { - var mode = localStorage.getItem('${o}') || '${t}'; - var cssColorScheme = mode; - var colorScheme = ''; - if (mode === 'system') { - // handle system mode - var mql = window.matchMedia('(prefers-color-scheme: dark)'); - if (mql.matches) { - cssColorScheme = 'dark'; - colorScheme = localStorage.getItem('${a}-dark') || '${r}'; - } else { - cssColorScheme = 'light'; - colorScheme = localStorage.getItem('${a}-light') || '${n}'; - } - } - if (mode === 'light') { - colorScheme = localStorage.getItem('${a}-light') || '${n}'; - } - if (mode === 'dark') { - colorScheme = localStorage.getItem('${a}-dark') || '${r}'; - } - if (colorScheme) { - ${s}.setAttribute('${l}', colorScheme); - } - } catch (e) {} })();`}},"mui-color-scheme-init")})((0,f.Z)({attribute:r,colorSchemeStorageKey:l,defaultMode:s,defaultLightColorScheme:m,defaultDarkColorScheme:g,modeStorageKey:o},e))}}({themeId:eO.Z,theme:eE.Z,attribute:"data-joy-color-scheme",modeStorageKey:"joy-mode",colorSchemeStorageKey:"joy-color-scheme",defaultColorScheme:{light:"light",dark:"dark"},resolveTheme:e=>{let t=e.colorInversion;return e.colorInversion=(0,eu.Z)({soft:(0,e$.pP)(e),solid:(0,e$.Lo)(e)},"function"==typeof t?t(e):t,{clone:!1}),e}});var e_=n(38629),eZ=n(59077),eA=n(9818);let eR=(0,eZ.Z)({colorSchemes:{light:{palette:{mode:"dark",primary:{...eA.Z.grey,solidBg:"#e6f4ff",solidColor:"#1677ff",solidHoverBg:"#e6f4ff"},neutral:{plainColor:"#4d4d4d",plainHoverColor:"#131318",plainHoverBg:"#EBEBEF",plainActiveBg:"#D8D8DF",plainDisabledColor:"#B9B9C6"},background:{body:"#F7F7F7",surface:"#fff"},text:{primary:"#505050"}}},dark:{palette:{mode:"light",primary:{...eA.Z.grey,softBg:"#353539",softHoverBg:"#35353978",softDisabledBg:"#353539",solidBg:"#51525beb",solidHoverBg:"#51525beb"},neutral:{plainColor:"#D8D8DF",plainHoverColor:"#F7F7F8",plainHoverBg:"#353539",plainActiveBg:"#434356",plainDisabledColor:"#434356",outlinedBorder:"#353539",outlinedHoverBorder:"#454651"},text:{primary:"#FDFDFC"},background:{body:"#151622",surface:"#51525beb"}}}},fontFamily:{body:"Josefin Sans, sans-serif",display:"Josefin Sans, sans-serif"},zIndex:{modal:1001}}),eM=(e,t)=>({...ea.default.darkAlgorithm(e,t),colorBgBase:"#232734",colorBorder:"#828282",colorBgContainer:"#232734"});function eF(e){let{children:t}=e,{mode:n}=(0,a.useContext)(l.p),{i18n:r}=(0,K.$G)(),{setMode:o}=ej();(0,a.useEffect)(()=>{o(n)},[n]);let s=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if((null==s?void 0:s.current)&&n){var e,t,r,o,i,a;null==s||null===(e=s.current)||void 0===e||null===(t=e.classList)||void 0===t||t.add(n),"light"===n?null==s||null===(r=s.current)||void 0===r||null===(o=r.classList)||void 0===o||o.remove("dark"):null==s||null===(i=s.current)||void 0===i||null===(a=i.classList)||void 0===a||a.remove("light")}},[s,n]),(0,a.useEffect)(()=>{r.changeLanguage&&r.changeLanguage(window.localStorage.getItem(c.Yl)||"en")},[r]),(0,i.jsxs)("div",{ref:s,children:[(0,i.jsx)(er,{}),t]})}function eN(e){let{children:t}=e,{isMenuExpand:n,mode:r}=(0,a.useContext)(l.p),{i18n:o}=(0,K.$G)();return(0,i.jsx)(el.ZP,{locale:"en"===o.language?ec.Z:es.Z,theme:{token:{colorPrimary:"#0069FE",borderRadius:4},algorithm:"dark"===r?eM:void 0},children:(0,i.jsxs)("div",{className:"flex w-screen h-screen overflow-hidden",children:[(0,i.jsx)("div",{className:ei()("transition-[width]",n?"w-60":"w-20","hidden","md:block"),children:(0,i.jsx)(Y,{})}),(0,i.jsx)("div",{className:"flex flex-col flex-1 relative overflow-hidden",children:t})]})})}var eT=function(e){let{Component:t,pageProps:n}=e;return(0,i.jsx)(l.R,{children:(0,i.jsx)(e_.Z,{theme:eR,children:(0,i.jsx)(ek,{theme:eR,defaultMode:"light",children:(0,i.jsx)(eF,{children:(0,i.jsx)(eN,{children:(0,i.jsx)(t,{...n})})})})})})}},19284:function(e,t,n){"use strict";n.d(t,{Hf:function(){return r},S$:function(){return i},l3:function(){return o}});let r={proxyllm:{label:"Proxy LLM",icon:"/models/chatgpt.png"},"flan-t5-base":{label:"flan-t5-base",icon:"/models/google.png"},"vicuna-13b":{label:"vicuna-13b",icon:"/models/vicuna.jpeg"},"vicuna-7b":{label:"vicuna-7b",icon:"/models/vicuna.jpeg"},"vicuna-13b-v1.5":{label:"vicuna-13b-v1.5",icon:"/models/vicuna.jpeg"},"vicuna-7b-v1.5":{label:"vicuna-7b-v1.5",icon:"/models/vicuna.jpeg"},"codegen2-1b":{label:"codegen2-1B",icon:"/models/vicuna.jpeg"},"codet5p-2b":{label:"codet5p-2b",icon:"/models/vicuna.jpeg"},"chatglm-6b-int4":{label:"chatglm-6b-int4",icon:"/models/chatglm.png"},"chatglm-6b":{label:"chatglm-6b",icon:"/models/chatglm.png"},"chatglm2-6b":{label:"chatglm2-6b",icon:"/models/chatglm.png"},"chatglm2-6b-int4":{label:"chatglm2-6b-int4",icon:"/models/chatglm.png"},"guanaco-33b-merged":{label:"guanaco-33b-merged",icon:"/models/huggingface.svg"},"falcon-40b":{label:"falcon-40b",icon:"/models/falcon.jpeg"},"gorilla-7b":{label:"gorilla-7b",icon:"/models/gorilla.png"},"gptj-6b":{label:"ggml-gpt4all-j-v1.3-groovy.bin",icon:""},chatgpt_proxyllm:{label:"chatgpt_proxyllm",icon:"/models/chatgpt.png"},bard_proxyllm:{label:"bard_proxyllm",icon:"/models/bard.gif"},claude_proxyllm:{label:"claude_proxyllm",icon:"/models/claude.png"},wenxin_proxyllm:{label:"wenxin_proxyllm",icon:""},tongyi_proxyllm:{label:"tongyi_proxyllm",icon:"/models/qwen2.png"},zhipu_proxyllm:{label:"zhipu_proxyllm",icon:"/models/zhipu.png"},"llama-2-7b":{label:"Llama-2-7b-chat-hf",icon:"/models/llama.jpg"},"llama-2-13b":{label:"Llama-2-13b-chat-hf",icon:"/models/llama.jpg"},"llama-2-70b":{label:"Llama-2-70b-chat-hf",icon:"/models/llama.jpg"},"baichuan-13b":{label:"Baichuan-13B-Chat",icon:"/models/baichuan.png"},"baichuan-7b":{label:"baichuan-7b",icon:"/models/baichuan.png"},"baichuan2-7b":{label:"Baichuan2-7B-Chat",icon:"/models/baichuan.png"},"baichuan2-13b":{label:"Baichuan2-13B-Chat",icon:"/models/baichuan.png"},"wizardlm-13b":{label:"WizardLM-13B-V1.2",icon:"/models/wizardlm.png"},"llama-cpp":{label:"ggml-model-q4_0.bin",icon:"/models/huggingface.svg"},"internlm-7b":{label:"internlm-chat-7b-v1_1",icon:"/models/internlm.png"},"internlm-7b-8k":{label:"internlm-chat-7b-8k",icon:"/models/internlm.png"},"solar-10.7b-instruct-v1.0":{label:"solar-10.7b-instruct-v1.0",icon:"/models/solar_logo.png"}},o={Chroma:"/models/chroma-logo.png"},i={mysql:{label:"MySQL",icon:"/icons/mysql.png",desc:"Fast, reliable, scalable open-source relational database management system."},mssql:{label:"MSSQL",icon:"/icons/mssql.png",desc:"Powerful, scalable, secure relational database system by Microsoft."},duckdb:{label:"DuckDB",icon:"/icons/duckdb.png",desc:"In-memory analytical database with efficient query processing."},sqlite:{label:"Sqlite",icon:"/icons/sqlite.png",desc:"Lightweight embedded relational database with simplicity and portability."},clickhouse:{label:"ClickHouse",icon:"/icons/clickhouse.png",desc:"Columnar database for high-performance analytics and real-time queries."},oracle:{label:"Oracle",icon:"/icons/oracle.png",desc:"Robust, scalable, secure relational database widely used in enterprises."},access:{label:"Access",icon:"/icons/access.png",desc:"Easy-to-use relational database for small-scale applications by Microsoft."},mongodb:{label:"MongoDB",icon:"/icons/mongodb.png",desc:"Flexible, scalable NoSQL document database for web and mobile apps."},doris:{label:"ApacheDoris",icon:"/icons/doris.png",desc:"A new-generation open-source real-time data warehouse."},starrocks:{label:"StarRocks",icon:"/icons/starrocks.png",desc:"An Open-Source, High-Performance Analytical Database."},db2:{label:"DB2",icon:"/icons/db2.png",desc:"Scalable, secure relational database system developed by IBM."},hbase:{label:"HBase",icon:"/icons/hbase.png",desc:"Distributed, scalable NoSQL database for large structured/semi-structured data."},redis:{label:"Redis",icon:"/icons/redis.png",desc:"Fast, versatile in-memory data structure store as cache, DB, or broker."},cassandra:{label:"Cassandra",icon:"/icons/cassandra.png",desc:"Scalable, fault-tolerant distributed NoSQL database for large data."},couchbase:{label:"Couchbase",icon:"/icons/couchbase.png",desc:"High-performance NoSQL document database with distributed architecture."},postgresql:{label:"PostgreSQL",icon:"/icons/postgresql.png",desc:"Powerful open-source relational database with extensibility and SQL standards."},spark:{label:"Spark",icon:"/icons/spark.png",desc:"Unified engine for large-scale data analytics."},space:{label:"Space",icon:"/icons/knowledge.png",desc:"knowledge analytics."}}},98399:function(e,t,n){"use strict";function r(){var e;let t=null!==(e=localStorage.getItem(l))&&void 0!==e?e:"";try{let e=JSON.parse(t);return e}catch(e){return null}}n.d(t,{rU:function(){return l},Yl:function(){return a},he:function(){return i},S$:function(){return o.S$},a_:function(){return r}});var o=n(19284);let i="__db_gpt_theme_key",a="__db_gpt_lng_key",l="__db_gpt_im_key"},21876:function(e){!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=s(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,i=s(e),a=i[0],l=i[1],c=new o((a+l)*3/4-l),u=0,f=l>0?a-4:a;for(n=0;n>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===l&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[u++]=255&t),1===l&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=0,l=r-o;a>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return i.join("")}(e,a,a+16383>l?l:a+16383));return 1===o?i.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===o&&i.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),i.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=i.length;a0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},72:function(e,t,n){"use strict";/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */var r=n(675),o=n(783),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return u(e)}return s(e,t,n)}function s(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!l.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|p(e,t),r=a(n),o=r.write(e,t);return o!==n&&(r=r.slice(0,o)),r}(e,t);if(ArrayBuffer.isView(e))return f(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(P(e,ArrayBuffer)||e&&P(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(P(e,SharedArrayBuffer)||e&&P(e.buffer,SharedArrayBuffer)))return function(e,t,n){var r;if(t<0||e.byteLength=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||P(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return $(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return k(e).length;default:if(o)return r?-1:$(e).length;t=(""+t).toLowerCase(),o=!0}}function h(e,t,n){var o,i,a=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(i=n=+n)!=i&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return -1;n=e.length-1}else if(n<0){if(!o)return -1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,o);throw TypeError("val must be string, number or Buffer")}function v(e,t,n,r,o){var i,a=1,l=e.length,s=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;a=2,l/=2,s/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=n;il&&(n=l-s),i=n;i>=0;i--){for(var f=!0,d=0;d239?4:c>223?3:c>191?2:1;if(o+f<=n)switch(f){case 1:c<128&&(u=c);break;case 2:(192&(i=e[o+1]))==128&&(s=(31&c)<<6|63&i)>127&&(u=s);break;case 3:i=e[o+1],a=e[o+2],(192&i)==128&&(192&a)==128&&(s=(15&c)<<12|(63&i)<<6|63&a)>2047&&(s<55296||s>57343)&&(u=s);break;case 4:i=e[o+1],a=e[o+2],l=e[o+3],(192&i)==128&&(192&a)==128&&(192&l)==128&&(s=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&l)>65535&&s<1114112&&(u=s)}null===u?(u=65533,f=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=f}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;rn)throw RangeError("Trying to access beyond buffer length")}function x(e,t,n,r,o,i){if(!l.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw RangeError("Index out of range")}function w(e,t,n,r,o,i){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function C(e,t,n,r,i){return t=+t,n>>>=0,i||w(e,t,n,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,n,r,23,4),n+4}function S(e,t,n,r,i){return t=+t,n>>>=0,i||w(e,t,n,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,n,r,52,8),n+8}t.Buffer=l,t.SlowBuffer=function(e){return+e!=e&&(e=0),l.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,l.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,n){return s(e,t,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,n){return(c(e),e<=0)?a(e):void 0!==t?"string"==typeof n?a(e).fill(t,n):a(e).fill(t):a(e)},l.allocUnsafe=function(e){return u(e)},l.allocUnsafeSlow=function(e){return u(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(P(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),P(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);on&&(e+=" ... "),""},i&&(l.prototype[i]=l.prototype.inspect),l.prototype.compare=function(e,t,n,r,o){if(P(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var i=o-r,a=n-t,s=Math.min(i,a),c=this.slice(r,o),u=e.slice(t,n),f=0;f>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,a,l,s,c,u,f,d,p,h,m,g=this.length-t;if((void 0===n||n>g)&&(n=g),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var v=!1;;)switch(r){case"hex":return function(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;r>i/2&&(r=i/2);for(var a=0;a>8,o.push(n%256),o.push(r);return o}(e,this.length-h),this,h,m);default:if(v)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),v=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},l.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||b(e,t,this.length);for(var r=this[e],o=1,i=0;++i>>=0,t>>>=0,n||b(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},l.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||b(e,t,this.length);for(var r=this[e],o=1,i=0;++i=(o*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||b(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var o=Math.pow(2,8*n)-1;x(this,e,t,n,o,0)}var i=1,a=0;for(this[t]=255&e;++a>>=0,n>>>=0,!r){var o=Math.pow(2,8*n)-1;x(this,e,t,n,o,0)}var i=n-1,a=1;for(this[t+i]=255&e;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);x(this,e,t,n,o-1,-o)}var i=0,a=1,l=0;for(this[t]=255&e;++i>0)-l&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);x(this,e,t,n,o-1,-o)}var i=n-1,a=1,l=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===l&&0!==this[t+i+1]&&(l=1),this[t+i]=(e/a>>0)-l&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,n){return C(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return C(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return S(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return S(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(!l.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,r),t);return o},l.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){var o,i=e.charCodeAt(0);("utf8"===r&&i<128||"latin1"===r)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o55295&&n<57344){if(!o){if(n>56319||a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return i}function O(e){for(var t=[],n=0;n=t.length)&&!(o>=e.length);++o)t[o+n]=e[o];return o}function P(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var _=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var r=16*n,o=0;o<16;++o)t[r+o]=e[n]+e[o];return t}()},783:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */t.read=function(e,t,n,r,o){var i,a,l=8*o-r-1,s=(1<>1,u=-7,f=n?o-1:0,d=n?-1:1,p=e[t+f];for(f+=d,i=p&(1<<-u)-1,p>>=-u,u+=l;u>0;i=256*i+e[t+f],f+=d,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+f],f+=d,u-=8);if(0===i)i=1-c;else{if(i===s)return a?NaN:(p?-1:1)*(1/0);a+=Math.pow(2,r),i-=c}return(p?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,l,s,c=8*i-o-1,u=(1<>1,d=23===o?5960464477539062e-23:0,p=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(l=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-a))<1&&(a--,s*=2),a+f>=1?t+=d/s:t+=d*Math.pow(2,1-f),t*s>=2&&(a++,s/=2),a+f>=u?(l=0,a=u):a+f>=1?(l=(t*s-1)*Math.pow(2,o),a+=f):(l=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+p]=255&l,p+=h,l/=256,o-=8);for(a=a<0;e[n+p]=255&a,p+=h,a/=256,c-=8);e[n+p-h]|=128*m}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},a=!0;try{t[e](i,i.exports,r),a=!1}finally{a&&delete n[e]}return i.exports}r.ab="//";var o=r(72);e.exports=o}()},90833:function(){},80864:function(){},77663:function(e){!function(){var t={229:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var s=[],c=!1,u=-1;function f(){c&&r&&(c=!1,r.length?s=r.concat(s):u=-1,s.length&&d())}function d(){if(!c){var e=l(f);c=!0;for(var t=s.length;t;){for(r=s,s=[];++u1)for(var n=1;n
'};function i(e,t,n){return en?n:e}r.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(o[t]=n);return this},r.status=null,r.set=function(e){var t=r.isStarted();e=i(e,o.minimum,1),r.status=1===e?null:e;var n=r.render(!t),s=n.querySelector(o.barSelector),c=o.speed,u=o.easing;return n.offsetWidth,a(function(t){var i,a;""===o.positionUsing&&(o.positionUsing=r.getPositioningCSS()),l(s,(i=e,(a="translate3d"===o.positionUsing?{transform:"translate3d("+(-1+i)*100+"%,0,0)"}:"translate"===o.positionUsing?{transform:"translate("+(-1+i)*100+"%,0)"}:{"margin-left":(-1+i)*100+"%"}).transition="all "+c+"ms "+u,a)),1===e?(l(n,{transition:"none",opacity:1}),n.offsetWidth,setTimeout(function(){l(n,{transition:"all "+c+"ms linear",opacity:0}),setTimeout(function(){r.remove(),t()},c)},c)):setTimeout(t,c)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){r.status||r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},o.trickleSpeed)};return o.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var t=r.status;return t?("number"!=typeof e&&(e=(1-t)*i(Math.random()*t,.1,.95)),t=i(t+e,0,.994),r.set(t)):r.start()},r.trickle=function(){return r.inc(Math.random()*o.trickleRate)},e=0,t=0,r.promise=function(n){return n&&"resolved"!==n.state()&&(0===t&&r.start(),e++,t++,n.always(function(){0==--t?(e=0,r.done()):r.set((e-t)/e)})),this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=o.template;var n,i,a=t.querySelector(o.barSelector),s=e?"-100":(-1+(r.status||0))*100,u=document.querySelector(o.parent);return l(a,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),!o.showSpinner&&(i=t.querySelector(o.spinnerSelector))&&d(i),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},r.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(o.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&d(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective" in e?"translate3d":t+"Transform" in e?"translate":"margin"};var a=(n=[],function(e){n.push(e),1==n.length&&function e(){var t=n.shift();t&&t(e)}()}),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(n,r,o){var i;r=t[i=(i=r).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[i]=function(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,i=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+i)in n)return r;return t}(i)),n.style[r]=o}return function(e,t){var r,o,i=arguments;if(2==i.length)for(r in t)void 0!==(o=t[r])&&t.hasOwnProperty(r)&&n(e,r,o);else n(e,i[1],i[2])}}();function s(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=f(e),r=n+t;s(n,t)||(e.className=r.substring(1))}function u(e,t){var n,r=f(e);s(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function d(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r})?r.call(t,n,t,e):r)&&(e.exports=o)},13328:function(e,t,n){"use strict";n.d(t,{s:function(){return b},Z:function(){return E}});var r=n(87462),o=n(97685),i=n(67294),a=n(2788),l=n(1413),s=n(94184),c=n.n(s),u=n(94999),f=n(7028),d=n(15105),p=n(64217);function h(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function m(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}var g=n(82225),v=i.memo(function(e){return e.children},function(e,t){return!t.shouldUpdate}),y={width:0,height:0,overflow:"hidden",outline:"none"},b=i.forwardRef(function(e,t){var n,o,a,s=e.prefixCls,u=e.className,f=e.style,d=e.title,p=e.ariaId,h=e.footer,m=e.closable,g=e.closeIcon,b=e.onClose,x=e.children,w=e.bodyStyle,C=e.bodyProps,S=e.modalRender,E=e.onMouseDown,$=e.onMouseUp,O=e.holderRef,k=e.visible,j=e.forceRender,P=e.width,_=e.height,Z=(0,i.useRef)(),A=(0,i.useRef)();i.useImperativeHandle(t,function(){return{focus:function(){var e;null===(e=Z.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===A.current?Z.current.focus():e||t!==Z.current||A.current.focus()}}});var R={};void 0!==P&&(R.width=P),void 0!==_&&(R.height=_),h&&(n=i.createElement("div",{className:"".concat(s,"-footer")},h)),d&&(o=i.createElement("div",{className:"".concat(s,"-header")},i.createElement("div",{className:"".concat(s,"-title"),id:p},d))),m&&(a=i.createElement("button",{type:"button",onClick:b,"aria-label":"Close",className:"".concat(s,"-close")},g||i.createElement("span",{className:"".concat(s,"-close-x")})));var M=i.createElement("div",{className:"".concat(s,"-content")},a,o,i.createElement("div",(0,r.Z)({className:"".concat(s,"-body"),style:w},C),x),n);return i.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":d?p:null,"aria-modal":"true",ref:O,style:(0,l.Z)((0,l.Z)({},f),R),className:c()(s,u),onMouseDown:E,onMouseUp:$},i.createElement("div",{tabIndex:0,ref:Z,style:y,"aria-hidden":"true"}),i.createElement(v,{shouldUpdate:k||j},S?S(M):M),i.createElement("div",{tabIndex:0,ref:A,style:y,"aria-hidden":"true"}))}),x=i.forwardRef(function(e,t){var n=e.prefixCls,a=e.title,s=e.style,u=e.className,f=e.visible,d=e.forceRender,p=e.destroyOnClose,h=e.motionName,v=e.ariaId,y=e.onVisibleChanged,x=e.mousePosition,w=(0,i.useRef)(),C=i.useState(),S=(0,o.Z)(C,2),E=S[0],$=S[1],O={};function k(){var e,t,n,r,o,i=(n={left:(t=(e=w.current).getBoundingClientRect()).left,top:t.top},o=(r=e.ownerDocument).defaultView||r.parentWindow,n.left+=m(o),n.top+=m(o,!0),n);$(x?"".concat(x.x-i.left,"px ").concat(x.y-i.top,"px"):"")}return E&&(O.transformOrigin=E),i.createElement(g.ZP,{visible:f,onVisibleChanged:y,onAppearPrepare:k,onEnterPrepare:k,forceRender:d,motionName:h,removeOnLeave:p,ref:w},function(o,f){var d=o.className,p=o.style;return i.createElement(b,(0,r.Z)({},e,{ref:t,title:a,ariaId:v,prefixCls:n,holderRef:f,style:(0,l.Z)((0,l.Z)((0,l.Z)({},p),s),O),className:c()(u,d)}))})});function w(e){var t=e.prefixCls,n=e.style,o=e.visible,a=e.maskProps,s=e.motionName;return i.createElement(g.ZP,{key:"mask",visible:o,motionName:s,leavedClassName:"".concat(t,"-mask-hidden")},function(e,o){var s=e.className,u=e.style;return i.createElement("div",(0,r.Z)({ref:o,style:(0,l.Z)((0,l.Z)({},u),n),className:c()("".concat(t,"-mask"),s)},a))})}function C(e){var t=e.prefixCls,n=void 0===t?"rc-dialog":t,a=e.zIndex,s=e.visible,m=void 0!==s&&s,g=e.keyboard,v=void 0===g||g,y=e.focusTriggerAfterClose,b=void 0===y||y,C=e.wrapStyle,S=e.wrapClassName,E=e.wrapProps,$=e.onClose,O=e.afterOpenChange,k=e.afterClose,j=e.transitionName,P=e.animation,_=e.closable,Z=e.mask,A=void 0===Z||Z,R=e.maskTransitionName,M=e.maskAnimation,F=e.maskClosable,N=e.maskStyle,T=e.maskProps,I=e.rootClassName,L=(0,i.useRef)(),B=(0,i.useRef)(),z=(0,i.useRef)(),D=i.useState(m),H=(0,o.Z)(D,2),V=H[0],U=H[1],W=(0,f.Z)();function q(e){null==$||$(e)}var K=(0,i.useRef)(!1),G=(0,i.useRef)(),X=null;return(void 0===F||F)&&(X=function(e){K.current?K.current=!1:B.current===e.target&&q(e)}),(0,i.useEffect)(function(){m&&(U(!0),(0,u.Z)(B.current,document.activeElement)||(L.current=document.activeElement))},[m]),(0,i.useEffect)(function(){return function(){clearTimeout(G.current)}},[]),i.createElement("div",(0,r.Z)({className:c()("".concat(n,"-root"),I)},(0,p.Z)(e,{data:!0})),i.createElement(w,{prefixCls:n,visible:A&&m,motionName:h(n,R,M),style:(0,l.Z)({zIndex:a},N),maskProps:T}),i.createElement("div",(0,r.Z)({tabIndex:-1,onKeyDown:function(e){if(v&&e.keyCode===d.Z.ESC){e.stopPropagation(),q(e);return}m&&e.keyCode===d.Z.TAB&&z.current.changeActive(!e.shiftKey)},className:c()("".concat(n,"-wrap"),S),ref:B,onClick:X,style:(0,l.Z)((0,l.Z)({zIndex:a},C),{},{display:V?null:"none"})},E),i.createElement(x,(0,r.Z)({},e,{onMouseDown:function(){clearTimeout(G.current),K.current=!0},onMouseUp:function(){G.current=setTimeout(function(){K.current=!1})},ref:z,closable:void 0===_||_,ariaId:W,prefixCls:n,visible:m&&V,onClose:q,onVisibleChanged:function(e){if(e)!function(){if(!(0,u.Z)(B.current,document.activeElement)){var e;null===(e=z.current)||void 0===e||e.focus()}}();else{if(U(!1),A&&L.current&&b){try{L.current.focus({preventScroll:!0})}catch(e){}L.current=null}V&&(null==k||k())}null==O||O(e)},motionName:h(n,j,P)}))))}x.displayName="Content";var S=function(e){var t=e.visible,n=e.getContainer,l=e.forceRender,s=e.destroyOnClose,c=void 0!==s&&s,u=e.afterClose,f=i.useState(t),d=(0,o.Z)(f,2),p=d[0],h=d[1];return(i.useEffect(function(){t&&h(!0)},[t]),l||!c||p)?i.createElement(a.Z,{open:t||l||p,autoDestroy:!1,getContainer:n,autoLock:t||p},i.createElement(C,(0,r.Z)({},e,{destroyOnClose:c,afterClose:function(){null==u||u(),h(!1)}}))):null};S.displayName="Dialog";var E=S},29171:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(87462),o=n(4942),i=n(97685),a=n(45987),l=n(40228),s=n(94184),c=n.n(s),u=n(42550),f=n(67294),d=n(15105),p=n(75164),h=d.Z.ESC,m=d.Z.TAB,g=(0,f.forwardRef)(function(e,t){var n=e.overlay,r=e.arrow,o=e.prefixCls,i=(0,f.useMemo)(function(){return"function"==typeof n?n():n},[n]),a=(0,u.sQ)(t,null==i?void 0:i.ref);return f.createElement(f.Fragment,null,r&&f.createElement("div",{className:"".concat(o,"-arrow")}),f.cloneElement(i,{ref:(0,u.Yr)(i)?a:void 0}))}),v={adjustX:1,adjustY:1},y=[0,0],b={topLeft:{points:["bl","tl"],overflow:v,offset:[0,-4],targetOffset:y},top:{points:["bc","tc"],overflow:v,offset:[0,-4],targetOffset:y},topRight:{points:["br","tr"],overflow:v,offset:[0,-4],targetOffset:y},bottomLeft:{points:["tl","bl"],overflow:v,offset:[0,4],targetOffset:y},bottom:{points:["tc","bc"],overflow:v,offset:[0,4],targetOffset:y},bottomRight:{points:["tr","br"],overflow:v,offset:[0,4],targetOffset:y}},x=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"],w=f.forwardRef(function(e,t){var n,s,d,v,y,w,C,S,E,$,O,k,j,P,_=e.arrow,Z=void 0!==_&&_,A=e.prefixCls,R=void 0===A?"rc-dropdown":A,M=e.transitionName,F=e.animation,N=e.align,T=e.placement,I=e.placements,L=e.getPopupContainer,B=e.showAction,z=e.hideAction,D=e.overlayClassName,H=e.overlayStyle,V=e.visible,U=e.trigger,W=void 0===U?["hover"]:U,q=e.autoFocus,K=e.overlay,G=e.children,X=e.onVisibleChange,Y=(0,a.Z)(e,x),J=f.useState(),Q=(0,i.Z)(J,2),ee=Q[0],et=Q[1],en="visible"in e?V:ee,er=f.useRef(null),eo=f.useRef(null),ei=f.useRef(null);f.useImperativeHandle(t,function(){return er.current});var ea=function(e){et(e),null==X||X(e)};s=(n={visible:en,triggerRef:ei,onVisibleChange:ea,autoFocus:q,overlayRef:eo}).visible,d=n.triggerRef,v=n.onVisibleChange,y=n.autoFocus,w=n.overlayRef,C=f.useRef(!1),S=function(){if(s){var e,t;null===(e=d.current)||void 0===e||null===(t=e.focus)||void 0===t||t.call(e),null==v||v(!1)}},E=function(){var e;return null!==(e=w.current)&&void 0!==e&&!!e.focus&&(w.current.focus(),C.current=!0,!0)},$=function(e){switch(e.keyCode){case h:S();break;case m:var t=!1;C.current||(t=E()),t?e.preventDefault():S()}},f.useEffect(function(){return s?(window.addEventListener("keydown",$),y&&(0,p.Z)(E,3),function(){window.removeEventListener("keydown",$),C.current=!1}):function(){C.current=!1}},[s]);var el=function(){return f.createElement(g,{ref:eo,overlay:K,prefixCls:R,arrow:Z})},es=f.cloneElement(G,{className:c()(null===(P=G.props)||void 0===P?void 0:P.className,en&&(void 0!==(O=e.openClassName)?O:"".concat(R,"-open"))),ref:(0,u.Yr)(G)?(0,u.sQ)(ei,G.ref):void 0}),ec=z;return ec||-1===W.indexOf("contextMenu")||(ec=["click"]),f.createElement(l.Z,(0,r.Z)({builtinPlacements:void 0===I?b:I},Y,{prefixCls:R,ref:er,popupClassName:c()(D,(0,o.Z)({},"".concat(R,"-show-arrow"),Z)),popupStyle:H,action:W,showAction:B,hideAction:ec,popupPlacement:void 0===T?"bottomLeft":T,popupAlign:N,popupTransitionName:M,popupAnimation:F,popupVisible:en,stretch:(k=e.minOverlayWidthMatchTrigger,j=e.alignPoint,"minOverlayWidthMatchTrigger"in e?k:!j)?"minWidth":"",popup:"function"==typeof K?el:el(),onPopupVisibleChange:ea,onPopupClick:function(t){var n=e.onOverlayClick;et(!1),n&&n(t)},getPopupContainer:L}),es)})},43589:function(e,t,n){"use strict";n.d(t,{gN:function(){return eg},zb:function(){return x},RV:function(){return eO},aV:function(){return ev},ZM:function(){return w},ZP:function(){return eA},cI:function(){return eE},qo:function(){return e_}});var r,o=n(67294),i=n(87462),a=n(45987),l=n(4942),s=n(1413),c=n(74902),u=n(15671),f=n(43144),d=n(97326),p=n(32531),h=n(73568),m=n(50344),g=n(80334),v=n(91881),y="RC_FORM_INTERNAL_HOOKS",b=function(){(0,g.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},x=o.createContext({getFieldValue:b,getFieldsValue:b,getFieldError:b,getFieldWarning:b,getFieldsError:b,isFieldsTouched:b,isFieldTouched:b,isFieldValidating:b,isFieldsValidating:b,resetFields:b,setFields:b,setFieldValue:b,setFieldsValue:b,validateFields:b,submit:b,getInternalHooks:function(){return b(),{dispatch:b,initEntityValue:b,registerField:b,useSubscribe:b,setInitialValues:b,destroyForm:b,setCallbacks:b,registerWatch:b,getFields:b,setValidateMessages:b,setPreserve:b,getInitialValue:b}}}),w=o.createContext(null);function C(e){return null==e?[]:Array.isArray(e)?e:[e]}var S=n(74165),E=n(15861),$=n(83454);function O(){return(O=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?t-1:0),r=1;r=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(e){return"[Circular]"}break;default:return e}}):e}function M(e,t){return!!(null==e||"array"===t&&Array.isArray(e)&&!e.length)||("string"===t||"url"===t||"hex"===t||"email"===t||"date"===t||"pattern"===t)&&"string"==typeof e&&!e}function F(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length){n(a);return}var l=r;r+=1,l()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},D={integer:function(e){return D.number(e)&&parseInt(e,10)===e},float:function(e){return D.number(e)&&!D.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return new RegExp(e),!0}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!D.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(z.email)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(B())},hex:function(e){return"string"==typeof e&&!!e.match(z.hex)}},H="enum",V={required:L,whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(R(o.messages.whitespace,e.fullField))},type:function(e,t,n,r,o){if(e.required&&void 0===t){L(e,t,n,r,o);return}var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?D[i](t)||r.push(R(o.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&r.push(R(o.messages.types[i],e.fullField,e.type))},range:function(e,t,n,r,o){var i="number"==typeof e.len,a="number"==typeof e.min,l="number"==typeof e.max,s=t,c=null,u="number"==typeof t,f="string"==typeof t,d=Array.isArray(t);if(u?c="number":f?c="string":d&&(c="array"),!c)return!1;d&&(s=t.length),f&&(s=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?s!==e.len&&r.push(R(o.messages[c].len,e.fullField,e.len)):a&&!l&&se.max?r.push(R(o.messages[c].max,e.fullField,e.max)):a&&l&&(se.max)&&r.push(R(o.messages[c].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e[H]=Array.isArray(e[H])?e[H]:[],-1===e[H].indexOf(t)&&r.push(R(o.messages[H],e.fullField,e[H].join(", ")))},pattern:function(e,t,n,r,o){!e.pattern||(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||r.push(R(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"!=typeof e.pattern||new RegExp(e.pattern).test(t)||r.push(R(o.messages.pattern.mismatch,e.fullField,t,e.pattern)))}},U=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(M(t,i)&&!e.required)return n();V.required(e,t,r,a,o,i),M(t,i)||V.type(e,t,r,a,o)}n(a)},W={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(M(t,"string")&&!e.required)return n();V.required(e,t,r,i,o,"string"),M(t,"string")||(V.type(e,t,r,i,o),V.range(e,t,r,i,o),V.pattern(e,t,r,i,o),!0===e.whitespace&&V.whitespace(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(M(t)&&!e.required)return n();V.required(e,t,r,i,o),void 0!==t&&V.type(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),M(t)&&!e.required)return n();V.required(e,t,r,i,o),void 0!==t&&(V.type(e,t,r,i,o),V.range(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(M(t)&&!e.required)return n();V.required(e,t,r,i,o),void 0!==t&&V.type(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(M(t)&&!e.required)return n();V.required(e,t,r,i,o),M(t)||V.type(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(M(t)&&!e.required)return n();V.required(e,t,r,i,o),void 0!==t&&(V.type(e,t,r,i,o),V.range(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(M(t)&&!e.required)return n();V.required(e,t,r,i,o),void 0!==t&&(V.type(e,t,r,i,o),V.range(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();V.required(e,t,r,i,o,"array"),null!=t&&(V.type(e,t,r,i,o),V.range(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(M(t)&&!e.required)return n();V.required(e,t,r,i,o),void 0!==t&&V.type(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(M(t)&&!e.required)return n();V.required(e,t,r,i,o),void 0!==t&&V.enum(e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(M(t,"string")&&!e.required)return n();V.required(e,t,r,i,o),M(t,"string")||V.pattern(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(M(t,"date")&&!e.required)return n();V.required(e,t,r,a,o),!M(t,"date")&&(i=t instanceof Date?t:new Date(t),V.type(e,i,r,a,o),i&&V.range(e,i.getTime(),r,a,o))}n(a)},url:U,hex:U,email:U,required:function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":typeof t;V.required(e,t,r,i,o,a),n(i)},any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(M(t)&&!e.required)return n();V.required(e,t,r,i,o)}n(i)}};function q(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var K=q(),G=function(){function e(e){this.rules=null,this._messages=K,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw Error("Rules must be an object");this.rules={},Object.keys(e).forEach(function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]})},t.messages=function(e){return e&&(this._messages=I(q(),e)),this._messages},t.validate=function(t,n,r){var o=this;void 0===n&&(n={}),void 0===r&&(r=function(){});var i=t,a=n,l=r;if("function"==typeof a&&(l=a,a={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(null,i),Promise.resolve(i);if(a.messages){var s=this.messages();s===K&&(s=q()),I(s,a.messages),a.messages=s}else a.messages=this.messages();var c={};(a.keys||Object.keys(this.rules)).forEach(function(e){var n=o.rules[e],r=i[e];n.forEach(function(n){var a=n;"function"==typeof a.transform&&(i===t&&(i=O({},i)),r=i[e]=a.transform(r)),(a="function"==typeof a?{validator:a}:O({},a)).validator=o.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=o.getType(a),c[e]=c[e]||[],c[e].push({rule:a,value:r,source:i,field:e}))})});var u={};return function(e,t,n,r,o){if(t.first){var i=new Promise(function(t,i){var a;F((a=[],Object.keys(e).forEach(function(t){a.push.apply(a,e[t]||[])}),a),n,function(e){return r(e),e.length?i(new N(e,A(e))):t(o)})});return i.catch(function(e){return e}),i}var a=!0===t.firstFields?Object.keys(e):t.firstFields||[],l=Object.keys(e),s=l.length,c=0,u=[],f=new Promise(function(t,i){var f=function(e){if(u.push.apply(u,e),++c===s)return r(u),u.length?i(new N(u,A(u))):t(o)};l.length||(r(u),t(o)),l.forEach(function(t){var r=e[t];-1!==a.indexOf(t)?F(r,n,f):function(e,t,n){var r=[],o=0,i=e.length;function a(e){r.push.apply(r,e||[]),++o===i&&n(r)}e.forEach(function(e){t(e,a)})}(r,n,f)})});return f.catch(function(e){return e}),f}(c,a,function(t,n){var r,o=t.rule,l=("object"===o.type||"array"===o.type)&&("object"==typeof o.fields||"object"==typeof o.defaultField);function s(e,t){return O({},t,{fullField:o.fullField+"."+e,fullFields:o.fullFields?[].concat(o.fullFields,[e]):[e]})}function c(r){void 0===r&&(r=[]);var c=Array.isArray(r)?r:[r];!a.suppressWarning&&c.length&&e.warning("async-validator:",c),c.length&&void 0!==o.message&&(c=[].concat(o.message));var f=c.map(T(o,i));if(a.first&&f.length)return u[o.field]=1,n(f);if(l){if(o.required&&!t.value)return void 0!==o.message?f=[].concat(o.message).map(T(o,i)):a.error&&(f=[a.error(o,R(a.messages.required,o.field))]),n(f);var d={};o.defaultField&&Object.keys(t.value).map(function(e){d[e]=o.defaultField});var p={};Object.keys(d=O({},d,t.rule.fields)).forEach(function(e){var t=d[e],n=Array.isArray(t)?t:[t];p[e]=n.map(s.bind(null,e))});var h=new e(p);h.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),h.validate(t.value,t.rule.options||a,function(e){var t=[];f&&f.length&&t.push.apply(t,f),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)})}else n(f)}if(l=l&&(o.required||!o.required&&t.value),o.field=t.field,o.asyncValidator)r=o.asyncValidator(o,t.value,c,t.source,a);else if(o.validator){try{r=o.validator(o,t.value,c,t.source,a)}catch(e){null==console.error||console.error(e),a.suppressValidatorError||setTimeout(function(){throw e},0),c(e.message)}!0===r?c():!1===r?c("function"==typeof o.message?o.message(o.fullField||o.field):o.message||(o.fullField||o.field)+" fails"):r instanceof Array?c(r):r instanceof Error&&c(r.message)}r&&r.then&&r.then(function(){return c()},function(e){return c(e)})},function(e){!function(e){for(var t=[],n={},r=0;r=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat((0,c.Z)(e.slice(0,n)),[o],(0,c.Z)(e.slice(n,t)),(0,c.Z)(e.slice(t+1,r))):i<0?[].concat((0,c.Z)(e.slice(0,t)),(0,c.Z)(e.slice(t+1,n+1)),[o],(0,c.Z)(e.slice(n+1,r))):e}var ed=["name"],ep=[];function eh(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var em=function(e){(0,p.Z)(n,e);var t=(0,h.Z)(n);function n(e){var r;return(0,u.Z)(this,n),(r=t.call(this,e)).state={resetCount:0},r.cancelRegisterFunc=null,r.mounted=!1,r.touched=!1,r.dirty=!1,r.validatePromise=void 0,r.prevValidating=void 0,r.errors=ep,r.warnings=ep,r.cancelRegister=function(){var e=r.props,t=e.preserve,n=e.isListField,o=e.name;r.cancelRegisterFunc&&r.cancelRegisterFunc(n,t,ea(o)),r.cancelRegisterFunc=null},r.getNamePath=function(){var e=r.props,t=e.name,n=e.fieldContext.prefixName,o=void 0===n?[]:n;return void 0!==t?[].concat((0,c.Z)(o),(0,c.Z)(t)):[]},r.getRules=function(){var e=r.props,t=e.rules,n=e.fieldContext;return(void 0===t?[]:t).map(function(e){return"function"==typeof e?e(n):e})},r.refresh=function(){r.mounted&&r.setState(function(e){return{resetCount:e.resetCount+1}})},r.metaCache=null,r.triggerMetaEvent=function(e){var t=r.props.onMetaChange;if(t){var n=(0,s.Z)((0,s.Z)({},r.getMeta()),{},{destroy:e});(0,v.Z)(r.metaCache,n)||t(n),r.metaCache=n}else r.metaCache=null},r.onStoreChange=function(e,t,n){var o=r.props,i=o.shouldUpdate,a=o.dependencies,l=void 0===a?[]:a,s=o.onReset,c=n.store,u=r.getNamePath(),f=r.getValue(e),d=r.getValue(c),p=t&&es(t,u);switch("valueUpdate"===n.type&&"external"===n.source&&f!==d&&(r.touched=!0,r.dirty=!0,r.validatePromise=null,r.errors=ep,r.warnings=ep,r.triggerMetaEvent()),n.type){case"reset":if(!t||p){r.touched=!1,r.dirty=!1,r.validatePromise=void 0,r.errors=ep,r.warnings=ep,r.triggerMetaEvent(),null==s||s(),r.refresh();return}break;case"remove":if(i){r.reRender();return}break;case"setField":if(p){var h=n.data;"touched"in h&&(r.touched=h.touched),"validating"in h&&!("originRCField"in h)&&(r.validatePromise=h.validating?Promise.resolve([]):null),"errors"in h&&(r.errors=h.errors||ep),"warnings"in h&&(r.warnings=h.warnings||ep),r.dirty=!0,r.triggerMetaEvent(),r.reRender();return}if(i&&!u.length&&eh(i,e,c,f,d,n)){r.reRender();return}break;case"dependenciesUpdate":if(l.map(ea).some(function(e){return es(n.relatedFields,e)})){r.reRender();return}break;default:if(p||(!l.length||u.length||i)&&eh(i,e,c,f,d,n)){r.reRender();return}}!0===i&&r.reRender()},r.validateRules=function(e){var t=r.getNamePath(),n=r.getValue(),o=e||{},i=o.triggerName,a=o.validateOnly,l=Promise.resolve().then(function(){if(!r.mounted)return[];var o=r.props,a=o.validateFirst,u=void 0!==a&&a,f=o.messageVariables,d=r.getRules();i&&(d=d.filter(function(e){return e}).filter(function(e){var t=e.validateTrigger;return!t||C(t).includes(i)}));var p=function(e,t,n,r,o,i){var a,l,c=e.join("."),u=n.map(function(e,t){var n=e.validator,r=(0,s.Z)((0,s.Z)({},e),{},{ruleIndex:t});return n&&(r.validator=function(e,t,r){var o=!1,i=n(e,t,function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:ep;if(r.validatePromise===l){r.validatePromise=null;var t,n=[],o=[];null===(t=e.forEach)||void 0===t||t.call(e,function(e){var t=e.rule.warningOnly,r=e.errors,i=void 0===r?ep:r;t?o.push.apply(o,(0,c.Z)(i)):n.push.apply(n,(0,c.Z)(i))}),r.errors=n,r.warnings=o,r.triggerMetaEvent(),r.reRender()}}),p});return void 0!==a&&a||(r.validatePromise=l,r.dirty=!0,r.errors=ep,r.warnings=ep,r.triggerMetaEvent(),r.reRender()),l},r.isFieldValidating=function(){return!!r.validatePromise},r.isFieldTouched=function(){return r.touched},r.isFieldDirty=function(){return!!r.dirty||void 0!==r.props.initialValue||void 0!==(0,r.props.fieldContext.getInternalHooks(y).getInitialValue)(r.getNamePath())},r.getErrors=function(){return r.errors},r.getWarnings=function(){return r.warnings},r.isListField=function(){return r.props.isListField},r.isList=function(){return r.props.isList},r.isPreserve=function(){return r.props.preserve},r.getMeta=function(){return r.prevValidating=r.isFieldValidating(),{touched:r.isFieldTouched(),validating:r.prevValidating,errors:r.errors,warnings:r.warnings,name:r.getNamePath(),validated:null===r.validatePromise}},r.getOnlyChild=function(e){if("function"==typeof e){var t=r.getMeta();return(0,s.Z)((0,s.Z)({},r.getOnlyChild(e(r.getControlled(),t,r.props.fieldContext))),{},{isFunction:!0})}var n=(0,m.Z)(e);return 1===n.length&&o.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}},r.getValue=function(e){var t=r.props.fieldContext.getFieldsValue,n=r.getNamePath();return(0,ei.Z)(e||t(!0),n)},r.getControlled=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.props,n=t.trigger,o=t.validateTrigger,i=t.getValueFromEvent,a=t.normalize,c=t.valuePropName,u=t.getValueProps,f=t.fieldContext,d=void 0!==o?o:f.validateTrigger,p=r.getNamePath(),h=f.getInternalHooks,m=f.getFieldsValue,g=h(y).dispatch,v=r.getValue(),b=u||function(e){return(0,l.Z)({},c,e)},x=e[n],w=(0,s.Z)((0,s.Z)({},e),b(v));return w[n]=function(){r.touched=!0,r.dirty=!0,r.triggerMetaEvent();for(var e,t=arguments.length,n=Array(t),o=0;o=0&&t<=n.length?(d.keys=[].concat((0,c.Z)(d.keys.slice(0,t)),[d.id],(0,c.Z)(d.keys.slice(t))),o([].concat((0,c.Z)(n.slice(0,t)),[e],(0,c.Z)(n.slice(t))))):(d.keys=[].concat((0,c.Z)(d.keys),[d.id]),o([].concat((0,c.Z)(n),[e]))),d.id+=1},remove:function(e){var t=a(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(d.keys=d.keys.filter(function(e,t){return!n.has(t)}),o(t.filter(function(e,t){return!n.has(t)})))},move:function(e,t){if(e!==t){var n=a();e<0||e>=n.length||t<0||t>=n.length||(d.keys=ef(d.keys,e,t),o(ef(n,e,t)))}}},t)})))},ey=n(97685),eb="__@field_split__";function ex(e){return e.map(function(e){return"".concat((0,eo.Z)(e),":").concat(e)}).join(eb)}var ew=function(){function e(){(0,u.Z)(this,e),this.kvs=new Map}return(0,f.Z)(e,[{key:"set",value:function(e,t){this.kvs.set(ex(e),t)}},{key:"get",value:function(e){return this.kvs.get(ex(e))}},{key:"update",value:function(e,t){var n=t(this.get(e));n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(ex(e))}},{key:"map",value:function(e){return(0,c.Z)(this.kvs.entries()).map(function(t){var n=(0,ey.Z)(t,2),r=n[0],o=n[1];return e({key:r.split(eb).map(function(e){var t=e.match(/^([^:]*):(.*)$/),n=(0,ey.Z)(t,3),r=n[1],o=n[2];return"number"===r?Number(o):o}),value:o})})}},{key:"toJSON",value:function(){var e={};return this.map(function(t){var n=t.key,r=t.value;return e[n.join(".")]=r,null}),e}}]),e}(),eC=["name"],eS=(0,f.Z)(function e(t){var n=this;(0,u.Z)(this,e),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}},this.getInternalHooks=function(e){return e===y?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):((0,g.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(e){n.subscribable=e},this.prevWithoutPreserves=null,this.setInitialValues=function(e,t){if(n.initialValues=e||{},t){var r,o=(0,J.T)(e,n.store);null===(r=n.prevWithoutPreserves)||void 0===r||r.map(function(t){var n=t.key;o=(0,J.Z)(o,n,(0,ei.Z)(e,n))}),n.prevWithoutPreserves=null,n.updateStore(o)}},this.destroyForm=function(){var e=new ew;n.getFieldEntities(!0).forEach(function(t){n.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)}),n.prevWithoutPreserves=e},this.getInitialValue=function(e){var t=(0,ei.Z)(n.initialValues,e);return e.length?(0,J.T)(t):t},this.setCallbacks=function(e){n.callbacks=e},this.setValidateMessages=function(e){n.validateMessages=e},this.setPreserve=function(e){n.preserve=e},this.watchList=[],this.registerWatch=function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter(function(t){return t!==e})}},this.notifyWatch=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(n.watchList.length){var t=n.getFieldsValue(),r=n.getFieldsValue(!0);n.watchList.forEach(function(n){n(t,r,e)})}},this.timeoutId=null,this.warningUnhooked=function(){},this.updateStore=function(e){n.store=e},this.getFieldEntities=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?n.fieldEntities.filter(function(e){return e.getNamePath().length}):n.fieldEntities},this.getFieldsMap=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new ew;return n.getFieldEntities(e).forEach(function(e){var n=e.getNamePath();t.set(n,e)}),t},this.getFieldEntitiesForNamePathList=function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map(function(e){var n=ea(e);return t.get(n)||{INVALIDATE_NAME_PATH:ea(e)}})},this.getFieldsValue=function(e,t){if(n.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,o=t):e&&"object"===(0,eo.Z)(e)&&(i=e.strict,o=e.filter),!0===r&&!o)return n.store;var r,o,i,a=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),l=[];return a.forEach(function(e){var t,n,a="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(i){if(null===(n=e.isList)||void 0===n?void 0:n.call(e))return}else if(!r&&(null===(t=e.isListField)||void 0===t?void 0:t.call(e)))return;o?o("getMeta"in e?e.getMeta():null)&&l.push(a):l.push(a)}),el(n.store,l.map(ea))},this.getFieldValue=function(e){n.warningUnhooked();var t=ea(e);return(0,ei.Z)(n.store,t)},this.getFieldsError=function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map(function(t,n){return!t||"INVALIDATE_NAME_PATH"in t?{name:ea(e[n]),errors:[],warnings:[]}:{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}})},this.getFieldError=function(e){n.warningUnhooked();var t=ea(e);return n.getFieldsError([t])[0].errors},this.getFieldWarning=function(e){n.warningUnhooked();var t=ea(e);return n.getFieldsError([t])[0].warnings},this.isFieldsTouched=function(){n.warningUnhooked();for(var e,t=arguments.length,r=Array(t),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},r=new ew,o=n.getFieldEntities(!0);o.forEach(function(e){var t=e.props.initialValue,n=e.getNamePath();if(void 0!==t){var o=r.get(n)||new Set;o.add({entity:e,value:t}),r.set(n,o)}}),t.entities?e=t.entities:t.namePathList?(e=[],t.namePathList.forEach(function(t){var n,o=r.get(t);o&&(n=e).push.apply(n,(0,c.Z)((0,c.Z)(o).map(function(e){return e.entity})))})):e=o,function(e){e.forEach(function(e){if(void 0!==e.props.initialValue){var o=e.getNamePath();if(void 0!==n.getInitialValue(o))(0,g.ZP)(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=r.get(o);if(i&&i.size>1)(0,g.ZP)(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var a=n.getFieldValue(o);t.skipExist&&void 0!==a||n.updateStore((0,J.Z)(n.store,o,(0,c.Z)(i)[0].value))}}}})}(e)},this.resetFields=function(e){n.warningUnhooked();var t=n.store;if(!e){n.updateStore((0,J.T)(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),n.notifyWatch();return}var r=e.map(ea);r.forEach(function(e){var t=n.getInitialValue(e);n.updateStore((0,J.Z)(n.store,e,t))}),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)},this.setFields=function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach(function(e){var o=e.name,i=(0,a.Z)(e,eC),l=ea(o);r.push(l),"value"in i&&n.updateStore((0,J.Z)(n.store,l,i.value)),n.notifyObservers(t,[l],{type:"setField",data:e})}),n.notifyWatch(r)},this.getFields=function(){return n.getFieldEntities(!0).map(function(e){var t=e.getNamePath(),r=e.getMeta(),o=(0,s.Z)((0,s.Z)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(o,"originRCField",{value:!0}),o})},this.initEntityValue=function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===(0,ei.Z)(n.store,r)&&n.updateStore((0,J.Z)(n.store,r,t))}},this.isMergedPreserve=function(e){var t=void 0!==e?e:n.preserve;return null==t||t},this.registerField=function(e){n.fieldEntities.push(e);var t=e.getNamePath();if(n.notifyWatch([t]),void 0!==e.props.initialValue){var r=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(r,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(t){return t!==e}),!n.isMergedPreserve(o)&&(!r||i.length>1)){var a=r?void 0:n.getInitialValue(t);if(t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every(function(e){return!ec(e.getNamePath(),t)})){var l=n.store;n.updateStore((0,J.Z)(l,t,a,!0)),n.notifyObservers(l,[t],{type:"remove"}),n.triggerDependenciesUpdate(l,t)}}n.notifyWatch([t])}},this.dispatch=function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var o=e.namePath,i=e.triggerName;n.validateFields([o],{triggerName:i})}},this.notifyObservers=function(e,t,r){if(n.subscribable){var o=(0,s.Z)((0,s.Z)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(n){(0,n.onStoreChange)(e,t,o)})}else n.forceRootUpdate()},this.triggerDependenciesUpdate=function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat((0,c.Z)(r))}),r},this.updateValue=function(e,t){var r=ea(e),o=n.store;n.updateStore((0,J.Z)(n.store,r,t)),n.notifyObservers(o,[r],{type:"valueUpdate",source:"internal"}),n.notifyWatch([r]);var i=n.triggerDependenciesUpdate(o,r),a=n.callbacks.onValuesChange;a&&a(el(n.store,[r]),n.getFieldsValue()),n.triggerOnFieldsChange([r].concat((0,c.Z)(i)))},this.setFieldsValue=function(e){n.warningUnhooked();var t=n.store;if(e){var r=(0,J.T)(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()},this.setFieldValue=function(e,t){n.setFields([{name:e,value:t}])},this.getDependencyChildrenFields=function(e){var t=new Set,r=[],o=new ew;return n.getFieldEntities().forEach(function(e){(e.props.dependencies||[]).forEach(function(t){var n=ea(t);o.update(n,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t})})}),function e(n){(o.get(n)||new Set).forEach(function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}})}(e),r},this.triggerOnFieldsChange=function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new ew;t.forEach(function(e){var t=e.name,n=e.errors;i.set(t,n)}),o.forEach(function(e){e.errors=i.get(e.name)||e.errors})}var a=o.filter(function(t){return es(e,t.name)});a.length&&r(a,o)}},this.validateFields=function(e,t){n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(a=e,l=t):l=e;var r,o,i,a,l,u=!!a,f=u?a.map(ea):[],d=[],p=String(Date.now()),h=new Set;n.getFieldEntities(!0).forEach(function(e){if(u||f.push(e.getNamePath()),(null===(t=l)||void 0===t?void 0:t.recursive)&&u){var t,r=e.getNamePath();r.every(function(e,t){return a[t]===e||void 0===a[t]})&&f.push(r)}if(e.props.rules&&e.props.rules.length){var o=e.getNamePath();if(h.add(o.join(p)),!u||es(f,o)){var i=e.validateRules((0,s.Z)({validateMessages:(0,s.Z)((0,s.Z)({},Y),n.validateMessages)},l));d.push(i.then(function(){return{name:o,errors:[],warnings:[]}}).catch(function(e){var t,n=[],r=[];return(null===(t=e.forEach)||void 0===t||t.call(e,function(e){var t=e.rule.warningOnly,o=e.errors;t?r.push.apply(r,(0,c.Z)(o)):n.push.apply(n,(0,c.Z)(o))}),n.length)?Promise.reject({name:o,errors:n,warnings:r}):{name:o,errors:n,warnings:r}}))}}});var m=(r=!1,o=d.length,i=[],d.length?new Promise(function(e,t){d.forEach(function(n,a){n.catch(function(e){return r=!0,e}).then(function(n){o-=1,i[a]=n,o>0||(r&&t(i),e(i))})})}):Promise.resolve([]));n.lastValidatePromise=m,m.catch(function(e){return e}).then(function(e){var t=e.map(function(e){return e.name});n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)});var g=m.then(function(){return n.lastValidatePromise===m?Promise.resolve(n.getFieldsValue(f)):Promise.reject([])}).catch(function(e){var t=e.filter(function(e){return e&&e.errors.length});return Promise.reject({values:n.getFieldsValue(f),errorFields:t,outOfDate:n.lastValidatePromise!==m})});g.catch(function(e){return e});var v=f.filter(function(e){return h.has(e.join(p))});return n.triggerOnFieldsChange(v),g},this.submit=function(){n.warningUnhooked(),n.validateFields().then(function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}}).catch(function(e){var t=n.callbacks.onFinishFailed;t&&t(e)})},this.forceRootUpdate=t}),eE=function(e){var t=o.useRef(),n=o.useState({}),r=(0,ey.Z)(n,2)[1];if(!t.current){if(e)t.current=e;else{var i=new eS(function(){r({})});t.current=i.getForm()}}return[t.current]},e$=o.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),eO=function(e){var t=e.validateMessages,n=e.onFormChange,r=e.onFormFinish,i=e.children,a=o.useContext(e$),c=o.useRef({});return o.createElement(e$.Provider,{value:(0,s.Z)((0,s.Z)({},a),{},{validateMessages:(0,s.Z)((0,s.Z)({},a.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:c.current}),a.triggerFormChange(e,t)},triggerFormFinish:function(e,t){r&&r(e,{values:t,forms:c.current}),a.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(c.current=(0,s.Z)((0,s.Z)({},c.current),{},(0,l.Z)({},e,t))),a.registerForm(e,t)},unregisterForm:function(e){var t=(0,s.Z)({},c.current);delete t[e],c.current=t,a.unregisterForm(e)}})},i)},ek=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"];function ej(e){try{return JSON.stringify(e)}catch(e){return Math.random()}}var eP=function(){},e_=function(){for(var e=arguments.length,t=Array(e),n=0;n1?t-1:0),o=1;o1&&void 0!==arguments[1]&&arguments[1];if((0,A.Z)(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),o=e.getAttribute("tabindex"),i=Number(o),a=null;return o&&!Number.isNaN(i)?a=i:r&&null===a&&(a=0),r&&e.disabled&&(a=null),null!==a&&(a>=0||t&&a<0)}return!1}var M=_.Z.LEFT,F=_.Z.RIGHT,N=_.Z.UP,T=_.Z.DOWN,I=_.Z.ENTER,L=_.Z.ESC,B=_.Z.HOME,z=_.Z.END,D=[N,T,M,F];function H(e,t){return(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,a.Z)(e.querySelectorAll("*")).filter(function(e){return R(e,t)});return R(e,t)&&n.unshift(e),n})(e,!0).filter(function(e){return t.has(e)})}function V(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=H(e,t),i=o.length,a=o.findIndex(function(e){return n===e});return r<0?-1===a?a=i-1:a-=1:r>0&&(a+=1),o[a=(a+i)%i]}var U="__RC_UTIL_PATH_SPLIT__",W=function(e){return e.join(U)},q="rc-menu-more";function K(e){var t=h.useRef(e);t.current=e;var n=h.useCallback(function(){for(var e,n=arguments.length,r=Array(n),o=0;o1&&(E.motionAppear=!1);var $=E.onVisibleChanged;return(E.onVisibleChanged=function(e){return g.current||e||x(!0),null==$?void 0:$(e)},b)?null:h.createElement(S,{mode:s,locked:!g.current},h.createElement(e$.ZP,(0,r.Z)({visible:w},E,{forceRender:f,removeOnLeave:!1,leavedClassName:"".concat(u,"-hidden")}),function(e){var n=e.className,r=e.style;return h.createElement(em,{id:t,className:n,style:r},a)}))}var ek=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],ej=["active"],eP=function(e){var t,n=e.style,a=e.className,c=e.title,d=e.eventKey,p=(e.warnKey,e.disabled),m=e.internalPopupClose,g=e.children,v=e.itemIcon,y=e.expandIcon,x=e.popupClassName,w=e.popupOffset,E=e.onClick,$=e.onMouseEnter,O=e.onMouseLeave,_=e.onTitleClick,Z=e.onTitleMouseEnter,A=e.onTitleMouseLeave,R=(0,s.Z)(e,ek),M=b(d),F=h.useContext(C),N=F.prefixCls,T=F.mode,I=F.openKeys,L=F.disabled,B=F.overflowDisabled,z=F.activeKey,D=F.selectedKeys,H=F.itemIcon,V=F.expandIcon,U=F.onItemClick,W=F.onOpenChange,q=F.onActive,G=h.useContext(P)._internalRenderSubMenuItem,X=h.useContext(j).isSubPathKey,Y=k(),J="".concat(N,"-submenu"),Q=L||p,ee=h.useRef(),et=h.useRef(),en=y||V,ea=I.includes(d),es=!B&&ea,ec=X(D,d),eu=er(d,Q,Z,A),ef=eu.active,ed=(0,s.Z)(eu,ej),ep=h.useState(!1),eh=(0,l.Z)(ep,2),eg=eh[0],ev=eh[1],ey=function(e){Q||ev(e)},eb=h.useMemo(function(){return ef||"inline"!==T&&(eg||X([z],d))},[T,ef,z,eg,d,X]),ex=eo(Y.length),ew=K(function(e){null==E||E(el(e)),U(e)}),eC=M&&"".concat(M,"-popup"),eS=h.createElement("div",(0,r.Z)({role:"menuitem",style:ex,className:"".concat(J,"-title"),tabIndex:Q?null:-1,ref:ee,title:"string"==typeof c?c:null,"data-menu-id":B&&M?null:M,"aria-expanded":es,"aria-haspopup":!0,"aria-controls":eC,"aria-disabled":Q,onClick:function(e){Q||(null==_||_({key:d,domEvent:e}),"inline"===T&&W(d,!ea))},onFocus:function(){q(d)}},ed),c,h.createElement(ei,{icon:"horizontal"!==T?en:null,props:(0,i.Z)((0,i.Z)({},e),{},{isOpen:es,isSubMenu:!0})},h.createElement("i",{className:"".concat(J,"-arrow")}))),e$=h.useRef(T);if("inline"!==T&&Y.length>1?e$.current="vertical":e$.current=T,!B){var eP=e$.current;eS=h.createElement(eE,{mode:eP,prefixCls:J,visible:!m&&es&&"inline"!==T,popupClassName:x,popupOffset:w,popup:h.createElement(S,{mode:"horizontal"===eP?"vertical":eP},h.createElement(em,{id:eC,ref:et},g)),disabled:Q,onVisibleChange:function(e){"inline"!==T&&W(d,e)}},eS)}var e_=h.createElement(f.Z.Item,(0,r.Z)({role:"none"},R,{component:"li",style:n,className:u()(J,"".concat(J,"-").concat(T),a,(t={},(0,o.Z)(t,"".concat(J,"-open"),es),(0,o.Z)(t,"".concat(J,"-active"),eb),(0,o.Z)(t,"".concat(J,"-selected"),ec),(0,o.Z)(t,"".concat(J,"-disabled"),Q),t)),onMouseEnter:function(e){ey(!0),null==$||$({key:d,domEvent:e})},onMouseLeave:function(e){ey(!1),null==O||O({key:d,domEvent:e})}}),eS,!B&&h.createElement(eO,{id:eC,open:es,keyPath:Y},g));return G&&(e_=G(e_,e,{selected:ec,active:eb,open:es,disabled:Q})),h.createElement(S,{onItemClick:ew,mode:"horizontal"===T?"vertical":T,itemIcon:v||H,expandIcon:en},e_)};function e_(e){var t,n=e.eventKey,r=e.children,o=k(n),i=ev(r,o),a=$();return h.useEffect(function(){if(a)return a.registerPath(n,o),function(){a.unregisterPath(n,o)}},[o]),t=a?i:h.createElement(eP,e,i),h.createElement(O.Provider,{value:o},t)}var eZ=n(71002),eA=["className","title","eventKey","children"],eR=["children"],eM=function(e){var t=e.className,n=e.title,o=(e.eventKey,e.children),i=(0,s.Z)(e,eA),a=h.useContext(C).prefixCls,l="".concat(a,"-item-group");return h.createElement("li",(0,r.Z)({role:"presentation"},i,{onClick:function(e){return e.stopPropagation()},className:u()(l,t)}),h.createElement("div",{role:"presentation",className:"".concat(l,"-title"),title:"string"==typeof n?n:void 0},n),h.createElement("ul",{role:"group",className:"".concat(l,"-list")},o))};function eF(e){var t=e.children,n=(0,s.Z)(e,eR),r=ev(t,k(n.eventKey));return $()?r:h.createElement(eM,(0,et.Z)(n,["warnKey"]),r)}function eN(e){var t=e.className,n=e.style,r=h.useContext(C).prefixCls;return $()?null:h.createElement("li",{className:u()("".concat(r,"-item-divider"),t),style:n})}var eT=["label","children","key","type"],eI=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],eL=[],eB=h.forwardRef(function(e,t){var n,c,p,b,x,w,C,$,O,k,_,A,R,Y,J,Q,ee,et,en,er,eo,ei,ea,es,ec,eu,ef,ed=e.prefixCls,eh=void 0===ed?"rc-menu":ed,em=e.rootClassName,eg=e.style,ey=e.className,eb=e.tabIndex,ex=e.items,ew=e.children,eC=e.direction,eS=e.id,eE=e.mode,e$=void 0===eE?"vertical":eE,eO=e.inlineCollapsed,ek=e.disabled,ej=e.disabledOverflow,eP=e.subMenuOpenDelay,eA=e.subMenuCloseDelay,eR=e.forceSubMenuRender,eM=e.defaultOpenKeys,eB=e.openKeys,ez=e.activeKey,eD=e.defaultActiveFirst,eH=e.selectable,eV=void 0===eH||eH,eU=e.multiple,eW=void 0!==eU&&eU,eq=e.defaultSelectedKeys,eK=e.selectedKeys,eG=e.onSelect,eX=e.onDeselect,eY=e.inlineIndent,eJ=e.motion,eQ=e.defaultMotions,e0=e.triggerSubMenuAction,e1=e.builtinPlacements,e2=e.itemIcon,e4=e.expandIcon,e3=e.overflowedIndicator,e6=void 0===e3?"...":e3,e8=e.overflowedIndicatorPopupClassName,e5=e.getPopupContainer,e7=e.onClick,e9=e.onOpenChange,te=e.onKeyDown,tt=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),tn=e._internalRenderSubMenuItem,tr=(0,s.Z)(e,eI),to=h.useMemo(function(){var e;return e=ew,ex&&(e=function e(t){return(t||[]).map(function(t,n){if(t&&"object"===(0,eZ.Z)(t)){var o=t.label,i=t.children,a=t.key,l=t.type,c=(0,s.Z)(t,eT),u=null!=a?a:"tmp-".concat(n);return i||"group"===l?"group"===l?h.createElement(eF,(0,r.Z)({key:u},c,{title:o}),e(i)):h.createElement(e_,(0,r.Z)({key:u},c,{title:o}),e(i)):"divider"===l?h.createElement(eN,(0,r.Z)({key:u},c)):h.createElement(ep,(0,r.Z)({key:u},c),o)}return null}).filter(function(e){return e})}(ex)),ev(e,eL)},[ew,ex]),ti=h.useState(!1),ta=(0,l.Z)(ti,2),tl=ta[0],ts=ta[1],tc=h.useRef(),tu=(n=(0,d.Z)(eS,{value:eS}),p=(c=(0,l.Z)(n,2))[0],b=c[1],h.useEffect(function(){X+=1;var e="".concat(G,"-").concat(X);b("rc-menu-uuid-".concat(e))},[]),p),tf="rtl"===eC,td=(0,d.Z)(eM,{value:eB,postState:function(e){return e||eL}}),tp=(0,l.Z)(td,2),th=tp[0],tm=tp[1],tg=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function n(){tm(e),null==e9||e9(e)}t?(0,m.flushSync)(n):n()},tv=h.useState(th),ty=(0,l.Z)(tv,2),tb=ty[0],tx=ty[1],tw=h.useRef(!1),tC=h.useMemo(function(){return("inline"===e$||"vertical"===e$)&&eO?["vertical",eO]:[e$,!1]},[e$,eO]),tS=(0,l.Z)(tC,2),tE=tS[0],t$=tS[1],tO="inline"===tE,tk=h.useState(tE),tj=(0,l.Z)(tk,2),tP=tj[0],t_=tj[1],tZ=h.useState(t$),tA=(0,l.Z)(tZ,2),tR=tA[0],tM=tA[1];h.useEffect(function(){t_(tE),tM(t$),tw.current&&(tO?tm(tb):tg(eL))},[tE,t$]);var tF=h.useState(0),tN=(0,l.Z)(tF,2),tT=tN[0],tI=tN[1],tL=tT>=to.length-1||"horizontal"!==tP||ej;h.useEffect(function(){tO&&tx(th)},[th]),h.useEffect(function(){return tw.current=!0,function(){tw.current=!1}},[]);var tB=(x=h.useState({}),w=(0,l.Z)(x,2)[1],C=(0,h.useRef)(new Map),$=(0,h.useRef)(new Map),O=h.useState([]),_=(k=(0,l.Z)(O,2))[0],A=k[1],R=(0,h.useRef)(0),Y=(0,h.useRef)(!1),J=function(){Y.current||w({})},Q=(0,h.useCallback)(function(e,t){var n=W(t);$.current.set(n,e),C.current.set(e,n),R.current+=1;var r=R.current;Promise.resolve().then(function(){r===R.current&&J()})},[]),ee=(0,h.useCallback)(function(e,t){var n=W(t);$.current.delete(n),C.current.delete(e)},[]),et=(0,h.useCallback)(function(e){A(e)},[]),en=(0,h.useCallback)(function(e,t){var n=(C.current.get(e)||"").split(U);return t&&_.includes(n[0])&&n.unshift(q),n},[_]),er=(0,h.useCallback)(function(e,t){return e.some(function(e){return en(e,!0).includes(t)})},[en]),eo=(0,h.useCallback)(function(e){var t="".concat(C.current.get(e)).concat(U),n=new Set;return(0,a.Z)($.current.keys()).forEach(function(e){e.startsWith(t)&&n.add($.current.get(e))}),n},[]),h.useEffect(function(){return function(){Y.current=!0}},[]),{registerPath:Q,unregisterPath:ee,refreshOverflowKeys:et,isSubPathKey:er,getKeyPath:en,getKeys:function(){var e=(0,a.Z)(C.current.keys());return _.length&&e.push(q),e},getSubPathKeys:eo}),tz=tB.registerPath,tD=tB.unregisterPath,tH=tB.refreshOverflowKeys,tV=tB.isSubPathKey,tU=tB.getKeyPath,tW=tB.getKeys,tq=tB.getSubPathKeys,tK=h.useMemo(function(){return{registerPath:tz,unregisterPath:tD}},[tz,tD]),tG=h.useMemo(function(){return{isSubPathKey:tV}},[tV]);h.useEffect(function(){tH(tL?eL:to.slice(tT+1).map(function(e){return e.key}))},[tT,tL]);var tX=(0,d.Z)(ez||eD&&(null===(eu=to[0])||void 0===eu?void 0:eu.key),{value:ez}),tY=(0,l.Z)(tX,2),tJ=tY[0],tQ=tY[1],t0=K(function(e){tQ(e)}),t1=K(function(){tQ(void 0)});(0,h.useImperativeHandle)(t,function(){return{list:tc.current,focus:function(e){var t,n,r,o,i=null!=tJ?tJ:null===(t=to.find(function(e){return!e.props.disabled}))||void 0===t?void 0:t.key;i&&(null===(n=tc.current)||void 0===n||null===(r=n.querySelector("li[data-menu-id='".concat(y(tu,i),"']")))||void 0===r||null===(o=r.focus)||void 0===o||o.call(r,e))}}});var t2=(0,d.Z)(eq||[],{value:eK,postState:function(e){return Array.isArray(e)?e:null==e?eL:[e]}}),t4=(0,l.Z)(t2,2),t3=t4[0],t6=t4[1],t8=function(e){if(eV){var t,n=e.key,r=t3.includes(n);t6(t=eW?r?t3.filter(function(e){return e!==n}):[].concat((0,a.Z)(t3),[n]):[n]);var o=(0,i.Z)((0,i.Z)({},e),{},{selectedKeys:t});r?null==eX||eX(o):null==eG||eG(o)}!eW&&th.length&&"inline"!==tP&&tg(eL)},t5=K(function(e){null==e7||e7(el(e)),t8(e)}),t7=K(function(e,t){var n=th.filter(function(t){return t!==e});if(t)n.push(e);else if("inline"!==tP){var r=tq(e);n=n.filter(function(e){return!r.has(e)})}(0,g.Z)(th,n,!0)||tg(n,!0)}),t9=(ei=function(e,t){var n=null!=t?t:!th.includes(e);t7(e,n)},ea=h.useRef(),(es=h.useRef()).current=tJ,ec=function(){Z.Z.cancel(ea.current)},h.useEffect(function(){return function(){ec()}},[]),function(e){var t=e.which;if([].concat(D,[I,L,B,z]).includes(t)){var n=function(){return s=new Set,c=new Map,u=new Map,tW().forEach(function(e){var t=document.querySelector("[data-menu-id='".concat(y(tu,e),"']"));t&&(s.add(t),u.set(t,e),c.set(e,t))}),s};n();var r=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(c.get(tJ),s),i=u.get(r),a=function(e,t,n,r){var i,a,l,s,c="prev",u="next",f="children",d="parent";if("inline"===e&&r===I)return{inlineTrigger:!0};var p=(i={},(0,o.Z)(i,N,c),(0,o.Z)(i,T,u),i),h=(a={},(0,o.Z)(a,M,n?u:c),(0,o.Z)(a,F,n?c:u),(0,o.Z)(a,T,f),(0,o.Z)(a,I,f),a),m=(l={},(0,o.Z)(l,N,c),(0,o.Z)(l,T,u),(0,o.Z)(l,I,f),(0,o.Z)(l,L,d),(0,o.Z)(l,M,n?f:d),(0,o.Z)(l,F,n?d:f),l);switch(null===(s=({inline:p,horizontal:h,vertical:m,inlineSub:p,horizontalSub:m,verticalSub:m})["".concat(e).concat(t?"":"Sub")])||void 0===s?void 0:s[r]){case c:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case f:return{offset:1,sibling:!1};default:return null}}(tP,1===tU(i,!0).length,tf,t);if(!a&&t!==B&&t!==z)return;(D.includes(t)||[B,z].includes(t))&&e.preventDefault();var l=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var r=u.get(e);tQ(r),ec(),ea.current=(0,Z.Z)(function(){es.current===r&&t.focus()})}};if([B,z].includes(t)||a.sibling||!r){var s,c,u,f,d=H(f=r&&"inline"!==tP?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(r):tc.current,s);l(t===B?d[0]:t===z?d[d.length-1]:V(f,s,r,a.offset))}else if(a.inlineTrigger)ei(i);else if(a.offset>0)ei(i,!0),ec(),ea.current=(0,Z.Z)(function(){n();var e=r.getAttribute("aria-controls");l(V(document.getElementById(e),s))},5);else if(a.offset<0){var p=tU(i,!0),h=p[p.length-2],m=c.get(h);ei(h,!1),l(m)}}null==te||te(e)});h.useEffect(function(){ts(!0)},[]);var ne=h.useMemo(function(){return{_internalRenderMenuItem:tt,_internalRenderSubMenuItem:tn}},[tt,tn]),nt="horizontal"!==tP||ej?to:to.map(function(e,t){return h.createElement(S,{key:e.key,overflowDisabled:t>tT},e)}),nn=h.createElement(f.Z,(0,r.Z)({id:eS,ref:tc,prefixCls:"".concat(eh,"-overflow"),component:"ul",itemComponent:ep,className:u()(eh,"".concat(eh,"-root"),"".concat(eh,"-").concat(tP),ey,(ef={},(0,o.Z)(ef,"".concat(eh,"-inline-collapsed"),tR),(0,o.Z)(ef,"".concat(eh,"-rtl"),tf),ef),em),dir:eC,style:eg,role:"menu",tabIndex:void 0===eb?0:eb,data:nt,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?to.slice(-t):null;return h.createElement(e_,{eventKey:q,title:e6,disabled:tL,internalPopupClose:0===t,popupClassName:e8},n)},maxCount:"horizontal"!==tP||ej?f.Z.INVALIDATE:f.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){tI(e)},onKeyDown:t9},tr));return h.createElement(P.Provider,{value:ne},h.createElement(v.Provider,{value:tu},h.createElement(S,{prefixCls:eh,rootClassName:em,mode:tP,openKeys:th,rtl:tf,disabled:ek,motion:tl?eJ:null,defaultMotions:tl?eQ:null,activeKey:tJ,onActive:t0,onInactive:t1,selectedKeys:t3,inlineIndent:void 0===eY?24:eY,subMenuOpenDelay:void 0===eP?.1:eP,subMenuCloseDelay:void 0===eA?.1:eA,forceSubMenuRender:eR,builtinPlacements:e1,triggerSubMenuAction:void 0===e0?"hover":e0,getPopupContainer:e5,itemIcon:e2,expandIcon:e4,onItemClick:t5,onOpenChange:t7},h.createElement(j.Provider,{value:tG},nn),h.createElement("div",{style:{display:"none"},"aria-hidden":!0},h.createElement(E.Provider,{value:tK},to)))))});eB.Item=ep,eB.SubMenu=e_,eB.ItemGroup=eF,eB.Divider=eN;var ez=eB},82225:function(e,t,n){"use strict";n.d(t,{V4:function(){return ep},zt:function(){return x},ZP:function(){return eh}});var r,o,i,a,l,s=n(4942),c=n(1413),u=n(97685),f=n(71002),d=n(94184),p=n.n(d),h=n(34203),m=n(42550),g=n(67294),v=n(45987),y=["children"],b=g.createContext({});function x(e){var t=e.children,n=(0,v.Z)(e,y);return g.createElement(b.Provider,{value:n},t)}var w=n(15671),C=n(43144),S=n(32531),E=n(73568),$=function(e){(0,S.Z)(n,e);var t=(0,E.Z)(n);function n(){return(0,w.Z)(this,n),t.apply(this,arguments)}return(0,C.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(g.Component),O=n(30470),k="none",j="appear",P="enter",_="leave",Z="none",A="prepare",R="start",M="active",F="prepared",N=n(98924);function T(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var I=(r=(0,N.Z)(),o="undefined"!=typeof window?window:{},i={animationend:T("Animation","AnimationEnd"),transitionend:T("Transition","TransitionEnd")},!r||("AnimationEvent"in o||delete i.animationend.animation,"TransitionEvent"in o||delete i.transitionend.transition),i),L={};(0,N.Z)()&&(L=document.createElement("div").style);var B={};function z(e){if(B[e])return B[e];var t=I[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,X.Z)(function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)});e.current=i},t]},J=[A,R,M,"end"],Q=[A,F];function ee(e){return e===M||"end"===e}var et=function(e,t,n){var r=(0,O.Z)(Z),o=(0,u.Z)(r,2),i=o[0],a=o[1],l=Y(),s=(0,u.Z)(l,2),c=s[0],f=s[1],d=t?Q:J;return G(function(){if(i!==Z&&"end"!==i){var e=d.indexOf(i),t=d[e+1],r=n(i);!1===r?a(t,!0):t&&c(function(e){function n(){e.isCanceled()||a(t,!0)}!0===r?n():Promise.resolve(r).then(n)})}},[e,i]),g.useEffect(function(){return function(){f()}},[]),[function(){a(A,!0)},i]},en=(a=V,"object"===(0,f.Z)(V)&&(a=V.transitionSupport),(l=g.forwardRef(function(e,t){var n=e.visible,r=void 0===n||n,o=e.removeOnLeave,i=void 0===o||o,l=e.forceRender,f=e.children,d=e.motionName,v=e.leavedClassName,y=e.eventProps,x=g.useContext(b).motion,w=!!(e.motionName&&a&&!1!==x),C=(0,g.useRef)(),S=(0,g.useRef)(),E=function(e,t,n,r){var o=r.motionEnter,i=void 0===o||o,a=r.motionAppear,l=void 0===a||a,f=r.motionLeave,d=void 0===f||f,p=r.motionDeadline,h=r.motionLeaveImmediately,m=r.onAppearPrepare,v=r.onEnterPrepare,y=r.onLeavePrepare,b=r.onAppearStart,x=r.onEnterStart,w=r.onLeaveStart,C=r.onAppearActive,S=r.onEnterActive,E=r.onLeaveActive,$=r.onAppearEnd,Z=r.onEnterEnd,N=r.onLeaveEnd,T=r.onVisibleChanged,I=(0,O.Z)(),L=(0,u.Z)(I,2),B=L[0],z=L[1],D=(0,O.Z)(k),H=(0,u.Z)(D,2),V=H[0],U=H[1],W=(0,O.Z)(null),q=(0,u.Z)(W,2),X=q[0],Y=q[1],J=(0,g.useRef)(!1),Q=(0,g.useRef)(null),en=(0,g.useRef)(!1);function er(){U(k,!0),Y(null,!0)}function eo(e){var t,r=n();if(!e||e.deadline||e.target===r){var o=en.current;V===j&&o?t=null==$?void 0:$(r,e):V===P&&o?t=null==Z?void 0:Z(r,e):V===_&&o&&(t=null==N?void 0:N(r,e)),V!==k&&o&&!1!==t&&er()}}var ei=K(eo),ea=(0,u.Z)(ei,1)[0],el=function(e){var t,n,r;switch(e){case j:return t={},(0,s.Z)(t,A,m),(0,s.Z)(t,R,b),(0,s.Z)(t,M,C),t;case P:return n={},(0,s.Z)(n,A,v),(0,s.Z)(n,R,x),(0,s.Z)(n,M,S),n;case _:return r={},(0,s.Z)(r,A,y),(0,s.Z)(r,R,w),(0,s.Z)(r,M,E),r;default:return{}}},es=g.useMemo(function(){return el(V)},[V]),ec=et(V,!e,function(e){if(e===A){var t,r=es[A];return!!r&&r(n())}return ed in es&&Y((null===(t=es[ed])||void 0===t?void 0:t.call(es,n(),null))||null),ed===M&&(ea(n()),p>0&&(clearTimeout(Q.current),Q.current=setTimeout(function(){eo({deadline:!0})},p))),ed===F&&er(),!0}),eu=(0,u.Z)(ec,2),ef=eu[0],ed=eu[1],ep=ee(ed);en.current=ep,G(function(){z(t);var n,r=J.current;J.current=!0,!r&&t&&l&&(n=j),r&&t&&i&&(n=P),(r&&!t&&d||!r&&h&&!t&&d)&&(n=_);var o=el(n);n&&(e||o[A])?(U(n),ef()):U(k)},[t]),(0,g.useEffect)(function(){(V!==j||l)&&(V!==P||i)&&(V!==_||d)||U(k)},[l,i,d]),(0,g.useEffect)(function(){return function(){J.current=!1,clearTimeout(Q.current)}},[]);var eh=g.useRef(!1);(0,g.useEffect)(function(){B&&(eh.current=!0),void 0!==B&&V===k&&((eh.current||B)&&(null==T||T(B)),eh.current=!0)},[B,V]);var em=X;return es[A]&&ed===R&&(em=(0,c.Z)({transition:"none"},em)),[V,ed,em,null!=B?B:t]}(w,r,function(){try{return C.current instanceof HTMLElement?C.current:(0,h.Z)(S.current)}catch(e){return null}},e),Z=(0,u.Z)(E,4),N=Z[0],T=Z[1],I=Z[2],L=Z[3],B=g.useRef(L);L&&(B.current=!0);var z=g.useCallback(function(e){C.current=e,(0,m.mH)(t,e)},[t]),D=(0,c.Z)((0,c.Z)({},y),{},{visible:r});if(f){if(N===k)H=L?f((0,c.Z)({},D),z):!i&&B.current&&v?f((0,c.Z)((0,c.Z)({},D),{},{className:v}),z):!l&&(i||v)?null:f((0,c.Z)((0,c.Z)({},D),{},{style:{display:"none"}}),z);else{T===A?U="prepare":ee(T)?U="active":T===R&&(U="start");var H,V,U,W=q(d,"".concat(N,"-").concat(U));H=f((0,c.Z)((0,c.Z)({},D),{},{className:p()(q(d,N),(V={},(0,s.Z)(V,W,W&&U),(0,s.Z)(V,d,"string"==typeof d),V)),style:I}),z)}}else H=null;return g.isValidElement(H)&&(0,m.Yr)(H)&&!H.ref&&(H=g.cloneElement(H,{ref:z})),g.createElement($,{ref:S},H)})).displayName="CSSMotion",l),er=n(87462),eo=n(97326),ei="keep",ea="remove",el="removed";function es(e){var t;return t=e&&"object"===(0,f.Z)(e)&&"key"in e?e:{key:e},(0,c.Z)((0,c.Z)({},t),{},{key:String(t.key)})}function ec(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(es)}var eu=["component","children","onVisibleChanged","onAllRemoved"],ef=["status"],ed=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"],ep=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:en,n=function(e){(0,S.Z)(r,e);var n=(0,E.Z)(r);function r(){var e;(0,w.Z)(this,r);for(var t=arguments.length,o=Array(t),i=0;i0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=t.length,i=ec(e),a=ec(t);i.forEach(function(e){for(var t=!1,i=r;i1}).forEach(function(e){(n=n.filter(function(t){var n=t.key,r=t.status;return n!==e||r!==ea})).forEach(function(t){t.key===e&&(t.status=ei)})}),n})(r,ec(n)).filter(function(e){var t=r.find(function(t){var n=t.key;return e.key===n});return!t||t.status!==el||e.status!==ea})}}}]),r}(g.Component);return(0,s.Z)(n,"defaultProps",{component:"div"}),n}(V),eh=en},86621:function(e,t,n){"use strict";n.d(t,{qX:function(){return m},JB:function(){return v},lm:function(){return S}});var r=n(74902),o=n(97685),i=n(45987),a=n(67294),l=n(1413),s=n(73935),c=n(87462),u=n(94184),f=n.n(u),d=n(82225),p=n(4942),h=n(15105),m=a.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,i=e.className,l=e.duration,s=void 0===l?4.5:l,u=e.eventKey,d=e.content,m=e.closable,g=e.closeIcon,v=void 0===g?"x":g,y=e.props,b=e.onClick,x=e.onNoticeClose,w=e.times,C=a.useState(!1),S=(0,o.Z)(C,2),E=S[0],$=S[1],O=function(){x(u)};a.useEffect(function(){if(!E&&s>0){var e=setTimeout(function(){O()},1e3*s);return function(){clearTimeout(e)}}},[s,E,w]);var k="".concat(n,"-notice");return a.createElement("div",(0,c.Z)({},y,{ref:t,className:f()(k,i,(0,p.Z)({},"".concat(k,"-closable"),m)),style:r,onMouseEnter:function(){$(!0)},onMouseLeave:function(){$(!1)},onClick:b}),a.createElement("div",{className:"".concat(k,"-content")},d),m&&a.createElement("a",{tabIndex:0,className:"".concat(k,"-close"),onKeyDown:function(e){("Enter"===e.key||"Enter"===e.code||e.keyCode===h.Z.ENTER)&&O()},onClick:function(e){e.preventDefault(),e.stopPropagation(),O()}},v))}),g=a.createContext({}),v=function(e){var t=e.children,n=e.classNames;return a.createElement(g.Provider,{value:{classNames:n}},t)},y=function(e){var t=e.configList,n=e.placement,r=e.prefixCls,o=e.className,i=e.style,s=e.motion,u=e.onAllNoticeRemoved,p=e.onNoticeClose,h=(0,a.useContext)(g).classNames,v=t.map(function(e){return{config:e,key:e.key}}),y="function"==typeof s?s(n):s;return a.createElement(d.V4,(0,c.Z)({key:n,className:f()(r,"".concat(r,"-").concat(n),null==h?void 0:h.list,o),style:i,keys:v,motionAppear:!0},y,{onAllRemoved:function(){u(n)}}),function(e,t){var n=e.config,o=e.className,i=e.style,s=n.key,u=n.times,d=n.className,g=n.style;return a.createElement(m,(0,c.Z)({},n,{ref:t,prefixCls:r,className:f()(o,d,null==h?void 0:h.notice),style:(0,l.Z)((0,l.Z)({},i),g),times:u,key:s,eventKey:s,onNoticeClose:p}))})},b=a.forwardRef(function(e,t){var n=e.prefixCls,i=void 0===n?"rc-notification":n,c=e.container,u=e.motion,f=e.maxCount,d=e.className,p=e.style,h=e.onAllRemoved,m=e.renderNotifications,g=a.useState([]),v=(0,o.Z)(g,2),b=v[0],x=v[1],w=function(e){var t,n=b.find(function(t){return t.key===e});null==n||null===(t=n.onClose)||void 0===t||t.call(n),x(function(t){return t.filter(function(t){return t.key!==e})})};a.useImperativeHandle(t,function(){return{open:function(e){x(function(t){var n,o=(0,r.Z)(t),i=o.findIndex(function(t){return t.key===e.key}),a=(0,l.Z)({},e);return i>=0?(a.times=((null===(n=t[i])||void 0===n?void 0:n.times)||0)+1,o[i]=a):(a.times=0,o.push(a)),f>0&&o.length>f&&(o=o.slice(-f)),o})},close:function(e){w(e)},destroy:function(){x([])}}});var C=a.useState({}),S=(0,o.Z)(C,2),E=S[0],$=S[1];a.useEffect(function(){var e={};b.forEach(function(t){var n=t.placement,r=void 0===n?"topRight":n;r&&(e[r]=e[r]||[],e[r].push(t))}),Object.keys(E).forEach(function(t){e[t]=e[t]||[]}),$(e)},[b]);var O=function(e){$(function(t){var n=(0,l.Z)({},t);return(n[e]||[]).length||delete n[e],n})},k=a.useRef(!1);if(a.useEffect(function(){Object.keys(E).length>0?k.current=!0:k.current&&(null==h||h(),k.current=!1)},[E]),!c)return null;var j=Object.keys(E);return(0,s.createPortal)(a.createElement(a.Fragment,null,j.map(function(e){var t=E[e],n=a.createElement(y,{key:e,configList:t,placement:e,prefixCls:i,className:null==d?void 0:d(e),style:null==p?void 0:p(e),motion:u,onNoticeClose:w,onAllNoticeRemoved:O});return m?m(n,{prefixCls:i,key:e}):n})),c)}),x=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","renderNotifications"],w=function(){return document.body},C=0;function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getContainer,n=void 0===t?w:t,l=e.motion,s=e.prefixCls,c=e.maxCount,u=e.className,f=e.style,d=e.onAllRemoved,p=e.renderNotifications,h=(0,i.Z)(e,x),m=a.useState(),g=(0,o.Z)(m,2),v=g[0],y=g[1],S=a.useRef(),E=a.createElement(b,{container:v,ref:S,prefixCls:s,motion:l,maxCount:c,className:u,style:f,onAllRemoved:d,renderNotifications:p}),$=a.useState([]),O=(0,o.Z)($,2),k=O[0],j=O[1],P=a.useMemo(function(){return{open:function(e){var t=function(){for(var e={},t=arguments.length,n=Array(t),r=0;rR,e_=(0,l.useMemo)(function(){var e=x;return ek?e=null===W&&D?x:x.slice(0,Math.min(x.length,K/P)):"number"==typeof R&&(e=x.slice(0,R)),e},[x,P,W,R,ek]),eZ=(0,l.useMemo)(function(){return ek?x.slice(eb+1):x.slice(e_.length)},[x,e_,ek,eb]),eA=(0,l.useCallback)(function(e,t){var n;return"function"==typeof S?S(e):null!==(n=S&&(null==e?void 0:e[S]))&&void 0!==n?n:t},[S]),eR=(0,l.useCallback)(w||function(e){return e},[w]);function eM(e,t,n){(ev!==e||void 0!==t&&t!==ep)&&(ey(e),n||(eS(eK){eM(r-1,e-o-ec+ei);break}}N&&eN(0)+ec>K&&eh(null)}},[K,Y,ei,ec,eA,e_]);var eT=eC&&!!eZ.length,eI={};null!==ep&&ek&&(eI={position:"absolute",left:ep,top:0});var eL={prefixCls:eE,responsive:ek,component:L,invalidate:ej},eB=C?function(e,t){var n=eA(e,t);return l.createElement(b.Provider,{key:n,value:(0,o.Z)((0,o.Z)({},eL),{},{order:t,item:e,itemKey:n,registerSize:eF,display:t<=eb})},C(e,t))}:function(e,t){var n=eA(e,t);return l.createElement(h,(0,r.Z)({},eL,{order:t,key:n,item:e,renderItem:eR,itemKey:n,registerSize:eF,display:t<=eb}))},ez={order:eT?eb:Number.MAX_SAFE_INTEGER,className:"".concat(eE,"-rest"),registerSize:function(e,t){ea(t),en(ei)},display:eT};if(F)F&&(s=l.createElement(b.Provider,{value:(0,o.Z)((0,o.Z)({},eL),ez)},F(eZ)));else{var eD=M||k;s=l.createElement(h,(0,r.Z)({},eL,ez),"function"==typeof eD?eD(eZ):eD)}var eH=l.createElement(I,(0,r.Z)({className:c()(!ej&&p,A),style:Z,ref:t},z),e_.map(eB),eP?s:null,N&&l.createElement(h,(0,r.Z)({},eL,{responsive:eO,responsiveDisabled:!ek,order:eb,className:"".concat(eE,"-suffix"),registerSize:function(e,t){eu(t)},display:!0,style:eI}),N));return eO&&(eH=l.createElement(u.Z,{onResize:function(e,t){q(t.clientWidth)},disabled:!ek},eH)),eH});j.displayName="Overflow",j.Item=S,j.RESPONSIVE=$,j.INVALIDATE=O;var P=j},62906:function(e,t){"use strict";t.Z={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},62273:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},74219:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"}},27590:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"}},85369:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",yearFormat:"YYYY年",dayFormat:"D日",dateFormat:"YYYY年M月D日",dateTimeFormat:"YYYY年M月D日 HH时mm分ss秒",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪"}},9220:function(e,t,n){"use strict";n.d(t,{Z:function(){return L}});var r=n(87462),o=n(67294),i=n(50344);n(80334);var a=n(1413),l=n(42550),s=n(34203),c=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n0},e.prototype.connect_=function(){u&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),h?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){u&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;p.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),g=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),O="undefined"!=typeof WeakMap?new WeakMap:new c,k=function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=m.getInstance(),r=new $(t,n,this);O.set(this,r)};["observe","unobserve","disconnect"].forEach(function(e){k.prototype[e]=function(){var t;return(t=O.get(this))[e].apply(t,arguments)}});var j=void 0!==f.ResizeObserver?f.ResizeObserver:k,P=new Map,_=new j(function(e){e.forEach(function(e){var t,n=e.target;null===(t=P.get(n))||void 0===t||t.forEach(function(e){return e(n)})})}),Z=n(15671),A=n(43144),R=n(32531),M=n(73568),F=function(e){(0,R.Z)(n,e);var t=(0,M.Z)(n);function n(){return(0,Z.Z)(this,n),t.apply(this,arguments)}return(0,A.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(o.Component),N=o.createContext(null),T=o.forwardRef(function(e,t){var n=e.children,r=e.disabled,i=o.useRef(null),c=o.useRef(null),u=o.useContext(N),f="function"==typeof n,d=f?n(i):n,p=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),h=!f&&o.isValidElement(d)&&(0,l.Yr)(d),m=h?d.ref:null,g=o.useMemo(function(){return(0,l.sQ)(m,i)},[m,i]),v=function(){return(0,s.Z)(i.current)||(0,s.Z)(c.current)};o.useImperativeHandle(t,function(){return v()});var y=o.useRef(e);y.current=e;var b=o.useCallback(function(e){var t=y.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,l=o.height,s=e.offsetWidth,c=e.offsetHeight,f=Math.floor(i),d=Math.floor(l);if(p.current.width!==f||p.current.height!==d||p.current.offsetWidth!==s||p.current.offsetHeight!==c){var h={width:f,height:d,offsetWidth:s,offsetHeight:c};p.current=h;var m=s===Math.round(i)?i:s,g=c===Math.round(l)?l:c,v=(0,a.Z)((0,a.Z)({},h),{},{offsetWidth:m,offsetHeight:g});null==u||u(v,e,r),n&&Promise.resolve().then(function(){n(v,e)})}},[]);return o.useEffect(function(){var e=v();return e&&!r&&(P.has(e)||(P.set(e,new Set),_.observe(e)),P.get(e).add(b)),function(){P.has(e)&&(P.get(e).delete(b),P.get(e).size||(_.unobserve(e),P.delete(e)))}},[i.current,r]),o.createElement(F,{ref:c},h?o.cloneElement(d,{ref:g}):d)}),I=o.forwardRef(function(e,t){var n=e.children;return("function"==typeof n?[n]:(0,i.Z)(n)).map(function(n,i){var a=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(i);return o.createElement(T,(0,r.Z)({},e,{key:a,ref:0===i?t:void 0}),n)})});I.Collection=function(e){var t=e.children,n=e.onBatchResize,r=o.useRef(0),i=o.useRef([]),a=o.useContext(N),l=o.useCallback(function(e,t,o){r.current+=1;var l=r.current;i.current.push({size:e,element:t,data:o}),Promise.resolve().then(function(){l===r.current&&(null==n||n(i.current),i.current=[])}),null==a||a(e,t,o)},[n,a]);return o.createElement(N.Provider,{value:l},t)};var L=I},92419:function(e,t,n){"use strict";n.d(t,{G:function(){return h},Z:function(){return g}});var r=n(87462),o=n(1413),i=n(45987),a=n(40228),l=n(67294),s={shiftX:64,adjustY:1},c={adjustX:1,shiftY:!0},u=[0,0],f={left:{points:["cr","cl"],overflow:c,offset:[-4,0],targetOffset:u},right:{points:["cl","cr"],overflow:c,offset:[4,0],targetOffset:u},top:{points:["bc","tc"],overflow:s,offset:[0,-4],targetOffset:u},bottom:{points:["tc","bc"],overflow:s,offset:[0,4],targetOffset:u},topLeft:{points:["bl","tl"],overflow:s,offset:[0,-4],targetOffset:u},leftTop:{points:["tr","tl"],overflow:c,offset:[-4,0],targetOffset:u},topRight:{points:["br","tr"],overflow:s,offset:[0,-4],targetOffset:u},rightTop:{points:["tl","tr"],overflow:c,offset:[4,0],targetOffset:u},bottomRight:{points:["tr","br"],overflow:s,offset:[0,4],targetOffset:u},rightBottom:{points:["bl","br"],overflow:c,offset:[4,0],targetOffset:u},bottomLeft:{points:["tl","bl"],overflow:s,offset:[0,4],targetOffset:u},leftBottom:{points:["br","bl"],overflow:c,offset:[-4,0],targetOffset:u}},d=n(94184),p=n.n(d);function h(e){var t=e.children,n=e.prefixCls,r=e.id,o=e.overlayInnerStyle,i=e.className,a=e.style;return l.createElement("div",{className:p()("".concat(n,"-content"),i),style:a},l.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:o},"function"==typeof t?t():t))}var m=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],g=(0,l.forwardRef)(function(e,t){var n=e.overlayClassName,s=e.trigger,c=e.mouseEnterDelay,u=e.mouseLeaveDelay,d=e.overlayStyle,p=e.prefixCls,g=void 0===p?"rc-tooltip":p,v=e.children,y=e.onVisibleChange,b=e.afterVisibleChange,x=e.transitionName,w=e.animation,C=e.motion,S=e.placement,E=e.align,$=e.destroyTooltipOnHide,O=e.defaultVisible,k=e.getTooltipContainer,j=e.overlayInnerStyle,P=(e.arrowContent,e.overlay),_=e.id,Z=e.showArrow,A=(0,i.Z)(e,m),R=(0,l.useRef)(null);(0,l.useImperativeHandle)(t,function(){return R.current});var M=(0,o.Z)({},A);return"visible"in e&&(M.popupVisible=e.visible),l.createElement(a.Z,(0,r.Z)({popupClassName:n,prefixCls:g,popup:function(){return l.createElement(h,{key:"content",prefixCls:g,id:_,overlayInnerStyle:j},P)},action:void 0===s?["hover"]:s,builtinPlacements:f,popupPlacement:void 0===S?"right":S,ref:R,popupAlign:void 0===E?{}:E,getPopupContainer:k,onPopupVisibleChange:y,afterPopupVisibleChange:b,popupTransitionName:x,popupAnimation:w,popupMotion:C,defaultPopupVisible:O,autoDestroy:void 0!==$&&$,mouseLeaveDelay:void 0===u?.1:u,popupStyle:d,mouseEnterDelay:void 0===c?0:c,arrow:void 0===Z||Z},M),v)})},50344:function(e,t,n){"use strict";n.d(t,{Z:function(){return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=[];return r.Children.forEach(t,function(t){(null!=t||n.keepEmpty)&&(Array.isArray(t)?i=i.concat(e(t)):(0,o.isFragment)(t)&&t.props?i=i.concat(e(t.props.children,n)):i.push(t))}),i}}});var r=n(67294),o=n(11805)},98924:function(e,t,n){"use strict";function r(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}n.d(t,{Z:function(){return r}})},94999:function(e,t,n){"use strict";function r(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}n.d(t,{Z:function(){return r}})},44958:function(e,t,n){"use strict";n.d(t,{hq:function(){return h},jL:function(){return p}});var r=n(98924),o=n(94999),i="data-rc-order",a="data-rc-priority",l=new Map;function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):"rc-util-key"}function c(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function u(e){return Array.from((l.get(e)||e).children).filter(function(e){return"STYLE"===e.tagName})}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,r.Z)())return null;var n=t.csp,o=t.prepend,l=t.priority,s=void 0===l?0:l,f="queue"===o?"prependQueue":o?"prepend":"append",d="prependQueue"===f,p=document.createElement("style");p.setAttribute(i,f),d&&s&&p.setAttribute(a,"".concat(s)),null!=n&&n.nonce&&(p.nonce=null==n?void 0:n.nonce),p.innerHTML=e;var h=c(t),m=h.firstChild;if(o){if(d){var g=u(h).filter(function(e){return!!["prepend","prependQueue"].includes(e.getAttribute(i))&&s>=Number(e.getAttribute(a)||0)});if(g.length)return h.insertBefore(p,g[g.length-1].nextSibling),p}h.insertBefore(p,m)}else h.appendChild(p);return p}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return u(c(t)).find(function(n){return n.getAttribute(s(t))===e})}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=d(e,t);n&&c(t).removeChild(n)}function h(e,t){var n,r,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){var n=l.get(e);if(!n||!(0,o.Z)(document,n)){var r=f("",t),i=r.parentNode;l.set(e,i),e.removeChild(r)}}(c(a),a);var u=d(t,a);if(u)return null!==(n=a.csp)&&void 0!==n&&n.nonce&&u.nonce!==(null===(r=a.csp)||void 0===r?void 0:r.nonce)&&(u.nonce=null===(i=a.csp)||void 0===i?void 0:i.nonce),u.innerHTML!==e&&(u.innerHTML=e),u;var p=f(e,a);return p.setAttribute(s(a),t),p}},34203:function(e,t,n){"use strict";n.d(t,{S:function(){return i},Z:function(){return a}});var r=n(67294),o=n(73935);function i(e){return e instanceof HTMLElement||e instanceof SVGElement}function a(e){return i(e)?e:e instanceof r.Component?o.findDOMNode(e):null}},5110:function(e,t){"use strict";t.Z=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1}},27571:function(e,t,n){"use strict";function r(e){var t;return null==e?void 0:null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function o(e){return r(e) instanceof ShadowRoot?r(e):null}n.d(t,{A:function(){return o}})},15105:function(e,t){"use strict";var n={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=n.F1&&t<=n.F12)return!1;switch(t){case n.ALT:case n.CAPS_LOCK:case n.CONTEXT_MENU:case n.CTRL:case n.DOWN:case n.END:case n.ESC:case n.HOME:case n.INSERT:case n.LEFT:case n.MAC_FF_META:case n.META:case n.NUMLOCK:case n.NUM_CENTER:case n.PAGE_DOWN:case n.PAGE_UP:case n.PAUSE:case n.PRINT_SCREEN:case n.RIGHT:case n.SHIFT:case n.UP:case n.WIN_KEY:case n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=n.ZERO&&e<=n.NINE||e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY||e>=n.A&&e<=n.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case n.SPACE:case n.QUESTION_MARK:case n.NUM_PLUS:case n.NUM_MINUS:case n.NUM_PERIOD:case n.NUM_DIVISION:case n.SEMICOLON:case n.DASH:case n.EQUALS:case n.COMMA:case n.PERIOD:case n.SLASH:case n.APOSTROPHE:case n.SINGLE_QUOTE:case n.OPEN_SQUARE_BRACKET:case n.BACKSLASH:case n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.Z=n},38135:function(e,t,n){"use strict";n.d(t,{s:function(){return g},v:function(){return y}});var r,o,i=n(74165),a=n(15861),l=n(71002),s=n(1413),c=n(73935),u=(0,s.Z)({},r||(r=n.t(c,2))),f=u.version,d=u.render,p=u.unmountComponentAtNode;try{Number((f||"").split(".")[0])>=18&&(o=u.createRoot)}catch(e){}function h(e){var t=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,l.Z)(t)&&(t.usingClientEntryPoint=e)}var m="__rc_react_root__";function g(e,t){if(o){var n;h(!0),n=t[m]||o(t),h(!1),n.render(e),t[m]=n;return}d(e,t)}function v(){return(v=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then(function(){var e;null===(e=t[m])||void 0===e||e.unmount(),delete t[m]}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function y(e){return b.apply(this,arguments)}function b(){return(b=(0,a.Z)((0,i.Z)().mark(function e(t){return(0,i.Z)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(void 0!==o)){e.next=2;break}return e.abrupt("return",function(e){return v.apply(this,arguments)}(t));case 2:p(t);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}},74204:function(e,t,n){"use strict";var r;function o(e){if("undefined"==typeof document)return 0;if(e||void 0===r){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),o=n.style;o.position="absolute",o.top="0",o.left="0",o.pointerEvents="none",o.visibility="hidden",o.width="200px",o.height="150px",o.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var i=t.offsetWidth;n.style.overflow="scroll";var a=t.offsetWidth;i===a&&(a=n.clientWidth),document.body.removeChild(n),r=i-a}return r}function i(e){var t=e.match(/^(.*)px$/),n=Number(null==t?void 0:t[1]);return Number.isNaN(n)?o():n}function a(e){if("undefined"==typeof document||!e||!(e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),n=t.width,r=t.height;return{width:i(n),height:i(r)}}n.d(t,{Z:function(){return o},o:function(){return a}})},66680:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e){var t=r.useRef();return t.current=e,r.useCallback(function(){for(var e,n=arguments.length,r=Array(n),o=0;o2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function e(t,a){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=i.has(t);if((0,o.ZP)(!s,"Warning: There may be circular references"),s)return!1;if(t===a)return!0;if(n&&l>1)return!1;i.add(t);var c=l+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var u=0;u